	.file	"extr_procarray.c_ProcArrayEndTransaction.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ProcArrayEndTransaction
	.type	ProcArrayEndTransaction, @function
ProcArrayEndTransaction:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, QWORD PTR [rdi]
	mov	edi, esi
	sal	rbp, 5
	add	rbp, QWORD PTR allPgXact[rip]
	call	TransactionIdIsValid@PLT
	test	eax, eax
	mov	rax, QWORD PTR [r12]
	je	.L2
	sal	rax, 5
	add	rax, QWORD PTR allPgXact[rip]
	mov	edi, DWORD PTR 28[rax]
	call	TransactionIdIsValid@PLT
	mov	edi, eax
	call	Assert@PLT
	mov	esi, DWORD PTR LW_EXCLUSIVE[rip]
	mov	edi, DWORD PTR ProcArrayLock[rip]
	call	LWLockConditionalAcquire@PLT
	test	rax, rax
	je	.L3
	mov	rdi, r12
	mov	edx, r13d
	mov	rsi, rbp
	call	ProcArrayEndTransactionInternal@PLT
	mov	edi, DWORD PTR ProcArrayLock[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	LWLockRelease@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	sal	rax, 5
	add	rax, QWORD PTR allPgXact[rip]
	mov	edi, DWORD PTR 28[rax]
	call	TransactionIdIsValid@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	Assert@PLT
	mov	eax, DWORD PTR InvalidLocalTransactionId[rip]
	xor	edi, edi
	mov	DWORD PTR 12[r12], eax
	mov	eax, DWORD PTR InvalidTransactionId[rip]
	mov	DWORD PTR 24[rbp], eax
	mov	eax, DWORD PTR PROC_VACUUM_STATE_MASK[rip]
	mov	DWORD PTR 0[rbp], 0
	not	eax
	and	DWORD PTR 20[rbp], eax
	cmp	QWORD PTR 8[rbp], 0
	mov	DWORD PTR 8[r12], 0
	sete	dil
	call	Assert@PLT
	mov	eax, DWORD PTR 16[rbp]
	xor	edi, edi
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	test	eax, eax
	sete	dil
	jmp	Assert@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	esi, r13d
	mov	rdi, r12
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ProcArrayGroupClearXid@PLT
	.cfi_endproc
.LFE0:
	.size	ProcArrayEndTransaction, .-ProcArrayEndTransaction
	.comm	allPgXact,8,8
	.comm	ProcArrayLock,4,4
	.comm	PROC_VACUUM_STATE_MASK,4,4
	.comm	LW_EXCLUSIVE,4,4
	.comm	InvalidTransactionId,4,4
	.comm	InvalidLocalTransactionId,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_procarray.c_ProcArrayEndTransaction.c"
	.text
	.align	2
	.global	ProcArrayEndTransaction
	.syntax unified
	.arm
	.fpu softvfp
	.type	ProcArrayEndTransaction, %function
ProcArrayEndTransaction:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r0
	ldr	r10, .L6
	ldr	r4, [r0]
	mov	r0, r1
	ldr	r8, [r10]
	mov	r7, r1
	bl	TransactionIdIsValid
	ldr	r3, [r5]
	ldr	r2, [r10]
	add	r3, r3, r3, lsl #1
	add	r4, r4, r4, lsl #1
	add	r3, r2, r3, lsl #3
	subs	r6, r0, #0
	lsl	r9, r4, #3
	ldr	r0, [r3, #20]
	add	r4, r8, r4, lsl #3
	beq	.L2
	bl	TransactionIdIsValid
	bl	Assert
	ldr	r6, .L6+4
	ldr	r3, .L6+8
	ldr	r0, [r6]
	ldr	r1, [r3]
	bl	LWLockConditionalAcquire
	cmp	r0, #0
	beq	.L3
	mov	r2, r7
	mov	r1, r4
	mov	r0, r5
	bl	ProcArrayEndTransactionInternal
	ldr	r0, [r6]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	LWLockRelease
.L2:
	bl	TransactionIdIsValid
	clz	r0, r0
	lsr	r0, r0, #5
	bl	Assert
	ldr	r0, [r4, #4]
	ldr	r3, .L6+12
	clz	r0, r0
	ldr	r2, [r3]
	ldr	r3, [r4, #12]
	ldr	r1, .L6+16
	bic	r3, r3, r2
	ldr	r2, .L6+20
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r1, [r5, #8]
	lsr	r0, r0, #5
	str	r3, [r4, #12]
	str	r2, [r4, #16]
	str	r6, [r8, r9]
	str	r6, [r5, #4]
	bl	Assert
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	clz	r0, r0
	lsr	r0, r0, #5
	b	Assert
.L3:
	mov	r1, r7
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	ProcArrayGroupClearXid
.L7:
	.align	2
.L6:
	.word	allPgXact
	.word	ProcArrayLock
	.word	LW_EXCLUSIVE
	.word	PROC_VACUUM_STATE_MASK
	.word	InvalidLocalTransactionId
	.word	InvalidTransactionId
	.size	ProcArrayEndTransaction, .-ProcArrayEndTransaction
	.comm	allPgXact,4,4
	.comm	ProcArrayLock,4,4
	.comm	PROC_VACUUM_STATE_MASK,4,4
	.comm	LW_EXCLUSIVE,4,4
	.comm	InvalidTransactionId,4,4
	.comm	InvalidLocalTransactionId,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
