	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_xlog_split_complete
_hash_xlog_split_complete:              ## @hash_xlog_split_complete
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	callq	_XLogRecGetData
	movq	%rax, %r15
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_XLogReadBufferForRedo
	movq	_BLK_NEEDS_REDO@GOTPCREL(%rip), %r13
	movq	_BLK_RESTORED@GOTPCREL(%rip), %r12
	cmpq	(%r13), %rax
	je	LBB0_2
## %bb.1:
	cmpq	(%r12), %rax
	jne	LBB0_3
LBB0_2:
	movl	-48(%rbp), %edi
	callq	_BufferGetPage
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movl	4(%r15), %ecx
	movl	%ecx, (%rax)
	movl	%r12d, %edi
	movq	_BLK_RESTORED@GOTPCREL(%rip), %r12
	movl	%r14d, %esi
	callq	_PageSetLSN
	movl	-48(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_3:
	movl	-48(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-48(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_5:
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XLogReadBufferForRedo
	cmpq	(%r13), %rax
	je	LBB0_7
## %bb.6:
	cmpq	(%r12), %rax
	jne	LBB0_8
LBB0_7:
	movl	-44(%rbp), %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movl	(%r15), %ecx
	movl	%ecx, (%rax)
	movl	%ebx, %edi
	movl	%r14d, %esi
	callq	_PageSetLSN
	movl	-44(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_8:
	movl	-44(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	-44(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_NEEDS_REDO,8,3             ## @BLK_NEEDS_REDO
	.comm	_BLK_RESTORED,8,3               ## @BLK_RESTORED
	.no_dead_strip	_hash_xlog_split_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_xlog_split_complete
_hash_xlog_split_complete:              ; @hash_xlog_split_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	ldr	w19, [x0]
	bl	_XLogRecGetData
	mov	x20, x0
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #0
	bl	_XLogReadBufferForRedo
Lloh0:
	adrp	x23, _BLK_NEEDS_REDO@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BLK_NEEDS_REDO@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x24, _BLK_RESTORED@GOTPAGE
Lloh3:
	ldr	x24, [x24, _BLK_RESTORED@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_BufferGetPage
	mov	x22, x0
	bl	_PageGetSpecialPointer
	ldr	w8, [x20, #4]
	str	w8, [x0]
	mov	x0, x22
	mov	x1, x19
	bl	_PageSetLSN
	ldr	w0, [sp, #12]
	bl	_MarkBufferDirty
LBB0_2:
	ldr	w0, [sp, #12]
	bl	_BufferIsValid
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_UnlockReleaseBuffer
LBB0_4:
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #1
	bl	_XLogReadBufferForRedo
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [sp, #8]
	bl	_BufferGetPage
	mov	x21, x0
	bl	_PageGetSpecialPointer
	ldr	w8, [x20]
	str	w8, [x0]
	mov	x0, x21
	mov	x1, x19
	bl	_PageSetLSN
	ldr	w0, [sp, #8]
	bl	_MarkBufferDirty
LBB0_6:
	ldr	w0, [sp, #8]
	bl	_BufferIsValid
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [sp, #8]
	bl	_UnlockReleaseBuffer
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_NEEDS_REDO,8,3             ; @BLK_NEEDS_REDO
	.comm	_BLK_RESTORED,8,3               ; @BLK_RESTORED
	.no_dead_strip	_hash_xlog_split_complete
.subsections_via_symbols
