	.file	"extr_vmx.c_vmx_modify_intr_shadow.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"failed"
.LC1:
	.string	"succeeded"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Setting intr_shadow to %#llx %s"
	.text
	.p2align 4
	.type	vmx_modify_intr_shadow, @function
vmx_modify_intr_shadow:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r13d, DWORD PTR EINVAL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdx, rdx
	je	.L10
.L3:
	test	r13d, r13d
	lea	r8, .LC0[rip]
	lea	rax, .LC1[rip]
	cmove	r8, rax
.L4:
	mov	edi, DWORD PTR [rbx]
	mov	rcx, r12
	lea	rdx, .LC2[rip]
	mov	esi, ebp
	call	VCPU_CTR2@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 40
	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
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR VMCS_GUEST_INTERRUPTIBILITY[rip]
	call	VMCS_IDENT@PLT
	mov	rdx, rsp
	mov	edi, ebp
	mov	esi, eax
	mov	r14d, eax
	call	vmcs_getreg@PLT
	lea	r8, .LC0[rip]
	mov	r13d, eax
	test	eax, eax
	jne	.L4
	mov	rdx, QWORD PTR HWINTR_BLOCKING[rip]
	mov	esi, r14d
	mov	edi, ebp
	not	rdx
	and	rdx, QWORD PTR [rsp]
	mov	QWORD PTR [rsp], rdx
	call	vmcs_setreg@PLT
	mov	r13d, eax
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vmx_modify_intr_shadow, .-vmx_modify_intr_shadow
	.comm	VMCS_GUEST_INTERRUPTIBILITY,4,4
	.comm	HWINTR_BLOCKING,8,8
	.comm	EINVAL,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_modify_intr_shadow.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed\000"
	.align	2
.LC1:
	.ascii	"succeeded\000"
	.align	2
.LC2:
	.ascii	"Setting intr_shadow to %#llx %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vmx_modify_intr_shadow, %function
vmx_modify_intr_shadow:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L13
	sub	sp, sp, #16
	subs	r6, r2, #0
	mov	r8, r0
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L2
	ldr	r3, .L13+4
	ldr	r5, [r3]
.L3:
	ldr	r3, .L13+8
	cmp	r5, #0
	ldr	r1, .L13+12
	moveq	r1, r3
	ldr	r0, [r8]
.L5:
	mov	r3, r6
	ldr	r2, .L13+16
	str	r1, [sp]
	mov	r1, r4
	bl	VCPU_CTR2
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L13+20
	ldr	r0, [r3]
	bl	VMCS_IDENT
	add	r2, sp, #8
	mov	r1, r0
	mov	r7, r0
	mov	r0, r4
	bl	vmcs_getreg
	subs	r5, r0, #0
	ldrne	r0, [r8]
	ldrne	r1, .L13+12
	bne	.L5
.L12:
	ldr	r3, .L13+24
	ldr	r2, [sp, #8]
	ldr	r3, [r3]
	mov	r1, r7
	bic	r2, r2, r3
	mov	r0, r4
	str	r2, [sp, #8]
	bl	vmcs_setreg
	mov	r5, r0
	b	.L3
.L11:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	EINVAL
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	VMCS_GUEST_INTERRUPTIBILITY
	.word	HWINTR_BLOCKING
	.size	vmx_modify_intr_shadow, .-vmx_modify_intr_shadow
	.comm	VMCS_GUEST_INTERRUPTIBILITY,4,4
	.comm	HWINTR_BLOCKING,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
