	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _i386_vatop
__i386_vatop:                           ## @_i386_vatop
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_I386_PAGE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	andl	%r14d, %r13d
	testq	%rax, %rax
	je	LBB0_1
## %bb.6:
	movq	_I386_PDRSHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%r14, %rdx
	shrq	%cl, %rdx
	movl	(%rax,%rdx,4), %edi
	callq	_le32toh
                                        ## kill: def $eax killed $eax def $rax
	movq	_I386_PG_V@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.8:
	movq	_I386_PG_PS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.9:
	movq	_I386_PAGE_PS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	andl	%r14d, %r13d
	movq	_I386_PG_PS_FRAME@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	%r13d, %eax
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	__kvm_pa2off
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	_I386_NBPDR@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	__kvm_pa2off
	testq	%rax, %rax
	je	LBB0_2
LBB0_4:
	movq	_I386_PAGE_SIZE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
	subl	%r13d, %ebx
	jmp	LBB0_17
LBB0_7:
	movl	(%r12), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_3
LBB0_12:
	movq	_I386_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%r14, %rdx
	shrq	%cl, %rdx
	movq	_I386_NPTEPG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	decl	%ecx
	movq	_I386_PG_FRAME@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	andl	%ecx, %edx
	leal	(%rax,%rdx,4), %esi
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	callq	__kvm_pa2off
	cmpq	$3, %rax
	ja	LBB0_14
## %bb.13:
	movl	(%r12), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	movl	(%r12), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_3
LBB0_10:
	movl	(%r12), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_3:
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	__kvm_err
LBB0_16:
	leaq	L_.str.7(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	__kvm_err
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	4(%r12), %edi
	movl	-44(%rbp), %ecx
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	callq	_pread
	cmpl	$4, %eax
	jne	LBB0_15
## %bb.18:
	movl	-48(%rbp), %edi
	callq	_le32toh
	testl	%eax, (%rbx)
	je	LBB0_19
## %bb.20:
	movq	_I386_PG_FRAME@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	addl	%r13d, %eax
	movq	%r12, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	__kvm_pa2off
	testq	%rax, %rax
	jne	LBB0_4
## %bb.21:
	movl	(%r12), %esi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_3
LBB0_15:
	movl	(%r12), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
	callq	__kvm_syserr
	jmp	LBB0_16
LBB0_19:
	movl	(%r12), %esi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_I386_PAGE_MASK,8,3             ## @I386_PAGE_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_i386_vatop: bootstrap data not in dump"

	.comm	_I386_PAGE_SIZE,4,2             ## @I386_PAGE_SIZE
	.comm	_I386_PDRSHIFT,8,3              ## @I386_PDRSHIFT
	.comm	_I386_PG_V,4,2                  ## @I386_PG_V
L_.str.1:                               ## @.str.1
	.asciz	"_i386_vatop: pde not valid"

	.comm	_I386_PG_PS,4,2                 ## @I386_PG_PS
	.comm	_I386_PAGE_PS_MASK,8,3          ## @I386_PAGE_PS_MASK
	.comm	_I386_PG_PS_FRAME,4,2           ## @I386_PG_PS_FRAME
L_.str.2:                               ## @.str.2
	.asciz	"_i386_vatop: 4MB page address not in dump"

	.comm	_I386_NBPDR,4,2                 ## @I386_NBPDR
	.comm	_I386_PAGE_SHIFT,8,3            ## @I386_PAGE_SHIFT
	.comm	_I386_NPTEPG,4,2                ## @I386_NPTEPG
	.comm	_I386_PG_FRAME,4,2              ## @I386_PG_FRAME
L_.str.3:                               ## @.str.3
	.asciz	"_i386_vatop: pte_pa not found"

L_.str.4:                               ## @.str.4
	.asciz	"_i386_vatop: pread"

L_.str.5:                               ## @.str.5
	.asciz	"_kvm_kvatop: pte not valid"

L_.str.6:                               ## @.str.6
	.asciz	"_i386_vatop: address not in dump"

L_.str.7:                               ## @.str.7
	.asciz	"invalid address (0x%jx)"

	.no_dead_strip	__i386_vatop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _i386_vatop
__i386_vatop:                           ; @_i386_vatop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _I386_PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I386_PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w22, w9, w20
	cbz	x8, LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _I386_PDRSHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I386_PDRSHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsr	x9, x20, x9
	ldr	w0, [x8, x9, lsl #2]
	bl	_le32toh
Lloh6:
	adrp	x23, _I386_PG_V@GOTPAGE
Lloh7:
	ldr	x23, [x23, _I386_PG_V@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.2:
Lloh8:
	adrp	x8, _I386_PG_PS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I386_PG_PS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.3:
Lloh11:
	adrp	x8, _I386_PAGE_PS_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I386_PAGE_PS_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w22, w8, w20
Lloh14:
	adrp	x8, _I386_PG_PS_FRAME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I386_PG_PS_FRAME@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	and	w8, w8, w0
	add	w1, w8, w22
	mov	x0, x19
	mov	x2, x21
	bl	__kvm_pa2off
	cbz	x0, LBB0_12
; %bb.4:
Lloh17:
	adrp	x8, _I386_NBPDR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I386_NBPDR@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	__kvm_pa2off
	cbz	x0, LBB0_11
LBB0_6:
Lloh19:
	adrp	x8, _I386_PAGE_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _I386_PAGE_SIZE@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	sub	w0, w8, w22
	b	LBB0_15
LBB0_8:
	ldr	w1, [x19]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_9:
Lloh23:
	adrp	x8, _I386_PAGE_SHIFT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _I386_PAGE_SHIFT@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	lsr	x8, x20, x8
Lloh26:
	adrp	x9, _I386_NPTEPG@GOTPAGE
Lloh27:
	ldr	x9, [x9, _I386_NPTEPG@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	sub	w9, w9, #1
Lloh29:
	adrp	x24, _I386_PG_FRAME@GOTPAGE
Lloh30:
	ldr	x24, [x24, _I386_PG_FRAME@GOTPAGEOFF]
	ldr	w10, [x24]
	and	w10, w10, w0
	and	w8, w9, w8
	add	w1, w10, w8, lsl #2
	add	x2, sp, #8
	mov	x0, x19
	bl	__kvm_pa2off
	cmp	x0, #3
	b.hi	LBB0_16
; %bb.10:
	ldr	w1, [x19]
Lloh31:
	adrp	x2, l_.str.3@PAGE
Lloh32:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_11:
	ldr	w1, [x19]
Lloh33:
	adrp	x2, l_.str@PAGE
Lloh34:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_13
LBB0_12:
	ldr	w1, [x19]
Lloh35:
	adrp	x2, l_.str.2@PAGE
Lloh36:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_13:
	mov	x0, x19
	bl	__kvm_err
LBB0_14:
	str	x20, [sp]
Lloh37:
	adrp	x2, l_.str.7@PAGE
Lloh38:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	__kvm_err
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	ldr	w0, [x19, #4]
	ldr	w3, [sp, #8]
	add	x1, sp, #12
	mov	w2, #4
	bl	_pread
	cmp	w0, #4
	b.ne	LBB0_20
; %bb.17:
	ldr	w0, [sp, #12]
	bl	_le32toh
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_21
; %bb.18:
	ldr	w8, [x24]
	and	w8, w8, w0
	add	w1, w8, w22
	mov	x0, x19
	mov	x2, x21
	bl	__kvm_pa2off
	cbnz	x0, LBB0_6
; %bb.19:
	ldr	w1, [x19]
Lloh39:
	adrp	x2, l_.str.6@PAGE
Lloh40:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_20:
	ldr	w1, [x19]
Lloh41:
	adrp	x2, l_.str.4@PAGE
Lloh42:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	__kvm_syserr
	b	LBB0_14
LBB0_21:
	ldr	w1, [x19]
Lloh43:
	adrp	x2, l_.str.5@PAGE
Lloh44:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_I386_PAGE_MASK,8,3             ; @I386_PAGE_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_i386_vatop: bootstrap data not in dump"

	.comm	_I386_PAGE_SIZE,4,2             ; @I386_PAGE_SIZE
	.comm	_I386_PDRSHIFT,8,3              ; @I386_PDRSHIFT
	.comm	_I386_PG_V,4,2                  ; @I386_PG_V
l_.str.1:                               ; @.str.1
	.asciz	"_i386_vatop: pde not valid"

	.comm	_I386_PG_PS,4,2                 ; @I386_PG_PS
	.comm	_I386_PAGE_PS_MASK,8,3          ; @I386_PAGE_PS_MASK
	.comm	_I386_PG_PS_FRAME,4,2           ; @I386_PG_PS_FRAME
l_.str.2:                               ; @.str.2
	.asciz	"_i386_vatop: 4MB page address not in dump"

	.comm	_I386_NBPDR,4,2                 ; @I386_NBPDR
	.comm	_I386_PAGE_SHIFT,8,3            ; @I386_PAGE_SHIFT
	.comm	_I386_NPTEPG,4,2                ; @I386_NPTEPG
	.comm	_I386_PG_FRAME,4,2              ; @I386_PG_FRAME
l_.str.3:                               ; @.str.3
	.asciz	"_i386_vatop: pte_pa not found"

l_.str.4:                               ; @.str.4
	.asciz	"_i386_vatop: pread"

l_.str.5:                               ; @.str.5
	.asciz	"_kvm_kvatop: pte not valid"

l_.str.6:                               ; @.str.6
	.asciz	"_i386_vatop: address not in dump"

l_.str.7:                               ; @.str.7
	.asciz	"invalid address (0x%jx)"

	.no_dead_strip	__i386_vatop
.subsections_via_symbols
