	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_pkt_read_vmcs               ## -- Begin function pt_pkt_read_vmcs
	.p2align	4, 0x90
_pt_pkt_read_vmcs:                      ## @pt_pkt_read_vmcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.5:
	movq	_ptps_vmcs@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	leaq	(%rsi,%rax,4), %rax
	cmpq	%rax, (%rdx)
	jae	LBB0_7
## %bb.6:
	movq	_pte_eos@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_7:
	movq	%rdi, %rbx
	movq	_pt_opcs_vmcs@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,4), %rdi
	movq	_pt_pl_vmcs_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pt_pkt_read_value
	movq	_pt_pl_vmcs_shl@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movl	%eax, (%rbx)
	movl	(%r14), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_ptps_vmcs,4,2                  ## @ptps_vmcs
	.comm	_pte_eos,4,2                    ## @pte_eos
	.comm	_pt_opcs_vmcs,4,2               ## @pt_opcs_vmcs
	.comm	_pt_pl_vmcs_size,4,2            ## @pt_pl_vmcs_size
	.comm	_pt_pl_vmcs_shl,4,2             ## @pt_pl_vmcs_shl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_pkt_read_vmcs               ; -- Begin function pt_pkt_read_vmcs
	.p2align	2
_pt_pkt_read_vmcs:                      ; @pt_pkt_read_vmcs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x1, LBB0_5
; %bb.2:
	cbz	x2, LBB0_5
; %bb.3:
	ldr	x8, [x2]
Lloh0:
	adrp	x20, _ptps_vmcs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ptps_vmcs@GOTPAGEOFF]
	ldrsw	x9, [x20]
	add	x9, x1, x9, lsl #2
	cmp	x8, x9
	b.hs	LBB0_7
; %bb.4:
Lloh2:
	adrp	x8, _pte_eos@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_eos@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x8, _pte_internal@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_7:
	mov	x19, x0
Lloh6:
	adrp	x8, _pt_opcs_vmcs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pt_opcs_vmcs@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x0, x1, x8, lsl #2
Lloh9:
	adrp	x8, _pt_pl_vmcs_size@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pt_pl_vmcs_size@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_pt_pkt_read_value
Lloh12:
	adrp	x8, _pt_pl_vmcs_shl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pt_pl_vmcs_shl@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	lsl	w8, w0, w8
	str	w8, [x19]
	ldr	w0, [x20]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_ptps_vmcs,4,2                  ; @ptps_vmcs
	.comm	_pte_eos,4,2                    ; @pte_eos
	.comm	_pt_opcs_vmcs,4,2               ; @pt_opcs_vmcs
	.comm	_pt_pl_vmcs_size,4,2            ; @pt_pl_vmcs_size
	.comm	_pt_pl_vmcs_shl,4,2             ; @pt_pl_vmcs_shl
.subsections_via_symbols
