	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ginRedoInsertListPage
_ginRedoInsertListPage:                 ## @ginRedoInsertListPage
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_XLogInitBufferForRedo
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_BufferGetPage
	movl	%eax, %r12d
	movq	_GIN_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	callq	_GinInitBuffer
	movq	(%rbx), %r15
	movl	%r12d, %edi
	callq	_GinPageGetOpaque
	movq	%r15, (%rax)
	movq	(%rbx), %rax
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	%r12d, %edi
	callq	_GinPageSetFullRow
	movl	$1, %r14d
LBB0_2:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	callq	_GinPageGetOpaque
	movl	%r14d, 8(%rax)
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_XLogRecGetBlockData
	movq	%rax, %r13
	cmpl	$0, 8(%rbx)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r14d, %rax
	addq	%rax, %r13
	incq	%r12
	cmpl	8(%rbx), %r12d
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %r15
	movq	%r13, %rdi
	callq	_IndexTupleSize
	movl	%eax, %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_6
LBB0_7:
	movslq	-56(%rbp), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rax, %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %r13
	sete	%dil
	callq	_Assert
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_PageSetLSN
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_MarkBufferDirty
	movl	%ebx, %edi
	callq	_UnlockReleaseBuffer
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_GIN_LIST,4,2                   ## @GIN_LIST
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
	.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"

	.no_dead_strip	_ginRedoInsertListPage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ginRedoInsertListPage
_ginRedoInsertListPage:                 ; @ginRedoInsertListPage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x23, x0
	ldr	w8, [x0]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	bl	_XLogRecGetData
	mov	x21, x0
Lloh0:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh2:
	ldr	x28, [x8]
	mov	x0, x23
	mov	w1, #0
	bl	_XLogInitBufferForRedo
	mov	x19, x0
	bl	_BufferGetPage
	mov	x22, x0
Lloh3:
	adrp	x8, _GIN_LIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GIN_LIST@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	str	w19, [sp, #20]                  ; 4-byte Folded Spill
	mov	x0, x19
	bl	_GinInitBuffer
	ldr	x20, [x21]
	mov	x0, x22
	bl	_GinPageGetOpaque
	mov	w19, #0
	str	x20, [x0]
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _InvalidBlockNumber@GOTPAGE
Lloh7:
	ldr	x9, [x9, _InvalidBlockNumber@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_GinPageSetFullRow
	mov	w19, #1
LBB0_2:
	mov	x0, x22
	bl	_GinPageGetOpaque
	str	w19, [x0, #8]
	add	x2, sp, #28
	mov	x0, x23
	mov	w1, #0
	bl	_XLogRecGetBlockData
	mov	x24, x0
	ldr	w8, [x21, #8]
	cmp	w8, #1
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	b.lt	LBB0_7
; %bb.3:
	mov	x19, #0
Lloh9:
	adrp	x20, _InvalidOffsetNumber@GOTPAGE
Lloh10:
	ldr	x20, [x20, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh11:
	adrp	x23, _ERROR@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
Lloh13:
	adrp	x25, l_.str@PAGE
Lloh14:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, w26, sxtw
	ldr	w8, [x21, #8]
	add	x19, x19, #1
	cmp	w19, w8
	b.ge	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x27, x28, x19
	mov	x0, x24
	bl	_IndexTupleSize
	mov	x26, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x26
	mov	x3, x27
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x23]
	mov	x1, x25
	bl	_elog
	b	LBB0_4
LBB0_7:
	ldrsw	x8, [sp, #28]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	add	x8, x9, x8
	cmp	x24, x8
	cset	w0, eq
	bl	_Assert
	mov	x0, x22
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_PageSetLSN
	ldr	w19, [sp, #20]                  ; 4-byte Folded Reload
	mov	x0, x19
	bl	_MarkBufferDirty
	mov	x0, x19
	bl	_UnlockReleaseBuffer
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_GIN_LIST,4,2                   ; @GIN_LIST
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
	.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"

	.no_dead_strip	_ginRedoInsertListPage
.subsections_via_symbols
