	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movl	8(%rsi), %edi
	movq	_AV_DICT_MATCH_CASE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	movq	%rax, %r13
	movl	8(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	movq	%rax, %r14
	movl	8(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	movq	%rax, %r12
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	movl	(%r15), %ecx
	leaq	L_.str.3(%rip), %rsi
	xorl	%edx, %edx
	callq	_av_dict_get
	testq	%r13, %r13
	je	LBB0_12
## %bb.1:
	testq	%r14, %r14
	je	LBB0_12
## %bb.2:
	testq	%r12, %r12
	je	LBB0_12
## %bb.3:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movl	(%r13), %edi
	leaq	-104(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %ebx
	movl	(%r14), %edi
	leaq	-96(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r13d
	movl	(%r12), %edi
	leaq	-88(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r12d
	movl	(%r15), %edi
	leaq	-80(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movl	%eax, %r14d
	movq	-104(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	cmpb	$0, (%rax)
	jne	LBB0_12
## %bb.6:
	movq	-96(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	cmpb	$0, (%rax)
	jne	LBB0_12
## %bb.8:
	movq	-88(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	cmpb	$0, (%rax)
	jne	LBB0_12
## %bb.10:
	movq	-80(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	cmpb	$0, (%rax)
	je	LBB0_13
LBB0_12:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
LBB0_25:
	callq	_ff_filter_frame
LBB0_26:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	movl	$0, %ecx
	cmovgl	%ebx, %ecx
	cmovnsl	%eax, %ebx
	addl	%ebx, %r12d
	testl	%r13d, %r13d
	movl	$0, %r15d
	cmovgl	%r13d, %r15d
	cmovsl	%r13d, %eax
	addl	%eax, %r14d
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %esi
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	subl	%ecx, %esi
	movl	%r12d, %edi
	callq	_FFMIN
	movl	%eax, %ebx
	movl	4(%r13), %esi
	subl	%r15d, %esi
	movl	%r14d, %edi
	callq	_FFMIN
	movl	(%r13), %edx
	subl	%ebx, %edx
	jge	LBB0_14
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_26
LBB0_14:
	movl	%eax, %r14d
	testl	%eax, %eax
	jle	LBB0_17
## %bb.15:
	cmpl	4(%r13), %r14d
	jg	LBB0_17
## %bb.16:
	testl	%ebx, %ebx
	jle	LBB0_17
## %bb.18:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	cmpl	(%rax), %ebx
	jne	LBB0_17
## %bb.20:
	cmpl	4(%rax), %r14d
	jne	LBB0_17
LBB0_21:
	movl	%ebx, (%rcx)
	movl	%r14d, 4(%rcx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_av_clip
	movl	%eax, %r12d
	movl	4(%r13), %edx
	subl	%r14d, %edx
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_av_clip
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_av_frame_make_writable
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi), %rax
	movq	_MODE_BLUR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_23
## %bb.22:
	movq	%r13, %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_blur
	jmp	LBB0_24
LBB0_23:
	movq	%r13, %rsi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	callq	_cover_rect
LBB0_24:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lavfi.rect.x"

	.comm	_AV_DICT_MATCH_CASE,4,2         ## @AV_DICT_MATCH_CASE
L_.str.1:                               ## @.str.1
	.asciz	"lavfi.rect.y"

L_.str.2:                               ## @.str.2
	.asciz	"lavfi.rect.w"

L_.str.3:                               ## @.str.3
	.asciz	"lavfi.rect.h"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MODE_BLUR,8,3                  ## @MODE_BLUR
	.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	x19, x1
	ldr	x26, [x0]
	ldr	x20, [x26, #8]
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
	ldr	w0, [x1, #8]
Lloh0:
	adrp	x24, _AV_DICT_MATCH_CASE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AV_DICT_MATCH_CASE@GOTPAGEOFF]
	ldr	w3, [x24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	mov	x21, x0
	ldr	w0, [x19, #8]
	ldr	w3, [x24]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	mov	x22, x0
	ldr	w0, [x19, #8]
	ldr	w3, [x24]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	mov	x23, x0
	ldr	w0, [x19, #8]
	ldr	w3, [x24]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, #0
	bl	_av_dict_get
	cmp	x21, #0
	ccmp	x22, #0, #4, ne
	ccmp	x23, #0, #4, ne
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_9
; %bb.1:
	mov	x25, x0
	ldr	w0, [x21]
	add	x1, sp, #24
	mov	w2, #10
	bl	_strtol
	mov	x21, x0
	ldr	w0, [x22]
	add	x1, sp, #16
	mov	w2, #10
	bl	_strtol
	mov	x22, x0
	ldr	w0, [x23]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	mov	x24, x0
	ldr	w0, [x25]
	mov	x1, sp
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_9
; %bb.2:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.3:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_9
; %bb.4:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.5:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_9
; %bb.6:
	ldrb	w8, [x8]
	cbnz	w8, LBB0_9
; %bb.7:
	ldr	x8, [sp]
	cbz	x8, LBB0_9
; %bb.8:
	ldrb	w8, [x8]
	cbz	w8, LBB0_11
LBB0_9:
	ldr	x8, [x26]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ff_filter_frame
LBB0_10:
	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
LBB0_11:
	cmp	w21, #0
	csel	w23, w21, wzr, gt
	csel	w8, w21, wzr, lt
	add	w8, w24, w8
	cmp	w22, #0
	csel	w21, w22, wzr, gt
	csel	w9, w22, wzr, lt
	add	w22, w0, w9
	ldr	w9, [x19]
	sub	w1, w9, w23
	mov	x0, x8
	bl	_FFMIN
	mov	x24, x0
	ldr	w8, [x19, #4]
	sub	w1, w8, w21
	mov	x0, x22
	bl	_FFMIN
	ldr	w8, [x19]
	subs	w2, w8, w24
	b.lt	LBB0_18
; %bb.12:
	mov	x22, x0
	ldr	w8, [x19, #4]
	cmp	w0, #1
	ccmp	w0, w8, #0, ge
	ccmp	w24, #0, #4, le
	b.le	LBB0_18
; %bb.13:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_16
; %bb.14:
	ldr	w9, [x8]
	cmp	w24, w9
	b.ne	LBB0_18
; %bb.15:
	ldr	w8, [x8, #4]
	cmp	w22, w8
	b.ne	LBB0_18
LBB0_16:
	stp	w24, w22, [x20]
	mov	x0, x23
	mov	w1, #0
	bl	_av_clip
	mov	x23, x0
	ldr	w8, [x19, #4]
	sub	w2, w8, w22
	mov	x0, x21
	mov	w1, #0
	bl	_av_clip
	mov	x21, x0
	mov	x0, x19
	bl	_av_frame_make_writable
	ldr	x8, [x20, #8]
Lloh10:
	adrp	x9, _MODE_BLUR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MODE_BLUR@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.17:
	bl	_blur
	b	LBB0_9
LBB0_18:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_10
LBB0_19:
	bl	_cover_rect
	b	LBB0_9
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lavfi.rect.x"

	.comm	_AV_DICT_MATCH_CASE,4,2         ; @AV_DICT_MATCH_CASE
l_.str.1:                               ; @.str.1
	.asciz	"lavfi.rect.y"

l_.str.2:                               ; @.str.2
	.asciz	"lavfi.rect.w"

l_.str.3:                               ; @.str.3
	.asciz	"lavfi.rect.h"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MODE_BLUR,8,3                  ; @MODE_BLUR
	.no_dead_strip	_filter_frame
.subsections_via_symbols
