	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getZipfianRand
_getZipfianRand:                        ## @getZipfianRand
	.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
	movapd	%xmm0, -48(%rbp)                ## 16-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %ebx
	movq	%rdi, %r14
	subl	%esi, %edx
	leal	1(%rdx), %r15d
	movq	_MIN_ZIPFIAN_PARAM@GOTPCREL(%rip), %rax
	movq	_MAX_ZIPFIAN_PARAM@GOTPCREL(%rip), %rcx
	movsd	(%rcx), %xmm2                   ## xmm2 = mem[0],zero
	movapd	%xmm0, %xmm1
	cmplepd	%xmm2, %xmm1
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	cmplepd	%xmm0, %xmm2
	andpd	%xmm1, %xmm2
	movd	%xmm2, %edi
	andl	$1, %edi
	callq	_Assert
	movq	%r14, %rdi
	movl	%r15d, %esi
	movaps	-48(%rbp), %xmm0                ## 16-byte Reload
	callq	_computeIterativeZipfian
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	decl	%eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_ZIPFIAN_PARAM,8,3          ## @MIN_ZIPFIAN_PARAM
	.comm	_MAX_ZIPFIAN_PARAM,8,3          ## @MAX_ZIPFIAN_PARAM
	.no_dead_strip	_getZipfianRand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getZipfianRand
_getZipfianRand:                        ; @getZipfianRand
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	fmov	d8, d0
	mov	x19, x1
	mov	x20, x0
	sub	w8, w2, w1
	add	w21, w8, #1
Lloh0:
	adrp	x8, _MIN_ZIPFIAN_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIN_ZIPFIAN_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fcmp	d0, d8
	cset	w8, ls
Lloh3:
	adrp	x9, _MAX_ZIPFIAN_PARAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_ZIPFIAN_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	d0, [x9]
	fcmp	d0, d8
	cset	w9, ge
	and	w0, w8, w9
	bl	_Assert
	mov	x0, x20
	mov	x1, x21
	fmov	d0, d8
	bl	_computeIterativeZipfian
	add	w8, w19, w0
	sub	w0, w8, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_ZIPFIAN_PARAM,8,3          ; @MIN_ZIPFIAN_PARAM
	.comm	_MAX_ZIPFIAN_PARAM,8,3          ; @MAX_ZIPFIAN_PARAM
	.no_dead_strip	_getZipfianRand
.subsections_via_symbols
