	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_ybri
_decode_ybri:                           ## @decode_ybri
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movq	(%rax), %r13
	movq	8(%rax), %r14
	movq	16(%rax), %r15
	movq	%rdx, %rdi
	callq	_get_bits1
	movq	%rbx, %rdx
	movl	(%rbx), %ecx
	testq	%rax, %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.1:
	testl	%ecx, %ecx
	movq	%r15, %rdi
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %r14
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, (%r13,%rbx,4)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	%r14, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movslq	(%rdx), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
	jmp	LBB0_7
LBB0_4:
	testl	%ecx, %ecx
	movq	%r15, %rdi
	jle	LBB0_7
## %bb.5:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpl	$0, 8(%rax)
	movl	$-146, %eax
	movl	$125, %esi
	cmovel	%eax, %esi
	movl	$-128, %ecx
	xorl	%r15d, %r15d
	movl	$-128, %r14d
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r12d
	movq	(%r13), %rax
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %ebx
	movq	(%r13), %rax
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addl	-52(%rbp), %r12d                ## 4-byte Folded Reload
	movzbl	%r12b, %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	%esi, (%r13,%r15,4)
	addl	%r14d, %ebx
	movzbl	%bl, %r14d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, (%rcx,%r15,4)
	addl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movzbl	%al, %ecx
	movl	%ecx, (%rdi,%r15,4)
	incq	%r15
	movslq	(%rdx), %rax
	cmpq	%rax, %r15
	jl	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpl	$2, 4(%rdx)
	jl	LBB0_17
## %bb.8:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	16(%rax), %rcx
	leaq	(%rdi,%rcx,4), %r15
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	leaq	(%rsi,%rax,4), %r14
	leaq	(%r13,%rcx,4), %r13
	movl	$1, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	leaq	(%r13,%rcx,4), %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%rdx,4), %r14
	movq	16(%rax), %rax
	leaq	(%r15,%rax,4), %r15
	movl	-116(%rbp), %ebx                ## 4-byte Reload
	incl	%ebx
	cmpl	4(%rsi), %ebx
	jge	LBB0_17
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	%r12, %rdi
	callq	_get_bits1
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %ecx
	testq	%rax, %rax
	movl	%ebx, -116(%rbp)                ## 4-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	movslq	(%rsi), %rax
	cmpq	%rax, %rbx
	jl	LBB0_12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	16(%rax), %rcx
	shlq	$2, %rcx
	movq	%r15, %rdx
	subq	%rcx, %rdx
	movl	(%rdx), %edi
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	shlq	$2, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subq	%rax, %rdx
	movl	(%rdx), %edx
	shlq	$2, %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	subq	%rcx, %rax
	movl	(%rax), %r13d
	xorl	%r14d, %r14d
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, -112(%rbp)                ## 4-byte Spill
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r12d
	movq	(%r15), %rax
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %ebx
	movq	(%r15), %rax
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	8(%rax), %edx
	movl	12(%rax), %esi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	addl	%r13d, %r12d
	movzbl	%r12b, %r13d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, (%rcx,%r14,4)
	addl	-112(%rbp), %ebx                ## 4-byte Folded Reload
	movzbl	%bl, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%edx, (%rcx,%r14,4)
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	movzbl	%al, %edi
	movl	%edi, (%r15,%r14,4)
	incq	%r14
	movslq	(%rsi), %rax
	cmpq	%rax, %r14
	jl	LBB0_15
	jmp	LBB0_16
LBB0_17:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_ybri
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_ybri
_decode_ybri:                           ; @decode_ybri
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x22, x0
	ldr	x8, [x0, #8]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x1]
	ldp	x24, x26, [x8]
	ldr	x25, [x8, #16]
	mov	x0, x2
	bl	_get_bits1
	ldr	w8, [x22]
	str	x22, [sp, #32]                  ; 8-byte Folded Spill
	cmp	w8, #1
	cbz	x0, LBB0_4
; %bb.1:
	b.lt	LBB0_7
; %bb.2:
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	lsl	x21, x20, #2
	str	w0, [x24, x21]
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	str	w0, [x26, x21]
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	str	w0, [x25, x21]
	add	x20, x20, #1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_3
	b	LBB0_7
LBB0_4:
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x8, #8]
	mov	w9, #125
	mov	w10, #-146
	cmp	w8, #0
	csel	w28, w10, w9, eq
	mov	w27, #-128
	mov	w21, #-128
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x26, x24
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x8, [x24]
	ldp	w2, w1, [x8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	mov	x22, x0
	ldr	x8, [x24]
	ldp	w2, w1, [x8, #8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	mov	x23, x0
	ldr	x8, [x24]
	mov	x24, x26
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w2, w1, [x8, #8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	add	w8, w22, w28
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	and	w28, w8, #0xff
	lsl	x8, x20, #2
	str	w28, [x24, x8]
	add	w9, w23, w21
	and	w21, w9, #0xff
	str	w21, [x26, x8]
	add	w9, w0, w27
	and	w27, w9, #0xff
	str	w27, [x25, x8]
	add	x20, x20, #1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_7:
	ldr	w8, [x22, #4]
	cmp	w8, #1
	b.le	LBB0_17
; %bb.8:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x9, [x8, #16]
	add	x23, x25, x9, lsl #2
	ldp	x8, x9, [x8]
	add	x25, x26, x9, lsl #2
	add	x27, x24, x8, lsl #2
	mov	w20, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldp	x9, x10, [x8]
	add	x27, x27, x9, lsl #2
	add	x25, x25, x10, lsl #2
	ldr	x8, [x8, #16]
	add	x23, x23, x8, lsl #2
	ldr	w20, [sp, #20]                  ; 4-byte Folded Reload
	add	w20, w20, #1
	ldr	w8, [x22, #4]
	cmp	w20, w8
	b.ge	LBB0_17
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	mov	x0, x19
	bl	_get_bits1
	ldr	w8, [x22]
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	cmp	w8, #1
	cbz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	b.lt	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, #0
LBB0_13:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	lsl	x21, x20, #2
	str	w0, [x27, x21]
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	str	w0, [x25, x21]
	mov	x0, x19
	mov	w1, #8
	bl	_get_bits
	str	w0, [x23, x21]
	add	x20, x20, #1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_13
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	b.lt	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x9, [x8, #16]
	sub	x9, x23, x9, lsl #2
	ldr	w28, [x9]
	ldp	x8, x9, [x8]
	sub	x9, x25, x9, lsl #2
	ldr	w21, [x9]
	sub	x8, x27, x8, lsl #2
	ldr	w24, [x8]
	str	x27, [sp, #24]                  ; 8-byte Folded Spill
LBB0_16:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x27, x25
	ldr	x25, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x8, [x25]
	ldp	w2, w1, [x8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	mov	x22, x0
	ldr	x8, [x25]
	ldp	w2, w1, [x8, #8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	mov	x26, x23
	mov	x23, x0
	ldr	x8, [x25]
	mov	x25, x27
	ldr	x27, [sp, #24]                  ; 8-byte Folded Reload
	ldp	w2, w1, [x8, #8]
	mov	x0, x19
	mov	w3, #2
	bl	_get_vlc2
	add	w8, w22, w24
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	and	w24, w8, #0xff
	lsl	x8, x20, #2
	str	w24, [x27, x8]
	add	w9, w23, w21
	mov	x23, x26
	and	w21, w9, #0xff
	str	w21, [x25, x8]
	add	w9, w0, w28
	and	w28, w9, #0xff
	str	w28, [x26, x8]
	add	x20, x20, #1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_16
	b	LBB0_9
LBB0_17:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_ybri
.subsections_via_symbols
