	.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, %r12
	movq	%rdi, %r13
	movq	%rsi, -56(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %r14
	movq	(%rcx), %rbx
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movl	$1, %ecx
	movq	%r12, %r15
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %esi
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_av_frame_copy_props
	xorl	%ecx, %ecx
LBB0_4:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	movq	%rcx, %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %edx
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %r8d
	movl	8(%r14), %edi
	movl	16(%r14), %r9d
	movl	(%r13), %eax
	movl	4(%r13), %r10d
	leaq	12(%r14), %r11
	subq	$8, %rsp
	pushq	%r11
	pushq	%rbx
	pushq	%r10
	pushq	%rax
	pushq	%rax
	callq	_blur_image
	addq	$48, %rsp
	movl	4(%r14), %r9d
	movl	8(%r14), %edi
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movl	4(%rcx), %esi
	movl	4(%rax), %edx
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movl	4(%rcx), %ecx
	movl	4(%rax), %r8d
	movl	(%r13), %eax
	movl	4(%r13), %r10d
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	%r10d, %eax
	shrl	$31, %eax
	addl	%r10d, %eax
	sarl	%eax
	subq	$8, %rsp
	pushq	%r14
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	%rbx
	pushq	%rbx
	callq	_blur_image
	addq	$48, %rsp
	movl	4(%r14), %r9d
	movl	8(%r14), %edi
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movl	8(%rcx), %esi
	movl	8(%rax), %edx
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movl	8(%rcx), %ecx
	movl	8(%rax), %r8d
	movl	(%r13), %eax
	movl	4(%r13), %r10d
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movl	%r10d, %eax
	shrl	$31, %eax
	addl	%r10d, %eax
	sarl	%eax
	subq	$8, %rsp
	pushq	%r14
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	%rbx
	pushq	%rbx
	callq	_blur_image
	addq	$48, %rsp
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.5:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
LBB0_6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_ff_filter_frame
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.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	x23, x1
	mov	x22, x0
	str	x1, [sp, #24]
	ldr	x8, [x0, #8]
	ldp	x8, x24, [x8]
	ldr	x19, [x8]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	w25, #1
	mov	x21, x23
	b	LBB0_4
LBB0_2:
	ldp	w1, w2, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_8
; %bb.3:
	mov	x21, x0
	mov	x1, x23
	bl	_av_frame_copy_props
	mov	w25, #0
LBB0_4:
	ldr	w0, [x24, #8]
	ldp	x9, x8, [x23]
	ldr	w1, [x8]
	ldr	w2, [x9]
	ldp	x9, x8, [x21]
	ldr	w3, [x8]
	ldr	w4, [x9]
	ldr	w5, [x24, #16]
	add	x8, x24, #12
	ldp	w6, w9, [x22]
	str	x8, [sp, #8]
	stp	w9, w25, [sp]
	mov	x7, x6
	bl	_blur_image
	ldp	x9, x8, [x23]
	ldr	w1, [x8, #4]
	ldr	w2, [x9, #4]
	ldp	x9, x8, [x21]
	ldr	w3, [x8, #4]
	ldr	w4, [x9, #4]
	ldp	w5, w0, [x24, #4]
	ldp	w8, w9, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w6, w8, #1
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w8, w8, #1
	str	x24, [sp, #8]
	stp	w8, w25, [sp]
	mov	x7, x6
	bl	_blur_image
	ldp	x9, x8, [x23]
	ldr	w1, [x8, #8]
	ldr	w2, [x9, #8]
	ldp	x9, x8, [x21]
	ldr	w3, [x8, #8]
	ldr	w4, [x9, #8]
	ldp	w5, w0, [x24, #4]
	ldp	w8, w9, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w6, w8, #1
	cmp	w9, #0
	cinc	w8, w9, lt
	asr	w8, w8, #1
	str	x24, [sp, #8]
	stp	w8, w25, [sp]
	mov	x7, x6
	bl	_blur_image
	cbnz	x20, LBB0_6
; %bb.5:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_7:
	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_8:
	add	x0, sp, #24
	bl	_av_frame_free
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_filter_frame
.subsections_via_symbols
