	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_yadif_filter_frame          ## -- Begin function ff_yadif_filter_frame
	.p2align	4, 0x90
_ff_yadif_filter_frame:                 ## @ff_yadif_filter_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
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	16(%r14), %rbx
	movq	%rsi, %rdi
	callq	_av_assert0
	cmpq	$0, 48(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_return_frame
LBB0_2:
	leaq	16(%rbx), %r15
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_av_frame_free
LBB0_4:
	movq	8(%rbx), %rax
	movq	24(%rbx), %rdx
	movq	%rax, 16(%rbx)
	movq	%rdx, 8(%rbx)
	movq	%r13, 24(%rbx)
	testq	%rdx, %rdx
	jne	LBB0_7
## %bb.5:
	movq	%r13, %rdi
	callq	_av_frame_clone
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_37
## %bb.6:
	movq	%rax, %rdx
	movq	_YADIF_FIELD_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	24(%rbx), %r13
LBB0_7:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_checkstride
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movq	24(%rbx), %rsi
	movq	%r12, %rdi
	callq	_fixstride
LBB0_9:
	movq	8(%rbx), %rdx
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_checkstride
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	8(%rbx), %rsi
	movq	%r12, %rdi
	callq	_fixstride
LBB0_11:
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.12:
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_checkstride
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_fixstride
LBB0_14:
	movq	8(%rbx), %rdx
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_checkstride
	testq	%rax, %rax
	je	LBB0_15
LBB0_17:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_av_log
	movl	$-1, %r13d
LBB0_18:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	(%r15), %rdx
	xorl	%r13d, %r13d
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.16:
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_checkstride
	testq	%rax, %rax
	jne	LBB0_17
## %bb.19:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.20:
	cmpq	$0, 32(%rbx)
	je	LBB0_31
## %bb.21:
	movq	8(%rbx), %rdi
	cmpl	$0, 8(%rdi)
	je	LBB0_33
## %bb.22:
	cmpq	$0, 8(%r14)
	jne	LBB0_33
## %bb.23:
	cmpl	$0, 8(%rax)
	je	LBB0_24
LBB0_25:
	movq	24(%rbx), %rax
	cmpl	$0, 8(%rax)
	jne	LBB0_27
## %bb.26:
	cmpq	$0, (%rax)
	jne	LBB0_33
	jmp	LBB0_27
LBB0_31:
	cmpq	$0, 8(%r14)
	je	LBB0_27
## %bb.32:
	movq	8(%rbx), %rdi
LBB0_33:
	callq	_av_frame_clone
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_37
## %bb.34:
	movq	%r15, %rdi
	callq	_av_frame_free
	movq	(%rbx), %rsi
	movl	(%rsi), %eax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_36
## %bb.35:
	addl	%eax, %eax
	movl	%eax, (%rsi)
LBB0_36:
	movq	(%r14), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_27:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	(%r12), %edx
	movl	4(%r12), %esi
	callq	_ff_get_video_buffer
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_37
## %bb.28:
	movq	8(%rbx), %rsi
	movq	%rax, %rdi
	callq	_av_frame_copy_props
	movq	(%rbx), %rax
	movq	$0, 8(%rax)
	movl	(%rax), %ecx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_30
## %bb.29:
	addl	%ecx, %ecx
	movl	%ecx, (%rax)
LBB0_30:
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_frame                   ## TAILCALL
LBB0_37:
	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_24:
	cmpq	$0, (%rax)
	jne	LBB0_33
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_YADIF_FIELD_END,4,2            ## @YADIF_FIELD_END
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reallocating frame due to differing stride\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Failed to reallocate frame\n"

	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_yadif_filter_frame          ; -- Begin function ff_yadif_filter_frame
	.p2align	2
_ff_yadif_filter_frame:                 ; @ff_yadif_filter_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x22, x0
	ldr	x19, [x0, #8]
	ldr	x20, [x19, #16]
	mov	x0, x1
	bl	_av_assert0
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_return_frame
LBB0_2:
	mov	x21, x20
	ldr	x8, [x21, #16]!
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_av_frame_free
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x2, [x20, #24]
	stp	x2, x8, [x20, #8]
	str	x23, [x20, #24]
	cbnz	x2, LBB0_7
; %bb.5:
	mov	x0, x23
	bl	_av_frame_clone
	str	x0, [x20, #8]
	cbz	x0, LBB0_37
; %bb.6:
	mov	x2, x0
Lloh0:
	adrp	x8, _YADIF_FIELD_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YADIF_FIELD_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #40]
	ldr	x23, [x20, #24]
LBB0_7:
	mov	x0, x20
	mov	x1, x23
	bl	_checkstride
	cbz	x0, LBB0_9
; %bb.8:
Lloh3:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
	ldr	x1, [x20, #24]
	mov	x0, x22
	bl	_fixstride
LBB0_9:
	ldr	x1, [x20, #24]
	ldr	x2, [x20, #8]
	mov	x0, x20
	bl	_checkstride
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x1, [x20, #8]
	mov	x0, x22
	bl	_fixstride
LBB0_11:
	ldr	x2, [x21]
	cbz	x2, LBB0_14
; %bb.12:
	ldr	x1, [x20, #24]
	mov	x0, x20
	bl	_checkstride
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x1, [x21]
	mov	x0, x22
	bl	_fixstride
LBB0_14:
	ldr	x1, [x20, #24]
	ldr	x2, [x20, #8]
	mov	x0, x20
	bl	_checkstride
	cbz	x0, LBB0_17
LBB0_15:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str.1@PAGE
Lloh12:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_av_log
	mov	w0, #-1
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	ldr	x2, [x21]
	cbz	x2, LBB0_26
; %bb.18:
	ldr	x1, [x20, #24]
	mov	x0, x20
	bl	_checkstride
	cbnz	x0, LBB0_15
; %bb.19:
	ldr	x8, [x21]
	cbz	x8, LBB0_26
; %bb.20:
	ldr	x9, [x20, #32]
	cbz	x9, LBB0_27
; %bb.21:
	ldr	x0, [x20, #8]
	ldr	w9, [x0, #8]
	cbz	w9, LBB0_29
; %bb.22:
	ldr	x9, [x19, #8]
	cbnz	x9, LBB0_29
; %bb.23:
	ldr	w9, [x8, #8]
	cbz	w9, LBB0_38
LBB0_24:
	ldr	x8, [x20, #24]
	ldr	w9, [x8, #8]
	cbnz	w9, LBB0_33
; %bb.25:
	ldr	x8, [x8]
	cbnz	x8, LBB0_29
	b	LBB0_33
LBB0_26:
	mov	w0, #0
	b	LBB0_16
LBB0_27:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_33
; %bb.28:
	ldr	x0, [x20, #8]
LBB0_29:
	bl	_av_frame_clone
	str	x0, [x20]
	cbz	x0, LBB0_37
; %bb.30:
	mov	x0, x21
	bl	_av_frame_free
	ldr	x1, [x20]
	ldr	w8, [x1]
Lloh13:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_32
; %bb.31:
	lsl	w8, w8, #1
	str	w8, [x1]
LBB0_32:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ff_filter_frame
LBB0_33:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldp	w2, w1, [x22]
	bl	_ff_get_video_buffer
	str	x0, [x20]
	cbz	x0, LBB0_37
; %bb.34:
	ldr	x1, [x20, #8]
	bl	_av_frame_copy_props
	ldr	x8, [x20]
	str	xzr, [x8, #8]
	ldr	w9, [x8]
Lloh16:
	adrp	x10, _AV_NOPTS_VALUE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_36
; %bb.35:
	lsl	w9, w9, #1
	str	w9, [x8]
LBB0_36:
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_return_frame
LBB0_37:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_38:
	ldr	x8, [x8]
	cbnz	x8, LBB0_29
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_YADIF_FIELD_END,4,2            ; @YADIF_FIELD_END
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reallocating frame due to differing stride\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Failed to reallocate frame\n"

	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
.subsections_via_symbols
