	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r12
	movq	8(%rdi), %rbx
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	20(%r12), %r15
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	leaq	-88(%rbp), %rdx
	movq	%r15, %rdi
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	testl	%eax, %eax
	js	LBB0_13
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rdi
	callq	_av_frame_clone
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_4
LBB0_12:
	movl	20(%r12), %esi
	movl	24(%r12), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edx
	callq	_av_rescale_q
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ff_filter_frame
	jmp	LBB0_13
LBB0_5:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	4(%rdi), %edx
	movl	8(%rdi), %esi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r14
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_av_frame_copy_props
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.7:
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rax
	movq	8(%rax), %rcx
	movq	16(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	-88(%rbp), %rax
	movq	8(%rax), %r8
	movq	16(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movq	8(%r14), %rax
	movq	16(%r14), %rdx
	movl	(%rdx,%rbx,4), %edx
	movl	(%rcx,%rbx,4), %ecx
	movl	(%r8,%rbx,4), %r8d
	movl	(%rax,%rbx,4), %r9d
	movq	8(%r12), %rax
	movq	(%rax), %r10
	movq	8(%rax), %r11
	movl	(%r10,%rbx,4), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	40(%r12), %rax
	movq	(%rax), %r13
	movq	8(%rax), %r10
	movl	(%r13,%rbx,4), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r11,%rbx,4), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r10,%rbx,4), %r13d
	movq	%r14, %r11
	movq	32(%r12), %r14
	movl	(%r14), %r15d
	movl	4(%r14), %r14d
	movl	28(%r12), %r10d
	movl	16(%r12), %eax
	pushq	%rax
	pushq	%r10
	pushq	%r14
	movq	%r11, %r14
	pushq	%r15
	pushq	%r13
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	*48(%r12)
	addq	$64, %rsp
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %eax
	btl	%ebx, %eax
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movl	(%rcx,%rbx,4), %edi
	movl	(%rax,%rbx,4), %esi
	movq	-48(%rbp), %rax
	movq	8(%rax), %rcx
	movq	16(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	8(%r12), %rax
	movq	(%rax), %rax
	xorl	%r8d, %r8d
	cmpl	$257, 16(%r12)                  ## imm = 0x101
	setge	%r8b
	incl	%r8d
	imull	(%rax,%rbx,4), %r8d
	movl	(%rcx,%rbx,4), %ecx
	movq	40(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r9d
	callq	_av_image_copy_plane
	jmp	LBB0_11
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	ldp	x21, x22, [x0]
	ldr	x8, [x22, #8]
	ldr	x19, [x8]
	add	x20, x21, #20
	add	x2, sp, #40
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_13
; %bb.1:
	add	x2, sp, #32
	mov	x0, x20
	mov	w1, #1
	mov	w3, #0
	bl	_ff_framesync_get_frame
	tbnz	w0, #31, LBB0_13
; %bb.2:
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	x0, [sp, #40]
	bl	_av_frame_clone
	mov	x20, x0
	cbz	x0, LBB0_12
LBB0_4:
	ldp	w1, w0, [x21, #20]
	ldr	w2, [x19]
	bl	_av_rescale_q
	str	w0, [x20]
	mov	x0, x19
	mov	x1, x20
	bl	_ff_filter_frame
	b	LBB0_13
LBB0_5:
	ldp	w2, w1, [x19, #4]
	mov	x0, x19
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_12
; %bb.6:
	mov	x20, x0
	ldr	x1, [sp, #40]
	bl	_av_frame_copy_props
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.7:
	mov	x22, #0
	mov	w23, #1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp, #40]
	lsl	x9, x22, #2
	ldp	x8, x10, [x8, #8]
	ldr	w0, [x10, x9]
	ldr	x10, [sp, #32]
	ldp	x10, x11, [x10, #8]
	ldr	w1, [x11, x9]
	ldp	x12, x11, [x20, #8]
	ldr	w2, [x11, x9]
	ldr	w3, [x8, x9]
	ldr	w4, [x10, x9]
	ldr	w5, [x12, x9]
	ldr	x10, [x21, #8]
	ldp	x11, x10, [x10]
	ldr	w6, [x11, x9]
	ldp	x11, x8, [x21, #40]
	ldr	x12, [x21, #32]
	ldp	x13, x11, [x11]
	ldr	w7, [x13, x9]
	ldr	w10, [x10, x9]
	ldr	w9, [x11, x9]
	ldp	w11, w12, [x12]
	ldr	w13, [x21, #28]
	ldr	w14, [x21, #16]
	stp	w13, w14, [sp, #16]
	stp	w11, w12, [sp, #8]
	stp	w10, w9, [sp]
	blr	x8
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #4]
	lsr	w8, w8, w22
	tbnz	w8, #0, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	lsl	x8, x22, #2
	ldp	x10, x9, [x20, #8]
	ldr	w0, [x9, x8]
	ldr	w1, [x10, x8]
	ldr	x9, [sp, #40]
	ldp	x9, x10, [x9, #8]
	ldr	w2, [x10, x8]
	ldr	w3, [x9, x8]
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	ldr	w9, [x9, x8]
	ldr	w10, [x21, #16]
	cmp	w10, #256
	cinc	w10, w23, gt
	mul	w4, w10, w9
	ldr	x9, [x21, #40]
	ldr	x9, [x9]
	ldr	w5, [x9, x8]
	bl	_av_image_copy_plane
	b	LBB0_9
LBB0_12:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_process_frame
.subsections_via_symbols
