	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function request_frame
_request_frame:                         ## @request_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
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movq	8(%r15), %r13
	movq	$0, 16(%r13)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_ff_request_frame
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%r13)
	je	LBB0_1
LBB0_3:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_13
## %bb.4:
	movq	8(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.5:
	xorl	%esi, %esi
	callq	_avresample_get_out_samples
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ff_get_audio_buffer
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %r15
	movq	8(%r13), %rdi
	movl	16(%rax), %esi
	movq	8(%rax), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_avresample_convert
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_9
## %bb.11:
	movl	%ebx, (%r15)
	movl	(%r13), %eax
	movl	%eax, 4(%r15)
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_12
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_12:
	movl	%eax, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.10:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_request_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function request_frame
_request_frame:                         ; @request_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
	mov	x19, x0
	ldr	x21, [x0]
	ldr	x22, [x21, #8]
	str	xzr, [x22, #16]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_ff_request_frame
	mov	x20, x0
	tbnz	w0, #31, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_1
LBB0_3:
Lloh0:
	adrp	x23, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AVERROR_EOF@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w20, w8
	b.ne	LBB0_12
; %bb.4:
	ldr	x0, [x22, #8]
	cbz	x0, LBB0_12
; %bb.5:
	mov	w1, #0
	bl	_avresample_get_out_samples
	cbz	w0, LBB0_12
; %bb.6:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_ff_get_audio_buffer
	str	x0, [sp, #8]
	cbz	x0, LBB0_9
; %bb.7:
	mov	x20, x0
	ldr	x0, [x22, #8]
	ldr	w1, [x20, #16]
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	mov	x3, x21
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_avresample_convert
	mov	x21, x0
	cmp	w0, #0
	b.le	LBB0_11
; %bb.8:
	ldr	w8, [x22]
	stp	w21, w8, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
	b	LBB0_10
LBB0_9:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_10:
	mov	x20, x0
	b	LBB0_12
LBB0_11:
	add	x0, sp, #8
	bl	_av_frame_free
	ldr	w8, [x23]
	cmp	w21, #0
	csel	w20, w8, w21, eq
LBB0_12:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_request_frame
.subsections_via_symbols
