	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function computeIterativeZipfian
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_computeIterativeZipfian:               ## @computeIterativeZipfian
	.cfi_startproc
## %bb.0:
	movl	$1, %eax
	cmpl	$2, %esi
	jl	LBB0_5
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	callq	_exp2
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm2
	divsd	-32(%rbp), %xmm2                ## 8-byte Folded Reload
	movsd	%xmm2, -48(%rbp)                ## 8-byte Spill
	movapd	%xmm0, %xmm2
	addsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r14d, %xmm1
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	unpcklpd	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0]
	movapd	%xmm2, -80(%rbp)                ## 16-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_pg_erand48
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_pg_erand48
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-48(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	xorps	%xmm2, %xmm2
	roundsd	$9, %xmm0, %xmm2
	movsd	%xmm2, -24(%rbp)                ## 8-byte Spill
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm0
	divsd	%xmm2, %xmm0
	addsd	%xmm1, %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_pow
	movsd	-24(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-56(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	mulsd	%xmm2, %xmm3
	movapd	%xmm0, %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	mulsd	%xmm3, %xmm1
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	divpd	-80(%rbp), %xmm1                ## 16-byte Folded Reload
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	ucomisd	%xmm1, %xmm0
	jb	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	%xmm2, %xmm0
	jb	LBB0_2
## %bb.4:
	cvttsd2si	%xmm2, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_computeIterativeZipfian
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function computeIterativeZipfian
_computeIterativeZipfian:               ; @computeIterativeZipfian
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	.cfi_offset b12, -72
	.cfi_offset b13, -80
	.cfi_offset b14, -88
	.cfi_offset b15, -96
	mov	x20, x1
	mov	x19, x0
	fmov	d1, #-1.00000000
	fadd	d8, d0, d1
	fmov	d0, d8
	bl	_exp2
	cmp	w20, #2
	b.ge	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	fmov	d9, d0
	fmov	d0, #-1.00000000
	fadd	d14, d9, d0
	scvtf	d15, w20
	fmov	d13, #1.00000000
	fdiv	d10, d0, d8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_pg_erand48
	fmov	d11, d0
	ldr	w0, [x19]
	bl	_pg_erand48
	fmov	d12, d0
	fmov	d0, d11
	fmov	d1, d10
	bl	_pow
	frintm	d11, d0
	fdiv	d0, d13, d11
	fadd	d0, d0, d13
	fmov	d1, d8
	bl	_pow
	fmul	d1, d12, d11
	fmov	d2, #-1.00000000
	fadd	d2, d0, d2
	fmul	d1, d1, d2
	fdiv	d1, d1, d14
	fdiv	d0, d0, d9
	fcmp	d1, d0
	fccmp	d11, d15, #2, ls
	b.hi	LBB0_3
; %bb.4:
	fcvtzs	w0, d11
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_computeIterativeZipfian
.subsections_via_symbols
