	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	8(%rbx), %r15
	movl	(%rax), %edi
	callq	_ff_request_frame
	movq	_AVERROR_EOF@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	jne	LBB0_8
## %bb.1:
	cmpq	$0, (%r15)
	jle	LBB0_8
## %bb.2:
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.3:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
## %bb.4:
	movq	8(%r15), %rdi
LBB0_5:
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_filter_frame
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:
	movl	(%r14), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	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
	ldr	x19, [x0]
	ldp	x8, x21, [x19]
	ldr	w0, [x8]
	bl	_ff_request_frame
Lloh0:
	adrp	x20, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AVERROR_EOF@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	x0, [x21, #24]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x21, #16]
	cbz	x0, LBB0_7
LBB0_4:
	bl	_av_frame_clone
	cbz	x0, LBB0_8
LBB0_5:
	mov	x1, x0
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_filter_frame
	ldr	w8, [x20]
	cmp	w0, #0
	csel	w0, w0, w8, lt
LBB0_6:
	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_7:
	ldr	x0, [x21, #8]
	bl	_av_frame_clone
	cbnz	x0, LBB0_5
LBB0_8:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	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 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
