	.file	"extr_standby.c_standby_redo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"standby_redo: unknown op code %u"
	.text
	.p2align 4
	.globl	standby_redo
	.type	standby_redo, @function
standby_redo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	XLogRecGetInfo@PLT
	mov	r12, QWORD PTR XLR_INFO_MASK[rip]
	mov	rdi, rbp
	not	r12
	and	r12, rax
	call	XLogRecHasAnyBlockRefs@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	Assert@PLT
	mov	rax, QWORD PTR STANDBY_DISABLED[rip]
	cmp	QWORD PTR standbyState[rip], rax
	je	.L1
	cmp	QWORD PTR XLOG_STANDBY_LOCK[rip], r12
	je	.L13
	cmp	QWORD PTR XLOG_RUNNING_XACTS[rip], r12
	je	.L14
	cmp	QWORD PTR XLOG_INVALIDATIONS[rip], r12
	je	.L15
	mov	edi, DWORD PTR PANIC[rip]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	call	elog@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, rbp
	call	XLogRecGetData@PLT
	mov	ecx, DWORD PTR 4[rax]
	mov	edx, DWORD PTR 8[rax]
	mov	esi, DWORD PTR 12[rax]
	mov	edi, DWORD PTR 16[rax]
	mov	r8d, DWORD PTR [rax]
	call	ProcessCommittedInvalidationMessages@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbp
	call	XLogRecGetData@PLT
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L1
	xor	r12d, r12d
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 8[rbp]
	lea	rdx, [r12+r12*2]
	add	r12, 1
	lea	rax, [rax+rdx*4]
	mov	esi, DWORD PTR 4[rax]
	mov	edi, DWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	call	StandbyAcquireAccessExclusiveLock@PLT
	cmp	DWORD PTR 0[rbp], r12d
	jg	.L6
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, rbp
	call	XLogRecGetData@PLT
	mov	rdi, rsp
	mov	edx, DWORD PTR 24[rax]
	mov	DWORD PTR 24[rsp], edx
	mov	edx, DWORD PTR 20[rax]
	mov	DWORD PTR 20[rsp], edx
	mov	edx, DWORD PTR 16[rax]
	mov	DWORD PTR 16[rsp], edx
	mov	edx, DWORD PTR 12[rax]
	mov	DWORD PTR 12[rsp], edx
	mov	edx, DWORD PTR 8[rax]
	mov	DWORD PTR 8[rsp], edx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 4[rsp], edx
	mov	DWORD PTR [rsp], eax
	call	ProcArrayApplyRecoveryInfo@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	standby_redo, .-standby_redo
	.comm	standbyState,8,8
	.comm	XLR_INFO_MASK,8,8
	.comm	XLOG_STANDBY_LOCK,8,8
	.comm	XLOG_RUNNING_XACTS,8,8
	.comm	XLOG_INVALIDATIONS,8,8
	.comm	STANDBY_DISABLED,8,8
	.comm	PANIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_standby.c_standby_redo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"standby_redo: unknown op code %u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	standby_redo
	.syntax unified
	.arm
	.fpu softvfp
	.type	standby_redo, %function
standby_redo:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L17
	sub	sp, sp, #40
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	XLogRecGetInfo
	mov	r4, r0
	ldr	r3, .L17+4
	mov	r0, r5
	ldr	r2, [r3]
	bic	r4, r4, r2
	bl	XLogRecHasAnyBlockRefs
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	ldr	r2, .L17+8
	ldr	r3, .L17+12
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L1
	ldr	r3, .L17+16
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L13
	ldr	r3, .L17+20
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L14
	ldr	r3, .L17+24
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L15
	ldr	r3, .L17+28
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L17+32
	bl	elog
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, r5
	bl	XLogRecGetData
	mov	ip, r0
	ldr	ip, [ip]
	ldr	r3, [r0, #4]
	ldr	r2, [r0, #8]
	ldr	r1, [r0, #12]
	ldr	r0, [r0, #16]
	str	ip, [sp]
	bl	ProcessCommittedInvalidationMessages
	b	.L1
.L13:
	mov	r0, r5
	bl	XLogRecGetData
	ldr	r3, [r0]
	mov	r6, r0
	cmp	r3, #0
	ble	.L1
	mov	r4, #0
	mov	r5, r4
.L6:
	ldr	r2, [r6, #4]
	add	r5, r5, #1
	add	r3, r2, r4
	ldr	r1, [r3, #4]
	ldr	r2, [r2, r4]
	ldr	r0, [r3, #8]
	bl	StandbyAcquireAccessExclusiveLock
	ldr	r3, [r6]
	add	r4, r4, #12
	cmp	r3, r5
	bgt	.L6
	b	.L1
.L14:
	mov	r0, r5
	bl	XLogRecGetData
	ldr	r3, [r0, #24]
	add	r1, r0, #8
	ldr	r2, [r0, #4]
	ldm	r1, {r1, ip, lr}
	ldr	r4, [r0, #20]
	str	r3, [sp, #32]
	ldr	r3, [r0]
	add	r0, sp, #8
	str	r4, [sp, #28]
	str	lr, [sp, #24]
	str	ip, [sp, #20]
	str	r1, [sp, #16]
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	bl	ProcArrayApplyRecoveryInfo
	b	.L1
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	XLR_INFO_MASK
	.word	standbyState
	.word	STANDBY_DISABLED
	.word	XLOG_STANDBY_LOCK
	.word	XLOG_RUNNING_XACTS
	.word	XLOG_INVALIDATIONS
	.word	PANIC
	.word	.LC0
	.size	standby_redo, .-standby_redo
	.comm	standbyState,4,4
	.comm	XLR_INFO_MASK,4,4
	.comm	XLOG_STANDBY_LOCK,4,4
	.comm	XLOG_RUNNING_XACTS,4,4
	.comm	XLOG_INVALIDATIONS,4,4
	.comm	STANDBY_DISABLED,4,4
	.comm	PANIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
