	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xact_redo                      ## -- Begin function xact_redo
	.p2align	4, 0x90
_xact_redo:                             ## @xact_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, %r14
	callq	_XLogRecGetInfo
	movq	%rax, %rbx
	movq	_XLOG_XACT_OPMASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rbx
	movq	%r14, %rdi
	callq	_XLogRecHasAnyBlockRefs
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_XLOG_XACT_COMMIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_XLogRecGetInfo
	leaq	-48(%rbp), %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ParseCommitRecord
	movq	%r14, %rdi
	callq	_XLogRecGetXid
	movl	%eax, %ebx
	movl	(%r14), %r12d
	movq	%r14, %rdi
	callq	_XLogRecGetOrigin
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_xact_redo_commit
	jmp	LBB0_6
LBB0_2:
	movq	_XLOG_XACT_COMMIT_PREPARED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_XLogRecGetInfo
	leaq	-48(%rbp), %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ParseCommitRecord
	movl	-48(%rbp), %ebx
	movl	(%r14), %r12d
	movq	%r14, %rdi
	callq	_XLogRecGetOrigin
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_xact_redo_commit
LBB0_9:
	movq	_TwoPhaseStateLock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	callq	_PrepareRedoRemove
	movl	(%rbx), %edi
	callq	_LWLockRelease
	jmp	LBB0_6
LBB0_4:
	movq	_XLOG_XACT_ABORT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
## %bb.5:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_XLogRecGetInfo
	leaq	-48(%rbp), %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_ParseAbortRecord
	movq	%r14, %rdi
	callq	_XLogRecGetXid
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_xact_redo_abort
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_XLOG_XACT_ABORT_PREPARED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_XLogRecGetInfo
	leaq	-48(%rbp), %r14
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_ParseAbortRecord
	movl	-48(%rbp), %esi
	movq	%r14, %rdi
	callq	_xact_redo_abort
	jmp	LBB0_9
LBB0_10:
	movq	_XLOG_XACT_PREPARE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_11
## %bb.15:
	movq	_TwoPhaseStateLock@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	%rax, %r12
	movl	(%r14), %r15d
	movl	4(%r14), %ebx
	movq	%r14, %rdi
	callq	_XLogRecGetOrigin
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_PrepareRedoAdd
	movl	(%r13), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
LBB0_11:
	movq	_XLOG_XACT_ASSIGNMENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_14
## %bb.12:
	movq	%r14, %rdi
	callq	_XLogRecGetData
	movq	_standbyState@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_STANDBY_INITIALIZED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_6
## %bb.13:
	movl	8(%rax), %edi
	movl	(%rax), %edx
	movl	4(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ProcArrayApplyXidAssignment    ## TAILCALL
LBB0_14:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elog                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XLOG_XACT_OPMASK,8,3           ## @XLOG_XACT_OPMASK
	.comm	_XLOG_XACT_COMMIT,8,3           ## @XLOG_XACT_COMMIT
	.comm	_XLOG_XACT_COMMIT_PREPARED,8,3  ## @XLOG_XACT_COMMIT_PREPARED
	.comm	_TwoPhaseStateLock,4,2          ## @TwoPhaseStateLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_XLOG_XACT_ABORT,8,3            ## @XLOG_XACT_ABORT
	.comm	_XLOG_XACT_ABORT_PREPARED,8,3   ## @XLOG_XACT_ABORT_PREPARED
	.comm	_XLOG_XACT_PREPARE,8,3          ## @XLOG_XACT_PREPARE
	.comm	_XLOG_XACT_ASSIGNMENT,8,3       ## @XLOG_XACT_ASSIGNMENT
	.comm	_standbyState,8,3               ## @standbyState
	.comm	_STANDBY_INITIALIZED,8,3        ## @STANDBY_INITIALIZED
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xact_redo: unknown op code %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xact_redo                      ; -- Begin function xact_redo
	.p2align	2
_xact_redo:                             ; @xact_redo
	.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	x19, x0
	bl	_XLogRecGetInfo
Lloh0:
	adrp	x8, _XLOG_XACT_OPMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLOG_XACT_OPMASK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	and	x20, x8, x0
	mov	x0, x19
	bl	_XLogRecHasAnyBlockRefs
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _XLOG_XACT_COMMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XLOG_XACT_COMMIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	mov	x0, x19
	bl	_XLogRecGetInfo
	add	x2, sp, #8
	mov	x1, x20
	bl	_ParseCommitRecord
	mov	x0, x19
	bl	_XLogRecGetXid
	mov	x20, x0
	ldr	w21, [x19]
	mov	x0, x19
	bl	_XLogRecGetOrigin
	mov	x3, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x21
	bl	_xact_redo_commit
	b	LBB0_7
LBB0_2:
Lloh6:
	adrp	x8, _XLOG_XACT_COMMIT_PREPARED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XLOG_XACT_COMMIT_PREPARED@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	mov	x0, x19
	bl	_XLogRecGetInfo
	add	x2, sp, #8
	mov	x1, x20
	bl	_ParseCommitRecord
	ldr	w20, [sp, #8]
	ldr	w21, [x19]
	mov	x0, x19
	bl	_XLogRecGetOrigin
	mov	x3, x0
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x21
	bl	_xact_redo_commit
LBB0_4:
Lloh9:
	adrp	x19, _TwoPhaseStateLock@GOTPAGE
Lloh10:
	ldr	x19, [x19, _TwoPhaseStateLock@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh11:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_PrepareRedoRemove
	ldr	w0, [x19]
	bl	_LWLockRelease
	b	LBB0_7
LBB0_5:
Lloh14:
	adrp	x8, _XLOG_XACT_ABORT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XLOG_XACT_ABORT@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	mov	x0, x19
	bl	_XLogRecGetInfo
	add	x2, sp, #8
	mov	x1, x20
	bl	_ParseAbortRecord
	mov	x0, x19
	bl	_XLogRecGetXid
	mov	x1, x0
	add	x0, sp, #8
	bl	_xact_redo_abort
LBB0_7:
	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
LBB0_8:
Lloh17:
	adrp	x8, _XLOG_XACT_ABORT_PREPARED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _XLOG_XACT_ABORT_PREPARED@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	mov	x0, x19
	bl	_XLogRecGetInfo
	add	x2, sp, #8
	mov	x1, x20
	bl	_ParseAbortRecord
	ldr	w1, [sp, #8]
	add	x0, sp, #8
	bl	_xact_redo_abort
	b	LBB0_4
LBB0_10:
Lloh20:
	adrp	x8, _XLOG_XACT_PREPARE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _XLOG_XACT_PREPARE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_12
; %bb.11:
Lloh23:
	adrp	x23, _TwoPhaseStateLock@GOTPAGE
Lloh24:
	ldr	x23, [x23, _TwoPhaseStateLock@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh25:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	mov	x0, x19
	bl	_XLogRecGetData
	mov	x20, x0
	ldp	w22, w21, [x19]
	mov	x0, x19
	bl	_XLogRecGetOrigin
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_PrepareRedoAdd
	ldr	w0, [x23]
	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
	b	_LWLockRelease
LBB0_12:
Lloh28:
	adrp	x8, _XLOG_XACT_ASSIGNMENT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _XLOG_XACT_ASSIGNMENT@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_15
; %bb.13:
	mov	x0, x19
	bl	_XLogRecGetData
Lloh31:
	adrp	x8, _standbyState@GOTPAGE
Lloh32:
	ldr	x8, [x8, _standbyState@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _STANDBY_INITIALIZED@GOTPAGE
Lloh35:
	ldr	x9, [x9, _STANDBY_INITIALIZED@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.14:
	ldp	w1, w8, [x0, #4]
	ldr	w2, [x0]
	mov	x0, x8
	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
	b	_ProcArrayApplyXidAssignment
LBB0_15:
Lloh37:
	adrp	x8, _PANIC@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	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
	b	_elog
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_XLOG_XACT_OPMASK,8,3           ; @XLOG_XACT_OPMASK
	.comm	_XLOG_XACT_COMMIT,8,3           ; @XLOG_XACT_COMMIT
	.comm	_XLOG_XACT_COMMIT_PREPARED,8,3  ; @XLOG_XACT_COMMIT_PREPARED
	.comm	_TwoPhaseStateLock,4,2          ; @TwoPhaseStateLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_XLOG_XACT_ABORT,8,3            ; @XLOG_XACT_ABORT
	.comm	_XLOG_XACT_ABORT_PREPARED,8,3   ; @XLOG_XACT_ABORT_PREPARED
	.comm	_XLOG_XACT_PREPARE,8,3          ; @XLOG_XACT_PREPARE
	.comm	_XLOG_XACT_ASSIGNMENT,8,3       ; @XLOG_XACT_ASSIGNMENT
	.comm	_standbyState,8,3               ; @standbyState
	.comm	_STANDBY_INITIALIZED,8,3        ; @STANDBY_INITIALIZED
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xact_redo: unknown op code %u"

.subsections_via_symbols
