	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdIsCurrentTransactionId ## -- Begin function TransactionIdIsCurrentTransactionId
	.p2align	4, 0x90
_TransactionIdIsCurrentTransactionId:   ## @TransactionIdIsCurrentTransactionId
	.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, %r14
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	je	LBB0_21
## %bb.1:
	xorl	%eax, %eax
	callq	_GetTopTransactionIdIfAny
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_TransactionIdEquals
	movl	$1, %r8d
	testq	%rax, %rax
	jne	LBB0_22
## %bb.2:
	movq	_nParallelCurrentXids@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	decl	%eax
	movq	_ParallelCurrentXids@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	decl	%esi
	movl	%esi, %eax
	cmpl	%edx, %eax
	jl	LBB0_21
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edi
	subl	%edx, %edi
	movl	%edi, %esi
	shrl	$31, %esi
	addl	%edi, %esi
	sarl	%esi
	addl	%edx, %esi
	movslq	%esi, %rdi
	movq	(%rcx,%rdi,8), %rdi
	cmpq	%r14, %rdi
	je	LBB0_22
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	jge	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%esi
	movl	%esi, %edx
	cmpl	%edx, %eax
	jge	LBB0_6
	jmp	LBB0_21
LBB0_9:
	movq	_CurrentTransactionState@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.10:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_18 Depth 2
	movq	(%rbx), %rax
	movq	_TRANS_ABORT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	24(%rbx), %edi
	callq	_FullTransactionIdIsValid
	testl	%eax, %eax
	je	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	24(%rbx), %edi
	callq	_XidFromFullTransactionId
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_TransactionIdEquals
	testq	%rax, %rax
	jne	LBB0_24
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	8(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	decl	%eax
	xorl	%ecx, %ecx
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=2
	incl	%r13d
	movl	%r13d, %ecx
	movq	%r15, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%ecx, %eax
	jl	LBB0_11
LBB0_18:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	subl	%ecx, %eax
	movl	%eax, %r13d
	shrl	$31, %r13d
	addl	%eax, %r13d
	sarl	%r13d
	movl	%ecx, %r14d
	addl	%ecx, %r13d
	movq	%rbx, %r15
	movq	16(%rbx), %rax
	movslq	%r13d, %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_TransactionIdEquals
	testq	%rax, %rax
	jne	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=2
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_TransactionIdPrecedes
	testq	%rax, %rax
	jne	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=2
	decl	%r13d
	movl	%r13d, %eax
	movq	%r15, %rbx
	movl	%r14d, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_18
	jmp	LBB0_11
LBB0_21:
	xorl	%r8d, %r8d
LBB0_22:
	movl	%r8d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movl	$1, %r8d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_nParallelCurrentXids,4,2       ## @nParallelCurrentXids
	.comm	_ParallelCurrentXids,8,3        ## @ParallelCurrentXids
	.comm	_CurrentTransactionState,8,3    ## @CurrentTransactionState
	.comm	_TRANS_ABORT,8,3                ## @TRANS_ABORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdIsCurrentTransactionId ; -- Begin function TransactionIdIsCurrentTransactionId
	.p2align	2
_TransactionIdIsCurrentTransactionId:   ; @TransactionIdIsCurrentTransactionId
	.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
	bl	_TransactionIdIsNormal
	cbz	w0, LBB0_3
; %bb.1:
	bl	_GetTopTransactionIdIfAny
	mov	x1, x0
	mov	x0, x19
	bl	_TransactionIdEquals
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #1
LBB0_3:
	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
LBB0_4:
Lloh0:
	adrp	x8, _nParallelCurrentXids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nParallelCurrentXids@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #0
	b.le	LBB0_8
; %bb.5:
	mov	w8, #0
	sub	w9, w9, #1
Lloh3:
	adrp	x10, _ParallelCurrentXids@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ParallelCurrentXids@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w9, w8
	cmp	w11, #0
	cinc	w11, w11, lt
	add	w11, w8, w11, asr #1
	ldr	x12, [x10, w11, sxtw #3]
	cmp	x12, x19
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w13, w11, #1
	cmp	x12, x19
	csel	w9, w9, w13, lt
	csinc	w8, w8, w11, ge
	cmp	w9, w8
	b.ge	LBB0_6
	b	LBB0_18
LBB0_8:
Lloh6:
	adrp	x8, _CurrentTransactionState@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CurrentTransactionState@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	cbz	x21, LBB0_18
; %bb.9:
Lloh9:
	adrp	x22, _TRANS_ABORT@GOTPAGE
Lloh10:
	ldr	x22, [x22, _TRANS_ABORT@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #0
	ldr	x21, [x21, #32]
	cbz	x21, LBB0_3
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x21, #24]
	bl	_FullTransactionIdIsValid
	cbz	w0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x21, #24]
	bl	_XidFromFullTransactionId
	mov	x1, x0
	mov	x0, x19
	bl	_TransactionIdEquals
	cbnz	x0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x21, #8]
	subs	w23, w8, #1
	b.lt	LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w24, #0
LBB0_16:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w8, w23, w24
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w25, w24, w8, asr #1
	ldr	x8, [x21, #16]
	ldr	x20, [x8, w25, sxtw #3]
	mov	x0, x20
	mov	x1, x19
	bl	_TransactionIdEquals
	cbnz	x0, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_TransactionIdPrecedes
	sub	w8, w25, #1
	cmp	x0, #0
	csinc	w24, w24, w25, eq
	csel	w23, w8, w23, eq
	cmp	w23, w24
	b.ge	LBB0_16
	b	LBB0_10
LBB0_18:
	mov	w0, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_nParallelCurrentXids,4,2       ; @nParallelCurrentXids
	.comm	_ParallelCurrentXids,8,3        ; @ParallelCurrentXids
	.comm	_CurrentTransactionState,8,3    ; @CurrentTransactionState
	.comm	_TRANS_ABORT,8,3                ; @TRANS_ABORT
.subsections_via_symbols
