	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function demo_begin
LCPI0_0:
	.quad	0x4044000000000000              ## double 40
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_demo_begin:                            ## @demo_begin
	.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, %rdi
	callq	_r_cons_canvas_to_string
	testq	%rax, %rax
	je	LBB0_4
## %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	%eax, %r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r13d, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sdl	-44(%rbp), %xmm1
	divsd	LCPI0_0(%rip), %xmm1
	mulsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %ebx
	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	$31, %eax
	addl	%ebx, %eax
	sarl	%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
	movslq	%r13d, %rax
	imulq	$-2004318071, %rax, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%eax, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$4, %ecx
	addl	%edx, %ecx
	leal	(%rax,%rcx), %r13d
	incl	%r13d
	cmpl	$40, %r13d
	jl	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_free
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_demo_begin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function demo_begin
_demo_begin:                            ; @demo_begin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x0, x1
	bl	_r_cons_canvas_to_string
	cbz	x0, LBB0_4
; %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
	mov	x20, x0
	mov	w23, #0
	mov	x24, #4630826316843712512
	mov	w25, #34953
	movk	w25, #34952, lsl #16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w23
	ldr	s1, [sp, #12]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmov	d2, x24
	fdiv	d1, d1, d2
	fmul	d0, d1, d0
	fcvtzs	w21, d0
	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
	cmp	w21, #0
	cinc	w9, w21, lt
	sub	w1, w8, w9, asr #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
	smull	x8, w23, w25
	lsr	x8, x8, #32
	add	w8, w8, w23
	asr	w9, w8, #4
	add	w8, w9, w8, lsr #31
	add	w8, w23, w8
	add	w23, w8, #1
	cmp	w23, #40
	b.lt	LBB0_2
; %bb.3:
	mov	x0, x19
	bl	_free
LBB0_4:
	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
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_demo_begin
.subsections_via_symbols
