	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simpleWait
_simpleWait:                            ## @simpleWait
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_GetTickCount
	movl	%ebx, %edi
	subl	%eax, %edi
	cmpl	$2, %edi
	jl	LBB0_2
## %bb.1:
	decl	%edi
	callq	_Sleep
LBB0_2:
	xorl	%eax, %eax
	callq	_GetTickCount
	movq	%rbx, %rcx
	subq	%rax, %rcx
	jle	LBB0_6
## %bb.3:
	cmpq	$511, %rcx                      ## imm = 0x1FF
	jg	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$2048, %edi                     ## imm = 0x800
	callq	_spend_cycles
	xorl	%eax, %eax
	callq	_GetTickCount
	movq	%rbx, %rcx
	subq	%rax, %rcx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$512, %rcx                      ## imm = 0x200
	jl	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_simpleWait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simpleWait
_simpleWait:                            ; @simpleWait
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_GetTickCount
	sub	w8, w19, w0
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	sub	w0, w8, #1
	bl	_Sleep
LBB0_2:
	bl	_GetTickCount
	subs	x8, x19, x0
	b.le	LBB0_6
; %bb.3:
	cmp	x8, #511
	b.gt	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #2048
	bl	_spend_cycles
	bl	_GetTickCount
	subs	x8, x19, x0
	b.le	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x8, #512
	b.lt	LBB0_4
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_simpleWait
.subsections_via_symbols
