	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_io
_handle_io:                             ## @handle_io
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	incl	(%rdi)
	movq	_EXIT_QUALIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_vmcs_readl
	movq	%rax, %rbx
	testb	$16, %bl
	jne	LBB0_1
## %bb.2:
	movl	%ebx, %r15d
	andl	$7, %r15d
	incl	%r15d
	movl	%ebx, %r12d
	shrl	$3, %r12d
	andl	$1, %r12d
	shrq	$16, %rbx
	movq	%r14, %rdi
	callq	_skip_emulated_instruction
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kvm_emulate_pio                ## TAILCALL
LBB0_1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_emulate_instruction
	movq	_EMULATE_DO_MMIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpq	(%rdx), %rax
	setne	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_QUALIFICATION,4,2         ## @EXIT_QUALIFICATION
	.comm	_EMULATE_DO_MMIO,8,3            ## @EMULATE_DO_MMIO
	.no_dead_strip	_handle_io
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_io
_handle_io:                             ; @handle_io
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
Lloh0:
	adrp	x8, _EXIT_QUALIFICATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_QUALIFICATION@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_vmcs_readl
	tbnz	w0, #4, LBB0_2
; %bb.1:
	and	w8, w0, #0x7
	add	w20, w8, #1
	ubfx	w21, w0, #3, #1
	lsr	x22, x0, #16
	mov	x0, x19
	bl	_skip_emulated_instruction
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_kvm_emulate_pio
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_emulate_instruction
Lloh3:
	adrp	x8, _EMULATE_DO_MMIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMULATE_DO_MMIO@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_QUALIFICATION,4,2         ; @EXIT_QUALIFICATION
	.comm	_EMULATE_DO_MMIO,8,3            ; @EMULATE_DO_MMIO
	.no_dead_strip	_handle_io
.subsections_via_symbols
