	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_time
_wait_time:                             ## @wait_time
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_CLOCK_REALTIME_PRECISE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	callq	_clock_gettime
	movq	-48(%rbp), %rdx
	movl	-40(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_timespec_sub
	testq	%rax, %rax
	js	LBB0_6
## %bb.1:
	leaq	-48(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_poll
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_clock_gettime
	movq	-48(%rbp), %rdx
	movl	-40(%rbp), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_timespec_sub
	testq	%rax, %rax
	js	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1000001, %edx                  ## imm = 0xF4241
	jl	LBB0_5
	jmp	LBB0_4
LBB0_6:
	movq	-48(%rbp), %rax
	movl	-40(%rbp), %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_REALTIME_PRECISE,4,2     ## @CLOCK_REALTIME_PRECISE
	.no_dead_strip	_wait_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_time
_wait_time:                             ; @wait_time
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _CLOCK_REALTIME_PRECISE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CLOCK_REALTIME_PRECISE@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, sp
	bl	_clock_gettime
	ldp	x2, x3, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_timespec_sub
	tbnz	x0, #63, LBB0_6
; %bb.1:
	mov	w22, #16961
	movk	w22, #15, lsl #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, #0
	mov	w1, #0
	mov	w2, #1
	bl	_poll
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21]
	mov	x1, sp
	bl	_clock_gettime
	ldp	x2, x3, [sp]
	mov	x0, x20
	mov	x1, x19
	bl	_timespec_sub
	tbnz	x0, #63, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w1, w22
	b.lt	LBB0_3
	b	LBB0_2
LBB0_6:
	ldp	x0, x1, [sp]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_REALTIME_PRECISE,4,2     ; @CLOCK_REALTIME_PRECISE
	.no_dead_strip	_wait_time
.subsections_via_symbols
