	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ckh_evict_reloc_insert
_ckh_evict_reloc_insert:                ## @ckh_evict_reloc_insert
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %r13
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %rbx
	leaq	32(%rdi), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	_LG_CKH_BUCKET_CELLS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_prng_lg_range_u64
	movzbl	(%rbx), %ecx
	movq	%r12, %rdx
	shlq	%cl, %rdx
	movq	24(%r15), %rbx
	movl	%eax, %r14d
	addq	%rdx, %r14
	shlq	$4, %r14
	xorl	%edi, %edi
	cmpq	$0, (%rbx,%r14)
	setne	%dil
	callq	_assert
	movq	(%rbx,%r14), %r13
	movq	8(%rbx,%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%rbx,%r14)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 8(%rbx,%r14)
	movq	%r13, %rdi
	leaq	-64(%rbp), %rsi
	callq	*8(%r15)
	movq	-56(%rbp), %rbx
	movl	$1, %edi
	callq	_ZU
	movzbl	(%r15), %ecx
	shll	%cl, %eax
	decl	%eax
	cltq
	andq	%rbx, %rax
	cmpq	%r12, %rax
	movq	%rax, %r12
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rbx
	movl	$1, %edi
	callq	_ZU
	movzbl	(%r15), %ecx
	shll	%cl, %eax
	decl	%eax
	movslq	%eax, %r12
	andq	%rbx, %r12
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-104(%rbp), %r12                ## 8-byte Folded Reload
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_ckh_try_bucket_insert
	testl	%eax, %eax
	jne	LBB0_1
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
	movl	$1, %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LG_CKH_BUCKET_CELLS,8,3        ## @LG_CKH_BUCKET_CELLS
	.no_dead_strip	_ckh_evict_reloc_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ckh_evict_reloc_insert
_ckh_evict_reloc_insert:                ; @ckh_evict_reloc_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	stp	x2, x3, [sp, #8]                ; 16-byte Folded Spill
	ldr	x24, [x2]
	ldr	x19, [x3]
	add	x23, x0, #32
Lloh3:
	adrp	x27, _LG_CKH_BUCKET_CELLS@GOTPAGE
Lloh4:
	ldr	x27, [x27, _LG_CKH_BUCKET_CELLS@GOTPAGEOFF]
	mov	x26, x1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, x24
	mov	x25, x19
	ldr	x1, [x27]
	mov	x0, x23
	bl	_prng_lg_range_u64
	ldr	x8, [x22, #24]
	ldr	x9, [x27]
	lsl	x9, x26, x9
	add	x9, x9, w0, uxtw
	add	x20, x8, x9, lsl #4
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	ldp	x24, x19, [x20]
	stp	x28, x25, [x20]
	ldr	x8, [x22, #8]
	add	x1, sp, #24
	mov	x0, x24
	blr	x8
	ldr	x20, [sp, #32]
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x22]
	lsl	w8, w0, w8
	sub	w8, w8, #1
	sxtw	x8, w8
	and	x8, x20, x8
	cmp	x8, x26
	mov	x26, x8
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x20, [sp, #24]
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x22]
	lsl	w8, w0, w8
	sub	w8, w8, #1
	sxtw	x8, w8
	and	x26, x20, x8
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	x26, x21
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x22
	mov	x1, x26
	mov	x2, x24
	mov	x3, x19
	bl	_ckh_try_bucket_insert
	cbnz	w0, LBB0_1
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x24, [x8]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x19, [x8]
	mov	w0, #1
LBB0_6:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LG_CKH_BUCKET_CELLS,8,3        ; @LG_CKH_BUCKET_CELLS
	.no_dead_strip	_ckh_evict_reloc_insert
.subsections_via_symbols
