	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetCurrentVirtualXIDs          ## -- Begin function GetCurrentVirtualXIDs
	.p2align	4, 0x90
_GetCurrentVirtualXIDs:                 ## @GetCurrentVirtualXIDs
	.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	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	%edi, %r14d
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%r13), %edi
	shll	$2, %edi
	callq	_palloc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	cmpl	$0, 4(%r13)
	jle	LBB0_1
## %bb.2:
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	_allProcs@GOTPCREL(%rip), %rsi
	movq	_allPgXact@GOTPCREL(%rip), %r8
	movq	_MyProc@GOTPCREL(%rip), %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_allProcs@GOTPCREL(%rip), %rsi
	movq	_allPgXact@GOTPCREL(%rip), %r8
	movq	_MyProc@GOTPCREL(%rip), %rbx
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	4(%r13), %rax
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movslq	(%rax,%r14,4), %rax
	leaq	(,%rax,8), %r12
	addq	(%rsi), %r12
	cmpq	(%rbx), %r12
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r8), %rcx
	testl	%r15d, (%rcx,%rax,8)
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rdx
	movq	_MyDatabaseId@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rdx
	jne	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rcx,%rax,8), %edi
	callq	_UINT32_ACCESS_ONCE
	movl	%eax, %r15d
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_TransactionIdPrecedesOrEquals
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rsi
	callq	_GET_VXID_FROM_PGPROC
	callq	_VirtualTransactionIdIsValid
	cmpq	$1, %rax
	sbbl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movq	_allProcs@GOTPCREL(%rip), %rsi
	movq	_allPgXact@GOTPCREL(%rip), %r8
	movq	_MyProc@GOTPCREL(%rip), %rbx
	jmp	LBB0_14
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_procArray,8,3                  ## @procArray
	.comm	_ProcArrayLock,4,2              ## @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ## @LW_SHARED
	.comm	_allProcs,8,3                   ## @allProcs
	.comm	_allPgXact,8,3                  ## @allPgXact
	.comm	_MyProc,8,3                     ## @MyProc
	.comm	_MyDatabaseId,8,3               ## @MyDatabaseId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetCurrentVirtualXIDs          ; -- Begin function GetCurrentVirtualXIDs
	.p2align	2
_GetCurrentVirtualXIDs:                 ; @GetCurrentVirtualXIDs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x4, [sp, #16]                   ; 8-byte Folded Spill
	mov	x21, x3
	stp	w1, w2, [sp, #24]               ; 8-byte Folded Spill
	mov	x24, x0
Lloh0:
	adrp	x8, _procArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
	ldr	x26, [x8]
	ldr	w8, [x26]
	lsl	w0, w8, #2
	bl	_palloc
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
Lloh3:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w8, [x26, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x27, #0
	mov	w28, #0
Lloh9:
	adrp	x19, _allProcs@GOTPAGE
Lloh10:
	ldr	x19, [x19, _allProcs@GOTPAGEOFF]
Lloh11:
	adrp	x20, _allPgXact@GOTPAGE
Lloh12:
	ldr	x20, [x20, _allPgXact@GOTPAGEOFF]
Lloh13:
	adrp	x23, _MyProc@GOTPAGE
Lloh14:
	ldr	x23, [x23, _MyProc@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x22]
	bl	_GET_VXID_FROM_PGPROC
	bl	_VirtualTransactionIdIsValid
	cmp	x0, #0
	cinc	w28, w28, ne
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x26, #4]
	cmp	x27, x8
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #8]
	ldrsw	x8, [x8, x27, lsl #2]
	ldr	x9, [x19]
	add	x22, x9, x8, lsl #3
	ldr	x9, [x23]
	cmp	x22, x9
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x20]
	lsl	x10, x8, #3
	ldr	w10, [x9, x10]
	tst	w10, w21
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	cbnz	w10, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x22]
Lloh15:
	adrp	x11, _MyDatabaseId@GOTPAGE
Lloh16:
	ldr	x11, [x11, _MyDatabaseId@GOTPAGEOFF]
Lloh17:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x9, x8, lsl #3
	ldr	w0, [x8, #4]
	bl	_UINT32_ACCESS_ONCE
	mov	x25, x0
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	mov	x1, x24
	bl	_TransactionIdPrecedesOrEquals
	cbnz	x0, LBB0_2
	b	LBB0_3
LBB0_12:
	mov	w28, #0
LBB0_13:
Lloh18:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_LWLockRelease
	ldp	x0, x8, [sp, #8]                ; 16-byte Folded Reload
	str	w28, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_procArray,8,3                  ; @procArray
	.comm	_ProcArrayLock,4,2              ; @ProcArrayLock
	.comm	_LW_SHARED,4,2                  ; @LW_SHARED
	.comm	_allProcs,8,3                   ; @allProcs
	.comm	_allPgXact,8,3                  ; @allPgXact
	.comm	_MyProc,8,3                     ; @MyProc
	.comm	_MyDatabaseId,8,3               ; @MyDatabaseId
.subsections_via_symbols
