	.file	"extr_prm_common.c_omap_prcm_event_to_irq.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	omap_prcm_event_to_irq
	.type	omap_prcm_event_to_irq, @function
omap_prcm_event_to_irq:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR prcm_irq_setup[rip]
	test	rdi, rdi
	je	.L2
	test	rax, rax
	je	.L2
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edx, DWORD PTR [rax]
	xor	ebx, ebx
	test	edx, edx
	jg	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	add	rbx, 1
	cmp	DWORD PTR [rax], ebx
	jle	.L4
.L3:
	mov	rax, QWORD PTR 8[rax]
	lea	rbp, 0[0+rbx*8]
	mov	rsi, r12
	mov	edi, DWORD PTR 4[rax+rbp]
	call	strcmp@PLT
	test	eax, eax
	mov	rax, QWORD PTR prcm_irq_setup[rip]
	jne	.L6
	mov	rdx, QWORD PTR 8[rax]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR 4[rax]
	add	eax, DWORD PTR [rdx+rbp]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOENT[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	mov	eax, DWORD PTR ENOENT[rip]
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	omap_prcm_event_to_irq, .-omap_prcm_event_to_irq
	.comm	prcm_irq_setup,8,8
	.comm	ENOENT,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_prm_common.c_omap_prcm_event_to_irq.c"
	.text
	.align	2
	.global	omap_prcm_event_to_irq
	.syntax unified
	.arm
	.fpu softvfp
	.type	omap_prcm_event_to_irq, %function
omap_prcm_event_to_irq:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L11
	cmp	r0, #0
	ldr	r3, [r5]
	clz	r4, r3
	lsr	r4, r4, #5
	moveq	r4, #1
	cmp	r4, #0
	bne	.L4
	ldr	r2, [r3]
	mov	r6, r0
	cmp	r2, #0
	bgt	.L3
	b	.L4
.L6:
	ldr	r3, [r5]
	ldr	r2, [r3]
	cmp	r2, r4
	ble	.L4
.L3:
	ldr	r3, [r3, #8]
	mov	r1, r6
	add	r3, r3, r4, lsl #3
	ldr	r0, [r3, #4]
	bl	strcmp
	cmp	r0, #0
	lsl	r3, r4, #3
	add	r4, r4, #1
	bne	.L6
	ldr	r2, [r5]
	ldr	r1, [r2, #8]
	ldr	r2, [r2, #4]
	ldr	r0, [r1, r3]
	add	r0, r0, r2
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L11+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	prcm_irq_setup
	.word	ENOENT
	.size	omap_prcm_event_to_irq, .-omap_prcm_event_to_irq
	.comm	prcm_irq_setup,4,4
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
