	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function demo_end
_demo_end:                              ## @demo_end
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %r15
	movq	%r15, %rsi
	callq	_r_config_get_i
	movl	%eax, %r12d
	movl	(%rbx), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_r_config_set_i
	movl	4(%rbx), %edi
	callq	___get_cur_panel
	movq	(%rax), %rax
	movl	$1, (%rax)
	movq	_firstRun@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	%rbx, %rdi
	callq	___panels_refresh
	movl	$1, (%r13)
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_r_config_set_i
	movq	%r14, %rdi
	callq	_r_cons_canvas_to_string
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$-1, %ecx
	callq	_r_str_ansi_filter
	leaq	-44(%rbp), %rdi
	callq	_r_cons_get_size
	movl	-44(%rbp), %ebx
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.2:
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_r_str_scale
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_r_cons_clear00
	movl	-44(%rbp), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movl	%ebx, %eax
	shrl	%eax
	subl	%eax, %esi
	xorl	%edi, %edi
	callq	_r_cons_gotoxy
	movq	%r12, %rdi
	callq	_r_cons_strcat
	xorl	%eax, %eax
	callq	_r_cons_flush
	movq	%r12, %rdi
	callq	_free
	movl	$3000, %edi                     ## imm = 0xBB8
	callq	_r_sys_usleep
	leal	-1(%rbx), %eax
	cmpl	$1, %ebx
	movl	%eax, %ebx
	ja	LBB0_3
LBB0_4:
	movl	$100000, %edi                   ## imm = 0x186A0
	callq	_r_sys_usleep
	movq	%r14, %rdi
	callq	_free
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scr.utf8"

	.comm	_firstRun,4,2                   ## @firstRun
	.no_dead_strip	_demo_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demo_end
_demo_end:                              ; @demo_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	mov	x1, x21
	bl	_r_config_get_i
	mov	x22, x0
	ldr	w0, [x20]
	mov	x1, x21
	mov	w2, #0
	bl	_r_config_set_i
	ldr	w0, [x20, #4]
	bl	___get_cur_panel
	ldr	x8, [x0]
	mov	w23, #1
	str	w23, [x8]
Lloh2:
	adrp	x24, _firstRun@GOTPAGE
Lloh3:
	ldr	x24, [x24, _firstRun@GOTPAGEOFF]
	str	wzr, [x24]
	mov	x0, x20
	bl	___panels_refresh
	str	w23, [x24]
	ldr	w0, [x20]
	mov	x1, x21
	mov	x2, x22
	bl	_r_config_set_i
	mov	x0, x19
	bl	_r_cons_canvas_to_string
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	mov	x1, #0
	mov	x2, #0
	mov	w3, #-1
	bl	_r_str_ansi_filter
	add	x0, sp, #12
	bl	_r_cons_get_size
	ldr	w21, [sp, #12]
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x20, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_r_str_scale
	mov	x22, x0
	bl	_r_cons_clear00
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w1, w8, w21, lsr #1
	mov	w0, #0
	bl	_r_cons_gotoxy
	mov	x0, x22
	bl	_r_cons_strcat
	bl	_r_cons_flush
	mov	x0, x22
	bl	_free
	mov	w0, #3000
	bl	_r_sys_usleep
	subs	w21, w21, #1
	b.hi	LBB0_3
LBB0_4:
	mov	w0, #34464
	movk	w0, #1, lsl #16
	bl	_r_sys_usleep
	mov	x0, x19
	bl	_free
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scr.utf8"

	.comm	_firstRun,4,2                   ; @firstRun
	.no_dead_strip	_demo_end
.subsections_via_symbols
