	.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	$56, %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	%rsi, -56(%rbp)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r15
	movq	16(%r15), %rax
	movq	(%rax), %r14
	movq	8(%r15), %rbx
	movq	%rsi, %rdi
	callq	_av_frame_is_writable
	movl	$1, %r13d
	movq	%r12, %rdx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	movq	%rax, %r13
	movq	%r12, %rsi
	callq	_av_frame_copy_props
	movq	%r13, %rdx
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)
	movq	%rdx, -96(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movq	8(%rbx), %rbx
	shlq	$6, %rax
	leaq	_filter_frame.funcs(%rip), %rcx
	addq	%rax, %rcx
	shlq	$5, %r13
	addq	%rcx, %r13
	shlq	$4, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	movq	%r15, %rdi
	movq	%rdx, %r14
	callq	_ff_filter_get_nb_threads
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	movq	(%rbx,%r13), %rsi
	movq	8(%rbx,%r13), %rdx
	leaq	-96(%rbp), %rcx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	movl	%eax, %r9d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_6
## %bb.5:
	leaq	-56(%rbp), %rdi
	callq	_av_frame_free
LBB0_6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_ff_filter_frame
LBB0_7:
	addq	$56, %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
	.section	__TEXT,__const
	.p2align	4                               ## @filter_frame.funcs
_filter_frame.funcs:
	.long	130                             ## 0x82
	.long	128                             ## 0x80
	.space	8
	.space	16
	.long	134                             ## 0x86
	.long	132                             ## 0x84
	.space	8
	.space	16
	.long	131                             ## 0x83
	.long	129                             ## 0x81
	.space	8
	.space	16
	.long	135                             ## 0x87
	.long	133                             ## 0x85
	.space	8
	.space	16

	.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	x24, x1
	mov	x23, x0
	str	x1, [sp, #24]
	ldr	x20, [x0, #8]
	ldp	x25, x8, [x20, #8]
	ldr	x19, [x8]
	mov	x0, x1
	bl	_av_frame_is_writable
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	mov	x22, x24
	b	LBB0_4
LBB0_2:
	ldp	w2, w1, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_8
; %bb.3:
	mov	x22, x0
	mov	x1, x24
	bl	_av_frame_copy_props
	mov	x8, #0
LBB0_4:
	stp	x22, x24, [sp, #8]
	ldr	x9, [x20]
	ldr	x24, [x9]
	ldp	x9, x10, [x25]
Lloh0:
	adrp	x11, _filter_frame.funcs@PAGE
Lloh1:
	add	x11, x11, _filter_frame.funcs@PAGEOFF
	add	x9, x11, x9, lsl #6
	add	x8, x9, x8, lsl #5
	add	x25, x8, x10, lsl #4
	ldr	w23, [x23]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x23
	bl	_FFMIN
	mov	x5, x0
	ldp	x1, x2, [x25]
	add	x3, sp, #8
	mov	x0, x20
	mov	x4, #0
	blr	x24
	cbnz	x21, LBB0_6
; %bb.5:
	add	x0, sp, #24
	bl	_av_frame_free
LBB0_6:
	mov	x0, x19
	mov	x1, x22
	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
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @filter_frame.funcs
_filter_frame.funcs:
	.long	130                             ; 0x82
	.long	128                             ; 0x80
	.space	8
	.space	16
	.long	134                             ; 0x86
	.long	132                             ; 0x84
	.space	8
	.space	16
	.long	131                             ; 0x83
	.long	129                             ; 0x81
	.space	8
	.space	16
	.long	135                             ; 0x87
	.long	133                             ; 0x85
	.space	8
	.space	16

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