	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_paging_mode
_vmx_paging_mode:                       ## @vmx_paging_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VMCS_GUEST_CR0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vmcs_read
	movq	_CR0_PG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_VMCS_GUEST_CR4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vmcs_read
	movq	_CR4_PAE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.4:
	movq	_VMCS_GUEST_IA32_EFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vmcs_read
	movq	_EFER_LME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_5
## %bb.6:
	movq	_PAGING_MODE_PAE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	_PAGING_MODE_FLAT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_PAGING_MODE_32@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_PAGING_MODE_64@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VMCS_GUEST_CR0,4,2             ## @VMCS_GUEST_CR0
	.comm	_CR0_PG,4,2                     ## @CR0_PG
	.comm	_PAGING_MODE_FLAT,4,2           ## @PAGING_MODE_FLAT
	.comm	_VMCS_GUEST_CR4,4,2             ## @VMCS_GUEST_CR4
	.comm	_CR4_PAE,4,2                    ## @CR4_PAE
	.comm	_PAGING_MODE_32,4,2             ## @PAGING_MODE_32
	.comm	_VMCS_GUEST_IA32_EFER,4,2       ## @VMCS_GUEST_IA32_EFER
	.comm	_EFER_LME,4,2                   ## @EFER_LME
	.comm	_PAGING_MODE_64,4,2             ## @PAGING_MODE_64
	.comm	_PAGING_MODE_PAE,4,2            ## @PAGING_MODE_PAE
	.no_dead_strip	_vmx_paging_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_paging_mode
_vmx_paging_mode:                       ; @vmx_paging_mode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _VMCS_GUEST_CR0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VMCS_GUEST_CR0@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_vmcs_read
Lloh3:
	adrp	x8, _CR0_PG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CR0_PG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _VMCS_GUEST_CR4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMCS_GUEST_CR4@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_vmcs_read
Lloh9:
	adrp	x8, _CR4_PAE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CR4_PAE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh12:
	adrp	x8, _VMCS_GUEST_IA32_EFER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VMCS_GUEST_IA32_EFER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_vmcs_read
Lloh15:
	adrp	x8, _EFER_LME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EFER_LME@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _PAGING_MODE_64@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PAGING_MODE_64@GOTPAGEOFF]
Lloh20:
	adrp	x10, _PAGING_MODE_PAE@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PAGING_MODE_PAE@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
	b	LBB0_5
LBB0_3:
Lloh22:
	adrp	x8, _PAGING_MODE_FLAT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PAGING_MODE_FLAT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh24:
	adrp	x8, _PAGING_MODE_32@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PAGING_MODE_32@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_VMCS_GUEST_CR0,4,2             ; @VMCS_GUEST_CR0
	.comm	_CR0_PG,4,2                     ; @CR0_PG
	.comm	_PAGING_MODE_FLAT,4,2           ; @PAGING_MODE_FLAT
	.comm	_VMCS_GUEST_CR4,4,2             ; @VMCS_GUEST_CR4
	.comm	_CR4_PAE,4,2                    ; @CR4_PAE
	.comm	_PAGING_MODE_32,4,2             ; @PAGING_MODE_32
	.comm	_VMCS_GUEST_IA32_EFER,4,2       ; @VMCS_GUEST_IA32_EFER
	.comm	_EFER_LME,4,2                   ; @EFER_LME
	.comm	_PAGING_MODE_64,4,2             ; @PAGING_MODE_64
	.comm	_PAGING_MODE_PAE,4,2            ; @PAGING_MODE_PAE
	.no_dead_strip	_vmx_paging_mode
.subsections_via_symbols
