	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_replorigin_redo                ## -- Begin function replorigin_redo
	.p2align	4, 0x90
_replorigin_redo:                       ## @replorigin_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_XLogRecGetInfo
	movq	_XLR_INFO_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	cmpl	$129, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$128, %edx
	jne	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	callq	_XLogRecGetData
	movl	8(%rax), %edi
	movl	(%rax), %ecx
	movl	4(%rax), %esi
	movl	(%rbx), %edx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_replorigin_advance             ## TAILCALL
LBB0_3:
	movq	%rbx, %rdi
	callq	_XLogRecGetData
	movq	_max_replication_slots@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testl	%esi, %esi
	jle	LBB0_9
## %bb.4:
	movq	_replication_states@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax), %edx
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,2), %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, 16(%rcx,%rax)
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$24, %rax
	cmpq	%rax, %rsi
	jne	LBB0_5
	jmp	LBB0_9
LBB0_7:
	movq	_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_6:
	movq	_InvalidRepOriginId@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 16(%rcx,%rax)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rsi, 8(%rcx,%rax)
	movq	(%rdx), %rdx
	movq	%rdx, (%rcx,%rax)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XLR_INFO_MASK,4,2              ## @XLR_INFO_MASK
	.comm	_max_replication_slots,4,2      ## @max_replication_slots
	.comm	_replication_states,8,3         ## @replication_states
	.comm	_InvalidRepOriginId,4,2         ## @InvalidRepOriginId
	.comm	_InvalidXLogRecPtr,8,3          ## @InvalidXLogRecPtr
	.comm	_PANIC,4,2                      ## @PANIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"replorigin_redo: unknown op code %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_replorigin_redo                ; -- Begin function replorigin_redo
	.p2align	2
_replorigin_redo:                       ; @replorigin_redo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_XLogRecGetInfo
Lloh0:
	adrp	x8, _XLR_INFO_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XLR_INFO_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w2, w0, w8
	cmp	w2, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #128
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x19
	bl	_XLogRecGetData
	ldp	w1, w8, [x0, #4]
	ldr	w2, [x19]
	ldr	w3, [x0]
	mov	x0, x8
	mov	w4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_replorigin_advance
LBB0_3:
	mov	x0, x19
	bl	_XLogRecGetData
Lloh3:
	adrp	x8, _max_replication_slots@GOTPAGE
Lloh4:
	ldr	x8, [x8, _max_replication_slots@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
Lloh6:
	adrp	x9, _replication_states@GOTPAGE
Lloh7:
	ldr	x9, [x9, _replication_states@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w10, [x0]
	add	x9, x9, #16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w11, w10
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.ne	LBB0_5
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x8, _PANIC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PANIC@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_elog
LBB0_8:
Lloh14:
	adrp	x8, _InvalidRepOriginId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _InvalidRepOriginId@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x9]
Lloh17:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
	ldr	x10, [x8]
	stur	x10, [x9, #-8]
	ldr	x8, [x8]
	stur	x8, [x9, #-16]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_XLR_INFO_MASK,4,2              ; @XLR_INFO_MASK
	.comm	_max_replication_slots,4,2      ; @max_replication_slots
	.comm	_replication_states,8,3         ; @replication_states
	.comm	_InvalidRepOriginId,4,2         ; @InvalidRepOriginId
	.comm	_InvalidXLogRecPtr,8,3          ; @InvalidXLogRecPtr
	.comm	_PANIC,4,2                      ; @PANIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"replorigin_redo: unknown op code %u"

.subsections_via_symbols
