	.file	"extr_kvm-s390.c_vcpu_post_run_fault_in_sie.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fault in sie instruction"
.LC1:
	.string	"%s"
	.text
	.p2align 4
	.type	vcpu_post_run_fault_in_sie, @function
vcpu_post_run_fault_in_sie:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rcx, .LC0[rip]
	mov	esi, 3
	lea	rdx, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR PGM_ADDRESSING[rip]
	mov	DWORD PTR 16[rsp], 0
	mov	DWORD PTR 20[rsp], eax
	call	VCPU_EVENT@PLT
	mov	rdi, rbp
	call	trace_kvm_s390_sie_fault@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rbp
	lea	rdx, 12[rsp]
	mov	ecx, 1
	mov	esi, DWORD PTR [rax]
	call	read_guest_instr@PLT
	mov	edi, DWORD PTR 12[rsp]
	mov	r12d, eax
	call	insn_length@PLT
	test	r12d, r12d
	js	.L1
	mov	esi, eax
	jne	.L10
.L3:
	mov	eax, DWORD PTR KVM_S390_PGM_FLAGS_ILC_VALID[rip]
	mov	rdi, rbp
	or	eax, esi
	mov	DWORD PTR 16[rsp], eax
	call	kvm_s390_forward_psw@PLT
	lea	rsi, 16[rsp]
	mov	rdi, rbp
	call	kvm_s390_inject_prog_irq@PLT
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, 4
	mov	QWORD PTR 16[rsp], rax
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vcpu_post_run_fault_in_sie, .-vcpu_post_run_fault_in_sie
	.comm	PGM_ADDRESSING,4,4
	.comm	KVM_S390_PGM_FLAGS_ILC_VALID,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_kvm-s390.c_vcpu_post_run_fault_in_sie.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fault in sie instruction\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vcpu_post_run_fault_in_sie, %function
vcpu_post_run_fault_in_sie:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	ip, #0
	mov	r4, r0
	ldr	r2, .L10
	ldr	lr, .L10+4
	ldr	r1, [r2]
	sub	sp, sp, #20
	ldr	lr, [lr]
	str	lr, [sp, #12]
	mov	lr,#0
	ldr	r3, .L10+8
	ldr	r2, .L10+12
	str	r1, [sp, #8]
	mov	r1, #3
	str	ip, [sp, #4]
	bl	VCPU_EVENT
	mov	r0, r4
	bl	trace_kvm_s390_sie_fault
	ldr	r3, [r4, #8]
	mov	r2, sp
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, #1
	bl	read_guest_instr
	mov	r5, r0
	ldr	r0, [sp]
	bl	insn_length
	cmp	r5, #0
	blt	.L1
	ldmne	r4, {r0, r1}
	movne	r3, #4
	moveq	r3, r0
	ldr	r2, .L10+16
	addne	r5, sp, r3
	ldr	r2, [r2]
	stmne	r5, {r0, r1}
	addeq	r5, sp, #4
	mov	r1, r3
	mov	r0, r4
	orr	r3, r2, r3
	str	r3, [sp, #4]
	bl	kvm_s390_forward_psw
	mov	r1, r5
	mov	r0, r4
	bl	kvm_s390_inject_prog_irq
	mov	r5, r0
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	PGM_ADDRESSING
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	KVM_S390_PGM_FLAGS_ILC_VALID
	.size	vcpu_post_run_fault_in_sie, .-vcpu_post_run_fault_in_sie
	.comm	PGM_ADDRESSING,4,4
	.comm	KVM_S390_PGM_FLAGS_ILC_VALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
