	.file	"extr_vmx.c_vmx_recover_nmi_blocking.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vmx_recover_nmi_blocking, @function
vmx_recover_nmi_blocking:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR enable_vnmi[rip], 0
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	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
	mov	rax, QWORD PTR 8[rdi]
	je	.L2
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L25
.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
.L25:
	.cfi_restore_state
	mov	r12d, DWORD PTR [rdi]
	mov	edi, DWORD PTR VM_EXIT_INTR_INFO[rip]
	mov	ebp, DWORD PTR VECTORING_INFO_VALID_MASK[rip]
	call	vmcs_read32@PLT
	mov	edi, DWORD PTR GUEST_INTERRUPTIBILITY_INFO[rip]
	test	DWORD PTR INTR_INFO_UNBLOCK_NMI[rip], eax
	je	.L6
	test	DWORD PTR INTR_INFO_VALID_MASK[rip], eax
	je	.L6
	and	eax, DWORD PTR INTR_INFO_VECTOR_MASK[rip]
	cmp	eax, DWORD PTR DF_VECTOR[rip]
	je	.L6
	test	r12d, ebp
	je	.L26
.L6:
	call	vmcs_read32@PLT
	xor	edx, edx
	mov	r8d, eax
	mov	rax, QWORD PTR 8[rbx]
	test	DWORD PTR GUEST_INTR_STATE_NMI[rip], r8d
	sete	dl
	mov	DWORD PTR [rax], edx
	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
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rax]
	call	unlikely@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	mov	ebp, DWORD PTR 4[rax]
	xor	eax, eax
	call	ktime_get@PLT
	mov	edi, eax
	mov	esi, ebp
	call	ktime_sub@PLT
	mov	edi, eax
	call	ktime_to_ns@PLT
	mov	r8, rax
	mov	rax, QWORD PTR 8[rbx]
	add	DWORD PTR 8[rax], r8d
	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
.L26:
	.cfi_restore_state
	mov	esi, DWORD PTR GUEST_INTR_STATE_NMI[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	vmcs_set_bits@PLT
	.cfi_endproc
.LFE0:
	.size	vmx_recover_nmi_blocking, .-vmx_recover_nmi_blocking
	.comm	enable_vnmi,8,8
	.comm	VM_EXIT_INTR_INFO,4,4
	.comm	VECTORING_INFO_VALID_MASK,4,4
	.comm	INTR_INFO_VECTOR_MASK,4,4
	.comm	INTR_INFO_VALID_MASK,4,4
	.comm	INTR_INFO_UNBLOCK_NMI,4,4
	.comm	GUEST_INTR_STATE_NMI,4,4
	.comm	GUEST_INTERRUPTIBILITY_INFO,4,4
	.comm	DF_VECTOR,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_vmx.c_vmx_recover_nmi_blocking.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmx_recover_nmi_blocking, %function
vmx_recover_nmi_blocking:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L17
	push	{r4, r5, r6, lr}
	ldr	r2, [r2]
	mov	r4, r0
	cmp	r2, #0
	ldr	r3, [r0, #4]
	beq	.L2
	ldr	r3, [r3]
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	ldr	r2, .L17+4
	ldr	r3, .L17+8
	ldr	r0, [r2]
	ldr	r6, [r3]
	ldr	r5, [r4]
	bl	vmcs_read32
	ldr	r3, .L17+12
	ldr	r2, .L17+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	tst	r0, r3
	moveq	r3, #0
	movne	r3, #1
	tst	r0, r2
	moveq	r3, #0
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L17+20
	ldr	r0, [r3]
.L6:
	bl	vmcs_read32
	ldr	r2, .L17+24
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	tst	r0, r2
	moveq	r2, #1
	movne	r2, #0
	str	r2, [r3]
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r3, #12]
	bl	unlikely
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	bl	ktime_get
	ldr	r3, [r4, #4]
	ldr	r1, [r3, #4]
	bl	ktime_sub
	bl	ktime_to_ns
	ldr	r2, [r4, #4]
	ldr	r3, [r2, #8]
	add	r3, r3, r0
	str	r3, [r2, #8]
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r2, .L17+28
	ldr	r3, .L17+32
	ldr	r2, [r2]
	ldr	r3, [r3]
	and	r0, r0, r2
	subs	r0, r0, r3
	and	r5, r5, r6
	movne	r0, #1
	cmp	r5, #0
	movne	r0, #0
	ldr	r3, .L17+20
	cmp	r0, #0
	ldr	r0, [r3]
	beq	.L6
	pop	{r4, r5, r6, lr}
	ldr	r3, .L17+24
	ldr	r1, [r3]
	b	vmcs_set_bits
.L18:
	.align	2
.L17:
	.word	enable_vnmi
	.word	VM_EXIT_INTR_INFO
	.word	VECTORING_INFO_VALID_MASK
	.word	INTR_INFO_UNBLOCK_NMI
	.word	INTR_INFO_VALID_MASK
	.word	GUEST_INTERRUPTIBILITY_INFO
	.word	GUEST_INTR_STATE_NMI
	.word	INTR_INFO_VECTOR_MASK
	.word	DF_VECTOR
	.size	vmx_recover_nmi_blocking, .-vmx_recover_nmi_blocking
	.comm	enable_vnmi,4,4
	.comm	VM_EXIT_INTR_INFO,4,4
	.comm	VECTORING_INFO_VALID_MASK,4,4
	.comm	INTR_INFO_VECTOR_MASK,4,4
	.comm	INTR_INFO_VALID_MASK,4,4
	.comm	INTR_INFO_UNBLOCK_NMI,4,4
	.comm	GUEST_INTR_STATE_NMI,4,4
	.comm	GUEST_INTERRUPTIBILITY_INFO,4,4
	.comm	DF_VECTOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
