	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _arm_initvtop
__arm_initvtop:                         ## @_arm_initvtop
	.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	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, 16(%rdi)
	je	LBB0_3
## %bb.1:
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdx
LBB0_2:
	movq	%r13, %rdi
	callq	__kvm_err
	movl	$-1, %r14d
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.27:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r13, %rdi
	movl	$24, %esi
	callq	__kvm_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	%rax, 8(%r13)
	movq	$0, 8(%rax)
	movq	%rax, %rbx
	addq	$16, %rbx
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	__kvm_read_core_phdrs
	movl	$-1, %r14d
	cmpl	$-1, %eax
	je	LBB0_26
## %bb.6:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movq	(%rbx), %rcx
	movq	_PT_DUMP_DELTA@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	$16, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, -16(%rcx)
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	$24, %rcx
	decq	%rax
	jne	LBB0_8
LBB0_11:
	movq	$0, -64(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_kvm_nlist2
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movl	(%r13), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_13
LBB0_4:
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_2
LBB0_9:
	movq	-8(%rcx), %r12
	movq	(%rcx), %rbx
	movq	$0, -64(%rbp)
	jmp	LBB0_17
LBB0_14:
	movq	-72(%rbp), %rbx
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_kvm_nlist2
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	(%r13), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_13
LBB0_16:
	movq	-72(%rbp), %r12
LBB0_17:
	leaq	L_.str.6(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_kvm_nlist2
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	(%r13), %esi
	leaq	L_.str.7(%rip), %rdx
	jmp	LBB0_13
LBB0_19:
	subq	%rbx, %r12
	addq	-72(%rbp), %r12
	leaq	-88(%rbp), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$8, %ecx
	callq	_kvm_read2
	cmpl	$8, %eax
	jne	LBB0_20
## %bb.21:
	movq	_ARM_L1_TABLE_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	__kvm_malloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movq	%rax, %r12
	movq	-88(%rbp), %rsi
	movl	(%rbx), %ecx
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_kvm_read2
	cmpl	(%rbx), %eax
	jne	LBB0_24
## %bb.25:
	movq	%r12, 8(%r15)
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_20:
	movl	(%r13), %esi
	leaq	L_.str.8(%rip), %rdx
	jmp	LBB0_13
LBB0_22:
	movl	(%r13), %esi
	leaq	L_.str.9(%rip), %rdx
LBB0_13:
	movq	%r13, %rdi
	callq	__kvm_err
	jmp	LBB0_26
LBB0_24:
	movl	(%r13), %esi
	leaq	L_.str.10(%rip), %rdx
	movq	%r13, %rdi
	callq	__kvm_err
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_26
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"raw dumps not supported on arm"

L_.str.1:                               ## @.str.1
	.asciz	"cannot allocate vm"

	.comm	_PT_DUMP_DELTA,8,3              ## @PT_DUMP_DELTA
L_.str.2:                               ## @.str.2
	.asciz	"kernbase"

L_.str.3:                               ## @.str.3
	.asciz	"cannot resolve kernbase"

L_.str.4:                               ## @.str.4
	.asciz	"physaddr"

L_.str.5:                               ## @.str.5
	.asciz	"couldn't get phys addr"

L_.str.6:                               ## @.str.6
	.asciz	"kernel_l1pa"

L_.str.7:                               ## @.str.7
	.asciz	"bad namelist"

L_.str.8:                               ## @.str.8
	.asciz	"cannot read kernel_l1pa"

	.comm	_ARM_L1_TABLE_SIZE,4,2          ## @ARM_L1_TABLE_SIZE
L_.str.9:                               ## @.str.9
	.asciz	"cannot allocate l1pt"

L_.str.10:                              ## @.str.10
	.asciz	"cannot read l1pt"

	.comm	_KERNBASE,8,3                   ## @KERNBASE
	.no_dead_strip	__arm_initvtop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _arm_initvtop
__arm_initvtop:                         ; @_arm_initvtop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	w1, [x19]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	__kvm_err
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.5:
	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
	add	sp, sp, #96
	ret
LBB0_6:
	mov	x0, x19
	mov	w1, #24
	bl	__kvm_malloc
	cbz	x0, LBB0_14
; %bb.7:
	mov	x20, x0
	str	x0, [x19, #8]
	str	xzr, [x0, #8]
	add	x21, x0, #16
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	__kvm_read_core_phdrs
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.8:
	ldr	x8, [x20]
	cbz	x8, LBB0_12
; %bb.9:
	ldr	x9, [x21]
Lloh8:
	adrp	x10, _PT_DUMP_DELTA@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PT_DUMP_DELTA@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	add	x9, x9, #8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x9, #-8]
	cmp	x11, x10
	b.eq	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.ne	LBB0_10
LBB0_12:
Lloh11:
	adrp	x8, l_.str.2@PAGE
Lloh12:
	add	x8, x8, l_.str.2@PAGEOFF
	str	xzr, [sp, #24]
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_kvm_nlist2
	cbz	x0, LBB0_16
; %bb.13:
	ldr	w1, [x19]
Lloh13:
	adrp	x2, l_.str.3@PAGE
Lloh14:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_14:
	ldr	w1, [x19]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_15:
	ldp	x22, x21, [x9]
	str	xzr, [sp, #24]
	b	LBB0_19
LBB0_16:
	ldr	x21, [sp, #16]
Lloh17:
	adrp	x8, l_.str.4@PAGE
Lloh18:
	add	x8, x8, l_.str.4@PAGEOFF
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_kvm_nlist2
	cbz	x0, LBB0_18
; %bb.17:
	ldr	w1, [x19]
Lloh19:
	adrp	x2, l_.str.5@PAGE
Lloh20:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_2
LBB0_18:
	ldr	x22, [sp, #16]
LBB0_19:
Lloh21:
	adrp	x8, l_.str.6@PAGE
Lloh22:
	add	x8, x8, l_.str.6@PAGEOFF
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_kvm_nlist2
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w1, [x19]
Lloh23:
	adrp	x2, l_.str.7@PAGE
Lloh24:
	add	x2, x2, l_.str.7@PAGEOFF
	b	LBB0_2
LBB0_21:
	ldr	x8, [sp, #16]
	sub	x9, x22, x21
	add	x1, x9, x8
	mov	x2, sp
	mov	x0, x19
	mov	w3, #8
	bl	_kvm_read2
	cmp	w0, #8
	b.ne	LBB0_25
; %bb.22:
Lloh25:
	adrp	x22, _ARM_L1_TABLE_SIZE@GOTPAGE
Lloh26:
	ldr	x22, [x22, _ARM_L1_TABLE_SIZE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	__kvm_malloc
	cbz	x0, LBB0_26
; %bb.23:
	mov	x21, x0
	ldr	x1, [sp]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x21
	bl	_kvm_read2
	ldr	w8, [x22]
	cmp	w0, w8
	b.ne	LBB0_27
; %bb.24:
	mov	w0, #0
	str	x21, [x20, #8]
	b	LBB0_4
LBB0_25:
	ldr	w1, [x19]
Lloh27:
	adrp	x2, l_.str.8@PAGE
Lloh28:
	add	x2, x2, l_.str.8@PAGEOFF
	b	LBB0_2
LBB0_26:
	ldr	w1, [x19]
Lloh29:
	adrp	x2, l_.str.9@PAGE
Lloh30:
	add	x2, x2, l_.str.9@PAGEOFF
	b	LBB0_2
LBB0_27:
	ldr	w1, [x19]
Lloh31:
	adrp	x2, l_.str.10@PAGE
Lloh32:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	__kvm_err
	mov	x0, x21
	bl	_free
	b	LBB0_3
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"raw dumps not supported on arm"

l_.str.1:                               ; @.str.1
	.asciz	"cannot allocate vm"

	.comm	_PT_DUMP_DELTA,8,3              ; @PT_DUMP_DELTA
l_.str.2:                               ; @.str.2
	.asciz	"kernbase"

l_.str.3:                               ; @.str.3
	.asciz	"cannot resolve kernbase"

l_.str.4:                               ; @.str.4
	.asciz	"physaddr"

l_.str.5:                               ; @.str.5
	.asciz	"couldn't get phys addr"

l_.str.6:                               ; @.str.6
	.asciz	"kernel_l1pa"

l_.str.7:                               ; @.str.7
	.asciz	"bad namelist"

l_.str.8:                               ; @.str.8
	.asciz	"cannot read kernel_l1pa"

	.comm	_ARM_L1_TABLE_SIZE,4,2          ; @ARM_L1_TABLE_SIZE
l_.str.9:                               ; @.str.9
	.asciz	"cannot allocate l1pt"

l_.str.10:                              ; @.str.10
	.asciz	"cannot read l1pt"

	.comm	_KERNBASE,8,3                   ; @KERNBASE
	.no_dead_strip	__arm_initvtop
.subsections_via_symbols
