	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdSetTreeStatus     ## -- Begin function TransactionIdSetTreeStatus
	.p2align	4, 0x90
_TransactionIdSetTreeStatus:            ## @TransactionIdSetTreeStatus
	.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
	movl	%r8d, %r14d
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%esi, %r15d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	callq	_TransactionIdToPage
	movq	_TRANSACTION_STATUS_COMMITTED@GOTPCREL(%rip), %rcx
	cmpq	%rbx, (%rcx)
	sete	%cl
	movq	_TRANSACTION_STATUS_ABORTED@GOTPCREL(%rip), %rdx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rbx, (%rdx)
	movl	%r15d, %ebx
	movl	%eax, %r13d
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_Assert
	testl	%r15d, %r15d
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	jle	LBB0_1
## %bb.6:
	movl	%ebx, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14,4), %edi
	callq	_TransactionIdToPage
	cmpl	%r13d, %eax
	jne	LBB0_2
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%r14
	cmpq	%r14, %r15
	jne	LBB0_7
	jmp	LBB0_9
LBB0_1:
	xorl	%r14d, %r14d
LBB0_2:
	cmpl	%ebx, %r14d
	jne	LBB0_3
LBB0_9:
	movl	$1, (%rsp)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	movq	%r12, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r13d, %r9d
	callq	_TransactionIdSetPageStatus
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	subl	%r14d, %ebx
	movl	%r14d, %eax
	leaq	(%r12,%rax,4), %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	_TRANSACTION_STATUS_COMMITTED@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_5
## %bb.4:
	movq	_TRANSACTION_STATUS_SUB_COMMITTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%r15d, %ecx
	callq	_set_status_by_pages
LBB0_5:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_TransactionIdToPage
	movl	$0, (%rsp)
	movl	%r13d, %edi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movl	%ebx, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_TransactionIdSetPageStatus
	movl	%r14d, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_status_by_pages            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRANSACTION_STATUS_COMMITTED,8,3 ## @TRANSACTION_STATUS_COMMITTED
	.comm	_TRANSACTION_STATUS_ABORTED,8,3 ## @TRANSACTION_STATUS_ABORTED
	.comm	_TRANSACTION_STATUS_SUB_COMMITTED,8,3 ## @TRANSACTION_STATUS_SUB_COMMITTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_TransactionIdSetTreeStatus     ; -- Begin function TransactionIdSetTreeStatus
	.p2align	2
_TransactionIdSetTreeStatus:            ; @TransactionIdSetTreeStatus
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
	bl	_TransactionIdToPage
	mov	x25, x0
Lloh0:
	adrp	x26, _TRANSACTION_STATUS_COMMITTED@GOTPAGE
Lloh1:
	ldr	x26, [x26, _TRANSACTION_STATUS_COMMITTED@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x8, x20
Lloh2:
	adrp	x8, _TRANSACTION_STATUS_ABORTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRANSACTION_STATUS_ABORTED@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ccmp	x8, x20, #4, ne
	cset	w0, eq
	bl	_Assert
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x24, #0
	mov	w27, w23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, x24, lsl #2]
	bl	_TransactionIdToPage
	cmp	w0, w25
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	cmp	x27, x24
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w24, #0
LBB0_5:
	cmp	w24, w23
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x25
	mov	w6, #1
	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
	b	_TransactionIdSetPageStatus
LBB0_7:
	ldr	x8, [x26]
	sub	w23, w23, w24
	mov	w25, w24
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.8:
	add	x1, x21, x25, lsl #2
Lloh5:
	adrp	x8, _TRANSACTION_STATUS_SUB_COMMITTED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRANSACTION_STATUS_SUB_COMMITTED@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
	mov	x0, x23
	mov	x3, x19
	bl	_set_status_by_pages
LBB0_9:
	mov	x0, x22
	bl	_TransactionIdToPage
	mov	x5, x0
	mov	x0, x22
	mov	x1, x24
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	w6, #0
	bl	_TransactionIdSetPageStatus
	add	x1, x21, x25, lsl #2
	mov	x0, x23
	mov	x2, x20
	mov	x3, 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
	b	_set_status_by_pages
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TRANSACTION_STATUS_COMMITTED,8,3 ; @TRANSACTION_STATUS_COMMITTED
	.comm	_TRANSACTION_STATUS_ABORTED,8,3 ; @TRANSACTION_STATUS_ABORTED
	.comm	_TRANSACTION_STATUS_SUB_COMMITTED,8,3 ; @TRANSACTION_STATUS_SUB_COMMITTED
.subsections_via_symbols
