	.file	"extr_i915_irq.c_gen2_irq_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gen2_irq_reset
	.type	gen2_irq_reset, @function
gen2_irq_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR GEN2_IMR[rip]
	mov	edx, 65535
	mov	rbp, rdi
	call	intel_uncore_write16@PLT
	mov	esi, DWORD PTR GEN2_IMR[rip]
	mov	rdi, rbp
	call	intel_uncore_posting_read16@PLT
	mov	esi, DWORD PTR GEN2_IER[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	intel_uncore_write16@PLT
	mov	esi, DWORD PTR GEN2_IIR[rip]
	mov	edx, 65535
	mov	rdi, rbp
	call	intel_uncore_write16@PLT
	mov	esi, DWORD PTR GEN2_IIR[rip]
	mov	rdi, rbp
	call	intel_uncore_posting_read16@PLT
	mov	esi, DWORD PTR GEN2_IIR[rip]
	mov	rdi, rbp
	mov	edx, 65535
	call	intel_uncore_write16@PLT
	mov	esi, DWORD PTR GEN2_IIR[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	intel_uncore_posting_read16@PLT
	.cfi_endproc
.LFE0:
	.size	gen2_irq_reset, .-gen2_irq_reset
	.comm	GEN2_IMR,4,4
	.comm	GEN2_IIR,4,4
	.comm	GEN2_IER,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_i915_irq.c_gen2_irq_reset.c"
	.text
	.align	2
	.global	gen2_irq_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen2_irq_reset, %function
gen2_irq_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, .L4
	ldr	r5, .L4+4
	mov	r2, r6
	ldr	r1, [r5]
	bl	intel_uncore_write16
	ldr	r1, [r5]
	mov	r0, r4
	bl	intel_uncore_posting_read16
	ldr	r3, .L4+8
	ldr	r5, .L4+12
	ldr	r1, [r3]
	mov	r0, r4
	mov	r2, #0
	bl	intel_uncore_write16
	mov	r2, r6
	ldr	r1, [r5]
	mov	r0, r4
	bl	intel_uncore_write16
	ldr	r1, [r5]
	mov	r0, r4
	bl	intel_uncore_posting_read16
	ldr	r1, [r5]
	mov	r2, r6
	mov	r0, r4
	bl	intel_uncore_write16
	mov	r0, r4
	ldr	r1, [r5]
	pop	{r4, r5, r6, lr}
	b	intel_uncore_posting_read16
.L5:
	.align	2
.L4:
	.word	65535
	.word	GEN2_IMR
	.word	GEN2_IER
	.word	GEN2_IIR
	.size	gen2_irq_reset, .-gen2_irq_reset
	.comm	GEN2_IMR,4,4
	.comm	GEN2_IIR,4,4
	.comm	GEN2_IER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
