	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_paging_mode
_svm_paging_mode:                       ## @svm_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	_CR0_PG@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_CR4_PAE@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.4:
	movq	_EFER_LME@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	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	_CR0_PG,4,2                     ## @CR0_PG
	.comm	_PAGING_MODE_FLAT,4,2           ## @PAGING_MODE_FLAT
	.comm	_CR4_PAE,4,2                    ## @CR4_PAE
	.comm	_PAGING_MODE_32,4,2             ## @PAGING_MODE_32
	.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	_svm_paging_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_paging_mode
_svm_paging_mode:                       ; @svm_paging_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CR0_PG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CR0_PG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _CR4_PAE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CR4_PAE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _EFER_LME@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EFER_LME@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PAGING_MODE_64@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PAGING_MODE_64@GOTPAGEOFF]
Lloh11:
	adrp	x10, _PAGING_MODE_PAE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PAGING_MODE_PAE@GOTPAGEOFF]
	tst	w8, w2
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh13:
	adrp	x8, _PAGING_MODE_FLAT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PAGING_MODE_FLAT@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh16:
	adrp	x8, _PAGING_MODE_32@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PAGING_MODE_32@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CR0_PG,4,2                     ; @CR0_PG
	.comm	_PAGING_MODE_FLAT,4,2           ; @PAGING_MODE_FLAT
	.comm	_CR4_PAE,4,2                    ; @CR4_PAE
	.comm	_PAGING_MODE_32,4,2             ; @PAGING_MODE_32
	.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	_svm_paging_mode
.subsections_via_symbols
