	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_cache_create               ## -- Begin function key_cache_create
	.p2align	4, 0x90
_key_cache_create:                      ## @key_cache_create
	.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
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_HASH_DEFAULT_STARTARRAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r14), %rdi
	movq	8(%r14), %rdx
	movq	_key_entry_deldatafunc@GOTPCREL(%rip), %rax
	movq	_key_entry_sizefunc@GOTPCREL(%rip), %rcx
	movq	_key_entry_compfunc@GOTPCREL(%rip), %r8
	movq	_key_entry_delkeyfunc@GOTPCREL(%rip), %r9
	pushq	$0
	pushq	%rax
	callq	_slabhash_create
	addq	$16, %rsp
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc failure"

	.comm	_HASH_DEFAULT_STARTARRAY,8,3    ## @HASH_DEFAULT_STARTARRAY
	.comm	_key_entry_sizefunc,4,2         ## @key_entry_sizefunc
	.comm	_key_entry_compfunc,4,2         ## @key_entry_compfunc
	.comm	_key_entry_delkeyfunc,4,2       ## @key_entry_delkeyfunc
	.comm	_key_entry_deldatafunc,4,2      ## @key_entry_deldatafunc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_key_cache_create               ; -- Begin function key_cache_create
	.p2align	2
_key_cache_create:                      ; @key_cache_create
	.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	x20, x0
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _HASH_DEFAULT_STARTARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_DEFAULT_STARTARRAY@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	ldp	x0, x2, [x20]
Lloh3:
	adrp	x3, _key_entry_sizefunc@GOTPAGE
Lloh4:
	ldr	x3, [x3, _key_entry_sizefunc@GOTPAGEOFF]
Lloh5:
	adrp	x4, _key_entry_compfunc@GOTPAGE
Lloh6:
	ldr	x4, [x4, _key_entry_compfunc@GOTPAGEOFF]
Lloh7:
	adrp	x5, _key_entry_delkeyfunc@GOTPAGE
Lloh8:
	ldr	x5, [x5, _key_entry_delkeyfunc@GOTPAGEOFF]
Lloh9:
	adrp	x6, _key_entry_deldatafunc@GOTPAGE
Lloh10:
	ldr	x6, [x6, _key_entry_deldatafunc@GOTPAGEOFF]
	mov	x7, #0
	bl	_slabhash_create
	str	w0, [x19]
	cbnz	w0, LBB0_4
; %bb.2:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	mov	x0, x19
	bl	_free
	mov	x19, #0
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc failure"

	.comm	_HASH_DEFAULT_STARTARRAY,8,3    ; @HASH_DEFAULT_STARTARRAY
	.comm	_key_entry_sizefunc,4,2         ; @key_entry_sizefunc
	.comm	_key_entry_compfunc,4,2         ; @key_entry_compfunc
	.comm	_key_entry_delkeyfunc,4,2       ; @key_entry_delkeyfunc
	.comm	_key_entry_deldatafunc,4,2      ; @key_entry_deldatafunc
.subsections_via_symbols
