	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	16(%r15), %edi
	callq	*8(%r14)
	movl	%eax, %edi
	callq	_CHECK_CU
	testl	%eax, %eax
	js	LBB0_24
## %bb.1:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	32(%r15), %r9
	cmpl	$0, (%r9)
	jle	LBB0_23
## %bb.2:
	leaq	4(%r15), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	12(%r15), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$12, %r12d
	xorl	%r14d, %r14d
	movq	%r15, -136(%rbp)                ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	movl	8(%rax), %esi
	callq	_AV_CEIL_RSHIFT
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	32(%r15), %rax
	movl	4(%rax), %r13d
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movl	8(%r15), %edi
	movl	%r13d, %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %ebx
	movq	(%r15), %rax
	movl	(%rax,%r14,4), %eax
	cltd
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	idivl	(%rcx,%r12)
                                        ## kill: def $eax killed $eax def $rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-68(%rbp), %r9d                 ## 4-byte Reload
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	pushq	%rbx
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	pushq	-176(%rbp)                      ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	callq	_call_kernel
	addq	$80, %rsp
	movq	-136(%rbp), %r15                ## 8-byte Reload
	movq	32(%r15), %r9
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	(%r9), %rax
	addq	$16, %r12
	cmpq	%rax, %r14
	jge	LBB0_23
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r9), %rdi
	movslq	-12(%rdi,%r12), %rcx
	cmpq	%rcx, %r14
	jg	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-8(%rdi,%r12), %eax
	movl	-4(%rdi,%r12), %edx
	leal	(%rdx,%rax), %r8d
	addl	$7, %r8d
	movl	%edx, %esi
	addl	%eax, %esi
	cmovnsl	%esi, %r8d
	sarl	$3, %r8d
	movl	(%rdi,%r12), %eax
	cltd
	idivl	%r8d
	cmpl	$23, %esi
	jg	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ebx
	cmpl	$2, %eax
	jg	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$2, %r8d
	movq	%rdi, -192(%rbp)                ## 8-byte Spill
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %r8d
	jne	LBB0_22
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	cmpl	$1, %ebx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_CU_AD_FORMAT_UNSIGNED_INT8@GOTPCREL(%rip), %rdx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	cmpl	$1, %ebx
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rax
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_CU_AD_FORMAT_UNSIGNED_INT16@GOTPCREL(%rip), %rdx
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	(%rdx), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	_AV_LOG_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	%rbx, -184(%rbp)                ## 8-byte Spill
	movl	%ebx, %r9d
	xorl	%eax, %eax
	callq	_av_log
	movq	56(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,8), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	40(%r15), %rax
	movq	48(%r15), %rcx
	movq	16(%rax), %rdx
	movl	(%rdx,%r14,8), %edx
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	(%rcx), %rcx
	movl	(%rcx,%r14,8), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	12(%rax), %edi
	testq	%r14, %r14
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r15), %rax
	movl	8(%rax), %esi
	callq	_AV_CEIL_RSHIFT
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	32(%r15), %rax
	movl	4(%rax), %ebx
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_AV_CEIL_RSHIFT
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%r15), %rax
	movl	8(%rax), %edi
	movl	%ebx, %esi
	callq	_AV_CEIL_RSHIFT
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	40(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movl	(%rax,%r14,8), %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	12(%rcx), %edi
	testq	%r14, %r14
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_AV_CEIL_RSHIFT
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
LBB0_22:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r9), %ecx
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
LBB0_23:
	leaq	-196(%rbp), %rdi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	callq	*(%rax)
	movl	%eax, %edi
	callq	_CHECK_CU
LBB0_24:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported pixel format: %s\n"

	.comm	_CU_AD_FORMAT_UNSIGNED_INT8,4,2 ## @CU_AD_FORMAT_UNSIGNED_INT8
	.comm	_CU_AD_FORMAT_UNSIGNED_INT16,4,2 ## @CU_AD_FORMAT_UNSIGNED_INT16
	.comm	_AV_LOG_TRACE,4,2               ## @AV_LOG_TRACE
L_.str.1:                               ## @.str.1
	.asciz	"Deinterlacing plane %d: pixel_size: %d channels: %d\n"

	.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, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w2, w3, [sp, #80]               ; 8-byte Folded Spill
	stur	x1, [x29, #-96]                 ; 8-byte Folded Spill
	mov	x21, x0
	ldr	x25, [x0]
	ldr	x8, [x25, #24]
	ldr	x8, [x8]
	ldr	x19, [x8]
	ldr	x8, [x19, #8]
	ldr	w0, [x25, #16]
	blr	x8
	bl	_CHECK_CU
	tbnz	w0, #31, LBB0_20
; %bb.1:
	str	x19, [sp, #40]                  ; 8-byte Folded Spill
	ldr	x8, [x25, #32]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_19
; %bb.2:
	mov	x26, #0
	mov	x27, #0
	add	x10, x25, #4
	add	x9, x25, #12
	stp	x9, x10, [sp, #56]              ; 16-byte Folded Spill
	add	x9, x25, #8
	str	x9, [sp, #48]                   ; 8-byte Folded Spill
	str	x21, [sp, #72]                  ; 8-byte Folded Spill
	ldur	x20, [x29, #-96]                ; 8-byte Folded Reload
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25, #32]
	ldr	w1, [x8, #8]
	bl	_AV_CEIL_RSHIFT
	mov	x19, x0
	ldr	x8, [x25, #32]
	ldr	w1, [x8, #4]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x20, #8]
	bl	_AV_CEIL_RSHIFT
	ldr	x8, [x20]
	ldr	w8, [x8, x27, lsl #2]
	ldr	w9, [x28, #12]
	sdiv	w8, w8, w9
	ldp	w10, w7, [sp, #84]              ; 8-byte Folded Reload
	ldr	w9, [sp, #80]                   ; 4-byte Folded Reload
	stp	w9, w10, [sp, #24]
	stp	w0, w8, [sp, #16]
	stp	w22, w19, [sp, #8]
	stp	w21, w23, [sp]
	ldr	x21, [sp, #72]                  ; 8-byte Folded Reload
	mov	x0, x21
	ldp	w2, w1, [sp, #100]              ; 8-byte Folded Reload
	ldp	w4, w3, [sp, #92]               ; 8-byte Folded Reload
	ldur	w5, [x29, #-100]                ; 4-byte Folded Reload
	mov	x6, x24
	bl	_call_kernel
	ldr	x8, [x25, #32]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x27, x27, #1
	ldrsw	x9, [x8]
	add	x26, x26, #16
	cmp	x27, x9
	b.ge	LBB0_19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #16]
	ldrsw	x3, [x9, x26]
	cmp	x27, x3
	b.gt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x9, x26
	ldp	w9, w10, [x28, #4]
	add	w10, w10, w9
	add	w9, w10, #7
	cmp	w10, #0
	csel	w9, w9, w10, lt
	cmp	w10, #23
	b.gt	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	asr	w9, w9, #3
	ldr	w10, [x28, #12]
	sdiv	w24, w10, w9
	cmp	w24, #2
	b.gt	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #2
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w9, #1
	b.ne	LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w24, #1
	ldp	x10, x8, [sp, #48]              ; 16-byte Folded Reload
	csel	x8, x8, x10, eq
Lloh0:
	adrp	x10, _CU_AD_FORMAT_UNSIGNED_INT8@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CU_AD_FORMAT_UNSIGNED_INT8@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w24, #1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	csel	x8, x8, x25, eq
Lloh2:
	adrp	x10, _CU_AD_FORMAT_UNSIGNED_INT16@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CU_AD_FORMAT_UNSIGNED_INT16@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8]
	str	w8, [sp, #104]                  ; 4-byte Folded Spill
	ldr	w8, [x10]
	stur	w8, [x29, #-100]                ; 4-byte Folded Spill
Lloh4:
	adrp	x8, _AV_LOG_TRACE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AV_LOG_TRACE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	stp	x9, x24, [sp]
	mov	x0, x21
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_av_log
	ldp	x10, x8, [x25, #48]
	ldr	x8, [x8]
	lsl	x9, x27, #3
	ldr	w8, [x8, x9]
	str	w8, [sp, #100]                  ; 4-byte Folded Spill
	ldr	x8, [x25, #40]
	ldr	x11, [x8, #16]
	ldr	w11, [x11, x9]
	ldr	x10, [x10]
	ldr	w9, [x10, x9]
	stp	w9, w11, [sp, #92]              ; 8-byte Folded Spill
	ldr	w0, [x8, #12]
	cbz	x27, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25, #32]
	ldr	w1, [x8, #8]
	bl	_AV_CEIL_RSHIFT
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	ldr	x8, [x25, #32]
	ldr	w1, [x8, #4]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #0
	bl	_AV_CEIL_RSHIFT
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	mov	w1, #0
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25, #40]
	ldr	w0, [x8, #8]
	bl	_AV_CEIL_RSHIFT
	mov	x21, x0
	ldr	x8, [x25, #40]
	ldr	x8, [x8]
	ldr	w23, [x8, x27, lsl #2]
	ldur	x9, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	x8, [x9, #16]
	ldr	x22, [x8, x27, lsl #3]
	ldr	w0, [x9, #12]
	cbnz	x27, LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #0
	bl	_AV_CEIL_RSHIFT
	mov	x19, x0
	mov	w1, #0
	b	LBB0_4
LBB0_18:
Lloh9:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x9]
	ldr	w3, [x8, #12]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
LBB0_19:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	sub	x0, x29, #84
	blr	x8
	bl	_CHECK_CU
LBB0_20:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported pixel format: %s\n"

	.comm	_CU_AD_FORMAT_UNSIGNED_INT8,4,2 ; @CU_AD_FORMAT_UNSIGNED_INT8
	.comm	_CU_AD_FORMAT_UNSIGNED_INT16,4,2 ; @CU_AD_FORMAT_UNSIGNED_INT16
	.comm	_AV_LOG_TRACE,4,2               ; @AV_LOG_TRACE
l_.str.1:                               ; @.str.1
	.asciz	"Deinterlacing plane %d: pixel_size: %d channels: %d\n"

	.no_dead_strip	_filter
.subsections_via_symbols
