	.file	"extr_svm.c_avic_unaccelerated_access_interception.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"svm: Handling trap read.\n"
	.text
	.p2align 4
	.type	avic_unaccelerated_access_interception, @function
avic_unaccelerated_access_interception:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, DWORD PTR AVIC_UNACCEL_ACCESS_OFFSET_MASK[rip]
	mov	ecx, 32
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdx, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR [rdx]
	mov	r13d, DWORD PTR 4[rdx]
	and	r13d, DWORD PTR AVIC_UNACCEL_ACCESS_VECTOR_MASK[rip]
	and	r14d, eax
	sar	eax, cl
	and	eax, DWORD PTR AVIC_UNACCEL_ACCESS_WRITE_MASK[rip]
	mov	edi, r14d
	mov	ebx, eax
	call	is_avic_unaccelerated_access_trap@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r8d, r13d
	mov	ecx, ebx
	mov	r12d, eax
	mov	edx, eax
	mov	esi, r14d
	call	trace_kvm_avic_unaccelerated_access@PLT
	test	r12d, r12d
	je	.L2
	xor	edi, edi
	test	ebx, ebx
	lea	rsi, .LC0[rip]
	sete	dil
	call	WARN_ONCE@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	avic_unaccel_trap_write@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	xor	esi, esi
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	kvm_emulate_instruction@PLT
	.cfi_endproc
.LFE0:
	.size	avic_unaccelerated_access_interception, .-avic_unaccelerated_access_interception
	.comm	AVIC_UNACCEL_ACCESS_WRITE_MASK,4,4
	.comm	AVIC_UNACCEL_ACCESS_VECTOR_MASK,4,4
	.comm	AVIC_UNACCEL_ACCESS_OFFSET_MASK,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_avic_unaccelerated_access_interception.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"svm: Handling trap read.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	avic_unaccelerated_access_interception, %function
avic_unaccelerated_access_interception:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #32
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, [r0, #4]
	ldr	lr, .L5
	ldr	r3, [r2]
	ldr	ip, .L5+4
	ldr	r6, [lr]
	mov	r4, r0
	ldr	r0, .L5+8
	and	r6, r6, r3
	ldr	r8, [r2, #4]
	ldr	r7, [r0]
	ldr	r2, [ip]
	sub	sp, sp, #8
	mov	r0, r6
	and	r8, r8, r2
	and	r7, r7, r3, asr r1
	bl	is_avic_unaccelerated_access_trap
	mov	r5, r0
	str	r8, [sp]
	mov	r2, r0
	mov	r1, r6
	mov	r3, r7
	ldr	r0, [r4]
	bl	trace_kvm_avic_unaccelerated_access
	cmp	r5, #0
	beq	.L2
	clz	r0, r7
	ldr	r1, .L5+12
	lsr	r0, r0, #5
	bl	WARN_ONCE
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	avic_unaccel_trap_write
.L2:
	mov	r1, r5
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, lr}
	b	kvm_emulate_instruction
.L6:
	.align	2
.L5:
	.word	AVIC_UNACCEL_ACCESS_OFFSET_MASK
	.word	AVIC_UNACCEL_ACCESS_VECTOR_MASK
	.word	AVIC_UNACCEL_ACCESS_WRITE_MASK
	.word	.LC0
	.size	avic_unaccelerated_access_interception, .-avic_unaccelerated_access_interception
	.comm	AVIC_UNACCEL_ACCESS_WRITE_MASK,4,4
	.comm	AVIC_UNACCEL_ACCESS_VECTOR_MASK,4,4
	.comm	AVIC_UNACCEL_ACCESS_OFFSET_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
