	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qdmc_decode_frame
_qdmc_decode_frame:                     ## @qdmc_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, 8(%rcx)
	je	LBB0_3
## %bb.1:
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r13
	movq	(%rcx), %rax
	cmpq	(%r13), %rax
	jge	LBB0_4
## %bb.2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_3:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_4:
	movq	%rsi, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, 24(%r13)
	movl	16(%r13), %eax
	movl	%eax, 8(%rsi)
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movl	8(%r14), %esi
	movq	(%r13), %rdx
	leaq	-44(%rbp), %rdi
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_9
## %bb.6:
	movl	12(%r13), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	8(%r13), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	(%rax), %rdx
	leaq	-44(%rbp), %rsi
	movq	%r13, %rdi
	callq	_decode_frame
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movl	(%r13), %ebx
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_10:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_qdmc_flush
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.no_dead_strip	_qdmc_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qdmc_decode_frame
_qdmc_decode_frame:                     ; @qdmc_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	ldr	w8, [x3, #8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x24, x3
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x8, [x3]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	b	LBB0_10
LBB0_3:
	mov	w23, #0
	b	LBB0_10
LBB0_4:
	mov	x19, x2
	mov	x22, x1
	str	x20, [x21, #24]
	ldr	w8, [x21, #16]
	str	w8, [x1, #8]
	mov	x0, x20
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_8
; %bb.5:
	ldr	w1, [x24, #8]
	ldr	x2, [x21]
	add	x0, sp, #12
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_8
; %bb.6:
	ldr	w0, [x21, #12]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x21, #8]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x22]
	ldr	x2, [x8]
	add	x1, sp, #12
	mov	x0, x21
	bl	_decode_frame
	tbnz	w0, #31, LBB0_9
; %bb.7:
	mov	w8, #1
	str	w8, [x19]
	ldr	w23, [x21]
	b	LBB0_10
LBB0_8:
	mov	x23, x0
	b	LBB0_10
LBB0_9:
	mov	x23, x0
	mov	x0, x20
	bl	_qdmc_flush
LBB0_10:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.no_dead_strip	_qdmc_decode_frame
.subsections_via_symbols
