	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seq_redo                       ## -- Begin function seq_redo
	.p2align	4, 0x90
_seq_redo:                              ## @seq_redo
	.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, %r15
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_XLogRecGetInfo
	movq	_XLR_INFO_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	notq	%rbx
	andq	%rax, %rbx
	movq	%r15, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r14
	movq	_XLOG_SEQ_LOG@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_2
## %bb.1:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_elog
LBB0_2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_XLogInitBufferForRedo
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_BufferGetPage
	movq	%rax, %r13
	movl	%r12d, %edi
	callq	_BufferGetPageSize
	movl	%eax, %edi
	callq	_palloc
	movq	%rax, %rbx
	movl	%r12d, %edi
	callq	_BufferGetPageSize
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_PageInit
	movq	%rbx, %rdi
	callq	_PageGetSpecialPointer
	movq	_SEQ_MAGIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	addl	$4, %r14d
	movq	%r15, %rdi
	callq	_XLogRecGetDataLen
	leaq	-4(%rax), %rdx
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_PageAddItem
	movq	_InvalidOffsetNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
LBB0_4:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_PageSetLSN
	movl	%r12d, %edi
	callq	_BufferGetPageSize
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movl	%r12d, %edi
	callq	_MarkBufferDirty
	movl	%r12d, %edi
	callq	_UnlockReleaseBuffer
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XLR_INFO_MASK,8,3              ## @XLR_INFO_MASK
	.comm	_XLOG_SEQ_LOG,8,3               ## @XLOG_SEQ_LOG
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"seq_redo: unknown op code %u"

	.comm	_SEQ_MAGIC,4,2                  ## @SEQ_MAGIC
	.comm	_FirstOffsetNumber,4,2          ## @FirstOffsetNumber
	.comm	_InvalidOffsetNumber,8,3        ## @InvalidOffsetNumber
L_.str.1:                               ## @.str.1
	.asciz	"seq_redo: failed to add item to page"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_seq_redo                       ; -- Begin function seq_redo
	.p2align	2
_seq_redo:                              ; @seq_redo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x0
	ldr	w19, [x0]
	bl	_XLogRecGetInfo
Lloh0:
	adrp	x8, _XLR_INFO_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLR_INFO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	bic	x20, x0, x8
	mov	x0, x21
	bl	_XLogRecGetData
	mov	x24, x0
Lloh3:
	adrp	x8, _XLOG_SEQ_LOG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLOG_SEQ_LOG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x25, _PANIC@GOTPAGE
Lloh7:
	ldr	x25, [x25, _PANIC@GOTPAGEOFF]
	cmp	x20, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x25]
	str	x20, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	mov	x0, x21
	mov	w1, #0
	bl	_XLogInitBufferForRedo
	mov	x20, x0
	bl	_BufferGetPage
	mov	x23, x0
	mov	x0, x20
	bl	_BufferGetPageSize
	bl	_palloc
	mov	x22, x0
	mov	x0, x20
	bl	_BufferGetPageSize
	mov	x1, x0
	mov	x0, x22
	mov	w2, #4
	bl	_PageInit
	mov	x0, x22
	bl	_PageGetSpecialPointer
Lloh10:
	adrp	x8, _SEQ_MAGIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SEQ_MAGIC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x0]
	add	w24, w24, #4
	mov	x0, x21
	bl	_XLogRecGetDataLen
	sub	x2, x0, #4
Lloh13:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x24
	mov	w4, #0
	mov	w5, #0
	bl	_PageAddItem
Lloh16:
	adrp	x8, _InvalidOffsetNumber@GOTPAGE
Lloh17:
	ldr	x8, [x8, _InvalidOffsetNumber@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x25]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_4:
	mov	x0, x22
	mov	x1, x19
	bl	_PageSetLSN
	mov	x0, x20
	bl	_BufferGetPageSize
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_memcpy
	mov	x0, x20
	bl	_MarkBufferDirty
	mov	x0, x20
	bl	_UnlockReleaseBuffer
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_pfree
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_XLR_INFO_MASK,8,3              ; @XLR_INFO_MASK
	.comm	_XLOG_SEQ_LOG,8,3               ; @XLOG_SEQ_LOG
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"seq_redo: unknown op code %u"

	.comm	_SEQ_MAGIC,4,2                  ; @SEQ_MAGIC
	.comm	_FirstOffsetNumber,4,2          ; @FirstOffsetNumber
	.comm	_InvalidOffsetNumber,8,3        ; @InvalidOffsetNumber
l_.str.1:                               ; @.str.1
	.asciz	"seq_redo: failed to add item to page"

.subsections_via_symbols
