	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vqa_decode_frame
_vqa_decode_frame:                      ## @vqa_decode_frame
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	(%rdi), %r12
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	leaq	4(%r12), %rdi
	movl	(%r15), %edx
	movl	4(%r15), %esi
	callq	_bytestream2_init
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_vqa_decode_chunk
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	movl	(%r12), %esi
	movq	_PALETTE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcpy
	movl	$1, (%rbx)
	movl	$1, (%r14)
	movl	(%r15), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PALETTE_COUNT,4,2              ## @PALETTE_COUNT
	.no_dead_strip	_vqa_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vqa_decode_frame
_vqa_decode_frame:                      ; @vqa_decode_frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x22, [x0]
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_3
; %bb.1:
	add	x0, x22, #4
	ldp	w2, w1, [x19]
	bl	_bytestream2_init
	mov	x0, x22
	mov	x1, x21
	bl	_vqa_decode_chunk
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #4]
	ldr	w1, [x22]
Lloh0:
	adrp	x8, _PALETTE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PALETTE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memcpy
	mov	w8, #1
	str	w8, [x21]
	str	w8, [x20]
	ldr	w0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PALETTE_COUNT,4,2              ; @PALETTE_COUNT
	.no_dead_strip	_vqa_decode_frame
.subsections_via_symbols
