	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imc_get_coeffs
_imc_get_coeffs:                        ## @imc_get_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.1:
	movq	%rdx, %rbx
	xorl	%r12d, %r12d
	movq	_band_tab@GOTPCREL(%rip), %rdx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	40(%rbx), %rcx
	cmpl	$0, (%rcx,%r12,4)
	je	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rcx
	cmpq	$0, (%rcx,%r12,8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rcx
	cmpq	$0, (%rcx,%r12,8)
	je	LBB0_15
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rdx), %rcx
	movslq	(%rcx,%r12,4), %r13
	cmpl	4(%rcx,%r12,4), %r13d
	jl	LBB0_6
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_get_bits
	movl	%eax, %r15d
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	_band_tab@GOTPCREL(%rip), %rdx
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%rbx), %rax
	movl	%r15d, (%rax,%r13,4)
	incq	%r13
	movq	(%rdx), %rax
	movslq	4(%rax,%r12,4), %rax
	cmpq	%rax, %r13
	jge	LBB0_14
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	movl	(%rax,%r13,4), %r14d
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	24(%rbx), %rax
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%rbx), %rax
	cmpl	$0, (%rax,%r13,4)
	jne	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%rsi, %rdi
	callq	_get_bits_count
	addl	%r14d, %eax
	cmpl	$513, %eax                      ## imm = 0x201
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	callq	_av_log
	jmp	LBB0_12
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BANDS,4,2                      ## @BANDS
	.comm	_band_tab,8,3                   ## @band_tab
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Potential problem on band %i, coefficient %i: cw_len=%i\n"

	.no_dead_strip	_imc_get_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function imc_get_coeffs
_imc_get_coeffs:                        ; @imc_get_coeffs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _BANDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BANDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
Lloh3:
	adrp	x27, _band_tab@GOTPAGE
Lloh4:
	ldr	x27, [x27, _band_tab@GOTPAGEOFF]
Lloh5:
	adrp	x28, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x28, [x28, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	adrp	x23, l_.str@PAGE
Lloh8:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh9:
	adrp	x8, _BANDS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BANDS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x9, [x19, #40]
	ldr	w9, [x9, x22, lsl #2]
	cbz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #24]
	ldr	x9, [x9, x22, lsl #3]
	cbnz	x9, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x19, #32]
	ldr	x9, [x9, x22, lsl #3]
	cbz	x9, LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x27]
	ldrsw	x24, [x9, x22, lsl #2]
	add	x26, x22, #1
	ldr	w9, [x9, x26, lsl #2]
	cmp	w24, w9
	b.lt	LBB0_11
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldr	w1, [x28]
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	mov	x4, x24
	mov	x5, x25
	bl	_av_log
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	mov	w0, #0
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x19, #8]
	str	w0, [x8, x24, lsl #2]
	add	x24, x24, #1
	ldr	x8, [x27]
	ldrsw	x8, [x8, x26, lsl #2]
	cmp	x24, x8
	b.ge	LBB0_2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19]
	ldr	w25, [x8, x24, lsl #2]
	cbz	w25, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x22, lsl #3]
	cbz	x8, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [x19, #16]
	ldr	w8, [x8, x24, lsl #2]
	cbnz	w8, LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
	bl	_get_bits_count
	add	w8, w0, w25
	cmp	w8, #513
	b.ge	LBB0_8
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
	mov	x1, x25
	bl	_get_bits
	b	LBB0_10
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BANDS,4,2                      ; @BANDS
	.comm	_band_tab,8,3                   ; @band_tab
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Potential problem on band %i, coefficient %i: cw_len=%i\n"

	.no_dead_strip	_imc_get_coeffs
.subsections_via_symbols
