	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	cmpl	$0, (%r13)
	jle	LBB0_4
## %bb.1:
	leaq	32(%r13), %r15
	leaq	-80(%rbp), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	addq	$8, %r12
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	movl	4(%r14), %edx
	movl	8(%r14), %esi
	movq	%r14, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movl	32(%r13), %esi
	movl	36(%r13), %edi
	movl	(%r14), %edx
	callq	_av_rescale_q
	movl	%eax, 16(%r15)
	cmpl	$0, 4(%r13)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	16(%r13), %r9
	movq	(%rax,%rbx,8), %rax
	movslq	4(%rax), %rcx
	movslq	(%rax), %rax
	movq	(%r15), %rdx
	movq	8(%r15), %rsi
	movl	(%rsi,%rbx,4), %edi
	movl	(%rdx,%rbx,4), %esi
	movq	-80(%rbp,%rcx,8), %rcx
	movq	(%rcx), %r8
	movq	8(%rcx), %rcx
	movl	(%rcx,%rax,4), %edx
	movl	(%r8,%rax,4), %ecx
	movq	24(%r13), %rax
	movl	(%rax,%rbx,4), %r8d
	movl	(%r9,%rbx,4), %r9d
	callq	_av_image_copy_plane
	incq	%rbx
	movslq	4(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_10
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.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, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldp	x23, x8, [x0]
	ldr	x8, [x8]
	ldr	x19, [x8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, #0
	add	x21, x23, #32
	mov	x22, sp
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x23]
	add	x22, x22, #8
	cmp	x20, x8
	b.lt	LBB0_2
LBB0_4:
	ldp	w2, w1, [x19, #4]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_9
; %bb.5:
	mov	x20, x0
	ldp	w1, w0, [x23, #32]
	ldr	w2, [x19]
	bl	_av_rescale_q
	str	w0, [x20, #16]
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x21, #0
	mov	x22, sp
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x23, #8]
	ldr	x8, [x8, x21, lsl #3]
	lsl	x10, x21, #2
	ldp	x12, x11, [x20]
	ldr	w0, [x11, x10]
	ldpsw	x8, x11, [x8]
	ldr	w1, [x12, x10]
	ldr	x11, [x22, x11, lsl #3]
	lsl	x8, x8, #2
	ldp	x11, x12, [x11]
	ldr	w2, [x12, x8]
	ldr	w3, [x11, x8]
	ldr	x8, [x23, #24]
	ldr	w4, [x8, x10]
	ldr	w5, [x9, x10]
	bl	_av_image_copy_plane
	add	x21, x21, #1
	ldrsw	x8, [x23, #4]
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
	b	LBB0_10
LBB0_9:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_10:
	ldr	x8, [sp, #40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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
	add	sp, sp, #112
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_process_frame
.subsections_via_symbols
