	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function generate_number
LCPI0_0:
	.quad	0x40dfffc000000000              ## double 32767
LCPI0_2:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_generate_number:                       ## @generate_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorl	%eax, %eax
	callq	_rand
	cvtsi2sd	%eax, %xmm0
	divsd	LCPI0_0(%rip), %xmm0
	movapd	%xmm0, -16(%rbp)                ## 16-byte Spill
	xorl	%eax, %eax
	callq	_rand
	testb	$1, %al
	je	LBB0_2
## %bb.1:
	movapd	-16(%rbp), %xmm0                ## 16-byte Reload
	xorpd	LCPI0_1(%rip), %xmm0
	movapd	%xmm0, -16(%rbp)                ## 16-byte Spill
LBB0_2:
	xorl	%eax, %eax
	callq	_rand
	movslq	%eax, %rcx
	imulq	$-2004318071, %rcx, %rdx        ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%ecx, %edx
	movl	%edx, %eax
	shrl	$31, %eax
	sarl	$4, %edx
	addl	%eax, %edx
	movl	%edx, %esi
	shll	$5, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	addl	%edx, %eax
	addl	%ecx, %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	leal	-1(%rax), %ecx
	movl	%eax, %edx
	andl	$7, %edx
	je	LBB0_5
## %bb.6:
	xorl	%esi, %esi
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	-16(%rbp), %xmm0                ## 16-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	mulsd	%xmm1, %xmm0
	incl	%esi
	cmpl	%esi, %edx
	jne	LBB0_7
## %bb.8:
	subl	%esi, %eax
	cmpl	$7, %ecx
	jae	LBB0_10
	jmp	LBB0_12
LBB0_3:
	movapd	-16(%rbp), %xmm0                ## 16-byte Reload
	jmp	LBB0_12
LBB0_5:
	movapd	-16(%rbp), %xmm0                ## 16-byte Reload
	cmpl	$7, %ecx
	jb	LBB0_12
LBB0_10:
	decl	%eax
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	addl	$-8, %eax
	cmpl	$-2, %eax
	jb	LBB0_11
LBB0_12:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_generate_number
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_number
_generate_number:                       ; @generate_number
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
	bl	_rand
	scvtf	d0, w0
	mov	x8, #281200098803712
	movk	x8, #16607, lsl #48
	fmov	d1, x8
	fdiv	d8, d0, d1
	bl	_rand
	fneg	d0, d8
	tst	w0, #0x1
	fcsel	d8, d8, d0, eq
	bl	_rand
	mov	w8, #34953
	movk	w8, #34952, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #4
	add	w8, w9, w8, lsr #31
	mov	w9, #30
	msub	w8, w8, w9, w0
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	add	w8, w8, #1
	fmov	d0, #10.00000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	fmul	d8, d8, d0
	sub	w8, w8, #1
	cmp	w8, #1
	b.hi	LBB0_2
LBB0_3:
	fmov	d0, d8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #32               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_generate_number
.subsections_via_symbols
