	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_next_probe
_calc_next_probe:                       ## @calc_next_probe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_autr_permit_small_holddown@GOTPCREL(%rip), %rax
	testl	%esi, %esi
	movl	$1, %ecx
	cmovnel	%esi, %ecx
	cmpl	$3601, %esi                     ## imm = 0xE11
	movl	$3600, %edx                     ## imm = 0xE10
	cmovgel	%esi, %edx
	cmpl	$0, (%rax)
	cmovnel	%ecx, %edx
	movslq	%edx, %rbx
	imulq	$1717986919, %rbx, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	subl	%eax, %ebx
	movl	8(%rdi), %edi
	movslq	%eax, %rsi
	callq	_ub_random_max
	movq	(%r14), %rcx
	addl	(%rcx), %eax
	addl	%ebx, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_autr_permit_small_holddown,4,2 ## @autr_permit_small_holddown
	.no_dead_strip	_calc_next_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_next_probe
_calc_next_probe:                       ; @calc_next_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _autr_permit_small_holddown@GOTPAGE
Lloh1:
	ldr	x8, [x8, _autr_permit_small_holddown@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, #0
	csinc	w9, w1, wzr, ne
	mov	w10, #3600
	cmp	w1, #3600
	csel	w10, w1, w10, gt
	cmp	w8, #0
	csel	w8, w10, w9, eq
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	smull	x9, w8, w9
	lsr	x10, x9, #63
	asr	x9, x9, #34
	add	w9, w9, w10
	sub	w20, w8, w9
	ldr	w0, [x0, #8]
	sxtw	x1, w9
	bl	_ub_random_max
	ldr	x8, [x19]
	ldr	w8, [x8]
	add	w8, w8, w0
	add	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_autr_permit_small_holddown,4,2 ; @autr_permit_small_holddown
	.no_dead_strip	_calc_next_probe
.subsections_via_symbols
