	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function getExponentialRand
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_getExponentialRand:                    ## @getExponentialRand
	.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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movapd	%xmm0, %xmm1
	xorpd	LCPI0_0(%rip), %xmm1
	movapd	%xmm1, -48(%rbp)                ## 16-byte Spill
	xorl	%edi, %edi
	ucomisd	%xmm1, %xmm0
	seta	%dil
	callq	_Assert
	movapd	-48(%rbp), %xmm0                ## 16-byte Reload
	callq	_exp
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movl	(%r15), %edi
	callq	_pg_erand48
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm2
	subsd	%xmm0, %xmm2
	movsd	%xmm2, -64(%rbp)                ## 8-byte Spill
	subsd	-48(%rbp), %xmm1                ## 8-byte Folded Reload
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	xorpd	%xmm0, %xmm0
	cmpneqsd	%xmm1, %xmm0
	movq	%xmm0, %rdi
	andl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Assert
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	-64(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_log
	xorpd	LCPI0_0(%rip), %xmm0
	divsd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	subl	%r14d, %ebx
	incl	%ebx
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	mulsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
	addl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_getExponentialRand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getExponentialRand
_getExponentialRand:                    ; @getExponentialRand
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	fmov	d8, d0
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	fcmp	d0, #0.0
	cset	w0, gt
	bl	_Assert
	fneg	d0, d8
	bl	_exp
	fmov	d9, d0
	ldr	w0, [x21]
	bl	_pg_erand48
	fmov	d1, #1.00000000
	fsub	d10, d1, d0
	fsub	d11, d1, d9
	fcmp	d11, #0.0
	cset	w0, ne
	bl	_Assert
	fmadd	d0, d11, d10, d9
	bl	_log
	fneg	d0, d0
	sub	w8, w19, w20
	add	w8, w8, #1
	scvtf	d1, w8
	fdiv	d0, d0, d8
	fmul	d0, d0, d1
	fcvtzs	w8, d0
	add	w0, w8, w20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_getExponentialRand
.subsections_via_symbols
