	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loading_thread
_loading_thread:                        ## @loading_thread
	.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
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %r15
	cmpl	$0, (%rdi)
	jne	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	leaq	L_.str.2(%rip), %r13
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %eax
	movl	%eax, %ecx
	andl	$3, %ecx
	movsbl	(%rcx,%r12), %esi
	andl	$1, %eax
	movsbl	(%rax,%r13), %edx
	movq	%r14, %rdi
	callq	_eprintf
	movl	$100000, %edi                   ## imm = 0x186A0
	callq	_r_sys_usleep
	incl	%ebx
	cmpl	$0, (%r15)
	je	LBB0_3
LBB0_4:
	movq	_R_TH_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	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	"\\|/-"

L_.str.1:                               ## @.str.1
	.asciz	"%c] Loading..%c     \r["

L_.str.2:                               ## @.str.2
	.asciz	"."

	.comm	_R_TH_STOP,4,2                  ## @R_TH_STOP
	.no_dead_strip	_loading_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loading_thread
_loading_thread:                        ; @loading_thread
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_4
; %bb.2:
	mov	w21, #0
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x23, l_.str.2@PAGE
Lloh3:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh4:
	adrp	x20, l_.str.1@PAGE
Lloh5:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w8, w21
	and	x9, x8, #0x3
	ldrsb	w1, [x22, x9]
	and	x8, x8, #0x1
	ldrsb	w2, [x23, x8]
	mov	x0, x20
	bl	_eprintf
	mov	w0, #34464
	movk	w0, #1, lsl #16
	bl	_r_sys_usleep
	add	w21, w21, #1
	ldr	w8, [x19]
	cbz	w8, LBB0_3
LBB0_4:
Lloh6:
	adrp	x8, _R_TH_STOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R_TH_STOP@GOTPAGEOFF]
Lloh8:
	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
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\|/-"

l_.str.1:                               ; @.str.1
	.asciz	"%c] Loading..%c     \r["

l_.str.2:                               ; @.str.2
	.asciz	"."

	.comm	_R_TH_STOP,4,2                  ; @R_TH_STOP
	.no_dead_strip	_loading_thread
.subsections_via_symbols
