	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _mips_iterator_next
__mips_iterator_next:                   ## @_mips_iterator_next
	.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	%r8, %r12
	movq	%rsi, %r8
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rax
	movq	_VM_PROT_EXECUTE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	movl	%esi, (%r12)
	movq	$0, (%r8)
	movq	$0, (%rdx)
	movq	$0, (%rcx)
	movl	(%rdi), %esi
	xorl	%r13d, %r13d
	cmpl	4(%rdi), %esi
	jge	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	_MIPS_PTE_V@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	__mips32_pte_get
	testl	%eax, (%r15)
	jne	LBB0_8
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	incl	%esi
	movl	%esi, (%rbx)
	cmpl	4(%rbx), %esi
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$64, (%r14)
	movq	8(%rbx), %rdi
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	__mips64_pte_get
	testl	%eax, (%r15)
	je	LBB0_12
## %bb.4:
	movq	_MIPS64_PTE_RO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r12)
LBB0_6:
	movl	%eax, %edi
	callq	_MIPS64_PTE_TO_PA
	jmp	LBB0_11
LBB0_8:
	movq	_MIPS32_PTE_RO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
## %bb.9:
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%r12)
LBB0_10:
	movl	%eax, %edi
	callq	_MIPS32_PTE_TO_PA
LBB0_11:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	(%rbx), %eax
	movq	_MIPS_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	shll	%cl, %edx
	movslq	%edx, %rcx
	addq	8(%r14), %rcx
	movq	%rcx, (%rsi)
	incl	%eax
	movl	%eax, (%rbx)
	movl	$1, %r13d
LBB0_13:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ## @VM_PROT_EXECUTE
	.comm	_MIPS_PTE_V,4,2                 ## @MIPS_PTE_V
	.comm	_MIPS64_PTE_RO,4,2              ## @MIPS64_PTE_RO
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.comm	_MIPS32_PTE_RO,4,2              ## @MIPS32_PTE_RO
	.comm	_MIPS_PAGE_SHIFT,4,2            ## @MIPS_PAGE_SHIFT
	.no_dead_strip	__mips_iterator_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _mips_iterator_next
__mips_iterator_next:                   ; @_mips_iterator_next
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, _VM_PROT_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_PROT_READ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VM_PROT_EXECUTE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VM_PROT_EXECUTE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x4]
	str	xzr, [x1]
	str	xzr, [x2]
	str	xzr, [x3]
	ldp	w1, w8, [x0]
	cmp	w1, w8
	b.ge	LBB0_9
; %bb.1:
	mov	x22, x4
	mov	x20, x2
	mov	x19, x0
Lloh6:
	adrp	x24, _MIPS_PTE_V@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MIPS_PTE_V@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	__mips32_pte_get
	ldr	w8, [x24]
	tst	w8, w0
	b.ne	LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w8, w9, [x19]
	add	w1, w8, #1
	str	w1, [x19]
	cmp	w1, w9
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	ldr	x0, [x19, #8]
	cmp	w8, #64
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	__mips64_pte_get
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.6:
Lloh8:
	adrp	x8, _MIPS64_PTE_RO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MIPS64_PTE_RO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_8
; %bb.7:
Lloh11:
	adrp	x8, _VM_PROT_WRITE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_8:
	bl	_MIPS64_PTE_TO_PA
	b	LBB0_13
LBB0_9:
	mov	w0, #0
	b	LBB0_14
LBB0_10:
Lloh14:
	adrp	x8, _MIPS32_PTE_RO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MIPS32_PTE_RO@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_12
; %bb.11:
Lloh17:
	adrp	x8, _VM_PROT_WRITE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_12:
	bl	_MIPS32_PTE_TO_PA
LBB0_13:
	str	x0, [x21]
	ldr	x8, [x23, #8]
	ldr	w9, [x19]
Lloh20:
	adrp	x10, _MIPS_PAGE_SHIFT@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MIPS_PAGE_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	add	x8, x8, w10, sxtw
	str	x8, [x20]
	add	w8, w9, #1
	str	w8, [x19]
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_VM_PROT_EXECUTE,4,2            ; @VM_PROT_EXECUTE
	.comm	_MIPS_PTE_V,4,2                 ; @MIPS_PTE_V
	.comm	_MIPS64_PTE_RO,4,2              ; @MIPS64_PTE_RO
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.comm	_MIPS32_PTE_RO,4,2              ; @MIPS32_PTE_RO
	.comm	_MIPS_PAGE_SHIFT,4,2            ; @MIPS_PAGE_SHIFT
	.no_dead_strip	__mips_iterator_next
.subsections_via_symbols
