	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_frame
_filter_frame:                          ## @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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, -72(%rbp)
	movq	8(%rdi), %rax
	movq	16(%rax), %r13
	movq	(%r13), %rcx
	movq	_EVAL_MODE_FRAME@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.1:
	movq	(%rax), %rcx
	movq	(%rcx), %r15
	movl	(%r14), %ecx
	movq	8(%r14), %rdx
	cmpl	8(%r13), %ecx
	jne	LBB0_6
## %bb.2:
	cmpq	16(%r13), %rdx
	jne	LBB0_6
## %bb.3:
	movq	16(%r14), %rsi
	cmpq	(%r15), %rsi
	jne	LBB0_6
## %bb.4:
	movq	40(%r14), %rsi
	cmpq	24(%r15), %rsi
	jne	LBB0_6
## %bb.5:
	movq	48(%r14), %rsi
	cmpq	32(%r15), %rsi
	je	LBB0_8
LBB0_6:
	movq	16(%r14), %rsi
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	%rsi, (%rax)
	movl	%ecx, 8(%rax)
	movq	%rdx, 16(%rax)
	movups	40(%r14), %xmm0
	movups	%xmm0, 24(%rax)
	movq	%rbx, %rdi
	callq	_config_input
	testl	%eax, %eax
	js	LBB0_32
## %bb.7:
	movq	%r15, %rdi
	callq	_config_output
	testl	%eax, %eax
	js	LBB0_32
LBB0_8:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_frame_needs_copy
	testl	%eax, %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_11
## %bb.9:
	movq	8(%rbx), %rdi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %r15
	movl	20(%rbx), %edi
	movq	24(%r13), %rsi
	callq	_FFMAX
	movl	%eax, %r12d
	movl	16(%rbx), %edi
	movq	32(%r13), %rsi
	callq	_FFMAX
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_31
## %bb.10:
	movq	%rax, %r15
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_av_frame_copy_props
	jmp	LBB0_20
LBB0_32:
	movl	$-1, 8(%r13)
	jmp	LBB0_33
LBB0_11:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	32(%r14), %rax
	movq	(%rax), %rdx
	movq	%r14, %r15
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.12:
	movq	24(%r14), %r8
	movl	(%r8), %ebx
	movq	%r14, %r15
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.13:
	movq	72(%r13), %r9
	movb	(%r9), %cl
	movq	80(%r13), %rsi
	movl	40(%r13), %r11d
	movl	%r11d, %edi
	sarl	%cl, %edi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movb	(%rsi), %cl
	movq	88(%r13), %r10
	imull	(%r10), %edi
	movl	44(%r13), %r12d
	movl	%r12d, %esi
	sarl	%cl, %esi
	imull	%ebx, %esi
	addl	%edi, %esi
	movslq	%esi, %rcx
	subq	%rcx, %rdx
	movq	%rdx, (%rax)
	movq	8(%rax), %rdx
	movq	%r14, %r15
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.14:
	movl	4(%r8), %ebx
	movq	%r14, %r15
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.15:
	movb	4(%r9), %cl
	movl	%r11d, %esi
	sarl	%cl, %esi
	imull	4(%r10), %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	4(%rcx), %cl
	movl	%r12d, %edi
	sarl	%cl, %edi
	imull	%ebx, %edi
	addl	%esi, %edi
	movslq	%edi, %rcx
	subq	%rcx, %rdx
	movq	%rdx, 8(%rax)
	movq	16(%rax), %rdx
	movq	%r14, %r15
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.16:
	movl	8(%r8), %ebx
	movq	%r14, %r15
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.17:
	movb	8(%r9), %cl
	movl	%r11d, %esi
	sarl	%cl, %esi
	imull	8(%r10), %esi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	8(%rcx), %cl
	movl	%r12d, %edi
	sarl	%cl, %edi
	imull	%ebx, %edi
	addl	%esi, %edi
	movslq	%edi, %rcx
	subq	%rcx, %rdx
	movq	%rdx, 16(%rax)
	movq	24(%rax), %rdx
	movq	%r14, %r15
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.18:
	movl	12(%r8), %esi
	movq	%r14, %r15
	testl	%esi, %esi
	je	LBB0_20
## %bb.19:
	movb	12(%r9), %cl
	sarl	%cl, %r11d
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	12(%rcx), %cl
	imull	12(%r10), %r11d
	sarl	%cl, %r12d
	imull	%esi, %r12d
	addl	%r11d, %r12d
	movslq	%r12d, %rcx
	subq	%rcx, %rdx
	movq	%rdx, 24(%rax)
	movq	%r14, %r15
LBB0_20:
	movslq	44(%r13), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	leaq	72(%r13), %rdi
	leaq	64(%r13), %rsi
	movq	24(%r15), %rcx
	movq	32(%r15), %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	24(%r13)
	callq	_ff_fill_rectangle
	addq	$16, %rsp
	movslq	44(%r13), %r9
	jmp	LBB0_23
LBB0_22:
	xorl	%r9d, %r9d
LBB0_23:
	movq	32(%r13), %rbx
	movq	48(%r13), %rax
	addq	%r9, %rax
	subq	%rax, %rbx
	jle	LBB0_25
## %bb.24:
	leaq	72(%r13), %rdi
	leaq	64(%r13), %rsi
	movq	24(%r15), %rcx
	movq	32(%r15), %rdx
	xorl	%r8d, %r8d
	movq	%rax, %r9
	pushq	%rbx
	pushq	24(%r13)
	callq	_ff_fill_rectangle
	addq	$16, %rsp
	movslq	44(%r13), %r9
LBB0_25:
	leaq	72(%r13), %r12
	leaq	64(%r13), %rbx
	movq	24(%r15), %rcx
	movq	32(%r15), %rdx
	movslq	40(%r13), %rax
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	pushq	8(%r14)
	pushq	%rax
	callq	_ff_fill_rectangle
	addq	$16, %rsp
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_27
## %bb.26:
	movq	24(%r15), %rdx
	movq	32(%r15), %rsi
	movq	32(%r14), %rcx
	movq	24(%r14), %r8
	movslq	40(%r13), %r9
	movslq	44(%r13), %r10
	movl	(%r14), %eax
	subq	$8, %rsp
	movq	%r12, %rdi
	pushq	8(%r14)
	pushq	%rax
	pushq	$0
	pushq	$0
	pushq	%r10
	callq	_ff_copy_rectangle2
	addq	$48, %rsp
LBB0_27:
	movq	24(%r15), %rcx
	movslq	40(%r13), %r8
	addq	56(%r13), %r8
	movq	32(%r15), %rdx
	movslq	44(%r13), %r9
	movq	24(%r13), %rax
	subq	%r8, %rax
	movq	%r12, %rdi
	movq	%rbx, %rsi
	pushq	8(%r14)
	pushq	%rax
	callq	_ff_fill_rectangle
	addq	$16, %rsp
	movl	24(%r13), %eax
	movl	%eax, (%r15)
	movq	32(%r13), %rax
	movq	%rax, 8(%r15)
	cmpq	%r14, %r15
	je	LBB0_29
## %bb.28:
	leaq	-72(%rbp), %rdi
	callq	_av_frame_free
LBB0_29:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_33
LBB0_31:
	leaq	-72(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_33:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVAL_MODE_FRAME,8,3            ## @EVAL_MODE_FRAME
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Direct padding impossible allocating new frame\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_frame
_filter_frame:                          ; @filter_frame
	.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
	mov	x21, x1
	mov	x19, x0
	str	x1, [sp, #24]
	ldr	x8, [x0, #8]
	ldr	x20, [x8, #16]
	ldr	x9, [x20]
Lloh0:
	adrp	x10, _EVAL_MODE_FRAME@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EVAL_MODE_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.1:
	ldr	x9, [x8]
	ldr	x22, [x9]
	ldr	w9, [x21]
	ldr	w11, [x20, #8]
	ldr	x10, [x21, #8]
	cmp	w9, w11
	b.ne	LBB0_6
; %bb.2:
	ldr	x11, [x20, #16]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.3:
	ldr	x11, [x21, #16]
	ldr	x12, [x22]
	cmp	x11, x12
	b.ne	LBB0_6
; %bb.4:
	ldr	x11, [x21, #40]
	ldr	x12, [x22, #24]
	cmp	x11, x12
	b.ne	LBB0_6
; %bb.5:
	ldr	x11, [x21, #48]
	ldr	x12, [x22, #32]
	cmp	x11, x12
	b.eq	LBB0_8
LBB0_6:
	ldr	x11, [x21, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	str	x11, [x8]
	str	w9, [x8, #8]
	str	x10, [x8, #16]
	ldur	q0, [x21, #40]
	stur	q0, [x8, #24]
	mov	x0, x19
	bl	_config_input
	tbnz	w0, #31, LBB0_11
; %bb.7:
	mov	x0, x22
	bl	_config_output
	tbnz	w0, #31, LBB0_11
LBB0_8:
	mov	x0, x20
	mov	x1, x21
	bl	_frame_needs_copy
	mov	x22, x0
	cbz	w0, LBB0_12
; %bb.9:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x23, [x8]
	ldr	w0, [x19, #20]
	ldr	x1, [x20, #24]
	bl	_FFMAX
	mov	x24, x0
	ldr	w0, [x19, #16]
	ldr	x1, [x20, #32]
	bl	_FFMAX
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_31
; %bb.10:
	mov	x23, x0
	mov	x1, x21
	bl	_av_frame_copy_props
	b	LBB0_21
LBB0_11:
	mov	w8, #-1
	str	w8, [x20, #8]
	b	LBB0_32
LBB0_12:
	ldr	x8, [x21, #32]
	ldr	x15, [x8]
	mov	x23, x21
	cbz	x15, LBB0_21
; %bb.13:
	ldr	x9, [x21, #24]
	ldr	w16, [x9]
	mov	x23, x21
	cbz	w16, LBB0_21
; %bb.14:
	ldp	x10, x11, [x20, #72]
	ldr	w14, [x10]
	ldp	w12, w13, [x20, #40]
	asr	w17, w12, w14
	ldr	x14, [x20, #88]
	ldr	w0, [x14]
	mul	w17, w0, w17
	ldr	w0, [x11]
	asr	w0, w13, w0
	madd	w16, w0, w16, w17
	sub	x15, x15, w16, sxtw
	str	x15, [x8]
	ldr	x15, [x8, #8]
	mov	x23, x21
	cbz	x15, LBB0_21
; %bb.15:
	ldr	w16, [x9, #4]
	mov	x23, x21
	cbz	w16, LBB0_21
; %bb.16:
	ldr	w17, [x10, #4]
	ldr	w0, [x11, #4]
	asr	w17, w12, w17
	ldr	w1, [x14, #4]
	mul	w17, w1, w17
	asr	w0, w13, w0
	madd	w16, w0, w16, w17
	sub	x15, x15, w16, sxtw
	str	x15, [x8, #8]
	ldr	x15, [x8, #16]
	mov	x23, x21
	cbz	x15, LBB0_21
; %bb.17:
	ldr	w16, [x9, #8]
	mov	x23, x21
	cbz	w16, LBB0_21
; %bb.18:
	ldr	w17, [x10, #8]
	ldr	w0, [x11, #8]
	asr	w17, w12, w17
	ldr	w1, [x14, #8]
	mul	w17, w1, w17
	asr	w0, w13, w0
	madd	w16, w0, w16, w17
	sub	x15, x15, w16, sxtw
	str	x15, [x8, #16]
	ldr	x15, [x8, #24]
	mov	x23, x21
	cbz	x15, LBB0_21
; %bb.19:
	ldr	w9, [x9, #12]
	mov	x23, x21
	cbz	w9, LBB0_21
; %bb.20:
	ldr	w10, [x10, #12]
	ldr	w11, [x11, #12]
	asr	w10, w12, w10
	ldr	w12, [x14, #12]
	mul	w10, w12, w10
	asr	w11, w13, w11
	madd	w9, w11, w9, w10
	sub	x9, x15, w9, sxtw
	str	x9, [x8, #24]
	mov	x23, x21
LBB0_21:
	ldrsw	x7, [x20, #44]
	cbz	w7, LBB0_23
; %bb.22:
	add	x0, x20, #72
	add	x1, x20, #64
	ldp	x3, x2, [x23, #24]
	ldr	x6, [x20, #24]
	mov	x4, #0
	mov	x5, #0
	bl	_ff_fill_rectangle
	ldrsw	x5, [x20, #44]
	b	LBB0_24
LBB0_23:
	mov	x5, #0
LBB0_24:
	ldr	x9, [x20, #32]
	ldr	x8, [x20, #48]
	add	x8, x8, x5
	subs	x7, x9, x8
	b.le	LBB0_26
; %bb.25:
	add	x0, x20, #72
	add	x1, x20, #64
	ldp	x3, x2, [x23, #24]
	ldr	x6, [x20, #24]
	mov	x4, #0
	mov	x5, x8
	bl	_ff_fill_rectangle
	ldrsw	x5, [x20, #44]
LBB0_26:
	add	x24, x20, #72
	add	x25, x20, #64
	ldp	x3, x2, [x23, #24]
	ldrsw	x6, [x20, #40]
	ldr	x7, [x21, #8]
	mov	x0, x24
	mov	x1, x25
	mov	x4, #0
	bl	_ff_fill_rectangle
	cbz	w22, LBB0_28
; %bb.27:
	ldp	x2, x1, [x23, #24]
	ldp	x4, x3, [x21, #24]
	ldpsw	x5, x6, [x20, #40]
	ldr	w8, [x21]
	ldr	x9, [x21, #8]
	str	x9, [sp, #8]
	stp	wzr, w8, [sp]
	mov	x0, x24
	mov	w7, #0
	bl	_ff_copy_rectangle2
LBB0_28:
	ldp	x3, x2, [x23, #24]
	ldr	x8, [x20, #56]
	ldpsw	x9, x5, [x20, #40]
	ldr	x10, [x20, #24]
	add	x4, x8, x9
	sub	x6, x10, x4
	ldr	x7, [x21, #8]
	mov	x0, x24
	mov	x1, x25
	bl	_ff_fill_rectangle
	ldp	x8, x9, [x20, #24]
	str	w8, [x23]
	str	x9, [x23, #8]
	cmp	x23, x21
	b.eq	LBB0_30
; %bb.29:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_30:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x0, [x8]
	mov	x1, x23
	bl	_ff_filter_frame
	b	LBB0_32
LBB0_31:
	add	x0, sp, #24
	bl	_av_frame_free
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_32:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EVAL_MODE_FRAME,8,3            ; @EVAL_MODE_FRAME
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Direct padding impossible allocating new frame\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
