	.file	"extr_irq-renesas-intc-irqpin.c_intc_irqpin_shared_irq_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	intc_irqpin_shared_irq_handler, @function
intc_irqpin_shared_irq_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	rdi, r13
	mov	r12d, 7
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR INTC_IRQPIN_REG_SOURCE[rip]
	call	intc_irqpin_read@PLT
	mov	r14d, DWORD PTR IRQ_NONE[rip]
	mov	ebp, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	add	rbx, 1
	cmp	rbx, 8
	je	.L10
.L3:
	mov	edi, r12d
	sub	edi, ebx
	call	BIT@PLT
	test	eax, ebp
	je	.L2
	mov	edi, ebx
	call	BIT@PLT
	test	DWORD PTR 0[r13], eax
	jne	.L2
	mov	rax, QWORD PTR 8[r13]
	mov	edi, r15d
	lea	rsi, [rax+rbx*4]
	add	rbx, 1
	call	intc_irqpin_irq_handler@PLT
	or	r14d, eax
	cmp	rbx, 8
	jne	.L3
.L10:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	intc_irqpin_shared_irq_handler, .-intc_irqpin_shared_irq_handler
	.comm	IRQ_NONE,4,4
	.comm	INTC_IRQPIN_REG_SOURCE,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_irq-renesas-intc-irqpin.c_intc_irqpin_shared_irq_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intc_irqpin_shared_irq_handler, %function
intc_irqpin_shared_irq_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r8, r0
	mov	r0, r1
	ldr	r1, [r3]
	bl	intc_irqpin_read
	ldr	r3, .L11+4
	mov	r4, #0
	mov	r5, r0
	ldr	r7, [r3]
	b	.L3
.L2:
	add	r4, r4, #1
	cmp	r4, #8
	beq	.L10
.L3:
	rsb	r0, r4, #7
	bl	BIT
	tst	r0, r5
	beq	.L2
	mov	r0, r4
	bl	BIT
	ldr	r3, [r6]
	tst	r0, r3
	bne	.L2
	ldr	r1, [r6, #4]
	mov	r0, r8
	add	r1, r1, r4, lsl #2
	bl	intc_irqpin_irq_handler
	add	r4, r4, #1
	cmp	r4, #8
	orr	r7, r7, r0
	bne	.L3
.L10:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	.align	2
.L11:
	.word	INTC_IRQPIN_REG_SOURCE
	.word	IRQ_NONE
	.size	intc_irqpin_shared_irq_handler, .-intc_irqpin_shared_irq_handler
	.comm	IRQ_NONE,4,4
	.comm	INTC_IRQPIN_REG_SOURCE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
