	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_xlog_move_page_contents
_hash_xlog_move_page_contents:          ## @hash_xlog_move_page_contents
	.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	$56, %rsp
	.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), %r15d
	callq	_XLogRecGetData
	movq	%rax, %r14
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%eax, -44(%rbp)
	movl	%eax, -48(%rbp)
	cmpq	$0, 8(%r14)
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	je	LBB0_2
## %bb.1:
	leaq	-44(%rbp), %r8
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %ecx
	callq	_XLogReadBufferForRedoExtended
	jmp	LBB0_3
LBB0_2:
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_XLogReadBufferForRedoExtended
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XLogReadBufferForRedo
LBB0_3:
	movq	_BLK_NEEDS_REDO@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_15
## %bb.4:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_XLogRecGetBlockData
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %edi
	callq	_BufferGetPage
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	leaq	(,%rax,8), %r13
	movslq	-52(%rbp), %rcx
	cmpq	%rcx, %r13
	jge	LBB0_7
## %bb.8:
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	addq	-72(%rbp), %r13                 ## 8-byte Folded Reload
	xorl	%r12d, %r12d
	movq	%r13, %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	movq	%r15, %rax
	subq	%rbx, %rax
	movslq	-52(%rbp), %rcx
	movq	%r15, %r13
	cmpq	%rcx, %rax
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rbx
	movq	%r13, %rdi
	callq	_IndexTupleSize
	movl	%eax, %edi
	callq	_MAXALIGN
	movl	%eax, %r14d
	movslq	%eax, %r15
	addq	%rbx, %r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r12,8), %rcx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_elog
	jmp	LBB0_11
LBB0_5:
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_12:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_13:
	movq	_BLK_NEEDS_REDO@GOTPCREL(%rip), %r13
LBB0_14:
	cltq
	xorl	%edi, %edi
	cmpq	%rax, %r12
	sete	%dil
	callq	_Assert
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_PageSetLSN
	movl	-44(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_15:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_XLogReadBufferForRedo
	cmpq	(%r13), %rax
	jne	LBB0_19
## %bb.16:
	leaq	-52(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_XLogRecGetBlockData
	movq	%rax, %r14
	movl	-48(%rbp), %edi
	callq	_BufferGetPage
	movq	%rax, %rbx
	movl	-52(%rbp), %edx
	cmpl	$8, %edx
	jl	LBB0_18
## %bb.17:
	shrl	$3, %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PageIndexMultiDelete
LBB0_18:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_PageSetLSN
	movl	-48(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_19:
	movl	-48(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	-48(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_21:
	movl	-44(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	-44(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_23:
	movl	-56(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movl	-56(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_25:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_InvalidOffsetNumber,8,3        ## @InvalidOffsetNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hash_xlog_move_page_contents: failed to add item to hash index page, size %d bytes"

	.no_dead_strip	_hash_xlog_move_page_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_xlog_move_page_contents
_hash_xlog_move_page_contents:          ; @hash_xlog_move_page_contents
	.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	x20, x0
	ldr	w19, [x0]
	bl	_XLogRecGetData
	mov	x21, x0
Lloh0:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #24]
	str	w8, [sp, #20]
	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, #24
	mov	x0, x20
	mov	w1, #1
	mov	w3, #1
	bl	_XLogReadBufferForRedoExtended
	b	LBB0_3
LBB0_2:
	add	x4, sp, #28
	mov	x0, x20
	mov	w1, #0
	mov	w3, #1
	bl	_XLogReadBufferForRedoExtended
	add	x2, sp, #24
	mov	x0, x20
	mov	w1, #1
	bl	_XLogReadBufferForRedo
LBB0_3:
Lloh6:
	adrp	x24, _BLK_NEEDS_REDO@GOTPAGE
Lloh7:
	ldr	x24, [x24, _BLK_NEEDS_REDO@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.4:
	add	x2, sp, #16
	mov	x0, x20
	mov	w1, #1
	bl	_XLogRecGetBlockData
	mov	x23, x0
	ldr	w0, [sp, #24]
	bl	_BufferGetPage
	mov	x22, x0
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.5:
	lsl	x9, x8, #3
	ldrsw	x10, [sp, #16]
	cmp	x9, x10
	b.ge	LBB0_10
; %bb.6:
	str	w19, [sp, #12]                  ; 4-byte Folded Spill
	mov	x28, #0
	add	x24, x23, x9
Lloh8:
	adrp	x19, _InvalidOffsetNumber@GOTPAGE
Lloh9:
	ldr	x19, [x19, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh10:
	adrp	x27, _ERROR@GOTPAGE
Lloh11:
	ldr	x27, [x27, _ERROR@GOTPAGEOFF]
Lloh12:
	adrp	x25, l_.str@PAGE
Lloh13:
	add	x25, x25, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x24, x24, w26, sxtw
	add	x28, x28, #1
	ldrsw	x8, [sp, #16]
	sub	x9, x24, x23
	cmp	x9, x8
	b.ge	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_IndexTupleSize
	bl	_MAXALIGN
	mov	x26, x0
	ldr	x3, [x23, x28, lsl #3]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x26
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x27]
	mov	x1, x25
	mov	x2, x26
	bl	_elog
	b	LBB0_7
LBB0_10:
	mov	x28, #0
	b	LBB0_12
LBB0_11:
	ldr	w8, [x21]
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
Lloh14:
	adrp	x24, _BLK_NEEDS_REDO@GOTPAGE
Lloh15:
	ldr	x24, [x24, _BLK_NEEDS_REDO@GOTPAGEOFF]
LBB0_12:
	cmp	x28, w8, sxtw
	cset	w0, eq
	bl	_Assert
	mov	x0, x22
	mov	x1, x19
	bl	_PageSetLSN
	ldr	w0, [sp, #24]
	bl	_MarkBufferDirty
LBB0_13:
	add	x2, sp, #20
	mov	x0, x20
	mov	w1, #2
	bl	_XLogReadBufferForRedo
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.14:
	add	x2, sp, #16
	mov	x0, x20
	mov	w1, #2
	bl	_XLogRecGetBlockData
	mov	x20, x0
	ldr	w0, [sp, #20]
	bl	_BufferGetPage
	mov	x21, x0
	ldr	w8, [sp, #16]
	cmp	w8, #8
	b.lt	LBB0_16
; %bb.15:
	lsr	w2, w8, #3
	mov	x0, x21
	mov	x1, x20
	bl	_PageIndexMultiDelete
LBB0_16:
	mov	x0, x21
	mov	x1, x19
	bl	_PageSetLSN
	ldr	w0, [sp, #20]
	bl	_MarkBufferDirty
LBB0_17:
	ldr	w0, [sp, #20]
	bl	_BufferIsValid
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w0, [sp, #20]
	bl	_UnlockReleaseBuffer
LBB0_19:
	ldr	w0, [sp, #24]
	bl	_BufferIsValid
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w0, [sp, #24]
	bl	_UnlockReleaseBuffer
LBB0_21:
	ldr	w0, [sp, #28]
	bl	_BufferIsValid
	cbz	x0, LBB0_23
; %bb.22:
	ldr	w0, [sp, #28]
	bl	_UnlockReleaseBuffer
LBB0_23:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.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	_InvalidOffsetNumber,8,3        ; @InvalidOffsetNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hash_xlog_move_page_contents: failed to add item to hash index page, size %d bytes"

	.no_dead_strip	_hash_xlog_move_page_contents
.subsections_via_symbols
