	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edi
	movl	24(%rbx), %esi
	callq	_FFMIN
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ff_get_audio_buffer
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	movq	16(%rax), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %esi
	movq	16(%rbx), %rax
	movl	(%rax), %edx
	imull	%r12d, %edx
	addl	%edx, %edx
	callq	_memcpy
	movl	8(%rbx), %eax
	movl	%eax, (%r15)
	movl	$-1, 4(%r15)
	movq	16(%rbx), %rcx
	movl	4(%rcx), %edx
	movl	%edx, 8(%r15)
	movl	%r12d, %edx
	addl	%eax, %edx
	movl	%edx, 8(%rbx)
	movl	(%rcx), %eax
	imull	%r12d, %eax
	addl	%eax, 4(%rbx)
	subl	%r12d, (%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_3:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.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:
	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, x0
	ldr	x8, [x0]
	ldr	x22, [x8]
	ldr	w0, [x22]
	ldr	w1, [x22, #24]
	bl	_FFMIN
	cbz	w0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ff_get_audio_buffer
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldr	x8, [x0, #16]
	ldr	w0, [x8]
	ldr	w1, [x22, #4]
	ldr	x8, [x22, #16]
	ldr	w8, [x8]
	mul	w8, w20, w8
	lsl	w2, w8, #1
	bl	_memcpy
	ldr	w8, [x22, #8]
	mov	w9, #-1
	stp	w8, w9, [x21]
	ldr	x9, [x22, #16]
	ldp	w9, w10, [x9]
	str	w10, [x21, #8]
	add	w8, w8, w20
	str	w8, [x22, #8]
	ldp	w10, w8, [x22]
	madd	w8, w9, w20, w8
	sub	w9, w10, w20
	stp	w9, w8, [x22]
	mov	x0, x19
	mov	x1, x21
	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
	b	_ff_filter_frame
LBB0_3:
Lloh0:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
LBB0_4:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_request_frame
.subsections_via_symbols
