	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArrayEndTransaction        ## -- Begin function ProcArrayEndTransaction
	.p2align	4, 0x90
_ProcArrayEndTransaction:               ## @ProcArrayEndTransaction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_allPgXact@GOTPCREL(%rip), %r15
	movq	(%r15), %r13
	movq	(%rdi), %r14
	shlq	$5, %r14
	leaq	(%r14,%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	callq	_TransactionIdIsValid
	movl	%eax, %ebx
	movq	(%r15), %rax
	movq	(%r12), %rcx
	shlq	$5, %rcx
	movl	28(%rax,%rcx), %edi
	callq	_TransactionIdIsValid
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edi
	callq	_Assert
	movq	_ProcArrayLock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockConditionalAcquire
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_ProcArrayEndTransactionInternal
	movl	(%r14), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
LBB0_3:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_InvalidLocalTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r13,%r14)
	movq	_PROC_VACUUM_STATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 20(%r13,%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	$0, 8(%r12)
	xorl	%edi, %edi
	cmpq	$0, 8(%r13,%r14)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, 16(%r13,%r14)
	sete	%dil
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Assert                         ## TAILCALL
LBB0_2:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ProcArrayGroupClearXid         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_allPgXact,8,3                  ## @allPgXact
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_InvalidLocalTransactionId,4,2  ## @InvalidLocalTransactionId
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_PROC_VACUUM_STATE_MASK,4,2     ## @PROC_VACUUM_STATE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ProcArrayEndTransaction        ; -- Begin function ProcArrayEndTransaction
	.p2align	2
_ProcArrayEndTransaction:               ; @ProcArrayEndTransaction
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _allPgXact@GOTPAGE
Lloh1:
	ldr	x23, [x23, _allPgXact@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x0]
	add	x19, x8, x9, lsl #5
	mov	x0, x1
	bl	_TransactionIdIsValid
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x9, [x20]
	add	x8, x8, x9, lsl #5
	ldr	w0, [x8, #28]
	bl	_TransactionIdIsValid
	cbz	w22, LBB0_3
; %bb.1:
	bl	_Assert
Lloh2:
	adrp	x22, _ProcArrayLock@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh4:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_LWLockConditionalAcquire
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_ProcArrayEndTransactionInternal
	ldr	w0, [x22]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_LWLockRelease
LBB0_3:
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
Lloh7:
	adrp	x8, _InvalidLocalTransactionId@GOTPAGE
Lloh8:
	ldr	x8, [x8, _InvalidLocalTransactionId@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _InvalidTransactionId@GOTPAGE
Lloh11:
	ldr	x9, [x9, _InvalidTransactionId@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh13:
	adrp	x9, _PROC_VACUUM_STATE_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PROC_VACUUM_STATE_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	ldr	w10, [x19, #20]
	bic	w9, w10, w9
	str	w9, [x19, #20]
	str	wzr, [x19]
	stp	wzr, w8, [x20, #8]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19, #16]
	cmp	w8, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_Assert
LBB0_4:
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ProcArrayGroupClearXid
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_allPgXact,8,3                  ; @allPgXact
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_InvalidLocalTransactionId,4,2  ; @InvalidLocalTransactionId
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_PROC_VACUUM_STATE_MASK,4,2     ; @PROC_VACUUM_STATE_MASK
.subsections_via_symbols
