	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_keybuf_init                ## -- Begin function bch_keybuf_init
	.p2align	4, 0x90
_bch_keybuf_init:                       ## @bch_keybuf_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MAX_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_RB_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	addq	$4, %rdi
	callq	_spin_lock_init
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_array_allocator_init           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KEY,4,2                    ## @MAX_KEY
	.comm	_RB_ROOT,4,2                    ## @RB_ROOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bch_keybuf_init                ; -- Begin function bch_keybuf_init
	.p2align	2
_bch_keybuf_init:                       ; @bch_keybuf_init
	.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	x19, x0
Lloh0:
	adrp	x8, _MAX_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RB_ROOT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RB_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	add	x0, x0, #4
	bl	_spin_lock_init
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_array_allocator_init
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KEY,4,2                    ; @MAX_KEY
	.comm	_RB_ROOT,4,2                    ; @RB_ROOT
.subsections_via_symbols
