	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_relandgetbuf               ## -- Begin function _bt_relandgetbuf
	.p2align	4, 0x90
__bt_relandgetbuf:                      ## @_bt_relandgetbuf
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movl	%esi, %ebx
	movl	%edi, %r15d
	movq	_P_NEW@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%rdx, (%rax)
	setne	%dil
	callq	_Assert
	movl	%ebx, %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_LockBuffer
LBB0_2:
	movl	%ebx, %edi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_ReleaseAndReadBuffer
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_LockBuffer
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	__bt_checkpage
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_NEW,8,3                      ## @P_NEW
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bt_relandgetbuf               ; -- Begin function _bt_relandgetbuf
	.p2align	2
__bt_relandgetbuf:                      ; @_bt_relandgetbuf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _P_NEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_NEW@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x2
	cset	w0, ne
	bl	_Assert
	mov	x0, x22
	bl	_BufferIsValid
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_LockBuffer
LBB0_2:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	_ReleaseAndReadBuffer
	mov	x21, x0
	mov	x1, x20
	bl	_LockBuffer
	mov	x0, x19
	mov	x1, x21
	bl	__bt_checkpage
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_P_NEW,8,3                      ; @P_NEW
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
.subsections_via_symbols
