	.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, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	cmpq	$0, (%rbx)
	js	LBB0_2
## %bb.1:
	movl	12(%rbx), %edi
	movl	64(%rbx), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_av_rescale_q
	cmpq	(%rbx), %rax
	jge	LBB0_14
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_9
## %bb.3:
	cmpq	$0, 56(%rbx)
	je	LBB0_5
## %bb.4:
	leaq	48(%rbx), %rdi
	callq	_av_frame_free
	movq	$0, 56(%rbx)
LBB0_5:
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
## %bb.6:
	movl	36(%rbx), %edx
	movl	40(%rbx), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	movq	%rax, 48(%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	(%r14), %rdi
	movq	%rax, %rsi
	callq	*16(%rbx)
	movq	48(%rbx), %rdi
LBB0_8:
	callq	_av_frame_clone
	jmp	LBB0_10
LBB0_14:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	36(%rbx), %edx
	movl	40(%rbx), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
LBB0_10:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_15
## %bb.11:
	movl	12(%rbx), %eax
	movl	%eax, 24(%r15)
	movl	$1, (%r15)
	movq	$0, 16(%r15)
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r15)
	movl	32(%rbx), %ecx
	movl	%ecx, 4(%r15)
	cmpq	$0, 24(%rbx)
	jne	LBB0_13
## %bb.12:
	movq	(%r14), %rdi
	movq	%r15, %rsi
	callq	*16(%rbx)
	movl	12(%rbx), %eax
LBB0_13:
	incl	%eax
	movl	%eax, 12(%rbx)
	incl	8(%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_15:
	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	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.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	x21, [x8]
	ldr	x8, [x21]
	tbnz	x8, #63, LBB0_2
; %bb.1:
	ldr	w0, [x21, #12]
	ldr	w1, [x21, #64]
Lloh0:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_av_rescale_q
	ldr	x8, [x21]
	cmp	x0, x8
	b.ge	LBB0_12
LBB0_2:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_13
; %bb.3:
	ldr	x8, [x21, #56]
	cbz	x8, LBB0_5
; %bb.4:
	add	x0, x21, #48
	bl	_av_frame_free
	str	xzr, [x21, #56]
LBB0_5:
	ldr	x0, [x21, #48]
	cbnz	x0, LBB0_8
; %bb.6:
	ldp	w2, w1, [x21, #36]
	mov	x0, x19
	bl	_ff_get_video_buffer
	str	x0, [x21, #48]
	cbz	x0, LBB0_14
; %bb.7:
	mov	x1, x0
	ldr	x8, [x21, #16]
	ldr	x0, [x19]
	blr	x8
	ldr	x0, [x21, #48]
LBB0_8:
	bl	_av_frame_clone
	mov	x20, x0
	cbz	x0, LBB0_14
LBB0_9:
	ldr	w8, [x21, #12]
	str	w8, [x20, #24]
	mov	w9, #1
	str	xzr, [x20, #16]
Lloh3:
	adrp	x10, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh4:
	ldr	x10, [x10, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
	ldr	w11, [x21, #32]
	stp	w9, w11, [x20]
Lloh5:
	ldr	w9, [x10]
	str	w9, [x20, #8]
	ldr	x9, [x21, #24]
	cbnz	x9, LBB0_11
; %bb.10:
	ldr	x8, [x21, #16]
	ldr	x0, [x19]
	mov	x1, x20
	blr	x8
	ldr	w8, [x21, #12]
LBB0_11:
	add	w8, w8, #1
	ldr	w9, [x21, #8]
	add	w9, w9, #1
	stp	w9, w8, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	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_12:
Lloh6:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh8:
	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_13:
	ldp	w2, w1, [x21, #36]
	mov	x0, x19
	bl	_ff_get_video_buffer
	mov	x20, x0
	cbnz	x0, LBB0_9
LBB0_14:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.no_dead_strip	_request_frame
.subsections_via_symbols
