	.file	"extr_hi655x-pmic.c_hi655x_local_irq_clear.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hi655x_local_irq_clear, @function
hi655x_local_irq_clear:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR HI655X_IRQ_CLR[rip]
	mov	rsi, QWORD PTR HI655X_ANA_IRQM_BASE[rip]
	call	regmap_write@PLT
	mov	eax, DWORD PTR HI655X_IRQ_ARRAY[rip]
	test	eax, eax
	jle	.L1
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR HI655X_STRIDE[rip]
	mov	edx, DWORD PTR HI655X_IRQ_CLR[rip]
	mov	rdi, rbp
	imul	esi, ebx
	add	ebx, 1
	movsx	rsi, esi
	add	rsi, QWORD PTR HI655X_IRQ_STAT_BASE[rip]
	call	regmap_write@PLT
	cmp	DWORD PTR HI655X_IRQ_ARRAY[rip], ebx
	jg	.L3
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hi655x_local_irq_clear, .-hi655x_local_irq_clear
	.comm	HI655X_STRIDE,4,4
	.comm	HI655X_IRQ_STAT_BASE,8,8
	.comm	HI655X_IRQ_CLR,4,4
	.comm	HI655X_IRQ_ARRAY,4,4
	.comm	HI655X_ANA_IRQM_BASE,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_hi655x-pmic.c_hi655x_local_irq_clear.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hi655x_local_irq_clear, %function
hi655x_local_irq_clear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L7
	ldr	r6, .L7+4
	ldr	r7, .L7+8
	ldr	r1, [r3]
	ldr	r2, [r6]
	mov	r5, r0
	bl	regmap_write
	ldr	r3, [r7]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r4, #0
	ldr	r9, .L7+12
	ldr	r8, .L7+16
.L3:
	ldr	r3, [r8]
	ldr	r1, [r9]
	mov	r0, r5
	mla	r1, r4, r1, r3
	ldr	r2, [r6]
	bl	regmap_write
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	.align	2
.L7:
	.word	HI655X_ANA_IRQM_BASE
	.word	HI655X_IRQ_CLR
	.word	HI655X_IRQ_ARRAY
	.word	HI655X_STRIDE
	.word	HI655X_IRQ_STAT_BASE
	.size	hi655x_local_irq_clear, .-hi655x_local_irq_clear
	.comm	HI655X_STRIDE,4,4
	.comm	HI655X_IRQ_STAT_BASE,4,4
	.comm	HI655X_IRQ_CLR,4,4
	.comm	HI655X_IRQ_ARRAY,4,4
	.comm	HI655X_ANA_IRQM_BASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
