	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_yadif_request_frame         ## -- Begin function ff_yadif_request_frame
	.p2align	4, 0x90
_ff_yadif_request_frame:                ## @ff_yadif_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %r14
	cmpq	$0, 32(%r14)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_return_frame
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_2:
	cmpl	$0, (%r14)
	je	LBB0_4
## %bb.3:
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_ff_request_frame
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.6:
	movq	16(%r14), %rdi
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	_YADIF_FIELD_BACK_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r14)
	movq	8(%r14), %rcx
	movq	16(%r14), %rdx
	movslq	(%rdx), %rdx
	addq	%rdx, %rdx
	subq	(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_ff_yadif_filter_frame
	movl	$1, (%r14)
	jmp	LBB0_9
LBB0_8:
	testl	%eax, %eax
	jns	LBB0_9
	jmp	LBB0_10
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_YADIF_FIELD_BACK_END,4,2       ## @YADIF_FIELD_BACK_END
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_yadif_request_frame         ; -- Begin function ff_yadif_request_frame
	.p2align	2
_ff_yadif_request_frame:                ; @ff_yadif_request_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0]
	ldr	x20, [x19, #8]
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_return_frame
LBB0_2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_ff_request_frame
Lloh3:
	adrp	x8, _AVERROR_EOF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVERROR_EOF@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_10
; %bb.7:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	x0, [x20, #16]
	bl	_av_frame_clone
	cbz	x0, LBB0_11
; %bb.9:
	mov	x1, x0
Lloh6:
	adrp	x8, _YADIF_FIELD_BACK_END@GOTPAGE
Lloh7:
	ldr	x8, [x8, _YADIF_FIELD_BACK_END@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	ldp	x9, x8, [x20, #8]
	ldrsw	x8, [x8]
	lsl	x8, x8, #1
	ldr	x9, [x9]
	sub	x8, x8, x9
	str	x8, [x0]
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_ff_yadif_filter_frame
	mov	w8, #1
	str	w8, [x20]
	b	LBB0_2
LBB0_10:
	tbz	w0, #31, LBB0_2
	b	LBB0_5
LBB0_11:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 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	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_YADIF_FIELD_BACK_END,4,2       ; @YADIF_FIELD_BACK_END
.subsections_via_symbols
