	.file	"extr_intr_remapping.c_free_irte.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	free_irte
	.type	free_irte, @function
free_irte:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, edi
	lea	rdi, irq_2_ir_lock[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	spin_lock_irqsave@PLT
	mov	edi, ebp
	call	valid_irq_2_iommu@PLT
	test	rax, rax
	je	.L6
	mov	rbx, rax
	mov	rdi, rax
	call	clear_entries@PLT
	mov	QWORD PTR 24[rbx], 0
	xor	esi, esi
	lea	rdi, irq_2_ir_lock[rip]
	mov	QWORD PTR 16[rbx], 0
	mov	r12d, eax
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR [rbx], 0
	call	spin_unlock_irqrestore@PLT
.L1:
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	xor	esi, esi
	lea	rdi, irq_2_ir_lock[rip]
	mov	r12d, -1
	call	spin_unlock_irqrestore@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	free_irte, .-free_irte
	.comm	irq_2_ir_lock,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_intr_remapping.c_free_irte.c"
	.text
	.align	2
	.global	free_irte
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_irte, %function
free_irte:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	mov	r1, #0
	ldr	r0, .L7
	bl	spin_lock_irqsave
	mov	r0, r4
	bl	valid_irq_2_iommu
	subs	r4, r0, #0
	beq	.L6
	bl	clear_entries
	mov	r3, #0
	mov	r2, r0
	str	r3, [r4, #12]
	str	r3, [r4, #8]
	str	r3, [r4, #4]
	str	r3, [r4]
	mov	r1, r3
	ldr	r0, .L7
	mov	r4, r2
	bl	spin_unlock_irqrestore
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L6:
	mov	r1, #0
	ldr	r0, .L7
	bl	spin_unlock_irqrestore
	mvn	r4, #0
	b	.L1
.L8:
	.align	2
.L7:
	.word	irq_2_ir_lock
	.size	free_irte, .-free_irte
	.comm	irq_2_ir_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
