	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ripinterval
LCPI0_0:
	.quad	0xbfe0000000000000              ## double -0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ripinterval:                           ## @ripinterval
	.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
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_rand
	cvtsi2sd	%ebx, %xmm1
	movq	_RIPRANDDEV@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	cvtsi2sd	%ebx, %xmm2
	movq	_RAND_MAX@GOTPCREL(%rip), %rax
	divsd	(%rax), %xmm0
	addsd	LCPI0_0(%rip), %xmm0
	mulsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %eax
	movq	_interval@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	xorl	%edi, %edi
	callq	_time
	movslq	(%rbx), %rcx
	addq	%rcx, %rax
	movq	_nextalarm@GOTPCREL(%rip), %rdx
	movq	%rax, (%rdx)
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RIPRANDDEV,4,2                 ## @RIPRANDDEV
	.comm	_RAND_MAX,8,3                   ## @RAND_MAX
	.comm	_interval,4,2                   ## @interval
	.comm	_nextalarm,8,3                  ## @nextalarm
	.no_dead_strip	_ripinterval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ripinterval
_ripinterval:                           ; @ripinterval
	.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	_rand
	scvtf	d1, w19
Lloh0:
	adrp	x8, _RIPRANDDEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RIPRANDDEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w8, w8, w19
	scvtf	d2, w8
Lloh3:
	adrp	x8, _RAND_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAND_MAX@GOTPAGEOFF]
Lloh5:
	ldr	d3, [x8]
	fdiv	d0, d0, d3
	fmov	d3, #-0.50000000
	fadd	d0, d0, d3
	fmadd	d0, d2, d0, d1
	fcvtzs	w8, d0
Lloh6:
	adrp	x19, _interval@GOTPAGE
Lloh7:
	ldr	x19, [x19, _interval@GOTPAGEOFF]
	str	w8, [x19]
	mov	x0, #0
	bl	_time
	ldrsw	x8, [x19]
	add	x9, x0, x8
Lloh8:
	adrp	x10, _nextalarm@GOTPAGE
Lloh9:
	ldr	x10, [x10, _nextalarm@GOTPAGEOFF]
Lloh10:
	str	x9, [x10]
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RIPRANDDEV,4,2                 ; @RIPRANDDEV
	.comm	_RAND_MAX,8,3                   ; @RAND_MAX
	.comm	_interval,4,2                   ; @interval
	.comm	_nextalarm,8,3                  ; @nextalarm
	.no_dead_strip	_ripinterval
.subsections_via_symbols
