	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_xlog_delete
_hash_xlog_delete:                      ## @hash_xlog_delete
	.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
	movl	(%rdi), %r14d
	callq	_XLogRecGetData
	movq	%rax, %r15
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	cmpq	$0, 8(%r15)
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	je	LBB0_2
## %bb.1:
	leaq	-36(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_XLogReadBufferForRedoExtended
	jmp	LBB0_3
LBB0_2:
	leaq	-40(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_XLogReadBufferForRedoExtended
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XLogReadBufferForRedo
LBB0_3:
	movq	_BLK_NEEDS_REDO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.4:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XLogRecGetBlockData
	movq	%rax, %r12
	movl	-36(%rbp), %edi
	callq	_BufferGetPage
	movq	%rax, %rbx
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	jle	LBB0_6
## %bb.5:
	shrq	$2, %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_PageIndexMultiDelete
LBB0_6:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_PageGetSpecialPointer
	movq	_LH_PAGE_HAS_DEAD_TUPLES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, (%rax)
LBB0_8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_PageSetLSN
	movl	-36(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_9:
	movl	-36(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	-36(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_11:
	movl	-40(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	-40(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
	.comm	_BLK_NEEDS_REDO,8,3             ## @BLK_NEEDS_REDO
	.comm	_LH_PAGE_HAS_DEAD_TUPLES,4,2    ## @LH_PAGE_HAS_DEAD_TUPLES
	.no_dead_strip	_hash_xlog_delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_xlog_delete
_hash_xlog_delete:                      ; @hash_xlog_delete
	.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	x21, x0
	ldr	w19, [x0]
	bl	_XLogRecGetData
	mov	x20, x0
Lloh0:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _RBM_NORMAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RBM_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	cbz	x8, LBB0_2
; %bb.1:
	add	x4, sp, #8
	mov	x0, x21
	mov	w1, #1
	mov	w3, #1
	bl	_XLogReadBufferForRedoExtended
	b	LBB0_3
LBB0_2:
	add	x4, sp, #12
	mov	x0, x21
	mov	w1, #0
	mov	w3, #1
	bl	_XLogReadBufferForRedoExtended
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #1
	bl	_XLogReadBufferForRedo
LBB0_3:
Lloh6:
	adrp	x8, _BLK_NEEDS_REDO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BLK_NEEDS_REDO@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.4:
	mov	x2, sp
	mov	x0, x21
	mov	w1, #1
	bl	_XLogRecGetBlockData
	mov	x22, x0
	ldr	w0, [sp, #8]
	bl	_BufferGetPage
	mov	x21, x0
	ldr	x8, [sp]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.5:
	lsr	x2, x8, #2
	mov	x0, x21
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_PageIndexMultiDelete
LBB0_6:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_PageGetSpecialPointer
Lloh9:
	adrp	x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LH_PAGE_HAS_DEAD_TUPLES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	bl	_PageSetLSN
	ldr	w0, [sp, #8]
	bl	_MarkBufferDirty
LBB0_9:
	ldr	w0, [sp, #8]
	bl	_BufferIsValid
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [sp, #8]
	bl	_UnlockReleaseBuffer
LBB0_11:
	ldr	w0, [sp, #12]
	bl	_BufferIsValid
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w0, [sp, #12]
	bl	_UnlockReleaseBuffer
LBB0_13:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.comm	_RBM_NORMAL,4,2                 ; @RBM_NORMAL
	.comm	_BLK_NEEDS_REDO,8,3             ; @BLK_NEEDS_REDO
	.comm	_LH_PAGE_HAS_DEAD_TUPLES,4,2    ; @LH_PAGE_HAS_DEAD_TUPLES
	.no_dead_strip	_hash_xlog_delete
.subsections_via_symbols
