	.file	"extr_hisi_sas_v3_hw.c_intr_coal_count_v3_hw_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Input data of interrupt coalesce unmatch\n"
	.align 8
.LC1:
	.string	"intr_coal_count must be less than 2^8!\n"
	.text
	.p2align 4
	.type	intr_coal_count_v3_hw_store, @function
intr_coal_count_v3_hw_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	class_to_shost@PLT
	mov	rdi, rax
	call	shost_priv@PLT
	mov	rdx, rsp
	mov	esi, 10
	mov	rdi, r12
	mov	r13, rax
	call	kstrtou32@PLT
	test	eax, eax
	jne	.L8
	mov	edi, 8
	call	BIT@PLT
	mov	r8, rax
	mov	rax, QWORD PTR [rsp]
	cmp	r8, rax
	jle	.L9
	mov	QWORD PTR 0[r13], rax
	mov	rdi, r13
	call	config_intr_coal_v3_hw@PLT
	mov	rax, rbx
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	rax, QWORD PTR EINVAL[rip]
	neg	rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	dev_err@PLT
	mov	rax, QWORD PTR EINVAL[rip]
	neg	rax
	jmp	.L1
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	intr_coal_count_v3_hw_store, .-intr_coal_count_v3_hw_store
	.comm	EINVAL,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_hisi_sas_v3_hw.c_intr_coal_count_v3_hw_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Input data of interrupt coalesce unmatch\012\000"
	.align	2
.LC1:
	.ascii	"intr_coal_count must be less than 2^8!\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	intr_coal_count_v3_hw_store, %function
intr_coal_count_v3_hw_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r3
	ldr	r3, .L11
	sub	sp, sp, #8
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	bl	class_to_shost
	bl	shost_priv
	mov	ip, r0
	mov	r2, sp
	mov	r0, r4
	mov	r1, #10
	mov	r4, ip
	bl	kstrtou32
	cmp	r0, #0
	bne	.L8
	mov	r0, #8
	bl	BIT
	ldr	r3, [sp]
	cmp	r0, r3
	ble	.L9
	mov	r0, r4
	str	r3, [r4]
	bl	config_intr_coal_v3_hw
	mov	r0, r6
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, r5
	ldr	r1, .L11+4
	bl	dev_err
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	mov	r0, r5
	ldr	r1, .L11+12
	bl	dev_err
	ldr	r3, .L11+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.size	intr_coal_count_v3_hw_store, .-intr_coal_count_v3_hw_store
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
