	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_get_gpa_pmap                ## -- Begin function vm_get_gpa_pmap
	.p2align	4, 0x90
_vm_get_gpa_pmap:                       ## @vm_get_gpa_pmap
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	%r15d, -48(%rbp)
	movl	(%r12), %edi
	movq	_VM_GET_GPA_PMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdx
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_1
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-64(%rbp), %r8d
	movl	%r8d, (%r14)
	testl	%r8d, %r8d
	jle	LBB0_16
## %bb.2:
	movq	-56(%rbp), %rdx
	xorl	%esi, %esi
	cmpl	$8, %r8d
	jb	LBB0_12
## %bb.3:
	movq	%rbx, %rcx
	subq	%rdx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_12
## %bb.4:
	movl	%r8d, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rcx
	jae	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rdx,%rcx,4), %xmm0
	movups	16(%rdx,%rcx,4), %xmm1
	movups	%xmm0, (%rbx,%rcx,4)
	movups	%xmm1, 16(%rbx,%rcx,4)
	movups	32(%rdx,%rcx,4), %xmm0
	movups	48(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 32(%rbx,%rcx,4)
	movups	%xmm1, 48(%rbx,%rcx,4)
	movups	64(%rdx,%rcx,4), %xmm0
	movups	80(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 64(%rbx,%rcx,4)
	movups	%xmm1, 80(%rbx,%rcx,4)
	movups	96(%rdx,%rcx,4), %xmm0
	movups	112(%rdx,%rcx,4), %xmm1
	movups	%xmm0, 96(%rbx,%rcx,4)
	movups	%xmm1, 112(%rbx,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_7
LBB0_8:
	testq	%r9, %r9
	je	LBB0_11
## %bb.9:
	leaq	(%rbx,%rcx,4), %r10
	addq	$16, %r10
	leaq	(%rdx,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rdi), %xmm0
	movups	(%rcx,%rdi), %xmm1
	movups	%xmm0, -16(%r10,%rdi)
	movups	%xmm1, (%r10,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_10
LBB0_11:
	cmpq	%r8, %rsi
	je	LBB0_16
LBB0_12:
	movq	%rsi, %r9
	notq	%r9
	addq	%r8, %r9
	movq	%r8, %rdi
	andq	$3, %rdi
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %ecx
	movl	%ecx, (%rbx,%rsi,4)
	incq	%rsi
	decq	%rdi
	jne	LBB0_13
LBB0_14:
	cmpq	$3, %r9
	jb	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %ecx
	movl	%ecx, (%rbx,%rsi,4)
	movl	4(%rdx,%rsi,4), %ecx
	movl	%ecx, 4(%rbx,%rsi,4)
	movl	8(%rdx,%rsi,4), %ecx
	movl	%ecx, 8(%rbx,%rsi,4)
	movl	12(%rdx,%rsi,4), %ecx
	movl	%ecx, 12(%rbx,%rsi,4)
	addq	$4, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_GET_GPA_PMAP,4,2            ## @VM_GET_GPA_PMAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_get_gpa_pmap                ; -- Begin function vm_get_gpa_pmap
	.p2align	2
_vm_get_gpa_pmap:                       ; @vm_get_gpa_pmap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	mov	w1, #24
	bl	_bzero
	str	w21, [sp, #24]
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _VM_GET_GPA_PMAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VM_GET_GPA_PMAP@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	w8, [sp, #8]
	str	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x9, #0
	ldr	x10, [sp, #16]
	cmp	w8, #16
	b.lo	LBB0_7
; %bb.3:
	sub	x11, x19, x10
	cmp	x11, #64
	b.lo	LBB0_7
; %bb.4:
	and	x9, x8, #0xfffffff0
	add	x11, x19, #32
	add	x12, x10, #32
	mov	x13, x9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_7:
	lsl	x12, x9, #2
	add	x11, x19, x12
	add	x10, x10, x12
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x10], #4
	str	w9, [x11], #4
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_GET_GPA_PMAP,4,2            ; @VM_GET_GPA_PMAP
.subsections_via_symbols
