	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginHeapTupleFastInsert         ## -- Begin function ginHeapTupleFastInsert
	.p2align	4, 0x90
_ginHeapTupleFastInsert:                ## @ginHeapTupleFastInsert
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rsi)
	je	LBB0_34
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	(%rdi), %r14
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_RelationNeedsWAL
	movl	%eax, %r15d
	movl	(%r14), %eax
	movl	%eax, -116(%rbp)
	movl	$0, -144(%rbp)
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
	movq	%rax, -136(%rbp)
	movq	_GIN_METAPAGE_BLKNO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_ReadBuffer
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_BufferGetPage
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_CheckForSerializableConflictIn
	movslq	(%r12), %rax
	shlq	$2, %rax
	addq	8(%r12), %rax
	movq	_GinListPageSize@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	ja	LBB0_5
## %bb.2:
	movq	_GIN_EXCLUSIVE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_LockBuffer
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_GinPageGetMeta
	movq	(%rax), %rcx
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_4
## %bb.3:
	movslq	(%r12), %rcx
	shlq	$2, %rcx
	addq	8(%r12), %rcx
	cmpq	8(%rax), %rcx
	jbe	LBB0_12
LBB0_4:
	movq	_GIN_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_LockBuffer
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_5:
	leaq	-192(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	16(%r12), %rsi
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_makeSublist
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_XLogBeginInsert
LBB0_7:
	movq	_GIN_EXCLUSIVE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %r12
	movq	%r13, %rdi
	callq	_LockBuffer
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_GinPageGetMeta
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	-176(%rbp), %rax
	movq	%rax, 16(%rbx)
	movaps	-192(%rbp), %xmm0
	movups	%xmm0, (%rbx)
	movl	-168(%rbp), %eax
	movl	%eax, 24(%rbx)
	movq	-160(%rbp), %rax
	movq	%rax, 32(%rbx)
	movq	_InvalidBuffer@GOTPCREL(%rip), %r15
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_9:
	movq	16(%rbx), %rsi
	movq	%rsi, -128(%rbp)
	movq	-192(%rbp), %rax
	movq	%rax, -136(%rbp)
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_ReadBuffer
	movq	%rax, %r13
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_LockBuffer
	movq	%r13, %rdi
	callq	_BufferGetPage
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_GinPageGetOpaque
	movq	(%rax), %rax
	xorl	%edi, %edi
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	-192(%rbp), %r15
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_GinPageGetOpaque
	movq	%r15, (%rax)
	movq	%r13, %rdi
	callq	_MarkBufferDirty
	movups	-184(%rbp), %xmm0
	movups	%xmm0, 8(%rbx)
	movl	-168(%rbp), %eax
	addl	%eax, 24(%rbx)
	movq	-160(%rbp), %rax
	addq	%rax, 32(%rbx)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	movq	%r13, %rsi
	callq	_XLogRegisterBuffer
LBB0_11:
	movq	_InvalidBuffer@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_12:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rax), %rsi
	movq	%r14, %rdi
	callq	_ReadBuffer
	movq	%rax, %r15
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_LockBuffer
	movq	%r15, %rdi
	callq	_BufferGetPage
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_PageIsEmpty
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_15
LBB0_14:
	movq	%r13, %rdi
	callq	_PageGetMaxOffsetNumber
	movl	%eax, %edi
	callq	_OffsetNumberNext
LBB0_15:
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	8(%r12), %rdi
	callq	_palloc
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %eax
	movl	%eax, -144(%rbp)
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.16:
	xorl	%eax, %eax
	callq	_XLogBeginInsert
LBB0_17:
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_START_CRIT_SECTION
	movq	%r13, %rdi
	callq	_GinPageGetOpaque
	movq	8(%rax), %rax
	xorl	%edi, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpq	32(%rbx), %rax
	setle	%dil
	callq	_Assert
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_GinPageGetOpaque
	incq	8(%rax)
	incq	32(%rbx)
	cmpl	$0, (%r12)
	jle	LBB0_18
## %bb.19:
	xorl	%r14d, %r14d
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r14,8), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rax
	addq	%rax, %r13
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_23
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r14), %r15
	movq	16(%r12), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_IndexTupleSize
	movl	%eax, %ebx
	movq	16(%r12), %rax
	movl	(%rax,%r14,8), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_RelationGetRelationName
	movl	%r15d, %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
	jmp	LBB0_22
LBB0_18:
	movq	-88(%rbp), %r13                 ## 8-byte Reload
LBB0_23:
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	subq	%rbx, %r13
	xorl	%edi, %edi
	cmpq	8(%r12), %r13
	setle	%dil
	callq	_Assert
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_25
## %bb.24:
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	movq	%r13, %rsi
	callq	_XLogRegisterBuffer
	movl	8(%r12), %edx
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_XLogRegisterBufData
LBB0_25:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_PageGetExactFreeSpace
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	callq	_MarkBufferDirty
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	_InvalidBuffer@GOTPCREL(%rip), %r15
LBB0_26:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_27:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	subl	%ebx, %eax
	addl	$40, %eax
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_MarkBufferDirty
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.28:
	leaq	-120(%rbp), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	$40, %edx
	callq	_memcpy
	movq	_REGBUF_WILL_INIT@GOTPCREL(%rip), %rax
	movq	_REGBUF_STANDARD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_XLogRegisterBuffer
	leaq	-144(%rbp), %rdi
	movl	$32, %esi
	callq	_XLogRegisterData
	movq	_RM_GIN_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_XLOG_GIN_UPDATE_META_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XLogInsert
	movq	%rbx, %rdi
	movl	%eax, %ebx
	movl	%eax, %esi
	callq	_PageSetLSN
	cmpq	(%r15), %r13
	je	LBB0_30
## %bb.29:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_PageSetLSN
LBB0_30:
	cmpq	(%r15), %r13
	je	LBB0_32
## %bb.31:
	movq	%r13, %rdi
	callq	_UnlockReleaseBuffer
LBB0_32:
	movq	%r14, %rdi
	callq	_GinGetPendingListCleanupSize
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	24(%rcx), %rcx
	movq	_GIN_PAGE_FREESIZE@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %r14
	imulq	%rcx, %r14
	movslq	%eax, %rbx
	shlq	$10, %rbx
	movq	%r12, %rdi
	callq	_UnlockReleaseBuffer
	xorl	%eax, %eax
	callq	_END_CRIT_SECTION
	cmpq	%r14, %rbx
	movq	-200(%rbp), %rdi                ## 8-byte Reload
	jge	LBB0_34
## %bb.33:
	xorl	%esi, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_ginInsertCleanup
LBB0_34:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.comm	_GIN_METAPAGE_BLKNO,8,3         ## @GIN_METAPAGE_BLKNO
	.comm	_GinListPageSize,8,3            ## @GinListPageSize
	.comm	_GIN_EXCLUSIVE,4,2              ## @GIN_EXCLUSIVE
	.comm	_GIN_UNLOCK,4,2                 ## @GIN_UNLOCK
	.comm	_REGBUF_STANDARD,4,2            ## @REGBUF_STANDARD
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_InvalidOffsetNumber,8,3        ## @InvalidOffsetNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add item to index page in \"%s\""

	.comm	_REGBUF_WILL_INIT,4,2           ## @REGBUF_WILL_INIT
	.comm	_RM_GIN_ID,4,2                  ## @RM_GIN_ID
	.comm	_XLOG_GIN_UPDATE_META_PAGE,4,2  ## @XLOG_GIN_UPDATE_META_PAGE
	.comm	_GIN_PAGE_FREESIZE,4,2          ## @GIN_PAGE_FREESIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ginHeapTupleFastInsert         ; -- Begin function ginHeapTupleFastInsert
	.p2align	2
_ginHeapTupleFastInsert:                ; @ginHeapTupleFastInsert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	ldr	w8, [x1]
	cbz	w8, LBB0_31
; %bb.1:
	mov	x27, x1
	mov	x21, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x22, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x22, [x22, _InvalidBuffer@GOTPAGEOFF]
	ldr	x28, [x22]
	mov	x0, x20
	bl	_RelationNeedsWAL
	mov	x26, x0
	ldr	w8, [x20]
	str	w8, [sp, #124]
	str	wzr, [sp, #96]
Lloh2:
	adrp	x19, _InvalidBlockNumber@GOTPAGE
Lloh3:
	ldr	x19, [x19, _InvalidBlockNumber@GOTPAGEOFF]
	ldr	x8, [x19]
	stp	x8, x8, [sp, #104]
Lloh4:
	adrp	x8, _GIN_METAPAGE_BLKNO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GIN_METAPAGE_BLKNO@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
	mov	x0, x20
	bl	_ReadBuffer
	mov	x24, x0
	bl	_BufferGetPage
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	x0, x20
	mov	x1, #0
	mov	x2, x24
	bl	_CheckForSerializableConflictIn
	ldr	x8, [x27, #8]
	ldrsw	x9, [x27]
	add	x8, x8, x9, lsl #2
Lloh7:
	adrp	x9, _GinListPageSize@GOTPAGE
Lloh8:
	ldr	x9, [x9, _GinListPageSize@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x23, _GIN_EXCLUSIVE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _GIN_EXCLUSIVE@GOTPAGEOFF]
	cmp	x8, x9
	str	w26, [sp, #36]                  ; 4-byte Folded Spill
	b.hi	LBB0_5
; %bb.2:
	ldr	w1, [x23]
	mov	x0, x24
	bl	_LockBuffer
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_GinPageGetMeta
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	x25, x0
	ldr	x8, [x27, #8]
	ldrsw	x9, [x27]
	add	x8, x8, x9, lsl #2
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.ls	LBB0_11
LBB0_4:
Lloh12:
	adrp	x8, _GIN_UNLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GIN_UNLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_LockBuffer
LBB0_5:
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	x1, [x27, #16]
	ldr	w2, [x27]
	add	x3, sp, #48
	mov	x0, x20
	bl	_makeSublist
	cbz	w26, LBB0_7
; %bb.6:
	bl	_XLogBeginInsert
LBB0_7:
	ldr	w1, [x23]
	mov	x0, x24
	bl	_LockBuffer
	ldr	x27, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x27
	bl	_GinPageGetMeta
	mov	x25, x0
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	bl	_START_CRIT_SECTION
	mov	x26, #0
	ldr	x8, [sp, #64]
	str	x8, [x25, #16]
	ldr	q0, [sp, #48]
	str	q0, [x25]
	ldr	w8, [sp, #72]
	str	w8, [x25, #24]
	ldr	x8, [sp, #80]
	str	x8, [x25, #32]
	b	LBB0_24
LBB0_9:
	ldr	x1, [x25, #16]
	ldr	x8, [sp, #48]
	stp	x8, x1, [sp, #104]
	mov	x0, x20
	bl	_ReadBuffer
	mov	x28, x0
	ldr	w1, [x23]
	bl	_LockBuffer
	mov	x0, x28
	bl	_BufferGetPage
	mov	x23, x26
	mov	x26, x0
	bl	_GinPageGetOpaque
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	bl	_START_CRIT_SECTION
	ldr	x19, [sp, #48]
	mov	x0, x26
	bl	_GinPageGetOpaque
	str	x19, [x0]
	mov	x0, x28
	bl	_MarkBufferDirty
	ldur	q0, [sp, #56]
	stur	q0, [x25, #8]
	ldr	w8, [sp, #72]
	ldr	w9, [x25, #24]
	add	w8, w9, w8
	str	w8, [x25, #24]
	ldr	x8, [sp, #80]
	ldr	x9, [x25, #32]
	add	x8, x9, x8
	str	x8, [x25, #32]
	cbz	w23, LBB0_24
; %bb.10:
Lloh15:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w0, #1
	mov	x1, x28
	bl	_XLogRegisterBuffer
	b	LBB0_24
LBB0_11:
	ldr	x1, [x25, #16]
	mov	x0, x20
	bl	_ReadBuffer
	mov	x19, x0
	ldr	w1, [x23]
	bl	_LockBuffer
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	mov	x0, x19
	bl	_BufferGetPage
	mov	x26, x0
	bl	_PageIsEmpty
	cbz	x0, LBB0_13
; %bb.12:
Lloh18:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh20:
	ldr	x28, [x8]
	b	LBB0_14
LBB0_13:
	mov	x0, x26
	bl	_PageGetMaxOffsetNumber
	bl	_OffsetNumberNext
	mov	x28, x0
LBB0_14:
	ldr	x0, [x27, #8]
	bl	_palloc
	mov	x19, x0
	ldr	w8, [x27]
	str	w8, [sp, #96]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_16
; %bb.15:
	bl	_XLogBeginInsert
LBB0_16:
	stp	x24, x21, [sp, #16]             ; 16-byte Folded Spill
	bl	_START_CRIT_SECTION
	mov	x0, x26
	bl	_GinPageGetOpaque
	ldr	x8, [x0, #8]
	ldr	x9, [x25, #32]
	cmp	x8, x9
	cset	w0, le
	bl	_Assert
	mov	x0, x26
	bl	_GinPageGetOpaque
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	str	x8, [x0, #8]
	ldr	x8, [x25, #32]
	add	x8, x8, #1
	str	x8, [x25, #32]
	ldr	w8, [x27]
	cmp	w8, #1
	str	x19, [sp]                       ; 8-byte Folded Spill
	b.lt	LBB0_21
; %bb.17:
	mov	x22, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x27, #16]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x19
	mov	x2, x24
	bl	_memcpy
	add	x19, x19, w24, sxtw
	add	x22, x22, #1
	ldrsw	x8, [x27]
	cmp	x22, x8
	b.ge	LBB0_21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	x23, x28, x22
	ldr	x8, [x27, #16]
	lsl	x21, x22, #3
	ldr	x0, [x8, x21]
	bl	_IndexTupleSize
	mov	x24, x0
	ldr	x8, [x27, #16]
	ldr	w1, [x8, x21]
	mov	x0, x26
	mov	x2, x24
	mov	x3, x23
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
Lloh21:
	adrp	x8, _InvalidOffsetNumber@GOTPAGE
Lloh22:
	ldr	x8, [x8, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w23, [x8]
	mov	x0, x20
	bl	_RelationGetRelationName
	mov	x2, x0
	mov	x0, x23
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	b	LBB0_18
LBB0_21:
	ldr	x8, [x27, #8]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	sub	x9, x19, x10
	mov	x19, x10
	cmp	x9, x8
	cset	w0, le
	bl	_Assert
	ldr	x28, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_23
; %bb.22:
Lloh29:
	adrp	x8, _REGBUF_STANDARD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	w0, #1
	mov	x1, x28
	bl	_XLogRegisterBuffer
	ldr	w2, [x27, #8]
	mov	w0, #1
	mov	x1, x19
	bl	_XLogRegisterBufData
LBB0_23:
	mov	x0, x26
	bl	_PageGetExactFreeSpace
	str	x0, [x25, #8]
	mov	x0, x28
	bl	_MarkBufferDirty
	ldp	x24, x21, [sp, #16]             ; 16-byte Folded Reload
Lloh32:
	adrp	x22, _InvalidBuffer@GOTPAGE
Lloh33:
	ldr	x22, [x22, _InvalidBuffer@GOTPAGEOFF]
	ldr	x27, [sp, #40]                  ; 8-byte Folded Reload
LBB0_24:
	sub	w8, w25, w27
	add	w8, w8, #40
	str	w8, [x27]
	mov	x0, x24
	bl	_MarkBufferDirty
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_27
; %bb.25:
	add	x8, sp, #96
	add	x0, x8, #24
	mov	x1, x25
	mov	w2, #40
	bl	_memcpy
Lloh34:
	adrp	x8, _REGBUF_WILL_INIT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _REGBUF_WILL_INIT@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _REGBUF_STANDARD@GOTPAGE
Lloh38:
	ldr	x9, [x9, _REGBUF_STANDARD@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #0
	mov	x1, x24
	bl	_XLogRegisterBuffer
	add	x0, sp, #96
	mov	w1, #32
	bl	_XLogRegisterData
Lloh40:
	adrp	x8, _RM_GIN_ID@GOTPAGE
Lloh41:
	ldr	x8, [x8, _RM_GIN_ID@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x8, _XLOG_GIN_UPDATE_META_PAGE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _XLOG_GIN_UPDATE_META_PAGE@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_XLogInsert
	mov	x19, x0
	mov	x0, x27
	mov	x1, x19
	bl	_PageSetLSN
	ldr	x8, [x22]
	cmp	x28, x8
	b.eq	LBB0_27
; %bb.26:
	mov	x0, x26
	mov	x1, x19
	bl	_PageSetLSN
LBB0_27:
	ldr	x8, [x22]
	cmp	x28, x8
	b.eq	LBB0_29
; %bb.28:
	mov	x0, x28
	bl	_UnlockReleaseBuffer
LBB0_29:
	mov	x0, x20
	bl	_GinGetPendingListCleanupSize
                                        ; kill: def $w0 killed $w0 def $x0
	ldrsw	x8, [x25, #24]
Lloh46:
	adrp	x9, _GIN_PAGE_FREESIZE@GOTPAGE
Lloh47:
	ldr	x9, [x9, _GIN_PAGE_FREESIZE@GOTPAGEOFF]
Lloh48:
	ldrsw	x9, [x9]
	mul	x19, x9, x8
	sxtw	x20, w0
	mov	x0, x24
	bl	_UnlockReleaseBuffer
	bl	_END_CRIT_SECTION
	cmp	x19, x20, lsl #10
	b.le	LBB0_31
; %bb.30:
	mov	x0, x21
	mov	w1, #0
	mov	w2, #1
	mov	w3, #0
	mov	x4, #0
	bl	_ginInsertCleanup
LBB0_31:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.comm	_GIN_METAPAGE_BLKNO,8,3         ; @GIN_METAPAGE_BLKNO
	.comm	_GinListPageSize,8,3            ; @GinListPageSize
	.comm	_GIN_EXCLUSIVE,4,2              ; @GIN_EXCLUSIVE
	.comm	_GIN_UNLOCK,4,2                 ; @GIN_UNLOCK
	.comm	_REGBUF_STANDARD,4,2            ; @REGBUF_STANDARD
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_InvalidOffsetNumber,8,3        ; @InvalidOffsetNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add item to index page in \"%s\""

	.comm	_REGBUF_WILL_INIT,4,2           ; @REGBUF_WILL_INIT
	.comm	_RM_GIN_ID,4,2                  ; @RM_GIN_ID
	.comm	_XLOG_GIN_UPDATE_META_PAGE,4,2  ; @XLOG_GIN_UPDATE_META_PAGE
	.comm	_GIN_PAGE_FREESIZE,4,2          ; @GIN_PAGE_FREESIZE
.subsections_via_symbols
