	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_vm86_segment
_is_vm86_segment:                       ## @is_vm86_segment
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_VCPU_SREG_LDTR@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%esi, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_VCPU_SREG_TR@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	callq	*(%rax)
	movl	%eax, %ecx
	movq	_X86_EFLAGS_VM@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	testl	%ecx, (%rdx)
	setne	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VCPU_SREG_LDTR,4,2             ## @VCPU_SREG_LDTR
	.comm	_VCPU_SREG_TR,4,2               ## @VCPU_SREG_TR
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_X86_EFLAGS_VM,4,2              ## @X86_EFLAGS_VM
	.no_dead_strip	_is_vm86_segment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_vm86_segment
_is_vm86_segment:                       ; @is_vm86_segment
	.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, _VCPU_SREG_LDTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VCPU_SREG_LDTR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _VCPU_SREG_TR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VCPU_SREG_TR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w9, w1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
Lloh9:
	adrp	x8, _X86_EFLAGS_VM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X86_EFLAGS_VM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w0, ne
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_VCPU_SREG_LDTR,4,2             ; @VCPU_SREG_LDTR
	.comm	_VCPU_SREG_TR,4,2               ; @VCPU_SREG_TR
	.comm	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.comm	_X86_EFLAGS_VM,4,2              ; @X86_EFLAGS_VM
	.no_dead_strip	_is_vm86_segment
.subsections_via_symbols
