	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function display_frame
_display_frame:                         ## @display_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rdi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdi
	je	LBB0_5
## %bb.1:
	movq	_last_pts@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	%rax, %rcx
	je	LBB0_4
## %bb.2:
	subq	%rcx, %rdi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_av_rescale_q
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ecx
	cmpl	$999998, %ecx                   ## imm = 0xF423E
	ja	LBB0_4
## %bb.3:
	movl	%eax, %edi
	callq	_usleep
LBB0_4:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
LBB0_5:
	movq	24(%r14), %rax
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rdi
	callq	_puts
	cmpl	$0, 8(%r14)
	jle	LBB0_11
## %bb.6:
	xorl	%r15d, %r15d
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$10, %edi
	callq	_putchar
	movq	16(%r14), %rax
	movslq	(%rax), %rax
	leaq	(%r13,%rax,4), %r13
	incl	%r15d
	cmpl	8(%r14), %r15d
	jge	LBB0_11
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	cmpl	$0, 12(%r14)
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r13,%rbx,4), %rax
	imulq	$1321528399, %rax, %rax         ## imm = 0x4EC4EC4F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$36, %rax
	addl	%ecx, %eax
	cltq
	movsbl	(%rax,%r12), %edi
	callq	_putchar
	incq	%rbx
	cmpl	12(%r14), %ebx
	jl	LBB0_9
	jmp	LBB0_10
LBB0_11:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_last_pts,8,3                   ## @last_pts
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\033c"

L_.str.1:                               ## @.str.1
	.asciz	" .-+#"

	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_display_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function display_frame
_display_frame:                         ; @display_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x20, _last_pts@GOTPAGE
Lloh4:
	ldr	x20, [x20, _last_pts@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x10, x9
	b.eq	LBB0_4
; %bb.2:
	sub	x0, x8, x10
Lloh5:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_av_rescale_q
	sub	w8, w0, #1
	mov	w9, #16958
	movk	w9, #15, lsl #16
	cmp	w8, w9
	b.hi	LBB0_4
; %bb.3:
	bl	_usleep
LBB0_4:
	ldr	x8, [x19]
	str	x8, [x20]
LBB0_5:
	ldr	x8, [x19, #24]
	ldr	x20, [x8]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_puts
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.6:
	mov	w21, #0
	mov	w22, #60495
	movk	w22, #20164, lsl #16
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #10
	bl	_putchar
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8]
	add	x20, x20, x8, lsl #2
	add	w21, w21, #1
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.ge	LBB0_11
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, #0
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x20, x24, lsl #2]
	mul	x8, x8, x22
	lsr	x9, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w9
	ldrsb	w0, [x23, w8, sxtw]
	bl	_putchar
	ldr	w8, [x19, #12]
	add	x24, x24, #1
	cmp	w24, w8
	b.lt	LBB0_10
	b	LBB0_7
LBB0_11:
Lloh12:
	adrp	x8, _stdout@GOTPAGE
Lloh13:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fflush
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_last_pts,8,3                   ; @last_pts
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\033c"

l_.str.1:                               ; @.str.1
	.asciz	" .-+#"

	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_display_frame
.subsections_via_symbols
