	.file	"extr_svm.c_svm_set_tsc_khz.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Invalid TSC ratio - virtual-tsc-khz=%u\n"
	.text
	.p2align 4
	.type	svm_set_tsc_khz, @function
svm_set_tsc_khz:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	to_svm@PLT
	mov	edi, DWORD PTR SVM_FEATURE_TSC_RATE[rip]
	mov	rbp, rax
	call	svm_has@PLT
	test	eax, eax
	je	.L1
	test	r12, r12
	jne	.L3
	mov	eax, DWORD PTR TSC_RATIO_DEFAULT[rip]
	mov	QWORD PTR [rbx], 0
	mov	DWORD PTR 0[rbp], eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	esi, DWORD PTR tsc_khz[rip]
	xor	edi, edi
	call	do_div@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdx, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	lea	rsi, .LC0[rip]
	mov	edi, 1
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	WARN_ONCE@PLT
	.cfi_endproc
.LFE0:
	.size	svm_set_tsc_khz, .-svm_set_tsc_khz
	.comm	tsc_khz,4,4
	.comm	TSC_RATIO_RSVD,4,4
	.comm	TSC_RATIO_DEFAULT,4,4
	.comm	SVM_FEATURE_TSC_RATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_svm.c_svm_set_tsc_khz.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid TSC ratio - virtual-tsc-khz=%u\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	svm_set_tsc_khz, %function
svm_set_tsc_khz:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r0
	bl	to_svm
	ldr	r3, .L9
	mov	r5, r0
	ldr	r0, [r3]
	bl	svm_has
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	cmp	r4, #0
	bne	.L3
	ldr	r3, .L9+4
	str	r4, [r6]
	ldr	r3, [r3]
	str	r3, [r5]
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r3, .L9+8
	mov	r0, #0
	ldr	r1, [r3]
	bl	do_div
	mov	r2, r4
	pop	{r4, r5, r6, lr}
	mov	r0, #1
	ldr	r1, .L9+12
	b	WARN_ONCE
.L10:
	.align	2
.L9:
	.word	SVM_FEATURE_TSC_RATE
	.word	TSC_RATIO_DEFAULT
	.word	tsc_khz
	.word	.LC0
	.size	svm_set_tsc_khz, .-svm_set_tsc_khz
	.comm	tsc_khz,4,4
	.comm	TSC_RATIO_RSVD,4,4
	.comm	TSC_RATIO_DEFAULT,4,4
	.comm	SVM_FEATURE_TSC_RATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
