	.file	"extr_hisi_sas_v3_hw.c_int_chnl_int_v3_hw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	int_chnl_int_v3_hw, @function
int_chnl_int_v3_hw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	mov	esi, DWORD PTR CHNL_INT_STATUS[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rdi, rbp
	call	hisi_sas_read32@PLT
	and	eax, -286331154
	je	.L2
	mov	ebx, eax
	xor	r14d, r14d
	mov	r12d, 2
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, 4
	mov	ecx, r13d
	sal	eax, cl
	test	eax, ebx
	jne	.L22
.L4:
	mov	eax, 8
	mov	ecx, r13d
	sal	eax, cl
	test	eax, ebx
	jne	.L23
.L5:
	mov	eax, 14
	mov	ecx, r13d
	add	r14d, 1
	sal	eax, cl
	not	eax
	and	ebx, eax
	je	.L2
.L6:
	lea	r13d, 0[0+r14*4]
	mov	eax, r12d
	mov	ecx, r13d
	sal	eax, cl
	test	eax, ebx
	je	.L3
	mov	esi, r14d
	mov	rdi, rbp
	call	handle_chl_int0_v3_hw@PLT
	mov	eax, 4
	mov	ecx, r13d
	sal	eax, cl
	test	eax, ebx
	je	.L4
.L22:
	mov	esi, r14d
	mov	rdi, rbp
	call	handle_chl_int1_v3_hw@PLT
	mov	eax, 8
	mov	ecx, r13d
	sal	eax, cl
	test	eax, ebx
	je	.L5
.L23:
	mov	esi, r14d
	mov	rdi, rbp
	call	handle_chl_int2_v3_hw@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR IRQ_HANDLED[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	int_chnl_int_v3_hw, .-int_chnl_int_v3_hw
	.comm	IRQ_HANDLED,4,4
	.comm	CHNL_INT_STATUS,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_hisi_sas_v3_hw.c_int_chnl_int_v3_hw.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	int_chnl_int_v3_hw, %function
int_chnl_int_v3_hw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L24
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r0, r1
	mov	r7, r1
	ldr	r1, [r3]
	bl	hisi_sas_read32
	ldr	r4, .L24+4
	and	r4, r4, r0
	cmp	r4, #0
	beq	.L2
	mov	r6, #0
	mov	r10, #2
	mov	r9, #4
	mov	r8, #8
	b	.L6
.L3:
	ands	r3, r4, r9, lsl r5
	bne	.L22
.L4:
	ands	r3, r4, r8, lsl r5
	bne	.L23
.L5:
	mov	r3, #14
	bics	r4, r4, r3, lsl r5
	add	r6, r6, #1
	beq	.L2
.L6:
	lsl	r5, r6, #2
	ands	r3, r4, r10, lsl r5
	beq	.L3
	mov	r1, r6
	mov	r0, r7
	bl	handle_chl_int0_v3_hw
	ands	r3, r4, r9, lsl r5
	beq	.L4
.L22:
	mov	r1, r6
	mov	r0, r7
	bl	handle_chl_int1_v3_hw
	ands	r3, r4, r8, lsl r5
	beq	.L5
.L23:
	mov	r1, r6
	mov	r0, r7
	bl	handle_chl_int2_v3_hw
	mov	r3, #14
	bics	r4, r4, r3, lsl r5
	add	r6, r6, #1
	bne	.L6
.L2:
	ldr	r3, .L24+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L25:
	.align	2
.L24:
	.word	CHNL_INT_STATUS
	.word	-286331154
	.word	IRQ_HANDLED
	.size	int_chnl_int_v3_hw, .-int_chnl_int_v3_hw
	.comm	IRQ_HANDLED,4,4
	.comm	CHNL_INT_STATUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
