	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _aarch64_minidump_walk_pages
__aarch64_minidump_walk_pages:          ## @_aarch64_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rax
	movslq	(%rax), %rbx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	32(%rax), %esi
	leaq	-48(%rbp), %rdi
	leaq	-88(%rbp), %rdx
	callq	__kvm_bitmap_init
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$8, %ebx
	jae	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-48(%rbp), %rdi
	leaq	-88(%rbp), %rsi
	callq	__kvm_bitmap_next
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_AARCH64_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-88(%rbp), %rcx
	imulq	%rax, %rcx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	16(%rsi), %r9
	addq	%rcx, %r9
	leaq	(%r9,%rax), %rdx
	cmpq	%rdx, 24(%rsi)
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_VM_PROT_READ@GOTPCREL(%rip), %rdx
	movq	_VM_PROT_WRITE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ebx
	orl	(%rdx), %ebx
	subq	$8, %rsp
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%rax
	pushq	%rbx
	callq	__kvm_visit_cb
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_11
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_3:
	shrq	$3, %rbx
	cmpq	$2, %rbx
	movl	$1, %r14d
	cmovaeq	%rbx, %r14
	xorl	%r15d, %r15d
	movq	_AARCH64_ATTR_DESCR_MASK@GOTPCREL(%rip), %r12
	movq	_AARCH64_L3_PAGE@GOTPCREL(%rip), %r13
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	__aarch64_pte_get
	movq	(%r12), %rcx
	andq	%rax, %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_AARCH64_L3_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movq	%r15, %r13
	shlq	%cl, %r13
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addq	8(%rcx), %r13
	movq	_AARCH64_ATTR_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r14
	notq	%r14
	andq	%rax, %r14
	movq	16(%rcx), %rbx
	addq	%r14, %rbx
	movq	%rax, %rdi
	callq	__aarch64_entry_to_prot
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %rcx
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, %r8
	movq	_AARCH64_L3_PAGE@GOTPCREL(%rip), %r13
	movq	%rbx, %r9
	movq	_AARCH64_ATTR_DESCR_MASK@GOTPCREL(%rip), %r12
	pushq	$0
	movq	_AARCH64_PAGE_SIZE@GOTPCREL(%rip), %rbx
	pushq	(%rbx)
	pushq	%rax
	callq	__kvm_visit_cb
	addq	$32, %rsp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%r14d, %r14d
LBB0_11:
	leaq	-48(%rbp), %rdi
	callq	__kvm_bitmap_deinit
LBB0_12:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AARCH64_ATTR_DESCR_MASK,8,3    ## @AARCH64_ATTR_DESCR_MASK
	.comm	_AARCH64_L3_PAGE,8,3            ## @AARCH64_L3_PAGE
	.comm	_AARCH64_L3_SHIFT,8,3           ## @AARCH64_L3_SHIFT
	.comm	_AARCH64_ATTR_MASK,8,3          ## @AARCH64_ATTR_MASK
	.comm	_AARCH64_PAGE_SIZE,8,3          ## @AARCH64_PAGE_SIZE
	.comm	_VM_PROT_READ,4,2               ## @VM_PROT_READ
	.comm	_VM_PROT_WRITE,4,2              ## @VM_PROT_WRITE
	.no_dead_strip	__aarch64_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 _aarch64_minidump_walk_pages
__aarch64_minidump_walk_pages:          ; @_aarch64_minidump_walk_pages
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x20, x1
	mov	x21, x0
	ldr	x26, [x0]
	ldrsw	x23, [x26]
	ldr	w1, [x26, #32]
	add	x0, sp, #16
	add	x2, sp, #24
	bl	__kvm_bitmap_init
	cbz	w0, LBB0_5
; %bb.1:
	cmp	w23, #8
	b.hs	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	add	x1, sp, #24
	bl	__kvm_bitmap_next
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #24]
Lloh0:
	adrp	x9, _AARCH64_PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AARCH64_PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x7, [x9]
	mul	x3, x7, x8
	ldp	x8, x9, [x26, #16]
	add	x5, x8, x3
	add	x8, x5, x7
	cmp	x9, x8
	b.lt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh3:
	adrp	x8, _VM_PROT_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_PROT_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VM_PROT_WRITE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_PROT_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w6, w9, w8
	str	wzr, [sp]
	mov	x0, x21
	mov	x1, x20
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x4, #0
	bl	__kvm_visit_cb
	cbnz	w0, LBB0_2
	b	LBB0_11
LBB0_5:
	mov	w19, #0
	b	LBB0_13
LBB0_6:
	mov	w19, #1
	b	LBB0_12
LBB0_7:
	mov	x22, #0
	lsr	x8, x23, #3
	cmp	x8, #1
	csinc	x28, x8, xzr, hi
Lloh9:
	adrp	x27, _AARCH64_ATTR_DESCR_MASK@GOTPAGE
Lloh10:
	ldr	x27, [x27, _AARCH64_ATTR_DESCR_MASK@GOTPAGEOFF]
Lloh11:
	adrp	x19, _AARCH64_L3_PAGE@GOTPAGE
Lloh12:
	ldr	x19, [x19, _AARCH64_L3_PAGE@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	cmp	x28, x22
	b.eq	LBB0_2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	__aarch64_pte_get
	ldr	x8, [x27]
	and	x8, x8, x0
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh13:
	adrp	x8, _AARCH64_L3_SHIFT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AARCH64_L3_SHIFT@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	lsl	x8, x22, x8
	ldp	x9, x10, [x26, #8]
	add	x23, x8, x9
Lloh16:
	adrp	x8, _AARCH64_ATTR_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AARCH64_ATTR_MASK@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	bic	x24, x0, x8
	add	x25, x10, x24
	bl	__aarch64_entry_to_prot
	mov	x6, x0
Lloh19:
	adrp	x8, _AARCH64_PAGE_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AARCH64_PAGE_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	x7, [x8]
	str	wzr, [sp]
	mov	x0, x21
	mov	x1, x20
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	mov	x3, x24
	mov	x4, x23
	mov	x5, x25
	bl	__kvm_visit_cb
	cbnz	w0, LBB0_8
LBB0_11:
	mov	w19, #0
LBB0_12:
	add	x0, sp, #16
	bl	__kvm_bitmap_deinit
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AARCH64_ATTR_DESCR_MASK,8,3    ; @AARCH64_ATTR_DESCR_MASK
	.comm	_AARCH64_L3_PAGE,8,3            ; @AARCH64_L3_PAGE
	.comm	_AARCH64_L3_SHIFT,8,3           ; @AARCH64_L3_SHIFT
	.comm	_AARCH64_ATTR_MASK,8,3          ; @AARCH64_ATTR_MASK
	.comm	_AARCH64_PAGE_SIZE,8,3          ; @AARCH64_PAGE_SIZE
	.comm	_VM_PROT_READ,4,2               ; @VM_PROT_READ
	.comm	_VM_PROT_WRITE,4,2              ; @VM_PROT_WRITE
	.no_dead_strip	__aarch64_minidump_walk_pages
.subsections_via_symbols
