	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetConflictingVirtualXIDs      ## -- Begin function GetConflictingVirtualXIDs
	.p2align	4, 0x90
_GetConflictingVirtualXIDs:             ## @GetConflictingVirtualXIDs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpq	$0, _GetConflictingVirtualXIDs.vxids(%rip)
	jne	LBB0_3
## %bb.1:
	movl	(%r12), %eax
	leal	8(,%rax,8), %edi
	callq	_malloc
	movq	%rax, _GetConflictingVirtualXIDs.vxids(%rip)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	cmpl	$0, 4(%r12)
	jle	LBB0_4
## %bb.5:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r15,%r13), %rax
	movq	(%rax), %rsi
	movq	8(%r13,%r15), %rdx
	callq	_GET_VXID_FROM_PGPROC
	callq	_VirtualTransactionIdIsValid
	cmpq	$1, %rax
	sbbl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movslq	4(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movslq	(%rax,%r14,4), %rbx
	movq	_allProcs@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rbx, %r15
	shlq	$4, %r15
	cmpq	$0, (%r13,%r15)
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_allPgXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r12, 8(%r13,%r15)
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %edi
	callq	_UINT32_ACCESS_ONCE
	movl	%eax, %ebx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_TransactionIdIsValid
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_TransactionIdFollows
	testl	%eax, %eax
	jne	LBB0_14
	jmp	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_4:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	_InvalidBackendId@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GetConflictingVirtualXIDs.vxids(%rip), %rax
	movslq	-44(%rbp), %rdx                 ## 4-byte Folded Reload
	movl	%ecx, 4(%rax,%rdx,8)
	movq	_InvalidLocalTransactionId@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax,%rdx,8)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_GetConflictingVirtualXIDs.vxids,8,3 ## @GetConflictingVirtualXIDs.vxids
	.comm	_procArray,8,3                  ## @procArray
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_allProcs,8,3                   ## @allProcs
	.comm	_allPgXact,8,3                  ## @allPgXact
	.comm	_InvalidBackendId,4,2           ## @InvalidBackendId
	.comm	_InvalidLocalTransactionId,4,2  ## @InvalidLocalTransactionId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetConflictingVirtualXIDs      ; -- Begin function GetConflictingVirtualXIDs
	.p2align	2
_GetConflictingVirtualXIDs:             ; @GetConflictingVirtualXIDs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _procArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	adrp	x21, _GetConflictingVirtualXIDs.vxids@PAGE
	ldr	x8, [x21, _GetConflictingVirtualXIDs.vxids@PAGEOFF]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x23]
	lsl	w8, w8, #3
	add	w0, w8, #8
	bl	_malloc
	str	x0, [x21, _GetConflictingVirtualXIDs.vxids@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
Lloh6:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_3:
Lloh11:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x26, #0
	mov	w25, #0
Lloh17:
	adrp	x27, _allProcs@GOTPAGE
Lloh18:
	ldr	x27, [x27, _allProcs@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x28]
	add	x8, x24, x22, lsl #4
	ldr	x2, [x8, #8]
	bl	_GET_VXID_FROM_PGPROC
	bl	_VirtualTransactionIdIsValid
	cmp	x0, #0
	cinc	w25, w25, ne
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x23, #4]
	cmp	x26, x8
	b.ge	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldrsw	x22, [x8, x26, lsl #2]
	ldr	x24, [x27]
	add	x28, x24, x22, lsl #4
	ldr	x8, [x28]
	cbz	x8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh19:
	adrp	x8, _allPgXact@GOTPAGE
Lloh20:
	ldr	x8, [x8, _allPgXact@GOTPAGEOFF]
Lloh21:
	ldr	x21, [x8]
	mov	x0, x19
	bl	_OidIsValid
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x24, x22, lsl #4
	ldr	x8, [x8, #8]
	cmp	x8, x19
	b.ne	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x21, x22, lsl #2]
	bl	_UINT32_ACCESS_ONCE
	mov	x21, x0
	mov	x0, x20
	bl	_TransactionIdIsValid
	cbz	x0, LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	bl	_TransactionIdIsValid
	cbz	x0, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_TransactionIdFollows
	cbnz	w0, LBB0_6
	b	LBB0_5
LBB0_13:
	mov	w25, #0
LBB0_14:
Lloh22:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_LWLockRelease
Lloh25:
	adrp	x8, _InvalidBackendId@GOTPAGE
Lloh26:
	ldr	x8, [x8, _InvalidBackendId@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _GetConflictingVirtualXIDs.vxids@PAGE
Lloh29:
	ldr	x0, [x9, _GetConflictingVirtualXIDs.vxids@PAGEOFF]
	add	x9, x0, w25, sxtw #3
	str	w8, [x9, #4]
Lloh30:
	adrp	x8, _InvalidLocalTransactionId@GOTPAGE
Lloh31:
	ldr	x8, [x8, _InvalidLocalTransactionId@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x9]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_GetConflictingVirtualXIDs.vxids,8,3 ; @GetConflictingVirtualXIDs.vxids
	.comm	_procArray,8,3                  ; @procArray
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_allProcs,8,3                   ; @allProcs
	.comm	_allPgXact,8,3                  ; @allPgXact
	.comm	_InvalidBackendId,4,2           ; @InvalidBackendId
	.comm	_InvalidLocalTransactionId,4,2  ; @InvalidLocalTransactionId
.subsections_via_symbols
