	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_block_codes
_parse_block_codes:                     ## @parse_block_codes
	.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, %r15
	leaq	4(%rdi), %rbx
	movq	_block_code_nbits@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movslq	%edx, %r14
	movl	-4(%rax,%r14,4), %esi
	movq	%rbx, %rdi
	callq	_get_bits
	movl	%eax, %r12d
	movq	(%r13), %rax
	movl	-4(%rax,%r14,4), %esi
	movq	%rbx, %rdi
	callq	_get_bits
	movq	_ff_dca_quant_levels@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%r14,4), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_decode_blockcodes
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_block_code_nbits,8,3           ## @block_code_nbits
	.comm	_ff_dca_quant_levels,8,3        ## @ff_dca_quant_levels
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to decode block code(s)\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_block_codes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_block_codes
_parse_block_codes:                     ; @parse_block_codes
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _block_code_nbits@GOTPAGE
Lloh1:
	ldr	x23, [x23, _block_code_nbits@GOTPAGEOFF]
	add	x21, x0, #4
	ldr	x8, [x23]
	sbfiz	x24, x2, #2, #32
	sub	x25, x24, #4
	ldr	w1, [x8, x25]
	mov	x0, x21
	bl	_get_bits
	mov	x22, x0
	ldr	x8, [x23]
	ldr	w1, [x8, x25]
	mov	x0, x21
	bl	_get_bits
	mov	x1, x0
Lloh2:
	adrp	x8, _ff_dca_quant_levels@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ff_dca_quant_levels@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	w2, [x8, x24]
	mov	x0, x22
	mov	x3, x20
	bl	_decode_blockcodes
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_block_code_nbits,8,3           ; @block_code_nbits
	.comm	_ff_dca_quant_levels,8,3        ; @ff_dca_quant_levels
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to decode block code(s)\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_parse_block_codes
.subsections_via_symbols
