	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$2, %edi
	jne	LBB0_5
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	movq	8(%rsi), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	cmpq	$0, (%r14)
	jne	LBB0_2
## %bb.4:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_srandomdev
	xorl	%eax, %eax
	callq	_random
	cvtsi2sd	%rax, %xmm0
	movq	_RANDOM_MAX@GOTPCREL(%rip), %rax
	cvtsi2sdq	(%rax), %xmm1
	cvtsi2sd	%rbx, %xmm2
	divsd	%xmm1, %xmm0
	mulsd	%xmm0, %xmm2
	cvttsd2si	%xmm2, %rdi
	callq	_usleep
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	_main.cold.1
	jmp	LBB0_3
LBB0_5:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function main.cold.1
_main.cold.1:                           ## @main.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"strtol"

	.comm	_RANDOM_MAX,8,3                 ## @RANDOM_MAX
L_str:                                  ## @str
	.asciz	"Usage: randsleep <max_microseconds>"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	ldr	x0, [x1, #8]
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.2:
	mov	x19, x0
	bl	_srandomdev
	bl	_random
	scvtf	d0, x0
Lloh2:
	adrp	x8, _RANDOM_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RANDOM_MAX@GOTPAGEOFF]
Lloh4:
	ldr	d1, [x8]
	scvtf	d1, d1
	fdiv	d0, d0, d1
	scvtf	d1, x19
	fmul	d0, d0, d1
	fcvtzs	x0, d0
	bl	_usleep
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh5:
	adrp	x0, l_str@PAGE
Lloh6:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	w0, #2
	bl	_exit
LBB0_4:
	bl	_main.cold.1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function main.cold.1
_main.cold.1:                           ; @main.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"strtol"

	.comm	_RANDOM_MAX,8,3                 ; @RANDOM_MAX
l_str:                                  ; @str
	.asciz	"Usage: randsleep <max_microseconds>"

.subsections_via_symbols
