	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmexit_inout
_vmexit_inout:                          ## @vmexit_inout
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movl	(%rsi), %r15d
	movl	4(%rsi), %r14d
	movl	8(%rsi), %ebx
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_GUEST_NIO_PORT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	jne	LBB0_2
## %bb.6:
	movl	12(%rax), %ecx
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vmexit_handle_notify           ## TAILCALL
LBB0_2:
	movl	(%rdx), %esi
	movq	_strictio@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rax, %rdx
	callq	_emulate_inout
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	testl	%ebx, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rcx, %rdx
	cmpl	$2, %r14d
	movl	$119, %ecx
	movl	$108, %esi
	cmovel	%ecx, %esi
	cmpl	$1, %r14d
	movl	$98, %ecx
	cmovnel	%esi, %ecx
	movl	(%rax), %edi
	movq	_vmexit@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %r9d
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %r8d
	callq	_fprintf
	movq	_VMEXIT_ABORT@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_VMEXIT_CONTINUE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GUEST_NIO_PORT,4,2             ## @GUEST_NIO_PORT
	.comm	_strictio,4,2                   ## @strictio
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled %s%c 0x%04x at 0x%lx\n"

L_.str.1:                               ## @.str.1
	.asciz	"in"

L_.str.2:                               ## @.str.2
	.asciz	"out"

	.comm	_vmexit,8,3                     ## @vmexit
	.comm	_VMEXIT_ABORT,4,2               ## @VMEXIT_ABORT
	.comm	_VMEXIT_CONTINUE,4,2            ## @VMEXIT_CONTINUE
	.no_dead_strip	_vmexit_inout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmexit_inout
_vmexit_inout:                          ; @vmexit_inout
	.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	x8, x1
	ldr	w19, [x1]
	ldr	w20, [x1, #8]
Lloh0:
	adrp	x9, _GUEST_NIO_PORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GUEST_NIO_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w20, #0
	ccmp	w19, w9, #0, eq
	b.eq	LBB0_3
; %bb.1:
	ldr	w21, [x8, #4]
	ldr	w1, [x2]
Lloh3:
	adrp	x9, _strictio@GOTPAGE
Lloh4:
	ldr	x9, [x9, _strictio@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	mov	x2, x8
	bl	_emulate_inout
	cbz	w0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh11:
	adrp	x9, l_.str.2@PAGE
Lloh12:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
	mov	w8, #108
	mov	w9, #119
	cmp	w21, #2
	csel	w8, w9, w8, eq
	mov	w9, #98
	cmp	w21, #1
	csel	w3, w9, w8, eq
Lloh13:
	adrp	x8, _vmexit@GOTPAGE
Lloh14:
	ldr	x8, [x8, _vmexit@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	w5, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x4, x19
	bl	_fprintf
Lloh18:
	adrp	x8, _VMEXIT_ABORT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VMEXIT_ABORT@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldr	w3, [x8, #12]
	mov	x1, x8
	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	_vmexit_handle_notify
LBB0_4:
Lloh20:
	adrp	x8, _VMEXIT_CONTINUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VMEXIT_CONTINUE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GUEST_NIO_PORT,4,2             ; @GUEST_NIO_PORT
	.comm	_strictio,4,2                   ; @strictio
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled %s%c 0x%04x at 0x%lx\n"

l_.str.1:                               ; @.str.1
	.asciz	"in"

l_.str.2:                               ; @.str.2
	.asciz	"out"

	.comm	_vmexit,8,3                     ; @vmexit
	.comm	_VMEXIT_ABORT,4,2               ; @VMEXIT_ABORT
	.comm	_VMEXIT_CONTINUE,4,2            ; @VMEXIT_CONTINUE
	.no_dead_strip	_vmexit_inout
.subsections_via_symbols
