	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kvm_cmd_stat
_kvm_cmd_stat:                          ## @kvm_cmd_stat
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, -80(%rbp)
	movl	$-1, -72(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -48(%rbp)
	movq	_svm_exit_reasons@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ARRAY_SIZE
	movl	%eax, -40(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	cmpl	$1, %r12d
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_print_kvm_stat_usage
	jmp	LBB0_2
LBB0_3:
	leaq	8(%r14), %r15
	movq	8(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	(%r15), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$3, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
LBB0_2:
	movl	%r12d, %edi
	movq	%r14, %rsi
	xorl	%edx, %edx
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cmd_stat                       ## TAILCALL
LBB0_4:
	decl	%r12d
	leaq	-80(%rbp), %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_kvm_events_record
	jmp	LBB0_7
LBB0_6:
	decl	%r12d
	leaq	-80(%rbp), %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	callq	_kvm_events_report
LBB0_7:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vmexit"

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

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

	.comm	_svm_exit_reasons,4,2           ## @svm_exit_reasons
L_.str.3:                               ## @.str.3
	.asciz	"rec"

L_.str.4:                               ## @.str.4
	.asciz	"rep"

	.no_dead_strip	_kvm_cmd_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kvm_cmd_stat
_kvm_cmd_stat:                          ; @kvm_cmd_stat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x20, x1
	str	x0, [sp]
	mov	w8, #-1
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
Lloh2:
	adrp	x9, l_.str.1@PAGE
Lloh3:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #16]
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp, #32]
Lloh6:
	adrp	x21, _svm_exit_reasons@GOTPAGE
Lloh7:
	ldr	x21, [x21, _svm_exit_reasons@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ARRAY_SIZE
	ldr	w8, [x21]
	stp	w0, w8, [sp, #40]
	subs	w21, w20, #1
	b.ne	LBB0_2
; %bb.1:
	bl	_print_kvm_stat_usage
	b	LBB0_4
LBB0_2:
	mov	x22, x19
	ldr	x0, [x22, #8]!
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_5
; %bb.3:
	ldr	x0, [x22]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #3
	bl	_strncmp
	cbz	w0, LBB0_6
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_cmd_stat
LBB0_5:
	mov	x0, sp
	mov	x1, x21
	mov	x2, x22
	bl	_kvm_events_record
	b	LBB0_7
LBB0_6:
	mov	x0, sp
	mov	x1, x21
	mov	x2, x22
	bl	_kvm_events_report
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vmexit"

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

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

	.comm	_svm_exit_reasons,4,2           ; @svm_exit_reasons
l_.str.3:                               ; @.str.3
	.asciz	"rec"

l_.str.4:                               ; @.str.4
	.asciz	"rep"

	.no_dead_strip	_kvm_cmd_stat
.subsections_via_symbols
