	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetVirtualXIDsDelayingChkpt    ## -- Begin function GetVirtualXIDsDelayingChkpt
	.p2align	4, 0x90
_GetVirtualXIDsDelayingChkpt:           ## @GetVirtualXIDsDelayingChkpt
	.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, -56(%rbp)                 ## 8-byte Spill
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_palloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movl	4(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	xorl	%r12d, %r12d
	movq	_allPgXact@GOTPCREL(%rip), %r14
	movq	_allProcs@GOTPCREL(%rip), %r15
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	cmpq	%rcx, %r12
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rcx
	movslq	(%rcx,%r12,4), %rcx
	movq	(%r14), %rdx
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rcx,4), %esi
	callq	_GET_VXID_FROM_PGPROC
	callq	_VirtualTransactionIdIsValid
	cmpq	$1, %rax
	sbbl	$-1, %r13d
	movl	4(%rbx), %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%r13d, %r13d
LBB0_6:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWLockRelease
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	$24, %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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetVirtualXIDsDelayingChkpt    ; -- Begin function GetVirtualXIDsDelayingChkpt
	.p2align	2
_GetVirtualXIDsDelayingChkpt:           ; @GetVirtualXIDsDelayingChkpt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _procArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w8, [x21]
	lsl	w0, w8, #2
	bl	_palloc
	mov	x20, x0
Lloh3:
	adrp	x22, _ProcArrayLock@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh5:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x24, #0
	mov	w23, #0
Lloh8:
	adrp	x25, _allPgXact@GOTPAGE
Lloh9:
	ldr	x25, [x25, _allPgXact@GOTPAGEOFF]
Lloh10:
	adrp	x26, _allProcs@GOTPAGE
Lloh11:
	ldr	x26, [x26, _allProcs@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	ldrsw	x9, [x9, x24, lsl #2]
	ldr	x10, [x25]
	ldr	x10, [x10, x9, lsl #3]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x26]
	ldr	w1, [x8, x9, lsl #2]
	bl	_GET_VXID_FROM_PGPROC
	bl	_VirtualTransactionIdIsValid
	cmp	x0, #0
	cinc	w23, w23, ne
	ldr	w8, [x21, #4]
	b	LBB0_2
LBB0_5:
	mov	w23, #0
LBB0_6:
	ldr	w0, [x22]
	bl	_LWLockRelease
	str	w23, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.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
.subsections_via_symbols
