	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function getGaussianRand
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0xc000000000000000              ## double -2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_getGaussianRand:                       ## @getGaussianRand
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MIN_GAUSSIAN_PARAM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	ucomisd	(%rax), %xmm0
	setae	%dil
	callq	_Assert
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0]
	xorpd	-64(%rbp), %xmm0                ## 16-byte Folded Reload
	movapd	%xmm0, -96(%rbp)                ## 16-byte Spill
	movq	_M_PI@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_pg_erand48
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_pg_erand48
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -72(%rbp)                ## 8-byte Spill
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_log
	mulsd	LCPI0_2(%rip), %xmm0
	sqrtsd	%xmm0, %xmm0
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	mulsd	-72(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_sin
	mulsd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	movapd	-96(%rbp), %xmm1                ## 16-byte Reload
	ucomisd	%xmm0, %xmm1
	ja	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	ucomisd	-64(%rbp), %xmm0                ## 16-byte Folded Reload
	jae	LBB0_1
## %bb.3:
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	addsd	%xmm1, %xmm0
	addsd	%xmm1, %xmm1
	divsd	%xmm1, %xmm0
	subl	%r14d, %r15d
	incl	%r15d
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r15d, %xmm1
	mulsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	addl	%r14d, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_GAUSSIAN_PARAM,8,3         ## @MIN_GAUSSIAN_PARAM
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_getGaussianRand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getGaussianRand
_getGaussianRand:                       ; @getGaussianRand
	.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
	fmov	d8, d0
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MIN_GAUSSIAN_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIN_GAUSSIAN_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fcmp	d0, d8
	cset	w0, ls
	bl	_Assert
	fneg	d10, d8
	fmov	d11, #1.00000000
	fmov	d12, #-2.00000000
Lloh3:
	adrp	x22, _M_PI@GOTPAGE
Lloh4:
	ldr	x22, [x22, _M_PI@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_pg_erand48
	fsub	d9, d11, d0
	ldr	w0, [x21]
	bl	_pg_erand48
	fsub	d13, d11, d0
	fmov	d0, d9
	bl	_log
	fmul	d0, d0, d12
	fsqrt	d9, d0
	ldr	d0, [x22]
	fadd	d0, d0, d0
	fmul	d0, d13, d0
	bl	_sin
	fmul	d0, d9, d0
	fcmp	d0, d10
	fccmp	d0, d8, #0, pl
	b.ge	LBB0_1
; %bb.2:
	fadd	d0, d0, d8
	fadd	d1, d8, d8
	sub	w8, w20, w19
	add	w8, w8, #1
	scvtf	d2, w8
	fdiv	d0, d0, d1
	fmul	d0, d0, d2
	fcvtzs	w8, d0
	add	w0, w8, w19
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_GAUSSIAN_PARAM,8,3         ; @MIN_GAUSSIAN_PARAM
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_getGaussianRand
.subsections_via_symbols
