	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter
_filter:                                ## @filter
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r14
	movl	%edx, -72(%rbp)
	movl	%ecx, -68(%rbp)
	movq	$0, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, -64(%rbp)
	movl	%ebx, -60(%rbp)
	movl	%r15d, -56(%rbp)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_filter_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movq	%r12, %rdi
	movl	%r13d, %esi
	leaq	-72(%rbp), %rdx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-96(%rbp)                      ## 8-byte Folded Reload
	incl	%r15d
	movq	8(%r14), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %r13d
	movl	4(%rcx), %ebx
	leal	-1(%r15), %ecx
	cmpl	$1, %ecx
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rax), %esi
	movl	%r13d, %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %r13d
	movq	8(%r14), %rax
	movl	4(%rax), %esi
	movl	%ebx, %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %ebx
	jmp	LBB0_4
LBB0_5:
	movq	(%r14), %rax
	movq	_YADIF_FIELD_END@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_YADIF_FIELD_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
LBB0_7:
	xorl	%eax, %eax
	callq	_emms_c
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_filter_slice,4,2               ## @filter_slice
	.comm	_YADIF_FIELD_END,8,3            ## @YADIF_FIELD_END
	.comm	_YADIF_FIELD_NORMAL,8,3         ## @YADIF_FIELD_NORMAL
	.no_dead_strip	_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter
_filter:                                ; @filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x23, [x0, #8]
	stp	w2, w3, [sp]
	str	xzr, [sp, #8]
	str	wzr, [sp, #16]
	str	x1, [sp, #24]
	ldr	x8, [x23, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w24, #0
Lloh0:
	adrp	x25, _filter_slice@GOTPAGE
Lloh1:
	ldr	x25, [x25, _filter_slice@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	stp	w22, w21, [sp, #8]
	str	w24, [sp, #16]
	ldr	x8, [x20]
	ldr	x26, [x8]
	ldr	w22, [x25]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x21
	bl	_FFMIN
	mov	x4, x0
	mov	x2, sp
	mov	x0, x20
	mov	x1, x22
	mov	x3, #0
	blr	x26
	add	w24, w24, #1
	ldr	x8, [x23, #8]
	ldr	w9, [x8]
	cmp	w24, w9
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w22, w21, [x19]
	sub	w9, w24, #1
	cmp	w9, #1
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x8, #8]
	mov	x0, x22
	bl	_AV_CEIL_RSHIFT
	mov	x22, x0
	ldr	x8, [x23, #8]
	ldr	w1, [x8, #4]
	mov	x0, x21
	bl	_AV_CEIL_RSHIFT
	mov	x21, x0
	b	LBB0_2
LBB0_5:
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _YADIF_FIELD_END@GOTPAGE
Lloh3:
	ldr	x9, [x9, _YADIF_FIELD_END@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, _YADIF_FIELD_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _YADIF_FIELD_NORMAL@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x23]
LBB0_7:
	bl	_emms_c
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_filter_slice,4,2               ; @filter_slice
	.comm	_YADIF_FIELD_END,8,3            ; @YADIF_FIELD_END
	.comm	_YADIF_FIELD_NORMAL,8,3         ; @YADIF_FIELD_NORMAL
	.no_dead_strip	_filter
.subsections_via_symbols
