	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ckh_grow
_ckh_grow:                              ## @ckh_grow
	.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	%rsi, %r15
	movl	(%rsi), %eax
	movq	_LG_CKH_BUCKET_CELLS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%rax), %ecx
	incb	%cl
	movl	$4, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rax
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_CACHELINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_sz_sa2u
	movq	%rax, %r14
	testq	%rax, %rax
	sete	%al
	movq	_LARGE_MAXCLASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	seta	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%rbx), %r12d
	addl	$2, %r12d
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_tsd_tsdn
	movl	%eax, %r15d
	movq	_CACHELINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_arena_ichoose
	movl	%eax, (%rsp)
	movl	$1, %r13d
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ipallocztm
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rbx
	movq	%rax, 8(%r15)
	movq	_LG_CKH_BUCKET_CELLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	addl	%r12d, %eax
	movl	%eax, (%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ckh_rebuild
	movl	%eax, %r14d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_tsd_tsdn
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rsi
	movl	$1, %r13d
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_idalloctm
	movq	%rbx, 8(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r15)
	movl	$4, %edi
	movl	%r12d, %ecx
	shlq	%cl, %rdi
	movq	_CACHELINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_sz_sa2u
	movq	%rax, %r14
	testq	%rax, %rax
	sete	%al
	movq	_LARGE_MAXCLASS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	seta	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	incl	%r12d
	testq	%rax, %rax
	je	LBB0_2
	jmp	LBB0_6
LBB0_5:
	xorl	%r13d, %r13d
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_idalloctm
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_LG_CKH_BUCKET_CELLS,4,2        ## @LG_CKH_BUCKET_CELLS
	.comm	_CACHELINE,4,2                  ## @CACHELINE
	.comm	_LARGE_MAXCLASS,8,3             ## @LARGE_MAXCLASS
	.no_dead_strip	_ckh_grow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ckh_grow
_ckh_grow:                              ; @ckh_grow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x1
	mov	x20, x0
	ldr	w28, [x1]
Lloh0:
	adrp	x23, _LG_CKH_BUCKET_CELLS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LG_CKH_BUCKET_CELLS@GOTPAGEOFF]
	ldr	w21, [x23]
	add	w8, w21, w28
	add	w8, w8, #1
	mov	w9, #4
	lsl	x0, x9, x8
Lloh2:
	adrp	x24, _CACHELINE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _CACHELINE@GOTPAGEOFF]
	ldr	w1, [x24]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_sz_sa2u
	mov	x22, x0
	cmp	x0, #0
Lloh4:
	adrp	x27, _LARGE_MAXCLASS@GOTPAGE
Lloh5:
	ldr	x27, [x27, _LARGE_MAXCLASS@GOTPAGEOFF]
	ldr	x8, [x27]
	ccmp	x0, x8, #2, ne
	cset	w0, hi
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.1:
	mov	w21, #1
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	add	w8, w28, w21
	add	w26, w8, #2
	str	w28, [sp, #4]                   ; 4-byte Folded Spill
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x28, x0
	mov	x25, x24
	ldr	w24, [x24]
	mov	x0, x20
	mov	x1, #0
	bl	_arena_ichoose
	mov	x6, x0
	mov	w21, #1
	mov	x0, x28
	mov	x1, x22
	mov	x2, x24
	mov	w3, #1
	mov	x4, #0
	mov	w5, #1
	bl	_ipallocztm
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x19, #8]
	str	x0, [x19, #8]
	ldr	w8, [x23]
	mvn	w8, w8
	add	w8, w8, w26
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x22
	bl	_ckh_rebuild
	mov	x21, x0
	mov	x0, x20
	bl	_tsd_tsdn
	cbz	w21, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x19, #8]
	mov	w21, #1
	mov	x2, #0
	mov	x3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_idalloctm
	str	x22, [x19, #8]
	ldr	w28, [sp, #4]                   ; 4-byte Folded Reload
	str	w28, [x19]
	mov	w8, #4
	lsl	x0, x8, x26
	mov	x24, x25
	ldr	w1, [x25]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_sz_sa2u
	mov	x22, x0
	cmp	x0, #0
	ldr	x8, [x27]
	ccmp	x0, x8, #2, ne
	cset	w0, hi
	bl	_unlikely
	add	w26, w26, #1
	cbz	x0, LBB0_4
	b	LBB0_2
LBB0_7:
	mov	x1, x22
	mov	x2, #0
	mov	x3, #0
	mov	w4, #1
	mov	w5, #1
	bl	_idalloctm
	b	LBB0_2
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LG_CKH_BUCKET_CELLS,4,2        ; @LG_CKH_BUCKET_CELLS
	.comm	_CACHELINE,4,2                  ; @CACHELINE
	.comm	_LARGE_MAXCLASS,8,3             ; @LARGE_MAXCLASS
	.no_dead_strip	_ckh_grow
.subsections_via_symbols
