	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _i386_minidump_vatop
__i386_minidump_vatop:                  ## @_i386_minidump_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
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	8(%rdi), %rax
	movl	(%rax), %ecx
	cmpl	%esi, %ecx
	jle	LBB0_1
## %bb.7:
	movl	(%r13), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movl	%r14d, %ecx
LBB0_8:
	xorl	%eax, %eax
	callq	__kvm_err
	jmp	LBB0_9
LBB0_1:
	movl	%r14d, %esi
	subl	%ecx, %esi
	movq	_I386_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %esi
	movslq	%esi, %rcx
	movslq	4(%rax), %rax
	shrq	$2, %rax
	cmpq	%rcx, %rax
	jbe	LBB0_9
## %bb.2:
	movq	%rdx, %rbx
	movq	_I386_PAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	%r14d, %r15d
	movq	%r13, %rdi
	callq	__i386_pte_get
	movl	%eax, %r12d
	movq	_I386_PG_V@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_I386_PG_FRAME@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_I386_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	__kvm_pt_find
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.6:
	addl	%r15d, %eax
	movl	%eax, (%rbx)
	movq	_I386_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	subl	%r15d, %ebx
	jmp	LBB0_10
LBB0_3:
	movl	(%r13), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	__kvm_err
LBB0_9:
	leaq	L_.str.3(%rip), %rdx
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	__kvm_err
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	movl	%r12d, %ecx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_I386_PAGE_MASK,4,2             ## @I386_PAGE_MASK
	.comm	_I386_PAGE_SHIFT,4,2            ## @I386_PAGE_SHIFT
	.comm	_I386_PG_V,4,2                  ## @I386_PG_V
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_i386_minidump_vatop: pte not valid"

	.comm	_I386_PG_FRAME,4,2              ## @I386_PG_FRAME
	.comm	_I386_PAGE_SIZE,4,2             ## @I386_PAGE_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"_i386_minidump_vatop: physical address 0x%jx not in minidump"

L_.str.2:                               ## @.str.2
	.asciz	"_i386_minidump_vatop: virtual address 0x%jx not minidumped"

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

	.no_dead_strip	__i386_minidump_vatop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _i386_minidump_vatop
__i386_minidump_vatop:                  ; @_i386_minidump_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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w9, [x8]
	cmp	w9, w1
	b.le	LBB0_3
; %bb.1:
	ldr	w1, [x19]
	mov	x8, x20
	str	x8, [sp]
Lloh0:
	adrp	x2, l_.str.2@PAGE
Lloh1:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_2:
	mov	x0, x19
	bl	__kvm_err
	b	LBB0_7
LBB0_3:
Lloh2:
	adrp	x10, _I386_PAGE_SHIFT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _I386_PAGE_SHIFT@GOTPAGEOFF]
	sub	w9, w20, w9
Lloh4:
	ldr	w10, [x10]
	asr	w1, w9, w10
	sxtw	x9, w1
	ldrsw	x8, [x8, #4]
	cmp	x9, x8, lsr #2
	b.hs	LBB0_7
; %bb.4:
	mov	x21, x2
Lloh5:
	adrp	x8, _I386_PAGE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I386_PAGE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	__i386_pte_get
Lloh8:
	adrp	x8, _I386_PG_V@GOTPAGE
Lloh9:
	ldr	x8, [x8, _I386_PG_V@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
; %bb.5:
Lloh11:
	adrp	x8, _I386_PG_FRAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I386_PG_FRAME@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w22, w8, w0
Lloh14:
	adrp	x24, _I386_PAGE_SIZE@GOTPAGE
Lloh15:
	ldr	x24, [x24, _I386_PAGE_SIZE@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x22
	bl	__kvm_pt_find
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.6:
	and	w8, w23, w20
	add	w9, w0, w8
	str	w9, [x21]
	ldr	w9, [x24]
	sub	w0, w9, w8
	b	LBB0_8
LBB0_7:
	str	x20, [sp]
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	__kvm_err
	mov	w0, #0
LBB0_8:
	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_9:
	ldr	w1, [x19]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_2
LBB0_10:
	ldr	w1, [x19]
	str	x22, [sp]
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_I386_PAGE_MASK,4,2             ; @I386_PAGE_MASK
	.comm	_I386_PAGE_SHIFT,4,2            ; @I386_PAGE_SHIFT
	.comm	_I386_PG_V,4,2                  ; @I386_PG_V
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_i386_minidump_vatop: pte not valid"

	.comm	_I386_PG_FRAME,4,2              ; @I386_PG_FRAME
	.comm	_I386_PAGE_SIZE,4,2             ; @I386_PAGE_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"_i386_minidump_vatop: physical address 0x%jx not in minidump"

l_.str.2:                               ; @.str.2
	.asciz	"_i386_minidump_vatop: virtual address 0x%jx not minidumped"

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

	.no_dead_strip	__i386_minidump_vatop
.subsections_via_symbols
