	.file	"extr_ioapic.c_kvm_ioapic_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kvm_ioapic_reset, @function
kvm_ioapic_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	add	rdi, 56
	call	cancel_delayed_work_sync@PLT
	mov	eax, DWORD PTR IOAPIC_NUM_PINS[rip]
	test	eax, eax
	jle	.L2
	mov	rdx, QWORD PTR 48[rbp]
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	mov	DWORD PTR [rdx+rax*4], 1
	add	rax, 1
	cmp	DWORD PTR IOAPIC_NUM_PINS[rip], eax
	jg	.L3
.L2:
	mov	eax, DWORD PTR IOAPIC_DEFAULT_BASE_ADDRESS[rip]
	mov	QWORD PTR 32[rbp], 0
	mov	edx, 4
	xor	esi, esi
	mov	QWORD PTR 24[rbp], 0
	mov	edi, DWORD PTR 0[rbp]
	mov	DWORD PTR 40[rbp], eax
	mov	QWORD PTR 16[rbp], 0
	mov	QWORD PTR 8[rbp], 0
	call	memset@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	rtc_irq_eoi_tracking_reset@PLT
	.cfi_endproc
.LFE0:
	.size	kvm_ioapic_reset, .-kvm_ioapic_reset
	.comm	IOAPIC_NUM_PINS,4,4
	.comm	IOAPIC_DEFAULT_BASE_ADDRESS,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_ioapic.c_kvm_ioapic_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kvm_ioapic_reset, %function
kvm_ioapic_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	add	r0, r0, #28
	bl	cancel_delayed_work_sync
	ldr	r0, .L7
	ldr	r3, [r0]
	cmp	r3, #0
	ble	.L2
	mov	r3, #0
	mov	ip, #1
	ldr	r2, [r4, #24]
	sub	r2, r2, #4
.L3:
	str	ip, [r2, #4]!
	ldr	r1, [r0]
	add	r3, r3, #1
	cmp	r1, r3
	bgt	.L3
.L2:
	mov	r1, #0
	ldr	r3, .L7+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	str	r1, [r4, #16]
	str	r1, [r4, #12]
	str	r3, [r4, #20]
	str	r1, [r4, #8]
	str	r1, [r4, #4]
	mov	r2, #4
	bl	memset
	mov	r0, r4
	pop	{r4, lr}
	b	rtc_irq_eoi_tracking_reset
.L8:
	.align	2
.L7:
	.word	IOAPIC_NUM_PINS
	.word	IOAPIC_DEFAULT_BASE_ADDRESS
	.size	kvm_ioapic_reset, .-kvm_ioapic_reset
	.comm	IOAPIC_NUM_PINS,4,4
	.comm	IOAPIC_DEFAULT_BASE_ADDRESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
