	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt_meta
_bt_meta:                               ## @bt_meta
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_P_META@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_mpool_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_BTREEMAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_BTREEVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movl	12(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	_SAVEMETA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_F_ISSET
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movl	$24, %edx
	callq	_memmove
	movl	(%rbx), %edi
	movq	_MPOOL_DIRTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_mpool_put
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_RET_ERROR@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_META,4,2                     ## @P_META
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.comm	_BTREEMAGIC,4,2                 ## @BTREEMAGIC
	.comm	_BTREEVERSION,4,2               ## @BTREEVERSION
	.comm	_SAVEMETA,4,2                   ## @SAVEMETA
	.comm	_MPOOL_DIRTY,4,2                ## @MPOOL_DIRTY
	.comm	_RET_SUCCESS,4,2                ## @RET_SUCCESS
	.no_dead_strip	_bt_meta
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt_meta
_bt_meta:                               ; @bt_meta
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _P_META@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_META@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_mpool_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _BTREEMAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTREEMAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh6:
	adrp	x8, _BTREEVERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BTREEVERSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	stp	w9, w8, [sp, #20]
	ldur	d0, [x19, #4]
	stur	d0, [sp, #12]
Lloh9:
	adrp	x8, _SAVEMETA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SAVEMETA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	str	w0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #24
	bl	_memmove
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _MPOOL_DIRTY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPOOL_DIRTY@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_mpool_put
Lloh15:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_P_META,4,2                     ; @P_META
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_BTREEMAGIC,4,2                 ; @BTREEMAGIC
	.comm	_BTREEVERSION,4,2               ; @BTREEVERSION
	.comm	_SAVEMETA,4,2                   ; @SAVEMETA
	.comm	_MPOOL_DIRTY,4,2                ; @MPOOL_DIRTY
	.comm	_RET_SUCCESS,4,2                ; @RET_SUCCESS
	.no_dead_strip	_bt_meta
.subsections_via_symbols
