	.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, %rbx
	movq	%rsi, -48(%rbp)
	movq	8(%rdi), %r12
	movq	8(%r12), %rax
	movq	16(%r12), %rcx
	movq	(%rax), %r14
	cmpq	$0, (%rcx)
	je	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_filter_frame                ## TAILCALL
LBB0_1:
	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, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_av_frame_copy_props
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movq	8(%rbx), %rax
	movq	%rax, (%r15)
	movq	(%rbx), %rax
	movq	%rax, 8(%r15)
	jmp	LBB0_6
LBB0_2:
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_7
LBB0_4:
	movups	(%rbx), %xmm0
	movups	%xmm0, (%r15)
LBB0_6:
	movq	%rbx, -64(%rbp)
	movq	%r15, -72(%rbp)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_filter_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%r14), %ebx
	movq	%r12, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_FFMIN
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r13d, %esi
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-56(%rbp)                      ## 8-byte Folded Reload
	leaq	-48(%rbp), %rdi
	callq	_av_frame_free
	movq	%r14, %rdi
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_filter_slice,4,2               ## @filter_slice
	.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, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x1
	str	x1, [sp, #24]
	ldr	x20, [x0, #8]
	ldp	x9, x8, [x20, #8]
	ldr	x19, [x9]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ff_filter_frame
LBB0_2:
	ldp	w2, w1, [x19]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_5
; %bb.3:
	mov	x21, x0
	mov	x1, x22
	bl	_av_frame_copy_props
	ldr	x8, [x22]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x22, #8]
	str	x8, [x21]
	ldr	x8, [x22]
	str	x8, [x21, #8]
	b	LBB0_7
LBB0_5:
	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_8
LBB0_6:
	ldr	q0, [x22]
	str	q0, [x21]
LBB0_7:
	stp	x21, x22, [sp, #8]
	ldr	x8, [x20]
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _filter_slice@GOTPAGE
Lloh4:
	ldr	x8, [x8, _filter_slice@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	ldr	w23, [x19]
	mov	x0, x20
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x23
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x22
	mov	x3, #0
	blr	x24
	add	x0, sp, #24
	bl	_av_frame_free
	mov	x0, x19
	mov	x1, x21
	bl	_ff_filter_frame
LBB0_8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_filter_slice,4,2               ; @filter_slice
	.no_dead_strip	_filter_frame
.subsections_via_symbols
