	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdIsActive          ## -- Begin function TransactionIdIsActive
	.p2align	4, 0x90
_TransactionIdIsActive:                 ## @TransactionIdIsActive
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_procArray@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_RecentXmin@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TransactionIdPrecedes
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.1:
	movq	_ProcArrayLock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_LW_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	cmpl	$0, (%r15)
	jle	LBB0_2
## %bb.3:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movslq	(%rax,%rbx,4), %r14
	movq	_allProcs@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_allPgXact@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edi
	callq	_UINT32_ACCESS_ONCE
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_TransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%r12,%r14,8)
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_TransactionIdEquals
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1, %ebx
	jmp	LBB0_10
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	_ProcArrayLock@GOTPCREL(%rip), %r12
	jmp	LBB0_11
LBB0_2:
	xorl	%ebx, %ebx
LBB0_11:
	movl	(%r12), %edi
	callq	_LWLockRelease
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_procArray,8,3                  ## @procArray
	.comm	_RecentXmin,4,2                 ## @RecentXmin
	.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	_TransactionIdIsActive          ; -- Begin function TransactionIdIsActive
	.p2align	2
_TransactionIdIsActive:                 ; @TransactionIdIsActive
	.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, x0
Lloh0:
	adrp	x8, _procArray@GOTPAGE
Lloh1:
	ldr	x8, [x8, _procArray@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
Lloh3:
	adrp	x8, _RecentXmin@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RecentXmin@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_TransactionIdPrecedes
	cbz	x0, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_11
LBB0_2:
Lloh6:
	adrp	x21, _ProcArrayLock@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ProcArrayLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh8:
	adrp	x8, _LW_SHARED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x23, #0
Lloh11:
	adrp	x24, _allProcs@GOTPAGE
Lloh12:
	ldr	x24, [x24, _allProcs@GOTPAGEOFF]
Lloh13:
	adrp	x25, _allPgXact@GOTPAGE
Lloh14:
	ldr	x25, [x25, _allPgXact@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldrsw	x26, [x8, x23, lsl #2]
	ldr	x27, [x24]
	ldr	x8, [x25]
	ldr	w0, [x8, x26, lsl #2]
	bl	_UINT32_ACCESS_ONCE
	mov	x20, x0
	bl	_TransactionIdIsValid
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27, x26, lsl #3]
	cbz	x8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_TransactionIdEquals
	cbz	x0, LBB0_4
; %bb.8:
	mov	w19, #1
	b	LBB0_10
LBB0_9:
	mov	w19, #0
LBB0_10:
	ldr	w0, [x21]
	bl	_LWLockRelease
LBB0_11:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_procArray,8,3                  ; @procArray
	.comm	_RecentXmin,4,2                 ; @RecentXmin
	.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
