	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_normal_pair
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0xc000000000000000              ## double -2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_normal_pair:                       ## @get_normal_pair
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_MAX_RANDOM_VALUE@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_random
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%rbx), %xmm0
	divsd	%xmm0, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_random
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	xorps	%xmm2, %xmm2
	cvtsi2sd	%rax, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2sdq	(%rbx), %xmm0
	divsd	%xmm0, %xmm2
	addsd	%xmm1, %xmm1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm2
	addsd	%xmm0, %xmm2
	movapd	%xmm2, %xmm3
	mulsd	%xmm2, %xmm3
	movapd	%xmm1, %xmm0
	mulsd	%xmm1, %xmm0
	addsd	%xmm3, %xmm0
	ucomisd	LCPI0_1(%rip), %xmm0
	jae	LBB0_1
## %bb.2:
	xorpd	%xmm3, %xmm3
	ucomisd	%xmm3, %xmm0
	jne	LBB0_4
	jp	LBB0_4
## %bb.3:
	movq	$0, (%r15)
	jmp	LBB0_5
LBB0_4:
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	callq	_log
	mulsd	LCPI0_2(%rip), %xmm0
	divsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	sqrtsd	%xmm0, %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, (%r15)
	movsd	-48(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	mulsd	%xmm0, %xmm3
LBB0_5:
	movsd	%xmm3, (%r14)
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RANDOM_VALUE,8,3           ## @MAX_RANDOM_VALUE
	.no_dead_strip	_get_normal_pair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_normal_pair
_get_normal_pair:                       ; @get_normal_pair
	.cfi_startproc
; %bb.0:
	stp	d13, d12, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _MAX_RANDOM_VALUE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MAX_RANDOM_VALUE@GOTPAGEOFF]
	fmov	d9, #-1.00000000
	fmov	d10, #2.00000000
	fmov	d11, #1.00000000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_random
	scvtf	d0, x0
	ldr	d1, [x21]
	scvtf	d1, d1
	fdiv	d8, d0, d1
	bl	_random
	scvtf	d0, x0
	ldr	d1, [x21]
	scvtf	d1, d1
	fdiv	d0, d0, d1
	fmadd	d13, d8, d10, d9
	fmadd	d12, d0, d10, d9
	fmul	d0, d12, d12
	fmadd	d8, d13, d13, d0
	fcmp	d8, d11
	b.ge	LBB0_1
; %bb.2:
	fcmp	d8, #0.0
	b.ne	LBB0_4
; %bb.3:
	str	xzr, [x20]
	movi	d0, #0000000000000000
	b	LBB0_5
LBB0_4:
	fmov	d0, d8
	bl	_log
	fmov	d1, #-2.00000000
	fmul	d0, d0, d1
	fdiv	d0, d0, d8
	fsqrt	d0, d0
	fmul	d1, d13, d0
	str	d1, [x20]
	fmul	d0, d12, d0
LBB0_5:
	str	d0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RANDOM_VALUE,8,3           ; @MAX_RANDOM_VALUE
	.no_dead_strip	_get_normal_pair
.subsections_via_symbols
