	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ginRedoSplit
_ginRedoSplit:                          ## @ginRedoSplit
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_XLogRecGetData
	movl	(%rax), %r14d
	movq	_GIN_INSERT_ISLEAF@GOTPCREL(%rip), %rax
	movq	_GIN_SPLIT_ROOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	testl	%r14d, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_ginRedoClearIncompleteSplit
LBB0_2:
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_XLogReadBufferForRedo
	movq	_BLK_RESTORED@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_4:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XLogReadBufferForRedo
	cmpq	(%r12), %rax
	je	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_6:
	testl	%r14d, %r15d
	je	LBB0_10
## %bb.7:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_XLogReadBufferForRedo
	cmpq	(%r12), %rax
	je	LBB0_9
## %bb.8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_elog
LBB0_9:
	movl	-36(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_10:
	movl	-40(%rbp), %edi
	callq	_UnlockReleaseBuffer
	movl	-44(%rbp), %edi
	callq	_UnlockReleaseBuffer
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIN_INSERT_ISLEAF,4,2          ## @GIN_INSERT_ISLEAF
	.comm	_GIN_SPLIT_ROOT,4,2             ## @GIN_SPLIT_ROOT
	.comm	_BLK_RESTORED,8,3               ## @BLK_RESTORED
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GIN split record did not contain a full-page image of left page"

L_.str.1:                               ## @.str.1
	.asciz	"GIN split record did not contain a full-page image of right page"

L_.str.2:                               ## @.str.2
	.asciz	"GIN split record did not contain a full-page image of root page"

	.no_dead_strip	_ginRedoSplit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ginRedoSplit
_ginRedoSplit:                          ; @ginRedoSplit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
	bl	_XLogRecGetData
Lloh0:
	adrp	x8, _GIN_INSERT_ISLEAF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GIN_INSERT_ISLEAF@GOTPAGEOFF]
	ldr	w21, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _GIN_SPLIT_ROOT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GIN_SPLIT_ROOT@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x9]
	tst	w8, w21
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #3
	bl	_ginRedoClearIncompleteSplit
LBB0_2:
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #0
	bl	_XLogReadBufferForRedo
Lloh6:
	adrp	x20, _BLK_RESTORED@GOTPAGE
Lloh7:
	ldr	x20, [x20, _BLK_RESTORED@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_4:
	and	w21, w22, w21
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #1
	bl	_XLogReadBufferForRedo
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_6:
	cbz	w21, LBB0_10
; %bb.7:
	add	x2, sp, #4
	mov	x0, x19
	mov	w1, #2
	bl	_XLogReadBufferForRedo
	ldr	x8, [x20]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.8:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_elog
LBB0_9:
	ldr	w0, [sp, #4]
	bl	_UnlockReleaseBuffer
LBB0_10:
	ldr	w0, [sp, #8]
	bl	_UnlockReleaseBuffer
	ldr	w0, [sp, #12]
	bl	_UnlockReleaseBuffer
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_GIN_INSERT_ISLEAF,4,2          ; @GIN_INSERT_ISLEAF
	.comm	_GIN_SPLIT_ROOT,4,2             ; @GIN_SPLIT_ROOT
	.comm	_BLK_RESTORED,8,3               ; @BLK_RESTORED
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GIN split record did not contain a full-page image of left page"

l_.str.1:                               ; @.str.1
	.asciz	"GIN split record did not contain a full-page image of right page"

l_.str.2:                               ; @.str.2
	.asciz	"GIN split record did not contain a full-page image of root page"

	.no_dead_strip	_ginRedoSplit
.subsections_via_symbols
