	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ckh_new                        ## -- Begin function ckh_new
	.p2align	4, 0x90
_ckh_new:                               ## @ckh_new
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_assert
	xorl	%edi, %edi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	setne	%dil
	callq	_assert
	movl	$42, (%r13)
	movq	$0, 40(%r13)
	movq	_LG_CKH_BUCKET_CELLS@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	setne	%dil
	callq	_assert
	movabsq	$-6148914691236517205, %rcx     ## imm = 0xAAAAAAAAAAAAAAAB
	movq	%rbx, %rax
	mulq	%rcx
	shrq	%rdx
	leaq	(%rdx,%rdx,2), %rdx
	movq	%rbx, %rax
	subq	%rdx, %rax
	xorq	$3, %rax
	addq	%rbx, %rax
	mulq	%rcx
	movq	%rdx, %r14
	addq	%rdx, %r14
	andq	$-4, %r14
	movl	(%r15), %ebx
	decl	%ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	$1, %edi
	callq	_ZU
                                        ## kill: def $eax killed $eax def $rax
	movl	%ebx, %ecx
	shll	%cl, %eax
	cmpq	%rax, %r14
	ja	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	subl	(%r15), %eax
	movl	%eax, 4(%r13)
	movl	%eax, 8(%r13)
	movl	$4, %edi
	movl	%ebx, %ecx
	shlq	%cl, %rdi
	movq	%r12, 32(%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%r13)
	movq	_CACHELINE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_sz_sa2u
	movq	%rax, %rbx
	testq	%rax, %rax
	sete	%al
	movq	_SC_LARGE_MAXCLASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rbx
	seta	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.3:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_tsd_tsdn
	movl	%eax, %r14d
	movl	(%r15), %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_arena_ichoose
	movl	%eax, (%rsp)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ipallocztm
	movq	%rax, %rcx
	movq	%rax, 16(%r13)
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_4:
	addq	$24, %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
	.comm	_CACHELINE,4,2                  ## @CACHELINE
	.comm	_SC_LARGE_MAXCLASS,8,3          ## @SC_LARGE_MAXCLASS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ckh_new                        ; -- Begin function ckh_new
	.p2align	2
_ckh_new:                               ; @ckh_new
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_assert
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
	mov	w8, #42
	str	w8, [x19]
	str	xzr, [x19, #40]
Lloh0:
	adrp	x24, _LG_CKH_BUCKET_CELLS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LG_CKH_BUCKET_CELLS@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #0
	cset	w0, ne
	bl	_assert
	mov	x8, #-6148914691236517206
	movk	x8, #43691
	umulh	x9, x23, x8
	lsr	x9, x9, #1
	add	x9, x9, x9, lsl #1
	sub	x9, x23, x9
	eor	x9, x9, #0x3
	add	x9, x9, x23
	umulh	x8, x9, x8
	lsl	x8, x8, #1
	and	x25, x8, #0xfffffffffffffffc
	ldr	w8, [x24]
	sub	w23, w8, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	mov	w0, #1
	bl	_ZU
	lsl	w8, w0, w23
	cmp	x25, x8
	b.hi	LBB0_1
; %bb.2:
	ldr	w8, [x24]
	sub	w8, w23, w8
	stp	w8, w8, [x19, #4]
	stp	x21, x22, [x19, #24]
	mov	w8, #4
	lsl	x0, x8, x23
Lloh2:
	adrp	x23, _CACHELINE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CACHELINE@GOTPAGEOFF]
	ldr	w1, [x23]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_sz_sa2u
	mov	x21, x0
	cmp	x0, #0
Lloh4:
	adrp	x8, _SC_LARGE_MAXCLASS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SC_LARGE_MAXCLASS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ccmp	x0, x8, #2, ne
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x22, x0
	ldr	w23, [x23]
	mov	x0, x20
	mov	x1, #0
	bl	_arena_ichoose
	mov	x6, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	w3, #1
	mov	x4, #0
	mov	w5, #1
	bl	_ipallocztm
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_LG_CKH_BUCKET_CELLS,4,2        ; @LG_CKH_BUCKET_CELLS
	.comm	_CACHELINE,4,2                  ; @CACHELINE
	.comm	_SC_LARGE_MAXCLASS,8,3          ; @SC_LARGE_MAXCLASS
.subsections_via_symbols
