	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bt_preserve
_bt_preserve:                           ## @bt_preserve
	.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
	movl	(%rdi), %edi
	xorl	%edx, %edx
	callq	_mpool_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_P_PRESERVE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	movl	(%rbx), %edi
	movq	_MPOOL_DIRTY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %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	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.comm	_P_PRESERVE,4,2                 ## @P_PRESERVE
	.comm	_MPOOL_DIRTY,4,2                ## @MPOOL_DIRTY
	.comm	_RET_SUCCESS,4,2                ## @RET_SUCCESS
	.no_dead_strip	_bt_preserve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bt_preserve
_bt_preserve:                           ; @bt_preserve
	.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
	ldr	w0, [x0]
	mov	w2, #0
	bl	_mpool_get
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh0:
	adrp	x8, _P_PRESERVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_PRESERVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _MPOOL_DIRTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPOOL_DIRTY@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_mpool_put
Lloh6:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_P_PRESERVE,4,2                 ; @P_PRESERVE
	.comm	_MPOOL_DIRTY,4,2                ; @MPOOL_DIRTY
	.comm	_RET_SUCCESS,4,2                ; @RET_SUCCESS
	.no_dead_strip	_bt_preserve
.subsections_via_symbols
