	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_frame
_process_frame:                         ## @process_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	(%rdi), %rbx
	movq	8(%rdi), %r15
	movq	16(%r15), %rax
	movq	(%rax), %r14
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	leaq	-80(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.4:
	movq	-48(%rbp), %rdi
	callq	_av_frame_clone
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_5
LBB0_6:
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r12
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_av_frame_copy_props
	movq	-48(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	-80(%rbp), %rax
	movq	%rax, -96(%rbp)
	movq	-72(%rbp), %rax
	movq	%rax, -104(%rbp)
	movq	%r12, -112(%rbp)
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_maskedminmax_slice@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_ff_filter_get_nb_threads
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_FFMIN
	leaq	-112(%rbp), %rdx
	movq	%r15, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
LBB0_8:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	(%r14), %edx
	callq	_av_rescale_q
	movl	%eax, (%r12)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_9
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_9:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_maskedminmax_slice,4,2         ## @maskedminmax_slice
	.no_dead_strip	_process_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_frame
_process_frame:                         ; @process_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldp	x20, x21, [x0]
	ldr	x8, [x21, #16]
	ldr	x19, [x8]
	add	x2, sp, #56
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_9
; %bb.1:
	add	x2, sp, #48
	mov	x0, x20
	mov	w1, #1
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_9
; %bb.2:
	add	x2, sp, #40
	mov	x0, x20
	mov	w1, #2
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_9
; %bb.3:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x0, [sp, #56]
	bl	_av_frame_clone
	mov	x22, x0
	cbnz	x0, LBB0_7
	b	LBB0_8
LBB0_5:
	ldp	w2, w1, [x19, #4]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_8
; %bb.6:
	mov	x22, x0
	ldr	x1, [sp, #56]
	bl	_av_frame_copy_props
	ldp	x9, x8, [sp, #48]
	stp	x9, x8, [sp, #24]
	ldr	x8, [sp, #40]
	stp	x22, x8, [sp, #8]
	ldr	x8, [x21]
	ldr	x25, [x8]
Lloh0:
	adrp	x8, _maskedminmax_slice@GOTPAGE
Lloh1:
	ldr	x8, [x8, _maskedminmax_slice@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	ldr	x8, [x20, #8]
	ldr	w24, [x8]
	mov	x0, x21
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x24
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x23
	mov	x3, #0
	blr	x25
LBB0_7:
	ldp	w1, w0, [x20]
	ldr	w2, [x19]
	bl	_av_rescale_q
	str	w0, [x22]
	mov	x0, x19
	mov	x1, x22
	bl	_ff_filter_frame
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_9:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_maskedminmax_slice,4,2         ; @maskedminmax_slice
	.no_dead_strip	_process_frame
.subsections_via_symbols
