	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _arm_minidump_walk_pages
__arm_minidump_walk_pages:              ## @_arm_minidump_walk_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movl	(%r14), %eax
	cmpl	$4, %eax
	jl	LBB0_10
## %bb.1:
	shrl	$2, %eax
	xorl	%ebx, %ebx
	movq	_ARM_L2_TYPE_MASK@GOTPCREL(%rip), %r15
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ARM_L2_L_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_ARM_L2_L_OFFSET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	andl	%r13d, %r14d
	movq	_ARM_L2_S_FRAME@GOTPCREL(%rip), %rdx
	andl	(%rdx), %r14d
	addl	%ecx, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	__arm_entry_to_prot
                                        ## kill: def $eax killed $eax def $rax
	movq	_ARM_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%r13d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r10
	pushq	%rax
	callq	__kvm_visit_cb
	addq	$32, %rsp
	testl	%eax, %eax
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	_ARM_L2_TYPE_MASK@GOTPCREL(%rip), %r15
	je	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%ebx, %eax
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	__arm_pte_get
	movl	(%r15), %edx
	andl	%eax, %edx
	movq	_ARM_L2_TYPE_INV@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ARM_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	%ebx, %r13d
	shll	%cl, %r13d
	addl	4(%r14), %r13d
	movq	_ARM_L2_TYPE_L@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rcx
	movq	_MINIDUMP_MMU_FORMAT_V4@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ARM_L2_TYPE_T@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ARM_L2_S_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	%eax, %r14d
	jmp	LBB0_8
LBB0_10:
	movl	$1, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARM_L2_TYPE_MASK,4,2           ## @ARM_L2_TYPE_MASK
	.comm	_ARM_L2_TYPE_INV,4,2            ## @ARM_L2_TYPE_INV
	.comm	_ARM_PAGE_SHIFT,4,2             ## @ARM_PAGE_SHIFT
	.comm	_ARM_L2_TYPE_L,4,2              ## @ARM_L2_TYPE_L
	.comm	_ARM_L2_L_FRAME,4,2             ## @ARM_L2_L_FRAME
	.comm	_ARM_L2_L_OFFSET,4,2            ## @ARM_L2_L_OFFSET
	.comm	_ARM_L2_S_FRAME,4,2             ## @ARM_L2_S_FRAME
	.comm	_MINIDUMP_MMU_FORMAT_V4,8,3     ## @MINIDUMP_MMU_FORMAT_V4
	.comm	_ARM_L2_TYPE_T,4,2              ## @ARM_L2_TYPE_T
	.comm	_ARM_PAGE_SIZE,4,2              ## @ARM_PAGE_SIZE
	.no_dead_strip	__arm_minidump_walk_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _arm_minidump_walk_pages
__arm_minidump_walk_pages:              ; @_arm_minidump_walk_pages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x25, [x0]
	ldr	w8, [x25]
	cmp	w8, #4
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w22, #0
	lsr	w26, w8, #2
Lloh0:
	adrp	x27, _ARM_L2_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x27, [x27, _ARM_L2_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x28, _ARM_L2_TYPE_INV@GOTPAGE
Lloh3:
	ldr	x28, [x28, _ARM_L2_TYPE_INV@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh4:
	adrp	x8, _ARM_L2_L_FRAME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ARM_L2_L_FRAME@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	and	w8, w8, w1
Lloh7:
	adrp	x9, _ARM_L2_L_OFFSET@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ARM_L2_L_OFFSET@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	and	w9, w9, w23
Lloh10:
	adrp	x10, _ARM_L2_S_FRAME@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ARM_L2_S_FRAME@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	and	w9, w9, w10
	add	w24, w9, w8
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	__arm_entry_to_prot
	mov	x6, x0
Lloh13:
	adrp	x8, _ARM_PAGE_SIZE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ARM_PAGE_SIZE@GOTPAGEOFF]
Lloh15:
	ldr	w7, [x8]
	str	wzr, [sp]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	mov	x4, x23
	mov	w5, #0
	bl	__kvm_visit_cb
	cbz	w0, LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	cmp	w26, w22
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	__arm_pte_get
	ldr	w8, [x27]
	and	w8, w8, w0
	ldr	w9, [x28]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x0
	ldr	w9, [x25, #4]
Lloh16:
	adrp	x10, _ARM_PAGE_SHIFT@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ARM_PAGE_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	lsl	w10, w22, w10
	add	w23, w10, w9
Lloh19:
	adrp	x9, _ARM_L2_TYPE_L@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ARM_L2_TYPE_L@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x25, #8]
Lloh22:
	adrp	x10, _MINIDUMP_MMU_FORMAT_V4@GOTPAGE
Lloh23:
	ldr	x10, [x10, _MINIDUMP_MMU_FORMAT_V4@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
Lloh25:
	adrp	x11, _ARM_L2_TYPE_T@GOTPAGE
Lloh26:
	ldr	x11, [x11, _ARM_L2_TYPE_T@GOTPAGEOFF]
Lloh27:
	ldr	w11, [x11]
	cmp	x9, x10
	ccmp	w8, w11, #0, eq
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh28:
	adrp	x8, _ARM_L2_S_FRAME@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ARM_L2_S_FRAME@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	and	w24, w8, w1
	b	LBB0_3
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_ARM_L2_TYPE_MASK,4,2           ; @ARM_L2_TYPE_MASK
	.comm	_ARM_L2_TYPE_INV,4,2            ; @ARM_L2_TYPE_INV
	.comm	_ARM_PAGE_SHIFT,4,2             ; @ARM_PAGE_SHIFT
	.comm	_ARM_L2_TYPE_L,4,2              ; @ARM_L2_TYPE_L
	.comm	_ARM_L2_L_FRAME,4,2             ; @ARM_L2_L_FRAME
	.comm	_ARM_L2_L_OFFSET,4,2            ; @ARM_L2_L_OFFSET
	.comm	_ARM_L2_S_FRAME,4,2             ; @ARM_L2_S_FRAME
	.comm	_MINIDUMP_MMU_FORMAT_V4,8,3     ; @MINIDUMP_MMU_FORMAT_V4
	.comm	_ARM_L2_TYPE_T,4,2              ; @ARM_L2_TYPE_T
	.comm	_ARM_PAGE_SIZE,4,2              ; @ARM_PAGE_SIZE
	.no_dead_strip	__arm_minidump_walk_pages
.subsections_via_symbols
