	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unpack_coeffs
_unpack_coeffs:                         ## @unpack_coeffs
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	16(%r14), %r13
	jmp	LBB0_3
LBB0_1:
	xorl	%r13d, %r13d
LBB0_3:
	movl	(%rbx), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	16(%rbx), %r12
	addq	$4, %r15
	movq	8(%rbx), %rax
	movq	240(%rax), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_get_symbol2
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	movl	$3, %edx
	callq	_get_symbol2
	movl	%eax, %r8d
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_7
LBB0_8:
	movq	%r14, -160(%rbp)                ## 8-byte Spill
	decl	-60(%rbp)                       ## 4-byte Folded Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -140(%rbp)                ## 4-byte Spill
	xorl	%edi, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_9 Depth=1
	xorl	%eax, %eax
	movq	-152(%rbp), %rdx                ## 8-byte Reload
LBB0_48:                                ##   in Loop: Header=BB0_9 Depth=1
	addq	$8, %r12
	incl	%edi
	movq	%rax, %r13
	cmpl	-84(%rbp), %edi                 ## 4-byte Folded Reload
	je	LBB0_49
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_47 Depth 2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	movl	$0, %esi
	testl	%edi, %edi
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, (%r12)
	movl	$0, %esi
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	4(%r12), %esi
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	jle	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_15 Depth=2
	xorl	%r9d, %r9d
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movl	%r13d, %ecx
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_42:                                ##   in Loop: Header=BB0_15 Depth=2
	incl	%r15d
	cmpl	%r15d, -80(%rbp)                ## 4-byte Folded Reload
	jle	LBB0_43
LBB0_15:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ecx, %eax
	movl	%esi, %r14d
	testl	%edi, %edi
	je	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%ecx, %ecx
	cmpl	%r15d, (%r12)
	setle	%cl
	leaq	(%r12,%rcx,8), %rdx
	leal	1(%r15), %esi
	xorl	%ebx, %ebx
	cmpl	%esi, (%r12,%rcx,8)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	4(%r12,%rcx,8), %ebx
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	%rdx, %r12
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	%r14d, %ebx
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=2
	xorl	%edi, %edi
	testq	%r13, %r13
	je	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	%r15d, %esi
	sarl	%esi
	xorl	%ecx, %ecx
	cmpl	(%r13), %esi
	setg	%cl
	leaq	(,%rcx,8), %rdx
	addq	%r13, %rdx
	cmpl	(%r13,%rcx,8), %esi
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	4(%r13,%rcx,8), %edi
LBB0_24:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	%rdx, %r13
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=2
	xorl	%r13d, %r13d
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	%eax, %ecx
	orl	%r9d, %ecx
	orl	%r14d, %ecx
	orl	%ebx, %ecx
	orl	%edi, %ecx
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%r9d, %ecx
	sarl	%ecx
	leal	(%rcx,%rcx,2), %ecx
	sarl	%eax
	addl	%ecx, %eax
	movl	%r14d, %ecx
	andl	$-2, %ecx
	addl	%eax, %ecx
	movl	%ebx, %eax
	sarl	%eax
	addl	%ecx, %eax
	sarl	%edi
	addl	%eax, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r9d, -64(%rbp)                 ## 4-byte Spill
	callq	_av_log2
	movl	%r14d, %r13d
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	8(%r14), %rcx
	movslq	%eax, %rbx
	leaq	(,%rbx,4), %rsi
	addq	(%rcx), %rsi
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_get_rac
	testl	%eax, %eax
	je	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	8(%r14), %rax
	movq	16(%rax,%rbx,8), %rsi
	addl	$-4, %ebx
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_get_symbol2
	movl	%eax, %ebx
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	_ff_quant3bA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movzbl	-64(%rbp), %edx                 ## 1-byte Folded Reload
	movslq	(%rcx,%rdx,4), %rdx
	movzbl	%r13b, %esi
	movslq	(%rcx,%rsi,4), %rcx
	leaq	(%rcx,%rcx,2), %rcx
	addq	%rdx, %rcx
	leaq	(%rax,%rcx,4), %rsi
	addq	$80, %rsi
	movq	%r12, %rdi
	callq	_get_rac
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rbx,2), %r9d
	addl	$2, %r9d
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_15 Depth=2
	testl	%r8d, %r8d
	je	LBB0_31
## %bb.36:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	%r14d, -64(%rbp)                ## 4-byte Spill
	leal	-1(%r8), %r14d
	xorl	%edi, %edi
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	testl	%r8d, %r8d
	setg	%dil
	callq	_av_assert2
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	testl	%ebx, %ebx
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	(%r12), %esi
	subl	%r15d, %esi
	addl	$-2, %esi
	jmp	LBB0_39
LBB0_31:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movl	%r14d, %r13d
	jle	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	8(%rbx), %rax
	movq	8(%rax), %rsi
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movl	$3, %edx
	callq	_get_symbol2
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_34
LBB0_38:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	%r15d, %esi
	notl	%esi
	addl	-80(%rbp), %esi                 ## 4-byte Folded Reload
LBB0_39:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	%r14d, %edi
	callq	_FFMIN
	movl	%eax, %r12d
	testq	%r13, %r13
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	(%r13), %eax
	movl	%r15d, %ecx
	notl	%ecx
	leal	(%rcx,%rax,2), %esi
	movl	%r12d, %edi
	callq	_FFMIN
	movl	%eax, %r12d
LBB0_41:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%r12d, %r12d
	setns	%al
	cmpl	%r12d, %ecx
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_av_assert2
	addl	%r12d, %r15d
	subl	%r12d, %r14d
	xorl	%r9d, %r9d
	movl	%r14d, %r8d
	movq	-120(%rbp), %r12                ## 8-byte Reload
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdi
	jmp	LBB0_42
LBB0_33:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
LBB0_34:                                ##   in Loop: Header=BB0_15 Depth=2
	decl	-60(%rbp)                       ## 4-byte Folded Spill
	movq	8(%rbx), %rax
	movq	16(%rax), %rsi
	movq	%r12, %rdi
	movl	$-4, %edx
	callq	_get_symbol2
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	addq	$80, %rsi
	movq	%r12, %rdi
	callq	_get_rac
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r14,2), %r9d
	addl	$2, %r9d
LBB0_35:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax)
	movl	%r9d, 4(%rax)
	addq	$8, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_43:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	-140(%rbp), %esi                ## 4-byte Reload
	movl	%esi, (%r12)
	testq	%r13, %r13
	je	LBB0_44
## %bb.45:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rax
	testb	$1, %dil
	je	LBB0_48
## %bb.46:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %ecx
	incl	%ecx
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	8(%r13), %rax
	movq	%rax, %rdx
	cmpl	%ecx, (%r13)
	movq	%rax, %r13
	jne	LBB0_47
	jmp	LBB0_48
LBB0_5:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_8
LBB0_7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, %esi
LBB0_49:
	movl	%esi, (%r12)
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_ff_quant3bA,8,3                ## @ff_quant3bA
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.no_dead_strip	_unpack_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unpack_coeffs
_unpack_coeffs:                         ; @unpack_coeffs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x24, x1
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x21, [x19, #16]
	b	LBB0_3
LBB0_2:
	mov	x21, #0
LBB0_3:
	ldr	w8, [x24]
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	ldr	w8, [x24, #4]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	x20, x0, #4
	ldp	x8, x26, [x24, #8]
	ldr	x1, [x8, #240]
	mov	x0, x20
	mov	w2, #0
	bl	_get_symbol2
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
	subs	w22, w0, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	x8, [x24, #8]
	ldr	x1, [x8, #8]
	mov	x0, x20
	mov	w2, #3
	bl	_get_symbol2
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
LBB0_6:
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #0
	b.le	LBB0_47
; %bb.7:
	str	w22, [sp, #40]                  ; 4-byte Folded Spill
	str	x19, [sp]                       ; 8-byte Folded Spill
	mov	w28, #0
	stp	xzr, x24, [sp, #24]             ; 16-byte Folded Spill
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	mov	x27, x21
	str	x20, [sp, #48]                  ; 8-byte Folded Spill
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x8, #0
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w28, w28, #1
	mov	x27, x8
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.eq	LBB0_48
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	cbz	w28, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x25]
	cbz	w8, LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w20, #0
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w20, [x25, #4]
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, #1
	stp	x21, x26, [sp, #16]             ; 16-byte Folded Spill
	b.lt	LBB0_43
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	w19, #0
	mov	w22, #0
	mov	w21, #0
	str	w28, [sp, #56]                  ; 4-byte Folded Spill
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=2
	sxtw	x8, w23
	ldr	x9, [x24, #8]
	add	x9, x9, x8, lsl #3
	ldr	x1, [x9, #16]
	sub	w2, w8, #4
	mov	x0, x28
	bl	_get_symbol2
	mov	x23, x0
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
Lloh2:
	adrp	x9, _ff_quant3bA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ff_quant3bA@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	and	w10, w21, #0xff
	ldr	w10, [x9, w10, uxtw #2]
	and	w11, w22, #0xff
	ldr	w9, [x9, w11, uxtw #2]
	add	w9, w9, w9, lsl #1
	add	w9, w10, w9
	add	w9, w9, #20
	add	x1, x8, w9, sxtw #2
	mov	x0, x28
	bl	_get_rac
	add	w8, w0, w23, lsl #1
	add	w21, w8, #2
	stp	w19, w21, [x26], #8
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	w28, [sp, #56]                  ; 4-byte Folded Reload
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	w19, w19, #1
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, w19
	b.le	LBB0_43
LBB0_19:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x22
	mov	x22, x20
	cbz	w28, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w9, [x25]
	cmp	w9, w19
	cset	w10, le
	add	x9, x25, w10, uxtw #3
	ldr	w11, [x9]
	add	w12, w19, #1
	cmp	w11, w12
	b.ne	LBB0_25
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x10, x25, x10, lsl #3
	ldr	w20, [x10, #4]
	mov	x25, x9
	cbnz	x27, LBB0_23
	b	LBB0_26
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	x20, x22
	cbz	x27, LBB0_26
LBB0_23:                                ;   in Loop: Header=BB0_19 Depth=2
	asr	w11, w19, #1
	ldr	w9, [x27]
	cmp	w11, w9
	cset	w9, gt
	add	x10, x27, w9, uxtw #3
	ldr	w12, [x10]
	cmp	w11, w12
	b.ne	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x9, x27, x9, lsl #3
	ldr	w9, [x9, #4]
	b	LBB0_28
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w20, #0
	mov	x25, x9
	cbnz	x27, LBB0_23
LBB0_26:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w9, #0
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	w9, #0
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	x27, x10
LBB0_29:                                ;   in Loop: Header=BB0_19 Depth=2
	orr	w10, w8, w21
	orr	w10, w10, w22
	orr	w10, w10, w20
	orr	w10, w10, w9
	cbz	w10, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=2
	and	w10, w21, #0xfffffffe
	add	w10, w10, w21, asr #1
	add	w8, w10, w8, asr #1
	and	w10, w22, #0xfffffffe
	add	w8, w8, w10
	add	w8, w8, w20, asr #1
	add	w0, w8, w9, asr #1
	bl	_av_log2
	mov	x23, x0
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	add	x1, x8, w0, sxtw #2
	ldr	x28, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x28
	bl	_get_rac
	cbnz	w0, LBB0_16
; %bb.31:                               ;   in Loop: Header=BB0_19 Depth=2
	mov	w21, #0
	b	LBB0_17
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	w21, [sp, #44]                  ; 4-byte Folded Reload
	cbz	w21, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_19 Depth=2
	sub	w23, w21, #1
	cmp	w21, #0
	cset	w0, gt
	bl	_av_assert2
	ldr	w28, [sp, #56]                  ; 4-byte Folded Reload
	cbz	w28, LBB0_37
; %bb.34:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [x25]
	sub	w8, w8, w19
	sub	w1, w8, #2
	b	LBB0_38
LBB0_35:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	subs	w8, w8, #1
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	b.lt	LBB0_41
; %bb.36:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x24, #8]
	ldr	x1, [x8, #8]
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x21
	mov	w2, #3
	bl	_get_symbol2
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	b	LBB0_42
LBB0_37:                                ;   in Loop: Header=BB0_19 Depth=2
	mvn	w8, w19
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	add	w1, w9, w8
LBB0_38:                                ;   in Loop: Header=BB0_19 Depth=2
	mov	x0, x23
	bl	_FFMIN
	mov	x24, x0
	cbz	x27, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w8, [x27]
	mvn	w9, w19
	add	w1, w9, w8, lsl #1
	mov	x0, x24
	bl	_FFMIN
	mov	x24, x0
LBB0_40:                                ;   in Loop: Header=BB0_19 Depth=2
	cmp	w24, #0
	ccmp	w21, w24, #4, ge
	cset	w0, gt
	bl	_av_assert2
	mov	w21, #0
	add	w19, w24, w19
	sub	w8, w23, w24
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	b	LBB0_18
LBB0_41:                                ;   in Loop: Header=BB0_19 Depth=2
Lloh5:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
LBB0_42:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	w28, [sp, #56]                  ; 4-byte Folded Reload
	ldr	x8, [x24, #8]
	ldr	x1, [x8, #16]
	mov	x0, x21
	mov	w2, #-4
	bl	_get_symbol2
	mov	x23, x0
	ldr	x8, [x24, #8]
	ldr	x8, [x8]
	add	x1, x8, #80
	mov	x0, x21
	bl	_get_rac
	add	w8, w0, w23, lsl #1
	add	w21, w8, #2
	stp	w19, w21, [x26], #8
	b	LBB0_18
LBB0_43:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w11, [sp, #8]                   ; 4-byte Folded Reload
	str	w11, [x26], #8
	cbz	x27, LBB0_8
; %bb.44:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x21, [sp, #16]                  ; 8-byte Folded Reload
	mov	x8, x21
	tbz	w28, #0, LBB0_9
; %bb.45:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x8]
	add	w9, w8, #1
	mov	x8, x27
LBB0_46:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x8], #8
	mov	x21, x8
	cmp	w10, w9
	b.ne	LBB0_46
	b	LBB0_9
LBB0_47:
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	add	w11, w8, #1
LBB0_48:
	str	w11, [x26]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_ff_quant3bA,8,3                ; @ff_quant3bA
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.no_dead_strip	_unpack_coeffs
.subsections_via_symbols
