	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function inverse_quant_coeff
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_inverse_quant_coeff:                   ## @inverse_quant_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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	_BANDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_22
## %bb.1:
	movq	_band_tab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shrl	%edx
	andl	$1, %edx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_22
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movl	%edx, %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r13,4), %edx
	cmpl	%edx, %ecx
	jge	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rsi), %rbx
	movq	8(%rsi), %r10
	movq	_imc_quantizer1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_imc_quantizer2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rdi
	movl	%edx, %r14d
	subl	%ecx, %r14d
	jmp	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_9 Depth=2
	subl	%r8d, %r15d
	addl	$-2, %r15d
	movslq	%r15d, %rax
LBB0_6:                                 ##   in Loop: Header=BB0_9 Depth=2
	movss	(%rcx,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	xorps	%xmm0, %xmm1
	leaq	(,%r13,4), %rcx
	addq	24(%rsi), %rcx
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=2
	mulss	(%rcx), %xmm1
	movss	%xmm1, (%rbx,%rdi,4)
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=2
	incq	%rdi
	decl	%r14d
	je	LBB0_2
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$0, (%rbx,%rdi,4)
	movl	(%r10,%rdi,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	40(%rsi), %rax
	cmpq	$0, (%rax,%rdi,8)
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	$1, %r15d
	shll	%cl, %r15d
	movq	16(%rsi), %rax
	movl	(%rax,%rdi,4), %r9d
	movl	%r15d, %r11d
	subl	%r9d, %r11d
	jle	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	testl	%r9d, %r9d
	js	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%r15d, %r12d
	sarl	%r12d
	movslq	%r9d, %r8
	cmpl	$4, %ecx
	jb	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rcx
	cmpl	%r12d, %r8d
	jge	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=2
	addl	$-9, %r11d
	movslq	%r11d, %rax
	jmp	LBB0_6
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	32(%rsi), %rax
	movl	(%rax,%r13,4), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax,2), %eax
	cltq
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rcx
	cmpl	%r12d, %r9d
	jl	LBB0_5
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=2
	leaq	(%rcx,%r8,4), %rcx
	addq	$-4, %rcx
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=2
	leaq	(%rcx,%r8,4), %rcx
	addq	$-32, %rcx
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	24(%rsi), %rax
	movss	(%rax,%r13,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_7
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_20:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_23:
	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	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_imc_quantizer2,8,3             ## @imc_quantizer2
	.comm	_imc_quantizer1,8,3             ## @imc_quantizer1
	.no_dead_strip	_inverse_quant_coeff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inverse_quant_coeff
_inverse_quant_coeff:                   ; @inverse_quant_coeff
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
Lloh0:
	adrp	x8, _BANDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BANDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x11, #0
Lloh3:
	adrp	x9, _band_tab@GOTPAGE
Lloh4:
	ldr	x9, [x9, _band_tab@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ubfx	w10, w2, #1, #1
	ldr	w4, [x9]
Lloh6:
	adrp	x12, _imc_quantizer1@GOTPAGE
Lloh7:
	ldr	x12, [x12, _imc_quantizer1@GOTPAGEOFF]
Lloh8:
	adrp	x13, _imc_quantizer2@GOTPAGE
Lloh9:
	ldr	x13, [x13, _imc_quantizer2@GOTPAGEOFF]
	mov	w14, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x4, x16
	mov	x11, x15
	cmp	x15, x8
	b.eq	LBB0_20
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	add	x15, x11, #1
	ldr	w16, [x9, x15, lsl #2]
	cmp	w4, w16
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x17, x0, [x1]
	ldr	x2, [x12]
	sxtw	x3, w4
	sub	w4, w16, w4
	ldr	x5, [x13]
	b	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_9 Depth=2
	sub	w6, w6, #2
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	s0, [x19, w6, sxtw #2]
	fneg	s0, s0
	ldr	x6, [x1, #24]
	add	x6, x6, x11, lsl #2
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	s1, [x6]
	fmul	s0, s1, s0
	str	s0, [x17, x3, lsl #2]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x3, x3, #1
	subs	w4, w4, #1
	b.eq	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x6, x3, #2
	str	wzr, [x17, x6]
	ldr	w19, [x0, x6]
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x6, [x1, #40]
	ldr	x6, [x6, x3, lsl #3]
	cbnz	x6, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	lsl	w20, w14, w19
	ldr	x6, [x1, #16]
	ldr	w7, [x6, x3, lsl #2]
	subs	w6, w20, w7
	b.le	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	tbnz	w7, #31, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	asr	w20, w20, #1
	cmp	w19, #4
	b.lo	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x19, [x5, x10, lsl #3]
	cmp	w7, w20
	b.ge	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	sub	w6, w6, #9
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	x19, [x1, #32]
	ldr	w19, [x19, x11, lsl #2]
	mov	x21, x10
	bfi	w21, w19, #1, #31
	ldr	x19, [x2, w21, sxtw #3]
	cmp	w7, w20
	b.lt	LBB0_5
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	sub	w6, w7, #1
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=2
	sub	w6, w7, #8
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x6, x19, w6, sxtw #2
	ldr	x7, [x1, #24]
	ldr	s0, [x7, x11, lsl #2]
	b	LBB0_7
LBB0_20:
	mov	w0, #0
	b	LBB0_22
LBB0_21:
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_22:
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_BANDS,4,2                      ; @BANDS
	.comm	_band_tab,8,3                   ; @band_tab
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_imc_quantizer2,8,3             ; @imc_quantizer2
	.comm	_imc_quantizer1,8,3             ; @imc_quantizer1
	.no_dead_strip	_inverse_quant_coeff
.subsections_via_symbols
