	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vc1_i_overlap_filter        ## -- Begin function ff_vc1_i_overlap_filter
	.p2align	4, 0x90
_ff_vc1_i_overlap_filter:               ## @ff_vc1_i_overlap_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_CONFIG_GRAY@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	112(%r12), %rax
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	testl	%ecx, (%rax)
	sete	%dl
	leal	(%rdx,%rdx), %r8d
	addl	$4, %r8d
	jmp	LBB0_3
LBB0_1:
	movl	$6, %r8d
LBB0_3:
	movl	88(%r12), %eax
	movl	96(%r12), %ecx
	imull	92(%r12), %ecx
	leal	(%rcx,%rax), %edx
	movq	80(%r12), %rsi
	movq	(%r12), %rdi
	movq	8(%r12), %rbx
	movq	(%rsi,%rdi,8), %rdi
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rsi,%rbx,8), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rdi
	movq	(%rsi,%rdi,8), %r14
	movq	24(%r12), %rdi
	movq	(%rsi,%rdi,8), %r15
	movslq	%edx, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leal	-1(%rcx,%rax), %ecx
	movslq	%ecx, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	leal	-1(%r8), %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	andl	$5, %ecx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %ecx
	jne	LBB0_19
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$8, 32(%r12)
	jg	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	40(%r12), %rdx
	movq	_PROFILE_ADVANCED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	48(%r12), %rdx
	movq	_CONDOVER_ALL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	64(%r12), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$1, %ecx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_19
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	movq	%r14, %rsi
	cmoveq	%r15, %rsi
	movq	56(%r12), %rdx
	movq	_ILACE_FRAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	xorl	%ecx, %ecx
	cmpq	%rdi, %rdx
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	72(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rax,%rcx,8)
	setne	%cl
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdi, %rdx
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	72(%r12), %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	$0, (%rax,%rdx,8)
	setne	%al
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%eax, %eax
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movzbl	%cl, %ecx
	movzbl	%al, %r8d
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	%ebx, %r9d
	callq	_vc1_h_overlap_filter
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%ebx, %r13d
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	88(%r12), %eax
	incl	%ebx
	jmp	LBB0_4
LBB0_21:
	movq	56(%r12), %rax
	movq	_ILACE_FRAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_22
LBB0_43:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_41:                                ##   in Loop: Header=BB0_23 Depth=1
	cmpq	$0, 104(%r12)
	movq	%r15, %rsi
	cmoveq	-72(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_vc1_v_overlap_filter
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_23 Depth=1
	incl	%ebx
	cmpl	%ebx, %r13d
	je	LBB0_43
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	104(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	%ebx, %eax
	andl	$2, %eax
	je	LBB0_42
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	88(%r12), %eax
	testl	%eax, %eax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	$8, 32(%r12)
	jg	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	40(%r12), %rdx
	movq	_PROFILE_ADVANCED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	48(%r12), %rdx
	movq	_CONDOVER_ALL@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	64(%r12), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	cmpq	$0, (%rdx,%rsi,8)
	je	LBB0_34
## %bb.31:                              ##   in Loop: Header=BB0_23 Depth=1
	testb	$2, %bl
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_23 Depth=1
	movslq	96(%r12), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	subq	%rsi, %rdi
	cmpq	$0, (%rdx,%rdi,8)
	je	LBB0_34
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_23 Depth=1
	testq	%rcx, %rcx
	movq	%r14, %rsi
	cmoveq	-80(%rbp), %rsi                 ## 8-byte Folded Reload
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	_vc1_v_overlap_filter
	movl	88(%r12), %eax
	jmp	LBB0_34
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	xorl	%eax, %eax
LBB0_34:                                ##   in Loop: Header=BB0_23 Depth=1
	movl	100(%r12), %ecx
	decl	%ecx
	cmpl	%ecx, %eax
	jne	LBB0_42
## %bb.35:                              ##   in Loop: Header=BB0_23 Depth=1
	cmpl	$8, 32(%r12)
	jg	LBB0_41
## %bb.36:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	40(%r12), %rax
	movq	_PROFILE_ADVANCED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_42
## %bb.37:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	48(%r12), %rax
	movq	_CONDOVER_ALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_41
## %bb.38:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	64(%r12), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_23 Depth=1
	testb	$2, %bl
	jne	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_23 Depth=1
	movslq	96(%r12), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	subq	%rcx, %rdx
	cmpq	$0, (%rax,%rdx,8)
	jne	LBB0_41
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_GRAY,8,3                ## @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ## @AV_CODEC_FLAG_GRAY
	.comm	_PROFILE_ADVANCED,8,3           ## @PROFILE_ADVANCED
	.comm	_CONDOVER_ALL,8,3               ## @CONDOVER_ALL
	.comm	_ILACE_FRAME,8,3                ## @ILACE_FRAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_vc1_i_overlap_filter        ; -- Begin function ff_vc1_i_overlap_filter
	.p2align	2
_ff_vc1_i_overlap_filter:               ; @ff_vc1_i_overlap_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _CONFIG_GRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_GRAY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w23, #6
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #112]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #4
	csel	w23, w23, w8, eq
LBB0_2:
	ldp	w8, w9, [x19, #88]
	ldr	w10, [x19, #96]
	madd	w9, w10, w9, w8
	ldr	x10, [x19, #80]
	ldp	x11, x12, [x19]
	ldr	x11, [x10, x11, lsl #3]
	str	x11, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x11, [x10, x12, lsl #3]
	str	x11, [sp]                       ; 8-byte Folded Spill
	ldp	x11, x12, [x19, #16]
	ldr	x20, [x10, x11, lsl #3]
	ldr	x21, [x10, x12, lsl #3]
	sxtw	x26, w9
	sub	x27, x26, #1
	mov	w22, #1
	mov	w24, #5
Lloh6:
	adrp	x25, _ILACE_FRAME@GOTPAGE
Lloh7:
	ldr	x25, [x25, _ILACE_FRAME@GOTPAGEOFF]
Lloh8:
	adrp	x28, _PROFILE_ADVANCED@GOTPAGE
Lloh9:
	ldr	x28, [x28, _PROFILE_ADVANCED@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w5, w22, #1
	and	w9, w5, w24
	cbnz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #1
	b.ne	LBB0_17
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x19, #32]
	cmp	w10, #8
	b.gt	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x19, #40]
	ldr	x11, [x28]
	cmp	x10, x11
	b.ne	LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x19, #48]
Lloh10:
	adrp	x11, _CONDOVER_ALL@GOTPAGE
Lloh11:
	ldr	x11, [x11, _CONDOVER_ALL@GOTPAGEOFF]
Lloh12:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [x19, #64]
	ldr	x11, [x10, x26, lsl #3]
	cbz	x11, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, #1
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x10, x27, lsl #3]
	cbz	x9, LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #0
	csel	x1, x21, x20, eq
	ldr	x9, [x19, #56]
	ldr	x10, [x25]
	cmp	x9, x10
	ccmp	w8, #0, #4, eq
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w3, #0
	cmp	x9, x10
	b.eq	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w4, #0
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #72]
	ldr	x8, [x8, x27, lsl #3]
	cmp	x8, #0
	cset	w3, ne
	cmp	x9, x10
	b.ne	LBB0_13
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #72]
	ldr	x8, [x8, x26, lsl #3]
	cmp	x8, #0
	cset	w4, ne
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x2, x21
	bl	_vc1_h_overlap_filter
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, w22
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #88]
	add	w22, w22, #1
	b	LBB0_3
LBB0_19:
	ldr	x8, [x19, #56]
	ldr	x9, [x25]
	cmp	x8, x9
	ldp	x25, x24, [sp]                  ; 16-byte Folded Reload
	b.ne	LBB0_21
LBB0_20:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_21:
	mov	w22, #0
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x19, #104]
	cmp	x8, #0
	csel	x1, x25, x21, eq
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_vc1_v_overlap_filter
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	w22, w22, #1
	cmp	w23, w22
	b.eq	LBB0_20
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #104]
	and	w8, w22, #0x2
	cmp	x9, #0
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x19, #88]
	cbz	w8, LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w10, [x19, #32]
	cmp	w10, #8
	b.le	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_24 Depth=1
	cmp	x9, #0
	csel	x1, x24, x20, eq
	mov	x0, x19
	mov	x2, x20
	mov	x3, x22
	bl	_vc1_v_overlap_filter
	ldr	w8, [x19, #88]
	b	LBB0_33
LBB0_28:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x10, [x19, #40]
	ldr	x11, [x28]
	cmp	x10, x11
	b.ne	LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x10, [x19, #48]
Lloh13:
	adrp	x11, _CONDOVER_ALL@GOTPAGE
Lloh14:
	ldr	x11, [x11, _CONDOVER_ALL@GOTPAGEOFF]
Lloh15:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_27
; %bb.30:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x10, [x19, #64]
	ldr	x11, [x10, x27, lsl #3]
	cbz	x11, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_24 Depth=1
	tbnz	w22, #1, LBB0_27
; %bb.32:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w11, [x19, #96]
	sub	w11, w27, w11
	ldr	x10, [x10, w11, sxtw #3]
	cbnz	x10, LBB0_27
LBB0_33:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	w9, [x19, #100]
	sub	w9, w9, #1
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.34:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w8, [x19, #32]
	cmp	w8, #8
	b.gt	LBB0_22
; %bb.35:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x19, #40]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.36:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x19, #48]
Lloh16:
	adrp	x9, _CONDOVER_ALL@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CONDOVER_ALL@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_22
; %bb.37:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [x19, #64]
	ldr	x9, [x8, x26, lsl #3]
	cbz	x9, LBB0_23
; %bb.38:                               ;   in Loop: Header=BB0_24 Depth=1
	tbnz	w22, #1, LBB0_22
; %bb.39:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w9, [x19, #96]
	sub	w9, w26, w9
	ldr	x8, [x8, w9, sxtw #3]
	cbnz	x8, LBB0_22
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_GRAY,8,3                ; @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ; @AV_CODEC_FLAG_GRAY
	.comm	_PROFILE_ADVANCED,8,3           ; @PROFILE_ADVANCED
	.comm	_CONDOVER_ALL,8,3               ; @CONDOVER_ALL
	.comm	_ILACE_FRAME,8,3                ; @ILACE_FRAME
.subsections_via_symbols
