	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetRunningTransactionData      ## -- Begin function GetRunningTransactionData
	.p2align	4, 0x90
_GetRunningTransactionData:             ## @GetRunningTransactionData
	.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	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_RecoveryInProgress
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_GetRunningTransactionData.CurrentRunningXactsData(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	_TOTAL_MAX_CACHED_SUBXIDS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$3, %edi
	callq	_malloc
	movq	%rax, _GetRunningTransactionData.CurrentRunningXactsData(%rip)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	_GetRunningTransactionData.CurrentRunningXactsData(%rip), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_3:
	movq	_ProcArrayLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_LWLockAcquire
	movq	_XidGenLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_LWLockAcquire
	movq	_ShmemVariableCache@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rbx
	movl	(%rax), %edi
	callq	_XidFromFullTransactionId
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpl	$0, (%rsi)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.5:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, 8(%r13,%r12,8)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%r14d, %rax
	incl	%r14d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,8)
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	incq	%r15
	movslq	(%rsi), %rax
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %rax
	movslq	(%rax,%r15,4), %rax
	movq	_allPgXact@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
	leaq	(%rax,%rax,2), %r12
	movl	16(%r13,%r12,8), %edi
	callq	_UINT32_ACCESS_ONCE
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
LBB0_11:
	xorl	%edi, %edi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	jne	LBB0_19
## %bb.12:
	testl	%eax, %eax
	jle	LBB0_13
## %bb.14:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %rcx
	movslq	(%rcx,%rbx,4), %r13
	movq	_allPgXact@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(,%r13,2), %rdx
	addq	%r13, %rdx
	movl	(%rcx,%rdx,8), %r12d
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_allProcs@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_pg_read_barrier
	movslq	%r14d, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rdi
	movq	(%r15,%r13,8), %rsi
	leal	(,%r12,8), %edx
	callq	_memcpy
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addl	%r12d, %r14d
	addl	%r12d, %edi
	movl	(%rsi), %eax
	jmp	LBB0_17
LBB0_4:
	xorl	%edi, %edi
	xorl	%r14d, %r14d
	jmp	LBB0_19
LBB0_18:
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_13:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
LBB0_19:
	movq	_ShmemVariableCache@GOTPCREL(%rip), %rax
	subl	%edi, %r14d
	movl	%r14d, _GetRunningTransactionData.CurrentRunningXactsData+8(%rip)
	leaq	_GetRunningTransactionData.CurrentRunningXactsData(%rip), %r14
	movl	%edi, _GetRunningTransactionData.CurrentRunningXactsData+12(%rip)
	movl	%r15d, _GetRunningTransactionData.CurrentRunningXactsData+16(%rip)
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_XidFromFullTransactionId
	movq	%rax, _GetRunningTransactionData.CurrentRunningXactsData+24(%rip)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, _GetRunningTransactionData.CurrentRunningXactsData+32(%rip)
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, _GetRunningTransactionData.CurrentRunningXactsData+40(%rip)
	movq	%rax, %rdi
	callq	_TransactionIdIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	_GetRunningTransactionData.CurrentRunningXactsData+32(%rip), %rdi
	callq	_TransactionIdIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	_GetRunningTransactionData.CurrentRunningXactsData+40(%rip), %rdi
	callq	_TransactionIdIsNormal
	movl	%eax, %edi
	callq	_Assert
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_GetRunningTransactionData.CurrentRunningXactsData,48,3 ## @GetRunningTransactionData.CurrentRunningXactsData
	.comm	_procArray,8,3                  ## @procArray
	.comm	_TOTAL_MAX_CACHED_SUBXIDS,4,2   ## @TOTAL_MAX_CACHED_SUBXIDS
	.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	_XidGenLock,4,2                 ## @XidGenLock
	.comm	_ShmemVariableCache,8,3         ## @ShmemVariableCache
	.comm	_allPgXact,8,3                  ## @allPgXact
	.comm	_allProcs,8,3                   ## @allProcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetRunningTransactionData      ; -- Begin function GetRunningTransactionData
	.p2align	2
_GetRunningTransactionData:             ; @GetRunningTransactionData
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _procArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	bl	_RecoveryInProgress
	cmp	w0, #0
	cset	w0, eq
	bl	_Assert
	adrp	x21, _GetRunningTransactionData.CurrentRunningXactsData@PAGE
	ldr	x20, [x21, _GetRunningTransactionData.CurrentRunningXactsData@PAGEOFF]
	cbnz	x20, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _TOTAL_MAX_CACHED_SUBXIDS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TOTAL_MAX_CACHED_SUBXIDS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w0, w8, #3
	bl	_malloc
	mov	x20, x0
	str	x0, [x21, _GetRunningTransactionData.CurrentRunningXactsData@PAGEOFF]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldr	x20, [x21, _GetRunningTransactionData.CurrentRunningXactsData@PAGEOFF]
LBB0_3:
Lloh14:
	adrp	x8, _ProcArrayLock@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ProcArrayLock@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x19, _LW_SHARED@GOTPAGE
Lloh18:
	ldr	x19, [x19, _LW_SHARED@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_LWLockAcquire
Lloh19:
	adrp	x8, _XidGenLock@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XidGenLock@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_LWLockAcquire
Lloh22:
	adrp	x24, _ShmemVariableCache@GOTPAGE
Lloh23:
	ldr	x24, [x24, _ShmemVariableCache@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x23, [x8, #8]
	ldr	w0, [x8]
	bl	_XidFromFullTransactionId
	mov	x19, x0
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.4:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	x28, #0
	mov	w25, #0
	mov	w27, #0
	mov	w24, #24
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x22]
	cmp	x28, x8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x23, [x8, x28, lsl #2]
Lloh24:
	adrp	x8, _allPgXact@GOTPAGE
Lloh25:
	ldr	x8, [x8, _allPgXact@GOTPAGEOFF]
Lloh26:
	ldr	x26, [x8]
	madd	x8, x23, x24, x26
	ldr	w0, [x8, #16]
	bl	_UINT32_ACCESS_ONCE
	mov	x21, x0
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_TransactionIdPrecedes
	cmp	x0, #0
	csel	x19, x19, x21, eq
	madd	x8, x23, x24, x26
	ldr	x8, [x8, #8]
	cmp	x8, #0
	csinc	w27, w27, wzr, eq
	str	x21, [x20, w25, sxtw #3]
	add	w25, w25, #1
	b	LBB0_5
LBB0_8:
	cbz	w27, LBB0_11
LBB0_9:
	mov	w21, #0
	b	LBB0_17
LBB0_10:
	mov	w27, #0
	mov	w21, #0
	mov	w25, #0
	b	LBB0_18
LBB0_11:
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.12:
	mov	x24, #0
	mov	w21, #0
	mov	w27, #24
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x24, x24, #1
	cmp	x24, w8, sxtw
	b.ge	LBB0_16
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #8]
	ldrsw	x26, [x9, x24, lsl #2]
Lloh27:
	adrp	x9, _allPgXact@GOTPAGE
Lloh28:
	ldr	x9, [x9, _allPgXact@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	mul	x10, x26, x27
	ldr	w23, [x9, x10]
	cmp	w23, #1
	b.lt	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh30:
	adrp	x8, _allProcs@GOTPAGE
Lloh31:
	ldr	x8, [x8, _allProcs@GOTPAGEOFF]
Lloh32:
	ldr	x28, [x8]
	bl	_pg_read_barrier
	ldr	x1, [x28, x26, lsl #3]
	lsl	w2, w23, #3
	add	x0, x20, w25, sxtw #3
	bl	_memcpy
	add	w25, w23, w25
	add	w21, w23, w21
	ldr	w8, [x22]
	b	LBB0_13
LBB0_16:
	mov	w27, #0
LBB0_17:
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
Lloh33:
	adrp	x24, _ShmemVariableCache@GOTPAGE
Lloh34:
	ldr	x24, [x24, _ShmemVariableCache@GOTPAGEOFF]
LBB0_18:
Lloh35:
	adrp	x20, _GetRunningTransactionData.CurrentRunningXactsData@PAGE
Lloh36:
	add	x20, x20, _GetRunningTransactionData.CurrentRunningXactsData@PAGEOFF
	sub	w8, w25, w21
	stp	w8, w21, [x20, #8]
	str	w27, [x20, #16]
	ldr	x8, [x24]
	ldr	w0, [x8]
	bl	_XidFromFullTransactionId
	stp	x0, x19, [x20, #24]
	str	x23, [x20, #40]
	bl	_TransactionIdIsValid
	bl	_Assert
	ldr	x0, [x20, #32]
	bl	_TransactionIdIsValid
	bl	_Assert
	ldr	x0, [x20, #40]
	bl	_TransactionIdIsNormal
	bl	_Assert
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
	mov	w27, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_GetRunningTransactionData.CurrentRunningXactsData,48,3 ; @GetRunningTransactionData.CurrentRunningXactsData
	.comm	_procArray,8,3                  ; @procArray
	.comm	_TOTAL_MAX_CACHED_SUBXIDS,4,2   ; @TOTAL_MAX_CACHED_SUBXIDS
	.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	_XidGenLock,4,2                 ; @XidGenLock
	.comm	_ShmemVariableCache,8,3         ; @ShmemVariableCache
	.comm	_allPgXact,8,3                  ; @allPgXact
	.comm	_allProcs,8,3                   ; @allProcs
.subsections_via_symbols
