	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_xlog_split_cleanup
_hash_xlog_split_cleanup:               ## @hash_xlog_split_cleanup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %r14d
	leaq	-20(%rbp), %rdx
	xorl	%esi, %esi
	callq	_XLogReadBufferForRedo
	movq	_BLK_NEEDS_REDO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	-20(%rbp), %edi
	callq	_BufferGetPage
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PageGetSpecialPointer
	movq	_LH_BUCKET_NEEDS_SPLIT_CLEANUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_PageSetLSN
	movl	-20(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_2:
	movl	-20(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-20(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLK_NEEDS_REDO,8,3             ## @BLK_NEEDS_REDO
	.comm	_LH_BUCKET_NEEDS_SPLIT_CLEANUP,4,2 ## @LH_BUCKET_NEEDS_SPLIT_CLEANUP
	.no_dead_strip	_hash_xlog_split_cleanup
.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_cleanup
_hash_xlog_split_cleanup:               ; @hash_xlog_split_cleanup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w19, [x0]
	add	x2, sp, #12
	mov	w1, #0
	bl	_XLogReadBufferForRedo
Lloh0:
	adrp	x8, _BLK_NEEDS_REDO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLK_NEEDS_REDO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [sp, #12]
	bl	_BufferGetPage
	mov	x20, x0
	bl	_PageGetSpecialPointer
Lloh3:
	adrp	x8, _LH_BUCKET_NEEDS_SPLIT_CLEANUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LH_BUCKET_NEEDS_SPLIT_CLEANUP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	mov	x0, x20
	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:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BLK_NEEDS_REDO,8,3             ; @BLK_NEEDS_REDO
	.comm	_LH_BUCKET_NEEDS_SPLIT_CLEANUP,4,2 ; @LH_BUCKET_NEEDS_SPLIT_CLEANUP
	.no_dead_strip	_hash_xlog_split_cleanup
.subsections_via_symbols
