	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function imc_get_skip_coeff
_imc_get_skip_coeff:                    ## @imc_get_skip_coeff
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	8(%r12), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_BANDS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_24
## %bb.1:
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	_BANDS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r13
	jge	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	movq	40(%r12), %rax
	cmpl	$0, (%rax,%r13,4)
	je	LBB0_23
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r12), %rax
	cmpl	$0, (%rax,%r13,4)
	je	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r12), %rax
	cmpl	$0, (%rax,%r13,4)
	movq	_band_tab@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax,%r13,4), %r15d
	movl	4(%rax,%r13,4), %eax
	leal	-1(%rax), %ecx
	cmpl	%ecx, %r15d
	jge	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %r15
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	(%r12), %rax
	incl	(%rax,%r13,4)
	movq	16(%r12), %rax
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, (%rax,%r15,4)
	movq	8(%r12), %rax
	addl	$2, (%rax,%r13,4)
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=2
	addq	$2, %r15
	movq	(%rbx), %rax
	movslq	4(%rax,%r13,4), %rax
	leaq	-1(%rax), %rcx
	cmpq	%rcx, %r15
	jge	LBB0_20
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_get_bits1
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	%r14, %rdi
	callq	_get_bits1
	movq	(%r12), %rcx
	movl	(%rcx,%r13,4), %edx
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=2
	addl	$2, %edx
	movl	%edx, (%rcx,%r13,4)
	movq	16(%r12), %rax
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, (%rax,%r15,4)
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	8(%r12), %rax
	incl	(%rax,%r13,4)
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=2
	addl	$3, %edx
	movl	%edx, (%rcx,%r13,4)
	movq	16(%r12), %rax
	movl	$0, 4(%rax,%r15,4)
	movq	%r14, %rdi
	callq	_get_bits1
	movq	16(%r12), %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=2
	movl	$0, (%rcx,%r15,4)
	jmp	LBB0_19
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=2
	movl	$1, (%rcx,%r15,4)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r15d
	jge	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	incl	(%rax,%r13,4)
	movq	%r14, %rdi
	callq	_get_bits1
	movq	16(%r12), %rcx
	movslq	%r15d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rax
	incl	(%rax,%r13,4)
	jmp	LBB0_23
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rax,%r13,4), %ecx
	subl	(%rax,%r13,4), %ecx
	movq	(%r12), %rdx
	movl	%ecx, (%rdx,%r13,4)
	movslq	(%rax,%r13,4), %rbx
	cmpl	4(%rax,%r13,4), %ebx
	jl	LBB0_6
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	movq	_band_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	4(%rax,%r13,4), %rax
	cmpq	%rax, %rbx
	jge	LBB0_23
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	callq	_get_bits1
	movq	16(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	8(%r12), %rax
	incl	(%rax,%r13,4)
	jmp	LBB0_8
LBB0_24:
	addq	$8, %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
	.no_dead_strip	_imc_get_skip_coeff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function imc_get_skip_coeff
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_imc_get_skip_coeff:                    ; @imc_get_skip_coeff
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19, #8]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x21, _BANDS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BANDS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _band_tab@GOTPAGE
Lloh3:
	ldr	x23, [x23, _band_tab@GOTPAGEOFF]
	movi.2s	v8, #1
	mov	w24, #1
Lloh4:
	adrp	x8, lCPI0_0@PAGE
Lloh5:
	ldr	d9, [x8, lCPI0_0@PAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_25
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x19, #40]
	ldr	w8, [x8, x22, lsl #2]
	cbz	w8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8, x22, lsl #2]
	cbz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	ldr	w9, [x8, x22, lsl #2]
	ldr	x8, [x23]
	lsl	x25, x22, #2
	cbz	w9, LBB0_17
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w27, [x8, x22, lsl #2]
	add	x26, x22, #1
	ldr	w8, [x8, x26, lsl #2]
	sub	w9, w8, #1
	cmp	w27, w9
	b.ge	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x27, w27
	lsl	x28, x27, #2
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldp	x8, x9, [x19]
	ldr	w10, [x8, x25]
	add	w10, w10, #1
	str	w10, [x8, x25]
	ldr	x8, [x19, #16]
	str	d8, [x8, x28]
	ldr	w8, [x9, x25]
	add	w8, w8, #2
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	str	w8, [x9, x25]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	x27, x27, #2
	ldr	x8, [x23]
	ldrsw	x8, [x8, x26, lsl #2]
	sub	x9, x8, #1
	add	x28, x28, #8
	cmp	x27, x9
	b.ge	LBB0_21
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_get_bits1
	cbz	w0, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x20
	bl	_get_bits1
	ldr	x8, [x19]
	ldr	w9, [x8, x22, lsl #2]
	cbz	w0, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	add	w9, w9, #2
	str	w9, [x8, x25]
	ldp	x9, x8, [x19, #8]
	str	d9, [x8, x28]
	ldr	w8, [x9, x25]
	add	w8, w8, #1
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w9, w9, #3
	str	w9, [x8, x22, lsl #2]
	ldr	x8, [x19, #16]
	add	x8, x8, x28
	str	wzr, [x8, #4]
	mov	x0, x20
	bl	_get_bits1
	ldr	x8, [x19, #16]
	cbz	w0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=2
	str	wzr, [x8, x28]
	b	LBB0_10
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=2
	str	w24, [x8, x28]
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x25]
	add	w9, w9, #1
	str	w9, [x8, x25]
	b	LBB0_10
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x22, #1
	lsl	x9, x26, #2
	ldr	w10, [x8, x9]
	ldr	w11, [x8, x25]
	sub	w10, w10, w11
	ldr	x11, [x19]
	str	w10, [x11, x25]
	ldrsw	x27, [x8, x25]
	ldr	w8, [x8, x9]
	cmp	w27, w8
	b.lt	LBB0_19
	b	LBB0_2
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x27, x27, #1
	ldr	x8, [x23]
	ldrsw	x8, [x8, x26, lsl #2]
	cmp	x27, x8
	b.ge	LBB0_2
LBB0_19:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_get_bits1
	ldr	x8, [x19, #16]
	str	w0, [x8, x27, lsl #2]
	cbz	w0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x25]
	add	w9, w9, #1
	str	w9, [x8, x25]
	b	LBB0_18
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w27, w8
	b.ge	LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	w9, [x8, x25]
	add	w9, w9, #1
	str	w9, [x8, x25]
	mov	x0, x20
	bl	_get_bits1
	ldr	x8, [x19, #16]
	str	w0, [x8, w27, sxtw #2]
	cbz	w0, LBB0_2
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8, x25]
	add	w9, w9, #1
	str	w9, [x8, x25]
	b	LBB0_2
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BANDS,4,2                      ; @BANDS
	.comm	_band_tab,8,3                   ; @band_tab
	.no_dead_strip	_imc_get_skip_coeff
.subsections_via_symbols
