	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_newroot
__bt_newroot:                           ## @_bt_newroot
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movl	%edi, %r13d
	movl	%esi, %edi
	callq	_BufferGetBlockNumber
	movq	%rax, %r15
	movl	%r14d, %edi
	callq	_BufferGetBlockNumber
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_BufferGetPage
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PageGetSpecialPointer
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_P_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BT_WRITE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movl	%r13d, %edi
	callq	__bt_getbuf
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_BufferGetPage
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_BufferGetBlockNumber
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_BTREE_METAPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movl	%r13d, %edi
	callq	__bt_getbuf
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_BufferGetPage
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_BTPageGetMeta
	movq	%rax, %r14
	movl	$4, %edi
	callq	_palloc
	movq	%rax, %rbx
	movl	$4, (%rax)
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_BTreeInnerTupleSetDownLink
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_BTreeTupleSetNAtts
	movq	_P_HIKEY@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_PageGetItemId
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ItemIdGetLength
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_PageGetItem
	movq	%rax, %rdi
	callq	_CopyIndexTuple
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_BTreeInnerTupleSetDownLink
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	(%r14), %rax
	movq	_BTREE_NOVAC_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
## %bb.1:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	__bt_upgrademetapage
LBB0_2:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_PageGetSpecialPointer
	movq	%rax, %rbx
	movq	_P_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	%eax, 28(%rbx)
	movq	_BTP_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_PageGetSpecialPointer
	movq	8(%rax), %rax
	incq	%rax
	movq	%rax, 8(%rbx)
	movq	$0, 16(%rbx)
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 40(%r14)
	movq	%rax, 16(%r14)
	movq	%rcx, 32(%r14)
	movq	%rax, 24(%r14)
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_BTreeTupleGetNAtts
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_Assert
	movl	(%r15), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.3:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_BufferGetBlockNumber
	movq	%rax, %r15
	movl	%r13d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_elog
LBB0_4:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_BTreeTupleGetNAtts
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_Assert
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_BTreeTupleGetNAtts
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_IndexRelationGetNumberOfKeyAttributes
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setle	%dil
	callq	_Assert
	movq	_P_FIRSTKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	cmpq	(%r12), %rax
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	jne	LBB0_6
## %bb.5:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_BufferGetBlockNumber
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_RelationGetRelationName
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	callq	_elog
LBB0_6:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_P_INCOMPLETE_SPLIT
	movl	%eax, %edi
	callq	_Assert
	movq	_BTP_INCOMPLETE_SPLIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	callq	_MarkBufferDirty
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_MarkBufferDirty
	movl	%r12d, %edi
	callq	_MarkBufferDirty
	movl	%r13d, %edi
	callq	_RelationNeedsWAL
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	%r13d, -56(%rbp)                ## 4-byte Spill
	movl	%r12d, %r13d
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, -128(%rbp)
	movq	16(%r14), %rax
	movq	%rax, -136(%rbp)
	xorl	%eax, %eax
	callq	_XLogBeginInsert
	movq	_SizeOfBtreeNewroot@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-136(%rbp), %rdi
	callq	_XLogRegisterData
	movq	_REGBUF_WILL_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	%ebx, %esi
	callq	_XLogRegisterBuffer
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	$1, %edi
	movl	%r15d, %esi
	callq	_XLogRegisterBuffer
	movl	(%rbx), %edx
	movq	_REGBUF_WILL_INIT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	$2, %edi
	movl	%r13d, %esi
	callq	_XLogRegisterBuffer
	movq	(%r14), %rax
	xorl	%edi, %edi
	movq	_BTREE_NOVAC_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_Assert
	movq	(%r14), %rax
	movq	%rax, -184(%rbp)
	movq	%r12, -144(%rbp)
	movq	16(%r14), %rax
	movq	%rax, -152(%rbp)
	movq	%r12, -160(%rbp)
	movl	%r13d, %r12d
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movq	%rax, -168(%rbp)
	movl	12(%r14), %eax
	movl	%eax, -172(%rbp)
	movl	8(%r14), %eax
	movl	%eax, -176(%rbp)
	leaq	-184(%rbp), %rsi
	movl	$2, %edi
	movl	$48, %edx
	callq	_XLogRegisterBufData
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movslq	(%r14), %rax
	movq	%r14, %rsi
	addq	%rax, %rsi
	movl	4(%r14), %edx
	subl	%eax, %edx
	xorl	%edi, %edi
	callq	_XLogRegisterBufData
	movq	_RM_BTREE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_BTREE_NEWROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movl	%eax, %ebx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_PageSetLSN
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_PageSetLSN
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	callq	_PageSetLSN
LBB0_8:
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	__bt_relbuf
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_pfree
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_pfree
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_NEW,4,2                      ## @P_NEW
	.comm	_BT_WRITE,4,2                   ## @BT_WRITE
	.comm	_BTREE_METAPAGE,4,2             ## @BTREE_METAPAGE
	.comm	_P_HIKEY,4,2                    ## @P_HIKEY
	.comm	_BTREE_NOVAC_VERSION,8,3        ## @BTREE_NOVAC_VERSION
	.comm	_P_NONE,4,2                     ## @P_NONE
	.comm	_BTP_ROOT,4,2                   ## @BTP_ROOT
	.comm	_InvalidOffsetNumber,8,3        ## @InvalidOffsetNumber
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add leftkey to new root page while splitting block %u of index \"%s\""

	.comm	_P_FIRSTKEY,4,2                 ## @P_FIRSTKEY
L_.str.1:                               ## @.str.1
	.asciz	"failed to add rightkey to new root page while splitting block %u of index \"%s\""

	.comm	_BTP_INCOMPLETE_SPLIT,4,2       ## @BTP_INCOMPLETE_SPLIT
	.comm	_SizeOfBtreeNewroot,4,2         ## @SizeOfBtreeNewroot
	.comm	_REGBUF_WILL_INIT,4,2           ## @REGBUF_WILL_INIT
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_RM_BTREE_ID,4,2                ## @RM_BTREE_ID
	.comm	_XLOG_BTREE_NEWROOT,4,2         ## @XLOG_BTREE_NEWROOT
	.no_dead_strip	__bt_newroot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_newroot
__bt_newroot:                           ; @_bt_newroot
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x26, x1
	mov	x19, x0
	mov	x0, x1
	bl	_BufferGetBlockNumber
	mov	x28, x0
	mov	x0, x20
	bl	_BufferGetBlockNumber
	mov	x20, x0
	mov	x0, x26
	bl	_BufferGetPage
	mov	x27, x0
	bl	_PageGetSpecialPointer
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _P_NEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_NEW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x21, _BT_WRITE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _BT_WRITE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	__bt_getbuf
	mov	x23, x0
	bl	_BufferGetPage
	mov	x22, x0
	str	w23, [sp, #20]                  ; 4-byte Folded Spill
	mov	x0, x23
	bl	_BufferGetBlockNumber
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x8, _BTREE_METAPAGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BTREE_METAPAGE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	__bt_getbuf
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	bl	_BufferGetPage
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_BTPageGetMeta
	mov	x25, x0
	mov	w21, #4
	mov	w0, #4
	bl	_palloc
	mov	x24, x0
	str	w21, [x0]
	mov	x1, x28
	bl	_BTreeInnerTupleSetDownLink
	mov	x0, x24
	mov	w1, #0
	bl	_BTreeTupleSetNAtts
Lloh8:
	adrp	x23, _P_HIKEY@GOTPAGE
Lloh9:
	ldr	x23, [x23, _P_HIKEY@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x27
	bl	_PageGetItemId
	mov	x28, x0
	bl	_ItemIdGetLength
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
	mov	x0, x27
	mov	x1, x28
	bl	_PageGetItem
	bl	_CopyIndexTuple
	mov	x28, x0
	mov	x1, x20
	bl	_BTreeInnerTupleSetDownLink
	bl	_START_CRIT_SECTION
	ldr	x8, [x25]
Lloh10:
	adrp	x9, _BTREE_NOVAC_VERSION@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BTREE_NOVAC_VERSION@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	__bt_upgrademetapage
LBB0_2:
	mov	x0, x22
	bl	_PageGetSpecialPointer
	mov	x20, x0
Lloh13:
	adrp	x8, _P_NONE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _P_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	stp	w8, w8, [x0, #24]
Lloh16:
	adrp	x8, _BTP_ROOT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BTP_ROOT@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_PageGetSpecialPointer
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	stp	x8, xzr, [x20, #8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	stp	x9, x9, [x25, #32]
	stp	x8, x8, [x25, #16]
	mov	x0, x24
	mov	x1, x19
	bl	_BTreeTupleGetNAtts
	cmp	x0, #0
	cset	w0, eq
	bl	_Assert
	ldr	w3, [x23]
	mov	x0, x22
	mov	x1, x24
	mov	w2, #4
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
Lloh19:
	adrp	x21, _InvalidOffsetNumber@GOTPAGE
Lloh20:
	ldr	x21, [x21, _InvalidOffsetNumber@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh21:
	adrp	x27, _PANIC@GOTPAGE
Lloh22:
	ldr	x27, [x27, _PANIC@GOTPAGEOFF]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w20, [x27]
	mov	x0, x26
	bl	_BufferGetBlockNumber
	mov	x23, x0
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x3, x0
Lloh23:
	adrp	x1, l_.str@PAGE
Lloh24:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_elog
LBB0_4:
	mov	x0, x28
	mov	x1, x19
	bl	_BTreeTupleGetNAtts
	cmp	x0, #0
	cset	w0, gt
	bl	_Assert
	mov	x0, x28
	mov	x1, x19
	bl	_BTreeTupleGetNAtts
	mov	x20, x0
	mov	x0, x19
	bl	_IndexRelationGetNumberOfKeyAttributes
	cmp	x20, x0
	cset	w0, le
	bl	_Assert
Lloh25:
	adrp	x8, _P_FIRSTKEY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _P_FIRSTKEY@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x28
	ldr	w2, [sp, #4]                    ; 4-byte Folded Reload
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
	ldr	x8, [x21]
	cmp	x0, x8
	ldr	w21, [sp, #16]                  ; 4-byte Folded Reload
	b.ne	LBB0_6
; %bb.5:
	ldr	w20, [x27]
	mov	x0, x26
	bl	_BufferGetBlockNumber
	mov	x23, x0
	mov	x0, x19
	bl	_RelationGetRelationName
	mov	x3, x0
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_elog
LBB0_6:
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	mov	x0, x20
	bl	_P_INCOMPLETE_SPLIT
	bl	_Assert
Lloh30:
	adrp	x8, _BTP_INCOMPLETE_SPLIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BTP_INCOMPLETE_SPLIT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x26
	bl	_MarkBufferDirty
	ldr	w23, [sp, #20]                  ; 4-byte Folded Reload
	mov	x0, x23
	bl	_MarkBufferDirty
	mov	x0, x21
	bl	_MarkBufferDirty
	mov	x0, x19
	bl	_RelationNeedsWAL
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x8, [x25, #16]
	mov	x27, x24
	mov	x24, x28
	mov	x28, x26
	ldr	x26, [sp, #32]                  ; 8-byte Folded Reload
	stp	x8, x26, [sp, #96]
	bl	_XLogBeginInsert
Lloh33:
	adrp	x8, _SizeOfBtreeNewroot@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SizeOfBtreeNewroot@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	add	x0, sp, #96
	bl	_XLogRegisterData
Lloh36:
	adrp	x8, _REGBUF_WILL_INIT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REGBUF_WILL_INIT@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x1, x23
	bl	_XLogRegisterBuffer
Lloh39:
	adrp	x20, _REGBUF_STANDARD@GOTPAGE
Lloh40:
	ldr	x20, [x20, _REGBUF_STANDARD@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w0, #1
	mov	x1, x28
	mov	x28, x24
	mov	x24, x27
	bl	_XLogRegisterBuffer
Lloh41:
	adrp	x8, _REGBUF_WILL_INIT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _REGBUF_WILL_INIT@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w2, w9, w8
	mov	w0, #2
	mov	x1, x21
	bl	_XLogRegisterBuffer
	ldr	x8, [x25]
Lloh44:
	adrp	x9, _BTREE_NOVAC_VERSION@GOTPAGE
Lloh45:
	ldr	x9, [x9, _BTREE_NOVAC_VERSION@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
	bl	_Assert
	ldr	x8, [x25]
	str	x8, [sp, #48]
	str	x26, [sp, #88]
	ldr	x8, [x25, #16]
	stp	x26, x8, [sp, #72]
	str	x8, [sp, #64]
	ldr	d0, [x25, #8]
	str	d0, [sp, #56]
	add	x1, sp, #48
	mov	w0, #2
	mov	w2, #48
	bl	_XLogRegisterBufData
	ldp	w8, w9, [x22]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x1, x22, x8
	sub	w2, w9, w8
	mov	w0, #0
	bl	_XLogRegisterBufData
Lloh47:
	adrp	x8, _RM_BTREE_ID@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RM_BTREE_ID@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _XLOG_BTREE_NEWROOT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _XLOG_BTREE_NEWROOT@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x20, x0
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_PageSetLSN
	mov	x0, x22
	mov	x1, x20
	bl	_PageSetLSN
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_PageSetLSN
LBB0_8:
	bl	_END_CRIT_SECTION
	mov	x0, x19
	mov	x1, x21
	bl	__bt_relbuf
	mov	x0, x24
	bl	_pfree
	mov	x0, x28
	bl	_pfree
	mov	x0, x23
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_P_NEW,4,2                      ; @P_NEW
	.comm	_BT_WRITE,4,2                   ; @BT_WRITE
	.comm	_BTREE_METAPAGE,4,2             ; @BTREE_METAPAGE
	.comm	_P_HIKEY,4,2                    ; @P_HIKEY
	.comm	_BTREE_NOVAC_VERSION,8,3        ; @BTREE_NOVAC_VERSION
	.comm	_P_NONE,4,2                     ; @P_NONE
	.comm	_BTP_ROOT,4,2                   ; @BTP_ROOT
	.comm	_InvalidOffsetNumber,8,3        ; @InvalidOffsetNumber
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add leftkey to new root page while splitting block %u of index \"%s\""

	.comm	_P_FIRSTKEY,4,2                 ; @P_FIRSTKEY
l_.str.1:                               ; @.str.1
	.asciz	"failed to add rightkey to new root page while splitting block %u of index \"%s\""

	.comm	_BTP_INCOMPLETE_SPLIT,4,2       ; @BTP_INCOMPLETE_SPLIT
	.comm	_SizeOfBtreeNewroot,4,2         ; @SizeOfBtreeNewroot
	.comm	_REGBUF_WILL_INIT,4,2           ; @REGBUF_WILL_INIT
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_RM_BTREE_ID,4,2                ; @RM_BTREE_ID
	.comm	_XLOG_BTREE_NEWROOT,4,2         ; @XLOG_BTREE_NEWROOT
	.no_dead_strip	__bt_newroot
.subsections_via_symbols
