	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_getcap
_vmx_getcap:                            ## @vmx_getcap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rdi), %rdi
	movslq	%esi, %rsi
	movl	(%rdi,%rsi,4), %r8d
	leal	-128(%rdx), %edi
	cmpl	$4, %edi
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdi,4), %rdi
	addq	%rsi, %rdi
	jmpq	*%rdi
LBB0_5:
	movq	_cap_unrestricted_guest@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_8
	jmp	LBB0_9
LBB0_3:
	movq	_cap_pause_exit@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_8
	jmp	LBB0_9
LBB0_4:
	movq	_cap_monitor_trap@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_8
	jmp	LBB0_9
LBB0_2:
	movq	_cap_halt_exit@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_8
	jmp	LBB0_9
LBB0_6:
	movq	_cap_invpcid@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	jne	LBB0_9
LBB0_8:
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	btl	%edx, %r8d
	setb	%al
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_cap_halt_exit,4,2              ## @cap_halt_exit
	.comm	_cap_pause_exit,4,2             ## @cap_pause_exit
	.comm	_cap_monitor_trap,4,2           ## @cap_monitor_trap
	.comm	_cap_unrestricted_guest,4,2     ## @cap_unrestricted_guest
	.comm	_cap_invpcid,4,2                ## @cap_invpcid
	.no_dead_strip	_vmx_getcap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_getcap
_vmx_getcap:                            ; @vmx_getcap
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _ENOENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	ldr	x8, [x8]
	ldr	w8, [x8, w1, sxtw #2]
	sub	w9, w2, #128
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x10, lJTI0_0@PAGE
Lloh4:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh5:
	adrp	x9, _cap_unrestricted_guest@GOTPAGE
Lloh6:
	ldr	x9, [x9, _cap_unrestricted_guest@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	cbnz	w0, LBB0_10
	b	LBB0_9
LBB0_4:
Lloh7:
	adrp	x9, _cap_pause_exit@GOTPAGE
Lloh8:
	ldr	x9, [x9, _cap_pause_exit@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x9, _cap_monitor_trap@GOTPAGE
Lloh10:
	ldr	x9, [x9, _cap_monitor_trap@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x9, _cap_halt_exit@GOTPAGE
Lloh12:
	ldr	x9, [x9, _cap_halt_exit@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh13:
	adrp	x9, _cap_invpcid@GOTPAGE
Lloh14:
	ldr	x9, [x9, _cap_invpcid@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	cmp	w9, #0
	ccmp	w0, #0, #4, eq
	b.ne	LBB0_10
LBB0_9:
	mov	w0, #0
	lsr	w8, w8, w2
	and	w8, w8, #0x1
	str	w8, [x3]
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_cap_halt_exit,4,2              ; @cap_halt_exit
	.comm	_cap_pause_exit,4,2             ; @cap_pause_exit
	.comm	_cap_monitor_trap,4,2           ; @cap_monitor_trap
	.comm	_cap_unrestricted_guest,4,2     ; @cap_unrestricted_guest
	.comm	_cap_invpcid,4,2                ; @cap_invpcid
	.no_dead_strip	_vmx_getcap
.subsections_via_symbols
