	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function return_frame
_return_frame:                          ## @return_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movl	(%r13), %r12d
	cmpl	$-1, %r12d
	je	LBB0_1
## %bb.4:
	xorl	$1, %r12d
	testl	%r15d, %r15d
	jne	LBB0_7
	jmp	LBB0_6
LBB0_1:
	movq	40(%r13), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.3:
	movl	(%rax), %r12d
	testl	%r15d, %r15d
	je	LBB0_6
LBB0_7:
	movq	(%r14), %rax
	movq	(%rax), %rdi
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	callq	_ff_get_video_buffer
	movq	%rax, 24(%r13)
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	40(%r13), %rsi
	movq	%rax, %rdi
	callq	_av_frame_copy_props
	movq	24(%r13), %rsi
	movq	$0, 8(%rsi)
	movq	8(%r13), %rax
	movq	_YADIF_FIELD_BACK_END@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	_YADIF_FIELD_END@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	jmp	LBB0_10
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_2:
	movl	$1, %r12d
	testl	%r15d, %r15d
	jne	LBB0_7
LBB0_6:
	movq	24(%r13), %rsi
LBB0_10:
	xorl	%edx, %edx
	testl	%r15d, %r15d
	sete	%dl
	xorl	%r12d, %edx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	callq	*48(%r13)
	testl	%r15d, %r15d
	je	LBB0_11
## %bb.12:
	movq	32(%r13), %rax
	movq	(%rax), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_15
## %bb.13:
	movq	40(%r13), %rdx
	movq	8(%rdx), %rdx
	cmpq	%rcx, %rdx
	je	LBB0_15
## %bb.14:
	addq	%rdx, %rax
	movq	24(%r13), %rsi
	movq	%rax, (%rsi)
	jmp	LBB0_16
LBB0_11:
	movq	24(%r13), %rsi
	jmp	LBB0_16
LBB0_15:
	movq	24(%r13), %rsi
	movq	%rcx, (%rsi)
LBB0_16:
	testl	%r15d, %r15d
	sete	%bl
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_ff_filter_frame
	andb	20(%r13), %bl
	movzbl	%bl, %ecx
	movl	%ecx, 16(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_YADIF_FIELD_BACK_END,8,3       ## @YADIF_FIELD_BACK_END
	.comm	_YADIF_FIELD_END,8,3            ## @YADIF_FIELD_END
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.no_dead_strip	_return_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function return_frame
_return_frame:                          ; @return_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	x20, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	ldr	w8, [x22]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	eor	w21, w8, #0x1
	cbnz	w20, LBB0_4
	b	LBB0_9
LBB0_2:
	ldr	x8, [x22, #40]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_8
; %bb.3:
	ldr	w21, [x8]
	cbz	w20, LBB0_9
LBB0_4:
	ldr	x8, [x19]
	ldr	x0, [x8]
	ldp	w2, w1, [x0]
	bl	_ff_get_video_buffer
	str	x0, [x22, #24]
	cbz	x0, LBB0_7
; %bb.5:
	ldr	x1, [x22, #40]
	bl	_av_frame_copy_props
	ldr	x1, [x22, #24]
	str	xzr, [x1, #8]
	ldr	x8, [x22, #8]
Lloh0:
	adrp	x9, _YADIF_FIELD_BACK_END@GOTPAGE
Lloh1:
	ldr	x9, [x9, _YADIF_FIELD_BACK_END@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:
Lloh3:
	adrp	x8, _YADIF_FIELD_END@GOTPAGE
Lloh4:
	ldr	x8, [x8, _YADIF_FIELD_END@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x22, #8]
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@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
	b	_AVERROR
LBB0_8:
	mov	w21, #1
	cbnz	w20, LBB0_4
LBB0_9:
	ldr	x1, [x22, #24]
LBB0_10:
	cmp	w20, #0
	cset	w8, eq
	ldr	x9, [x22, #48]
	eor	w2, w21, w8
	mov	x0, x19
	mov	x3, x21
	blr	x9
	cbz	w20, LBB0_14
; %bb.11:
	ldp	x10, x8, [x22, #32]
	ldr	x9, [x8, #8]
	ldr	x10, [x10]
Lloh9:
	adrp	x8, _AV_NOPTS_VALUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x10, x8
	ccmp	x9, x8, #4, ne
	b.eq	LBB0_13
; %bb.12:
	add	x8, x10, x9
LBB0_13:
	ldr	x1, [x22, #24]
	str	x8, [x1]
	b	LBB0_15
LBB0_14:
	ldr	x1, [x22, #24]
LBB0_15:
	cmp	w20, #0
	cset	w20, eq
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_ff_filter_frame
	ldr	w8, [x22, #20]
	and	w8, w20, w8
	str	w8, [x22, #16]
	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
	.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	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_YADIF_FIELD_BACK_END,8,3       ; @YADIF_FIELD_BACK_END
	.comm	_YADIF_FIELD_END,8,3            ; @YADIF_FIELD_END
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.no_dead_strip	_return_frame
.subsections_via_symbols
