	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rax)
	jle	LBB0_1
## %bb.10:
	movq	(%rdi), %r14
	movq	40(%r14), %r13
	leaq	24(%r14), %r15
	xorl	%ebx, %ebx
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_ff_framesync_get_frame
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_22
## %bb.2:                               ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rdx
	addq	$8, %r13
	cmpq	%rdx, %rbx
	jl	LBB0_11
## %bb.3:
	testl	%edx, %edx
	jle	LBB0_21
## %bb.4:
	movl	(%r14), %eax
	xorl	%r15d, %r15d
	xorl	%ecx, %ecx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_1:
	xorl	%r12d, %r12d
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$100, %esi
	callq	_ff_filter_set_ready
LBB0_22:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %edx
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	movslq	%edx, %rsi
	cmpq	%rsi, %r15
	jge	LBB0_20
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%eax, %eax
	jle	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rdx
	movq	(%rdx,%rbx,8), %rdx
	cmpq	$0, (%rdx)
	jle	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%rbx
	movslq	%eax, %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_18
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r14), %rdx
	movl	(%rdx,%rbx,4), %edx
	cmpq	%rdx, %r15
	jne	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, 32(%r14)
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%r14), %rdx
	movq	(%rdx,%r15,8), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi,%r15,8), %rdi
	cmpq	(%rdi), %rdx
	je	LBB0_13
	jmp	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rdi
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	callq	_av_frame_clone
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%rax, %r12
	movl	24(%r14), %esi
	movl	28(%r14), %edi
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	8(%rax), %edx
	callq	_av_rescale_q
	movq	%rax, (%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rax
	movq	(%rax), %rax
	movq	16(%r14), %rcx
	movq	%rax, (%rcx,%r15,8)
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r12, %rsi
	callq	_ff_filter_frame
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	(%r14), %eax
	movl	$1, %ecx
	jmp	LBB0_17
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_20:
	testl	%ecx, %ecx
	jne	LBB0_22
	jmp	LBB0_21
	.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:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x19, [x0, #8]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x21, #0
	ldr	x24, [x0]
	ldr	x25, [x24, #40]
	add	x22, x24, #24
	mov	x23, x25
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	w3, #0
	bl	_ff_framesync_get_frame
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldrsw	x10, [x19]
	add	x23, x23, #8
	cmp	x21, x10
	b.lt	LBB0_2
; %bb.4:
	cmp	w10, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x21, #0
	mov	w8, #0
	ldr	w9, [x24]
	b	LBB0_11
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	mov	w1, #100
	bl	_ff_filter_set_ready
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w10, [x19]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x21, x21, #1
	cmp	x21, w10, sxtw
	b.ge	LBB0_23
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x22, #0
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x10, [x19, #8]
	ldr	x10, [x10, x22, lsl #3]
	ldr	x10, [x10]
	cmp	x10, #0
	b.le	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x22, x22, #1
	cmp	x22, w9, sxtw
	b.ge	LBB0_9
LBB0_15:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x24, #8]
	ldr	w10, [x10, x22, lsl #2]
	cmp	x21, x10
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x10, [x24, #32]
	lsl	x23, x21, #3
	cbz	x10, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x10, [x24, #16]
	ldr	x10, [x10, x23]
	ldr	x0, [x25, x23]
	ldr	x11, [x0]
	cmp	x10, x11
	b.eq	LBB0_13
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x0, [x25, x21, lsl #3]
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=2
	bl	_av_frame_clone
	cbz	x0, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x20, x0
	ldp	w1, w0, [x24, #24]
	ldr	x8, [x19, #8]
	lsl	x26, x22, #3
	ldr	x8, [x8, x26]
	ldr	w2, [x8, #8]
	bl	_av_rescale_q
	str	x0, [x20]
	ldr	x8, [x25, x23]
	ldr	x8, [x8]
	ldr	x9, [x24, #16]
	str	x8, [x9, x23]
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x26]
	mov	x1, x20
	bl	_ff_filter_frame
	mov	x20, x0
	tbnz	w0, #31, LBB0_8
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w9, [x24]
	mov	w8, #1
	b	LBB0_14
LBB0_22:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_23:
	cbnz	w8, LBB0_8
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_process_frame
.subsections_via_symbols
