	.file	"extr_logical.c_LogicalConfirmReceivedLocation.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"updated xmin: %u restart: %u"
	.text
	.p2align 4
	.globl	LogicalConfirmReceivedLocation
	.type	LogicalConfirmReceivedLocation, @function
LogicalConfirmReceivedLocation:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	QWORD PTR InvalidXLogRecPtr[rip], rdi
	setne	dil
	movzx	edi, dil
	call	Assert@PLT
	mov	rax, QWORD PTR MyReplicationSlot[rip]
	mov	rdx, QWORD PTR InvalidXLogRecPtr[rip]
	lea	rdi, 40[rax]
	cmp	QWORD PTR [rax], rdx
	jne	.L3
	cmp	rdx, QWORD PTR 8[rax]
	je	.L4
.L3:
	call	SpinLockAcquire@PLT
	mov	rdi, QWORD PTR MyReplicationSlot[rip]
	mov	rax, QWORD PTR InvalidXLogRecPtr[rip]
	mov	rdx, QWORD PTR [rdi]
	mov	QWORD PTR 64[rdi], rbx
	cmp	rdx, rax
	je	.L5
	cmp	rdx, rbx
	jle	.L26
.L5:
	mov	rdx, QWORD PTR 8[rdi]
.L7:
	xor	ebp, ebp
	cmp	rdx, rax
	je	.L23
.L14:
	cmp	rbx, rdx
	jge	.L27
	add	rdi, 40
	call	SpinLockRelease@PLT
	test	ebp, ebp
	jne	.L12
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	SpinLockAcquire@PLT
	mov	rdi, QWORD PTR MyReplicationSlot[rip]
	mov	QWORD PTR 64[rdi], rbx
.L23:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	add	rdi, 40
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	SpinLockRelease@PLT
	.p2align 4,,10
	.p2align 3
.L27:
	.cfi_restore_state
	cmp	QWORD PTR 24[rdi], rax
	setne	dil
	movzx	edi, dil
	call	Assert@PLT
	mov	rdi, QWORD PTR MyReplicationSlot[rip]
	mov	rax, QWORD PTR 24[rdi]
	add	rdi, 40
	mov	QWORD PTR 16[rdi], rax
	mov	rax, QWORD PTR InvalidXLogRecPtr[rip]
	mov	QWORD PTR -16[rdi], rax
	mov	QWORD PTR -32[rdi], rax
	call	SpinLockRelease@PLT
	xor	eax, eax
	call	ReplicationSlotMarkDirty@PLT
	xor	eax, eax
	call	ReplicationSlotSave@PLT
	mov	edi, DWORD PTR DEBUG1[rip]
	mov	edx, ebp
	mov	ecx, 1
	lea	rsi, .LC0[rip]
	call	elog@PLT
	test	ebp, ebp
	je	.L1
.L10:
	mov	rax, QWORD PTR MyReplicationSlot[rip]
	lea	rdi, 40[rax]
	call	SpinLockAcquire@PLT
	mov	rdi, QWORD PTR MyReplicationSlot[rip]
	mov	rax, QWORD PTR 48[rdi]
	add	rdi, 40
	mov	QWORD PTR -8[rdi], rax
	call	SpinLockRelease@PLT
	xor	edi, edi
	call	ReplicationSlotsComputeRequiredXmin@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	ReplicationSlotsComputeRequiredLSN@PLT
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	rdi, QWORD PTR 16[rdi]
	call	TransactionIdIsValid@PLT
	mov	rdi, QWORD PTR MyReplicationSlot[rip]
	test	rax, rax
	jne	.L6
	mov	rax, QWORD PTR InvalidXLogRecPtr[rip]
	mov	rdx, QWORD PTR 8[rdi]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rcx, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR InvalidXLogRecPtr[rip]
	mov	rdx, QWORD PTR 8[rdi]
	cmp	QWORD PTR 48[rdi], rcx
	je	.L7
	mov	QWORD PTR 48[rdi], rcx
	mov	rcx, QWORD PTR InvalidTransactionId[rip]
	mov	QWORD PTR [rdi], rax
	mov	QWORD PTR 16[rdi], rcx
	cmp	rax, rdx
	jne	.L28
	add	rdi, 40
	call	SpinLockRelease@PLT
.L12:
	xor	eax, eax
	call	ReplicationSlotMarkDirty@PLT
	xor	eax, eax
	call	ReplicationSlotSave@PLT
	mov	edi, DWORD PTR DEBUG1[rip]
	xor	ecx, ecx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	call	elog@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	mov	ebp, 1
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	LogicalConfirmReceivedLocation, .-LogicalConfirmReceivedLocation
	.comm	MyReplicationSlot,8,8
	.comm	InvalidXLogRecPtr,8,8
	.comm	InvalidTransactionId,8,8
	.comm	DEBUG1,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_logical.c_LogicalConfirmReceivedLocation.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"updated xmin: %u restart: %u\000"
	.text
	.align	2
	.global	LogicalConfirmReceivedLocation
	.syntax unified
	.arm
	.fpu softvfp
	.type	LogicalConfirmReceivedLocation, %function
LogicalConfirmReceivedLocation:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r6, .L24
	ldr	r5, .L24+4
	ldr	r0, [r6]
	subs	r0, r0, r4
	movne	r0, #1
	bl	Assert
	ldr	r0, [r5]
	ldr	r2, [r6]
	ldr	r3, [r0]
	cmp	r3, r2
	addne	r0, r0, #20
	bne	.L3
	ldr	r2, [r0, #4]
	add	r0, r0, #20
	cmp	r3, r2
	beq	.L4
.L3:
	bl	SpinLockAcquire
	ldr	r0, [r5]
	ldr	r3, [r6]
	ldr	r2, [r0]
	str	r4, [r0, #32]
	subs	r1, r2, r3
	movne	r1, #1
	cmp	r2, r4
	movgt	r1, #0
	cmp	r1, #0
	bne	.L21
.L5:
	ldr	r1, [r0, #4]
.L7:
	cmp	r1, r3
	movne	r7, #0
	beq	.L22
.L14:
	cmp	r4, r1
	bge	.L23
	ldr	r0, [r5]
	add	r0, r0, #20
	bl	SpinLockRelease
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L12:
	bl	ReplicationSlotMarkDirty
	bl	ReplicationSlotSave
	ldr	r2, .L24+8
	mov	r3, #0
	ldr	r0, [r2]
	ldr	r1, .L24+12
	mov	r2, #1
	bl	elog
	b	.L10
.L22:
	add	r0, r0, #20
	pop	{r4, r5, r6, r7, r8, lr}
	b	SpinLockRelease
.L23:
	ldr	r0, [r0, #12]
	subs	r0, r0, r3
	movne	r0, #1
	bl	Assert
	ldr	r0, [r5]
	ldr	r3, [r6]
	ldr	r2, [r0, #12]
	str	r3, [r0, #4]
	str	r2, [r0, #28]
	str	r3, [r0, #12]
	add	r0, r0, #20
	bl	SpinLockRelease
	bl	ReplicationSlotMarkDirty
	bl	ReplicationSlotSave
	ldr	r2, .L24+8
	mov	r3, #1
	ldr	r0, [r2]
	ldr	r1, .L24+12
	mov	r2, r7
	bl	elog
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, [r5]
	add	r0, r0, #20
	bl	SpinLockAcquire
	ldr	r3, [r5]
	ldr	r2, [r3, #24]
	add	r0, r3, #20
	str	r2, [r3, #16]
	bl	SpinLockRelease
	mov	r0, #0
	bl	ReplicationSlotsComputeRequiredXmin
	pop	{r4, r5, r6, r7, r8, lr}
	b	ReplicationSlotsComputeRequiredLSN
.L4:
	bl	SpinLockAcquire
	ldr	r0, [r5]
	str	r4, [r0, #32]
	add	r0, r0, #20
	pop	{r4, r5, r6, r7, r8, lr}
	b	SpinLockRelease
.L21:
	ldr	r0, [r0, #8]
	bl	TransactionIdIsValid
	cmp	r0, #0
	ldr	r3, [r6]
	ldr	r0, [r5]
	beq	.L5
	ldr	r2, [r0, #8]
	ldr	ip, [r0, #24]
	ldr	r1, [r0, #4]
	cmp	ip, r2
	beq	.L7
	ldr	ip, .L24+16
	cmp	r3, r1
	ldr	ip, [ip]
	movne	r7, #1
	str	r2, [r0, #24]
	str	ip, [r0, #8]
	str	r3, [r0]
	bne	.L14
	add	r0, r0, #20
	bl	SpinLockRelease
	b	.L12
.L25:
	.align	2
.L24:
	.word	InvalidXLogRecPtr
	.word	MyReplicationSlot
	.word	DEBUG1
	.word	.LC0
	.word	InvalidTransactionId
	.size	LogicalConfirmReceivedLocation, .-LogicalConfirmReceivedLocation
	.comm	MyReplicationSlot,4,4
	.comm	InvalidXLogRecPtr,4,4
	.comm	InvalidTransactionId,4,4
	.comm	DEBUG1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
