	.file	"extr_walsender.c_PhysicalReplicationSlotNewXmin.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	PhysicalReplicationSlotNewXmin, @function
PhysicalReplicationSlotNewXmin:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, QWORD PTR MyReplicationSlot[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	mov	rdi, rbp
	call	SpinLockAcquire@PLT
	mov	edx, DWORD PTR InvalidTransactionId[rip]
	mov	rax, QWORD PTR MyPgXact[rip]
	mov	rdi, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], edx
	call	TransactionIdIsNormal@PLT
	test	eax, eax
	jne	.L2
.L4:
	mov	QWORD PTR 16[rbp], r12
	mov	QWORD PTR 32[rbp], r12
	mov	r12d, 1
.L3:
	mov	rdi, QWORD PTR 24[rbp]
	call	TransactionIdIsNormal@PLT
	test	eax, eax
	jne	.L5
.L7:
	mov	QWORD PTR 24[rbp], rbx
	mov	rdi, rbp
	mov	QWORD PTR 8[rbp], rbx
	call	SpinLockRelease@PLT
.L6:
	xor	eax, eax
	call	ReplicationSlotMarkDirty@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	edi, edi
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ReplicationSlotsComputeRequiredXmin@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, r12
	call	TransactionIdIsNormal@PLT
	test	eax, eax
	je	.L4
	mov	rdi, QWORD PTR 16[rbp]
	mov	rsi, r12
	call	TransactionIdPrecedes@PLT
	test	rax, rax
	jne	.L4
	xor	r12d, r12d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbx
	call	TransactionIdIsNormal@PLT
	test	eax, eax
	je	.L7
	mov	rdi, QWORD PTR 24[rbp]
	mov	rsi, rbx
	call	TransactionIdPrecedes@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, rbp
	call	SpinLockRelease@PLT
	test	r12d, r12d
	jne	.L6
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	PhysicalReplicationSlotNewXmin, .-PhysicalReplicationSlotNewXmin
	.comm	MyReplicationSlot,8,8
	.comm	MyPgXact,8,8
	.comm	InvalidTransactionId,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_walsender.c_PhysicalReplicationSlotNewXmin.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PhysicalReplicationSlotNewXmin, %function
PhysicalReplicationSlotNewXmin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L17
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	mov	r6, r0
	mov	r0, r4
	mov	r5, r1
	bl	SpinLockAcquire
	ldr	r2, .L17+4
	ldr	r3, .L17+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r0, [r4, #8]
	str	r2, [r3]
	bl	TransactionIdIsNormal
	cmp	r0, #0
	bne	.L2
.L4:
	mov	r7, #1
	str	r6, [r4, #8]
	str	r6, [r4, #16]
.L3:
	ldr	r0, [r4, #12]
	bl	TransactionIdIsNormal
	cmp	r0, #0
	bne	.L5
.L7:
	mov	r0, r4
	str	r5, [r4, #12]
	str	r5, [r4, #4]
	bl	SpinLockRelease
.L6:
	bl	ReplicationSlotMarkDirty
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r0, #0
	b	ReplicationSlotsComputeRequiredXmin
.L2:
	mov	r0, r6
	bl	TransactionIdIsNormal
	cmp	r0, #0
	beq	.L4
	mov	r1, r6
	ldr	r0, [r4, #8]
	bl	TransactionIdPrecedes
	subs	r7, r0, #0
	bne	.L4
	b	.L3
.L5:
	mov	r0, r5
	bl	TransactionIdIsNormal
	cmp	r0, #0
	beq	.L7
	mov	r1, r5
	ldr	r0, [r4, #12]
	bl	TransactionIdPrecedes
	cmp	r0, #0
	bne	.L7
	mov	r0, r4
	bl	SpinLockRelease
	cmp	r7, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	b	.L6
.L18:
	.align	2
.L17:
	.word	MyReplicationSlot
	.word	InvalidTransactionId
	.word	MyPgXact
	.size	PhysicalReplicationSlotNewXmin, .-PhysicalReplicationSlotNewXmin
	.comm	MyReplicationSlot,4,4
	.comm	MyPgXact,4,4
	.comm	InvalidTransactionId,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
