	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_status_by_pages
_set_status_by_pages:                   ## @set_status_by_pages
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movl	%edi, %ebx
	movl	(%rsi), %edi
	callq	_TransactionIdToPage
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setg	%dil
	callq	_Assert
	testl	%ebx, %ebx
	jle	LBB0_7
## %bb.1:
	movl	%ebx, %r13d
	xorl	%r12d, %r12d
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %r12
	leaq	(%r14,%r12,4), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15,%r14,4), %edi
	callq	_TransactionIdToPage
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	leaq	(%r12,%r14), %rax
	incq	%rax
	incq	%r14
	cmpq	%r13, %rax
	jl	LBB0_3
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%r14d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$0, (%rsp)
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_TransactionIdSetPageStatus
	addq	%r14, %r12
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, -64(%rbp)                 ## 4-byte Folded Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jl	LBB0_2
	jmp	LBB0_7
LBB0_5:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$0, (%rsp)
	movl	%r14d, %esi
	movq	%r15, %rdx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_TransactionIdSetPageStatus
LBB0_7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.no_dead_strip	_set_status_by_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_status_by_pages
_set_status_by_pages:                   ; @set_status_by_pages
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w0, [x1]
	bl	_TransactionIdToPage
	mov	x23, x0
	cmp	w22, #0
	cset	w0, gt
	bl	_Assert
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
	mov	w26, w22
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	mov	x24, #0
	sxtw	x28, w8
	add	x27, x21, w8, sxtw #2
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27, x24, lsl #2]
	bl	_TransactionIdToPage
	cmp	w0, w23
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=2
	add	x24, x24, #1
	add	x8, x28, x24
	cmp	x8, x26
	b.lt	LBB0_3
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, x0
	add	w27, w28, w24
Lloh0:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, x21, x28, lsl #2
	mov	x1, x24
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	mov	w6, #0
	bl	_TransactionIdSetPageStatus
	add	x8, x28, x24
	mov	x23, x25
	cmp	w27, w22
	b.lt	LBB0_2
LBB0_6:
	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
LBB0_7:
Lloh3:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x2, x21, x28, lsl #2
	mov	x1, x24
	mov	x3, x20
	mov	x4, x19
	mov	x5, x23
	mov	w6, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.no_dead_strip	_set_status_by_pages
.subsections_via_symbols
