	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ckh_try_bucket_insert
_ckh_try_bucket_insert:                 ## @ckh_try_bucket_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	addq	$16, %rdi
	movq	_LG_CKH_BUCKET_CELLS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_prng_lg_range_u64
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$1, %r14d
	movl	$1, %edi
	callq	_ZU
	movl	(%r15), %ecx
	shll	%cl, %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %r14
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %r13d
	movl	$1, %edi
	callq	_ZU
                                        ## kill: def $eax killed $eax def $rax
	movzbl	(%r15), %ecx
	shll	%cl, %eax
	decl	%eax
	andl	%r13d, %eax
	addq	%rbx, %rax
	shlq	$4, %rax
	cmpq	$0, 8(%r14,%rax)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movl	$1, %r14d
	movl	$1, %edi
	callq	_ZU
	movl	(%r15), %ecx
	shll	%cl, %eax
	cmpl	%eax, %r12d
	jb	LBB0_3
	jmp	LBB0_5
LBB0_4:
	leaq	(%r14,%rax), %rcx
	addq	$8, %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, (%rcx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r14,%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LG_CKH_BUCKET_CELLS,4,2        ## @LG_CKH_BUCKET_CELLS
	.no_dead_strip	_ckh_try_bucket_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ckh_try_bucket_insert
_ckh_try_bucket_insert:                 ; @ckh_try_bucket_insert
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [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 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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, x0, #16
Lloh0:
	adrp	x25, _LG_CKH_BUCKET_CELLS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LG_CKH_BUCKET_CELLS@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_prng_lg_range_u64
	mov	x23, x0
	mov	w24, #1
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x25]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	lsl	w9, w0, w8
	cbz	w9, LBB0_5
; %bb.1:
	mov	w26, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #8]
	lsl	x24, x22, x8
	add	w28, w23, w26
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x25]
	lsl	w8, w0, w8
	sub	w8, w8, #1
	and	w8, w8, w28
	add	x8, x24, x8
	add	x9, x27, x8, lsl #4
	ldr	x10, [x9, #8]!
	cbz	x10, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w26, w26, #1
	mov	w24, #1
	mov	w0, #1
	bl	_ZU
	ldr	w8, [x25]
	lsl	w9, w0, w8
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	cmp	w26, w9
	b.lo	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w24, #0
	str	x21, [x9]
	lsl	x8, x8, #4
	str	x20, [x27, x8]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LG_CKH_BUCKET_CELLS,4,2        ; @LG_CKH_BUCKET_CELLS
	.no_dead_strip	_ckh_try_bucket_insert
.subsections_via_symbols
