	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function randomsleep
LCPI0_0:
	.quad	0x3df0000000000000              ## double 2.3283064365386963E-10
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0xbff0000000000000              ## double -1
LCPI0_3:
	.quad	0x41cdcd6500000000              ## double 1.0E+9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_randomsleep:                           ## @randomsleep
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, -32(%rbp)
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_my_arc4random_r
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	mulsd	-16(%rbp), %xmm0                ## 8-byte Folded Reload
	ucomisd	LCPI0_1(%rip), %xmm0
	jb	LBB0_4
## %bb.1:
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	addsd	%xmm1, %xmm0
	ucomisd	%xmm2, %xmm0
	jae	LBB0_2
## %bb.3:
	movl	%ebx, -32(%rbp)
LBB0_4:
	mulsd	LCPI0_3(%rip), %xmm0
	movsd	%xmm0, -40(%rbp)
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	callq	_nanosleep
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_randomsleep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function randomsleep
_randomsleep:                           ; @randomsleep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
	fmov	d8, d0
	stp	xzr, xzr, [sp, #16]
	bl	_my_arc4random_r
	scvtf	d0, x0
	mov	x8, #4463067230724161536
	fmov	d1, x8
	fmul	d0, d0, d1
	fmul	d0, d0, d8
	fmov	d1, #1.00000000
	fcmp	d0, d1
	b.lt	LBB0_4
; %bb.1:
	mov	w8, #0
	fmov	d2, #-1.00000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w8, #1
	fadd	d0, d0, d2
	fcmp	d0, d1
	b.ge	LBB0_2
; %bb.3:
	str	w8, [sp, #16]
LBB0_4:
	mov	x8, #225833675390976
	movk	x8, #16845, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	str	d0, [sp, #8]
	add	x0, sp, #8
	mov	x1, #0
	bl	_nanosleep
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_randomsleep
.subsections_via_symbols
