	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_frame
_create_frame:                          ## @create_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	$1112, %rsp                     ## imm = 0x458
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %rax
	movq	48(%rdi), %r14
	movq	(%rax), %rbx
	movl	16(%rbx), %edx
	movl	20(%rbx), %esi
	movq	%rbx, %rdi
	callq	_ff_get_video_buffer
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r13
	movq	%r12, -1144(%rbp)               ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, -1136(%rbp)               ## 8-byte Spill
	movq	%rbx, %rdx
	callq	_clear_image
	movq	40(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_21
## %bb.4:
	xorl	%ebx, %ebx
	movl	$0, -1076(%rbp)                 ## 4-byte Folded Spill
	movq	%r15, -1120(%rbp)               ## 8-byte Spill
	movq	%r14, -1088(%rbp)               ## 8-byte Spill
	movq	%r13, -1112(%rbp)               ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	$5, -1076(%rbp)                 ## 4-byte Folded Spill
	movq	-1088(%rbp), %r14               ## 8-byte Reload
	movq	-1112(%rbp), %r13               ## 8-byte Reload
	movq	-1152(%rbp), %rbx               ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	40(%r15), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_21
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	movq	8(%rax), %rax
	movq	(%rax,%rbx,8), %r12
	movl	$1024, %esi                     ## imm = 0x400
	leaq	-1072(%rbp), %rdi
	callq	___bzero
	cmpq	$0, 16(%r14)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_filter_have_queued
	testl	%eax, %eax
	je	LBB0_20
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, -1152(%rbp)               ## 8-byte Spill
	movq	(%r12), %rcx
	movl	8(%r14), %r8d
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	-1076(%rbp), %ebx               ## 4-byte Reload
	movl	%ebx, %edx
	callq	_drawtext
	movq	(%r12), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	10(,%rax,8), %esi
	movq	32(%r12), %rax
	movq	(%rax), %rcx
	movl	8(%r14), %r8d
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_drawtext
	addl	$10, %ebx
	movl	%ebx, -1076(%rbp)               ## 4-byte Spill
	cmpl	$0, 8(%r12)
	movq	%r12, -1128(%rbp)               ## 8-byte Spill
	jle	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	leaq	-1072(%rbp), %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %ecx
	movq	%rbx, -1104(%rbp)               ## 8-byte Spill
	callq	_snprintf
	movq	-1088(%rbp), %r15               ## 8-byte Reload
	movl	8(%r15), %r8d
	movq	-1112(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rdi
	movl	$10, %esi
	movl	-1076(%rbp), %ebx               ## 4-byte Reload
	movl	%ebx, %edx
	leaq	-1072(%rbp), %rcx
	callq	_drawtext
	leaq	-1072(%rbp), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -1096(%rbp)               ## 8-byte Spill
	leal	10(,%rax,8), %esi
	movq	8(%r13), %rax
	movq	(%rax), %rcx
	movl	8(%r15), %r8d
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_drawtext
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	shll	$3, %eax
	movq	-1096(%rbp), %rcx               ## 8-byte Reload
	leal	(%rax,%rcx,8), %edx
	addl	$20, %edx
	movq	-1120(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-1128(%rbp), %r12               ## 8-byte Reload
	movl	%ebx, %ecx
	movq	%r13, %r8
	movq	-1104(%rbp), %r9                ## 8-byte Reload
	callq	_draw_items
	addl	$10, %ebx
	movl	%ebx, -1076(%rbp)               ## 4-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%r14
	movslq	8(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r12), %rax
	movq	(%rax,%r14,8), %r13
	movq	%r13, %rdi
	callq	_ff_inlink_queued_frames
	movq	%rax, %rbx
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	testq	%rbx, %rbx
	je	LBB0_12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	addl	$2, -1076(%rbp)                 ## 4-byte Folded Spill
	cmpl	$0, 12(%r12)
	jle	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=2
	leaq	-1072(%rbp), %rdi
	movl	$1023, %esi                     ## imm = 0x3FF
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %ecx
	movq	%r8, -1104(%rbp)                ## 8-byte Spill
	callq	_snprintf
	movq	-1088(%rbp), %r15               ## 8-byte Reload
	movl	8(%r15), %r8d
	movq	-1112(%rbp), %r13               ## 8-byte Reload
	movq	%r13, %rdi
	movl	$10, %esi
	movl	-1076(%rbp), %r12d              ## 4-byte Reload
	movl	%r12d, %edx
	leaq	-1072(%rbp), %rcx
	callq	_drawtext
	leaq	-1072(%rbp), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -1096(%rbp)               ## 8-byte Spill
	leal	10(,%rax,8), %esi
	movq	(%r14), %rax
	movq	(%rax), %rcx
	movl	8(%r15), %r8d
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_drawtext
	movq	(%r14), %rax
	movq	(%rax), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	shll	$3, %eax
	movq	-1096(%rbp), %rcx               ## 8-byte Reload
	leal	(%rax,%rcx,8), %edx
	addl	$20, %edx
	movq	-1120(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %ecx
	movq	%r14, %r8
	movq	-1104(%rbp), %r9                ## 8-byte Reload
	callq	_draw_items
	addl	$10, %r12d
	movl	%r12d, -1076(%rbp)              ## 4-byte Spill
	movq	-1128(%rbp), %r12               ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=2
	incq	%rbx
	movslq	12(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_19
LBB0_15:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r12), %rax
	movq	(%rax,%rbx,8), %r14
	movq	%r14, %rdi
	callq	_ff_inlink_queued_frames
	movq	%rax, %r8
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	cmpq	$0, 16(%rax)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	testq	%r8, %r8
	je	LBB0_18
	jmp	LBB0_17
LBB0_21:
	movq	-1144(%rbp), %rax               ## 8-byte Reload
	movq	%rax, (%r13)
	movq	%rax, (%r14)
	movq	-1136(%rbp), %rdi               ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ff_filter_frame
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.2:
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in%d: "

L_.str.1:                               ## @.str.1
	.asciz	"out%d: "

	.no_dead_strip	_create_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_frame
_create_frame:                          ; @create_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #1056
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x21, [x0, #48]
	ldr	x8, [x0, #16]
	ldr	x22, [x8]
	ldp	w2, w1, [x22, #16]
	mov	x0, x22
	bl	_ff_get_video_buffer
	cbz	x0, LBB0_19
; %bb.1:
	mov	x23, x0
	stp	x22, x19, [sp]                  ; 16-byte Folded Spill
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_clear_image
	ldr	x8, [x20, #40]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.2:
	mov	x24, #0
	mov	w27, #0
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w27, w27, #5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	ldr	x8, [x20, #40]
	ldrsw	x9, [x8]
	cmp	x24, x9
	b.ge	LBB0_17
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x8, #8]
	ldr	x26, [x8, x24, lsl #3]
	add	x0, sp, #16
	mov	w1, #1024
	bl	_bzero
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	bl	_filter_have_queued
	cbz	w0, LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x3, [x26]
	ldr	w4, [x21, #8]
	mov	x0, x23
	mov	w1, #0
	mov	x2, x27
	bl	_drawtext
	ldr	x0, [x26]
	bl	_strlen
	lsl	w8, w0, #3
	add	w1, w8, #10
	ldr	x8, [x26, #32]
	ldr	x3, [x8]
	ldr	w4, [x21, #8]
	mov	x0, x23
	mov	x2, x27
	bl	_drawtext
	add	w27, w27, #10
	ldr	w8, [x26, #8]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x28, x28, #1
	ldrsw	x8, [x26, #8]
	cmp	x28, x8
	b.ge	LBB0_12
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26, #24]
	ldr	x19, [x8, x28, lsl #3]
	mov	x0, x19
	bl	_ff_inlink_queued_frames
	ldr	x8, [x21, #16]
	cmp	x8, #0
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x22, x0
	add	x0, sp, #16
	mov	w1, #1023
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x3, x28
	bl	_snprintf
	ldr	w4, [x21, #8]
	add	x3, sp, #16
	mov	x0, x23
	mov	w1, #10
	mov	x2, x27
	bl	_drawtext
	add	x0, sp, #16
	bl	_strlen
	lsl	w25, w0, #3
	add	w1, w25, #10
	ldr	x8, [x19, #8]
	ldr	x3, [x8]
	ldr	w4, [x21, #8]
	mov	x0, x23
	mov	x2, x27
	bl	_drawtext
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_strlen
	add	w8, w25, w0, lsl #3
	add	w2, w8, #20
	mov	x0, x20
	mov	x1, x23
	mov	x3, x27
	mov	x4, x19
	mov	x5, x22
	bl	_draw_items
	add	w27, w27, #10
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w27, w27, #2
	ldr	w8, [x26, #12]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x28, #0
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x28, x28, #1
	ldrsw	x8, [x26, #12]
	cmp	x28, x8
	b.ge	LBB0_3
LBB0_15:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26, #16]
	ldr	x19, [x8, x28, lsl #3]
	mov	x0, x19
	bl	_ff_inlink_queued_frames
	ldr	x8, [x21, #16]
	cmp	x8, #0
	ccmp	x0, #0, #0, ne
	b.eq	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x22, x0
	add	x0, sp, #16
	mov	w1, #1023
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x28
	bl	_snprintf
	ldr	w4, [x21, #8]
	add	x3, sp, #16
	mov	x0, x23
	mov	w1, #10
	mov	x2, x27
	bl	_drawtext
	add	x0, sp, #16
	bl	_strlen
	lsl	w25, w0, #3
	add	w1, w25, #10
	ldr	x8, [x19]
	ldr	x3, [x8]
	ldr	w4, [x21, #8]
	mov	x0, x23
	mov	x2, x27
	bl	_drawtext
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_strlen
	add	w8, w25, w0, lsl #3
	add	w2, w8, #20
	mov	x0, x20
	mov	x1, x23
	mov	x3, x27
	mov	x4, x19
	mov	x5, x22
	bl	_draw_items
	add	w27, w27, #10
	b	LBB0_14
LBB0_17:
	ldp	x0, x8, [sp]                    ; 16-byte Folded Reload
	str	x8, [x23]
	str	x8, [x21]
	mov	x1, x23
	bl	_ff_filter_frame
	ldur	x8, [x29, #-96]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.18:
	add	sp, sp, #1056
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	add	sp, sp, #1056
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in%d: "

l_.str.1:                               ; @.str.1
	.asciz	"out%d: "

	.no_dead_strip	_create_frame
.subsections_via_symbols
