	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_i_block
_decode_i_block:                        ## @decode_i_block
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_get_bits_left
	cmpl	$1, %eax
	jg	LBB0_2
## %bb.1:
	movl	4(%r13), %r15d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_get_bits_left
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_5
LBB0_2:
	leaq	16(%r13), %r12
	movl	12(%r13), %esi
	movq	_ACDC_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$3, %ecx
	callq	_get_vlc2
	cmpl	$16, %eax
	jae	LBB0_3
## %bb.6:
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_get_xbits
	jmp	LBB0_9
LBB0_3:
	movl	4(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	xorl	%eax, %eax
	callq	_av_log
LBB0_5:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_20:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movq	_dequant_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	(%rcx), %eax
	addl	(%r13), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movl	%eax, (%r13)
	movl	$1, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	leal	16(%r15), %ecx
	cmpl	$48, %r15d
	movl	%ecx, %r15d
	jge	LBB0_16
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	12(%r13), %esi
	movq	_ACDC_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$3, %ecx
	callq	_get_vlc2
	cmpl	$240, %eax
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %esi
	andl	$15, %esi
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_get_xbits
	sarl	$4, %ebx
	addl	%r15d, %ebx
	cmpl	$63, %ebx
	jg	LBB0_14
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_ff_zigzag_direct@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	movslq	(%rcx,%rdx,4), %rcx
	movq	_dequant_table@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	imull	(%rdx,%rcx,4), %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	leal	1(%rbx), %r15d
	cmpl	$63, %ebx
	jne	LBB0_10
	jmp	LBB0_19
LBB0_16:
	movl	4(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_20
LBB0_17:
	movl	4(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_4
LBB0_14:
	movl	4(%r13), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d bits left before decode_i_block()\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ACDC_VLC_BITS,4,2              ## @ACDC_VLC_BITS
L_.str.1:                               ## @.str.1
	.asciz	"error dc run != 0\n"

	.comm	_dequant_table,8,3              ## @dequant_table
L_.str.2:                               ## @.str.2
	.asciz	"run %d overflow\n"

L_.str.3:                               ## @.str.3
	.asciz	"0 coeff\n"

	.comm	_ff_zigzag_direct,8,3           ## @ff_zigzag_direct
	.no_dead_strip	_decode_i_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_i_block
_decode_i_block:                        ; @decode_i_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.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
	mov	x21, x1
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_get_bits_left
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
	ldr	w19, [x19, #4]
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_get_bits_left
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	b	LBB0_6
LBB0_2:
	add	x22, x19, #16
	ldr	w1, [x19, #12]
Lloh5:
	adrp	x24, _ACDC_VLC_BITS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _ACDC_VLC_BITS@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x22
	mov	w3, #3
	bl	_get_vlc2
	cmp	w0, #16
	b.hs	LBB0_5
; %bb.3:
	mov	x1, x0
	cbz	w0, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_get_xbits
	b	LBB0_9
LBB0_5:
	ldr	w0, [x19, #4]
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_6:
	bl	_av_log
Lloh12:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh14:
	ldr	w23, [x8]
LBB0_7:
	mov	x0, x23
	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
	add	sp, sp, #112
	ret
LBB0_8:
	mov	w0, #0
LBB0_9:
Lloh15:
	adrp	x25, _dequant_table@GOTPAGE
Lloh16:
	ldr	x25, [x25, _dequant_table@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w8, [x8]
	ldr	w9, [x19]
	madd	w8, w8, w0, w9
	str	w8, [x21]
	str	w8, [x19]
	mov	w27, #1
Lloh17:
	adrp	x26, _ff_zigzag_direct@GOTPAGE
Lloh18:
	ldr	x26, [x26, _ff_zigzag_direct@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	w8, w27, #16
	cmp	w27, #48
	mov	x27, x8
	b.ge	LBB0_16
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #12]
	ldr	w2, [x24]
	mov	x0, x22
	mov	w3, #3
	bl	_get_vlc2
	cmp	w0, #240
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, x0
	cbz	w0, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ands	w1, w23, #0xf
	b.eq	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	bl	_get_xbits
	add	w8, w27, w23, asr #4
	cmp	w8, #63
	b.gt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [x26]
	ldrsw	x9, [x9, w8, sxtw #2]
	ldr	x10, [x25]
	lsl	x9, x9, #2
	ldr	w10, [x10, x9]
	mul	w10, w10, w0
	str	w10, [x21, x9]
	add	w27, w8, #1
	cmp	w8, #63
	b.ne	LBB0_11
	b	LBB0_17
LBB0_16:
	ldr	w0, [x19, #4]
Lloh19:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh20:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x9]
	str	x8, [sp]
Lloh22:
	adrp	x2, l_.str.2@PAGE
Lloh23:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_av_log
LBB0_17:
	mov	w23, #0
	b	LBB0_7
LBB0_18:
	ldr	w0, [x19, #4]
Lloh24:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x2, l_.str.3@PAGE
Lloh28:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d bits left before decode_i_block()\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ACDC_VLC_BITS,4,2              ; @ACDC_VLC_BITS
l_.str.1:                               ; @.str.1
	.asciz	"error dc run != 0\n"

	.comm	_dequant_table,8,3              ; @dequant_table
l_.str.2:                               ; @.str.2
	.asciz	"run %d overflow\n"

l_.str.3:                               ; @.str.3
	.asciz	"0 coeff\n"

	.comm	_ff_zigzag_direct,8,3           ; @ff_zigzag_direct
	.no_dead_strip	_decode_i_block
.subsections_via_symbols
