	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __vmx_load_host_state
___vmx_load_host_state:                 ## @__vmx_load_host_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 48(%rdi)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	incl	8(%rdi)
	movq	$0, 48(%rdi)
	cmpq	$0, 40(%rdi)
	je	LBB0_3
## %bb.2:
	movq	_fs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %esi
	callq	_loadsegment
LBB0_3:
	cmpq	$0, 24(%rbx)
	je	LBB0_5
## %bb.4:
	movl	20(%rbx), %edi
	callq	_kvm_load_ldt
	movq	_gs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_loadsegment
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_reload_tss                     ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fs,4,2                         ## @fs
	.comm	_gs,4,2                         ## @gs
	.comm	_MSR_KERNEL_GS_BASE,4,2         ## @MSR_KERNEL_GS_BASE
	.comm	_current,8,3                    ## @current
	.no_dead_strip	___vmx_load_host_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __vmx_load_host_state
___vmx_load_host_state:                 ; @__vmx_load_host_state
	.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
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	add	w8, w8, #1
	str	w8, [x0, #8]
	str	xzr, [x0, #48]
	ldr	x8, [x0, #40]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _fs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fs@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #32]
	bl	_loadsegment
LBB0_3:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x19, #20]
	bl	_kvm_load_ldt
Lloh3:
	adrp	x8, _gs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gs@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_loadsegment
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reload_tss
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_fs,4,2                         ; @fs
	.comm	_gs,4,2                         ; @gs
	.comm	_MSR_KERNEL_GS_BASE,4,2         ; @MSR_KERNEL_GS_BASE
	.comm	_current,8,3                    ; @current
	.no_dead_strip	___vmx_load_host_state
.subsections_via_symbols
