	.file	"extr_irq.c_irq_radix_revmap_insert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	irq_radix_revmap_insert
	.type	irq_radix_revmap_insert, @function
irq_radix_revmap_insert:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR IRQ_HOST_MAP_TREE[rip]
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR [rdi], rax
	mov	rbx, rdi
	setne	dil
	movzx	edi, dil
	call	WARN_ON@PLT
	xor	eax, eax
	call	smp_rmb@PLT
	mov	eax, DWORD PTR revmap_trees_allocated[rip]
	test	eax, eax
	jle	.L1
	cmp	DWORD PTR NO_IRQ[rip], ebp
	jne	.L5
.L1:
	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
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, revmap_trees_mutex[rip]
	call	mutex_lock@PLT
	mov	rax, QWORD PTR irq_map[rip]
	lea	rdi, 8[rbx]
	mov	esi, r12d
	lea	rdx, [rax+rbp*4]
	call	radix_tree_insert@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	lea	rdi, revmap_trees_mutex[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	irq_radix_revmap_insert, .-irq_radix_revmap_insert
	.comm	revmap_trees_mutex,4,4
	.comm	revmap_trees_allocated,4,4
	.comm	irq_map,8,8
	.comm	NO_IRQ,4,4
	.comm	IRQ_HOST_MAP_TREE,8,8
	.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_irq.c_irq_radix_revmap_insert.c"
	.text
	.align	2
	.global	irq_radix_revmap_insert
	.syntax unified
	.arm
	.fpu softvfp
	.type	irq_radix_revmap_insert, %function
irq_radix_revmap_insert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r0, [r0]
	mov	r5, r1
	subs	r0, r0, r3
	movne	r0, #1
	mov	r6, r2
	bl	WARN_ON
	bl	smp_rmb
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #0
	pople	{r4, r5, r6, pc}
	ldr	r3, .L5+8
	ldr	r3, [r3]
	cmp	r3, r5
	popeq	{r4, r5, r6, pc}
	ldr	r0, .L5+12
	bl	mutex_lock
	ldr	r3, .L5+16
	mov	r1, r6
	ldr	r2, [r3]
	add	r0, r4, #4
	add	r2, r2, r5, lsl #2
	bl	radix_tree_insert
	pop	{r4, r5, r6, lr}
	ldr	r0, .L5+12
	b	mutex_unlock
.L6:
	.align	2
.L5:
	.word	IRQ_HOST_MAP_TREE
	.word	revmap_trees_allocated
	.word	NO_IRQ
	.word	revmap_trees_mutex
	.word	irq_map
	.size	irq_radix_revmap_insert, .-irq_radix_revmap_insert
	.comm	revmap_trees_mutex,4,4
	.comm	revmap_trees_allocated,4,4
	.comm	irq_map,4,4
	.comm	NO_IRQ,4,4
	.comm	IRQ_HOST_MAP_TREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
