	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TransactionLogFetch
_TransactionLogFetch:                   ## @TransactionLogFetch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_cachedFetchXid@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_TransactionIdEquals
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_cachedFetchXidStatus@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	%ebx, %edi
	callq	_TransactionIdIsNormal
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	leaq	-20(%rbp), %rsi
	movl	%ebx, %edi
	callq	_TransactionIdGetStatus
	movq	_TRANSACTION_STATUS_IN_PROGRESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.6:
	movq	_TRANSACTION_STATUS_SUB_COMMITTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.7:
	movl	%ebx, (%r14)
	movq	_cachedFetchXidStatus@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	-20(%rbp), %ecx
	movq	_cachedCommitLSN@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	jmp	LBB0_3
LBB0_8:
	movq	_BootstrapTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_TransactionIdEquals
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_FrozenTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_TransactionIdEquals
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	_TRANSACTION_STATUS_COMMITTED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movq	_TRANSACTION_STATUS_ABORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_cachedFetchXid,4,2             ## @cachedFetchXid
	.comm	_cachedFetchXidStatus,8,3       ## @cachedFetchXidStatus
	.comm	_BootstrapTransactionId,4,2     ## @BootstrapTransactionId
	.comm	_TRANSACTION_STATUS_COMMITTED,8,3 ## @TRANSACTION_STATUS_COMMITTED
	.comm	_FrozenTransactionId,4,2        ## @FrozenTransactionId
	.comm	_TRANSACTION_STATUS_ABORTED,8,3 ## @TRANSACTION_STATUS_ABORTED
	.comm	_TRANSACTION_STATUS_IN_PROGRESS,8,3 ## @TRANSACTION_STATUS_IN_PROGRESS
	.comm	_TRANSACTION_STATUS_SUB_COMMITTED,8,3 ## @TRANSACTION_STATUS_SUB_COMMITTED
	.comm	_cachedCommitLSN,4,2            ## @cachedCommitLSN
	.no_dead_strip	_TransactionLogFetch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TransactionLogFetch
_TransactionLogFetch:                   ; @TransactionLogFetch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _cachedFetchXid@GOTPAGE
Lloh1:
	ldr	x20, [x20, _cachedFetchXid@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_TransactionIdEquals
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _cachedFetchXidStatus@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cachedFetchXidStatus@GOTPAGEOFF]
LBB0_2:
	ldr	x0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	mov	x0, x19
	bl	_TransactionIdIsNormal
	cbz	w0, LBB0_7
; %bb.5:
	add	x1, sp, #12
	mov	x0, x19
	bl	_TransactionIdGetStatus
Lloh4:
	adrp	x8, _TRANSACTION_STATUS_IN_PROGRESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TRANSACTION_STATUS_IN_PROGRESS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _TRANSACTION_STATUS_SUB_COMMITTED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TRANSACTION_STATUS_SUB_COMMITTED@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_3
; %bb.6:
Lloh10:
	adrp	x8, _cachedFetchXidStatus@GOTPAGE
Lloh11:
	ldr	x8, [x8, _cachedFetchXidStatus@GOTPAGEOFF]
	str	w19, [x20]
Lloh12:
	str	x0, [x8]
	ldr	w8, [sp, #12]
Lloh13:
	adrp	x9, _cachedCommitLSN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _cachedCommitLSN@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
	b	LBB0_3
LBB0_7:
Lloh16:
	adrp	x8, _BootstrapTransactionId@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BootstrapTransactionId@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_TransactionIdEquals
	cbnz	x0, LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _FrozenTransactionId@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FrozenTransactionId@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_TransactionIdEquals
	cbz	x0, LBB0_10
LBB0_9:
Lloh22:
	adrp	x8, _TRANSACTION_STATUS_COMMITTED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TRANSACTION_STATUS_COMMITTED@GOTPAGEOFF]
	b	LBB0_2
LBB0_10:
Lloh24:
	adrp	x8, _TRANSACTION_STATUS_ABORTED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRANSACTION_STATUS_ABORTED@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_cachedFetchXid,4,2             ; @cachedFetchXid
	.comm	_cachedFetchXidStatus,8,3       ; @cachedFetchXidStatus
	.comm	_BootstrapTransactionId,4,2     ; @BootstrapTransactionId
	.comm	_TRANSACTION_STATUS_COMMITTED,8,3 ; @TRANSACTION_STATUS_COMMITTED
	.comm	_FrozenTransactionId,4,2        ; @FrozenTransactionId
	.comm	_TRANSACTION_STATUS_ABORTED,8,3 ; @TRANSACTION_STATUS_ABORTED
	.comm	_TRANSACTION_STATUS_IN_PROGRESS,8,3 ; @TRANSACTION_STATUS_IN_PROGRESS
	.comm	_TRANSACTION_STATUS_SUB_COMMITTED,8,3 ; @TRANSACTION_STATUS_SUB_COMMITTED
	.comm	_cachedCommitLSN,4,2            ; @cachedCommitLSN
	.no_dead_strip	_TransactionLogFetch
.subsections_via_symbols
