	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_sleep                   ## -- Begin function dtrace_sleep
	.p2align	4, 0x90
_dtrace_sleep:                          ## @dtrace_sleep
	.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
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	__dtrace_sleeptab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DTRACEOPT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %edx
	cmpl	%ecx, %edx
	jge	LBB0_6
## %bb.1:
	movq	(%r15), %r8
	movq	_DTRACEOPT_BUFPOLICY@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	(%r8,%rsi,8), %rsi
	movq	_DTRACEOPT_BUFPOLICY_SWITCH@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	_DTRACEOPT_STATUSRATE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	addq	$16, %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%edx, %rdx
	movq	-8(%rax), %rbx
	movq	(%rbx,%r15), %rbx
	addq	(%r8,%rdx,8), %rbx
	cmpq	%r12, %rbx
	cmovlq	%rbx, %r12
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edx
	addq	$16, %rax
	cmpl	%ecx, %edx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, %rsi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r9d, %edx
	jne	LBB0_5
	jmp	LBB0_4
LBB0_6:
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	xorl	%eax, %eax
	callq	_gethrtime
	subq	%rax, %r12
	jge	LBB0_7
## %bb.19:
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
LBB0_7:
	movq	_CLOCK_REALTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_clock_gettime
	movq	_NANOSEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_8
## %bb.9:
	movq	%r12, %rax
	cqto
	idivq	%rcx
	jmp	LBB0_10
LBB0_8:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_10:
	addq	-48(%rbp), %rax
	movq	%rax, -48(%rbp)
	addq	-40(%rbp), %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	incq	%rax
	subq	%rcx, %rdx
	cmpq	%rcx, %rdx
	jg	LBB0_11
## %bb.12:
	movq	%rax, -48(%rbp)
LBB0_13:
	movq	%rdx, -40(%rbp)
	leaq	16(%r14), %rdi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rsi
	callq	_pthread_cond_timedwait
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.14:
	xorl	%r12d, %r12d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_dt_free
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx), %rsi
	movq	16(%rbx), %rcx
	cmpb	$0, (%rsi)
	cmoveq	%r12, %rsi
	movl	(%rcx), %edi
	movl	8(%r15), %edx
	callq	*%rax
	jmp	LBB0_17
LBB0_18:
	movq	%r14, %rdi
	callq	_pthread_mutex_unlock
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACEOPT_BUFPOLICY,8,3        ## @DTRACEOPT_BUFPOLICY
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	__dtrace_sleeptab,8,3           ## @_dtrace_sleeptab
	.comm	_DTRACEOPT_MAX,4,2              ## @DTRACEOPT_MAX
	.comm	_DTRACEOPT_BUFPOLICY_SWITCH,8,3 ## @DTRACEOPT_BUFPOLICY_SWITCH
	.comm	_DTRACEOPT_STATUSRATE,4,2       ## @DTRACEOPT_STATUSRATE
	.comm	_CLOCK_REALTIME,4,2             ## @CLOCK_REALTIME
	.comm	_NANOSEC,8,3                    ## @NANOSEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtrace_sleep                   ; -- Begin function dtrace_sleep
	.p2align	2
_dtrace_sleep:                          ; @dtrace_sleep
	.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	x20, x0
	ldr	x19, [x0, #24]
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x8, __dtrace_sleeptab@GOTPAGE
Lloh4:
	ldr	x8, [x8, __dtrace_sleeptab@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x8]
Lloh6:
	adrp	x8, _DTRACEOPT_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTRACEOPT_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w14, [x13]
	cmp	w14, w8
	b.ge	LBB0_6
; %bb.1:
Lloh9:
	adrp	x10, _DTRACEOPT_BUFPOLICY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DTRACEOPT_BUFPOLICY@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh11:
	ldr	x10, [x10]
	ldr	x10, [x9, x10, lsl #3]
Lloh12:
	adrp	x11, _DTRACEOPT_BUFPOLICY_SWITCH@GOTPAGE
Lloh13:
	ldr	x11, [x11, _DTRACEOPT_BUFPOLICY_SWITCH@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
Lloh15:
	adrp	x12, _DTRACEOPT_STATUSRATE@GOTPAGE
Lloh16:
	ldr	x12, [x12, _DTRACEOPT_STATUSRATE@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	add	x13, x13, #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x14, [x9, w14, sxtw #3]
	ldur	x15, [x13, #-8]
	ldr	x15, [x15, x20]
	add	x14, x15, x14
	cmp	x14, x21
	csel	x21, x14, x21, lt
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x13], #16
	cmp	w14, w8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x11
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w14, w12
	b.ne	LBB0_3
	b	LBB0_2
LBB0_6:
	mov	x0, x19
	bl	_pthread_mutex_lock
	bl	_gethrtime
	subs	x21, x21, x0
	b.ge	LBB0_8
; %bb.7:
	mov	x0, x19
	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
	b	_pthread_mutex_unlock
LBB0_8:
Lloh18:
	adrp	x8, _CLOCK_REALTIME@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CLOCK_REALTIME@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_clock_gettime
Lloh21:
	adrp	x8, _NANOSEC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NANOSEC@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x8]
	sdiv	x8, x21, x9
	ldp	x10, x11, [sp]
	add	x10, x10, x8
	str	x10, [sp]
	msub	x8, x8, x9, x21
	add	x8, x11, x8
	cmp	x8, x9
	b.le	LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	x10, x10, #1
	sub	x8, x8, x9
	cmp	x8, x9
	b.gt	LBB0_9
; %bb.10:
	str	x10, [sp]
LBB0_11:
	str	x8, [sp, #8]
	add	x0, x19, #16
	mov	x2, sp
	mov	x1, x19
	bl	_pthread_cond_timedwait
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x21, #8]
	str	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_dt_free
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [x21]
	ldrb	w10, [x9]
	cmp	w10, #0
	csel	x1, xzr, x9, eq
	ldr	x9, [x21, #16]
	ldr	w0, [x9]
	ldr	w2, [x20, #8]
	blr	x8
	b	LBB0_12
LBB0_16:
	mov	x0, x19
	bl	_pthread_mutex_unlock
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACEOPT_BUFPOLICY,8,3        ; @DTRACEOPT_BUFPOLICY
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	__dtrace_sleeptab,8,3           ; @_dtrace_sleeptab
	.comm	_DTRACEOPT_MAX,4,2              ; @DTRACEOPT_MAX
	.comm	_DTRACEOPT_BUFPOLICY_SWITCH,8,3 ; @DTRACEOPT_BUFPOLICY_SWITCH
	.comm	_DTRACEOPT_STATUSRATE,4,2       ; @DTRACEOPT_STATUSRATE
	.comm	_CLOCK_REALTIME,4,2             ; @CLOCK_REALTIME
	.comm	_NANOSEC,8,3                    ; @NANOSEC
.subsections_via_symbols
