	.file	"extr_scmi-hwmon.c_scmi_hwmon_add_chan_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	scmi_hwmon_add_chan_info, @function
scmi_hwmon_add_chan_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	mov	rdi, rsi
	lea	esi, 1[rdx]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edx
	mov	edx, 4
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, r8d
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	call	devm_kcalloc@PLT
	test	rax, rax
	je	.L9
	mov	DWORD PTR 0[r13], r12d
	mov	QWORD PTR 8[r13], rax
	test	ebp, ebp
	jle	.L4
	lea	edx, -1[rbp]
	lea	rdx, 4[rax+rdx*4]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR [rax], ebx
	add	rax, 4
	cmp	rax, rdx
	jne	.L5
.L4:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	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
	mov	eax, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	scmi_hwmon_add_chan_info, .-scmi_hwmon_add_chan_info
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_scmi-hwmon.c_scmi_hwmon_add_chan_info.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	scmi_hwmon_add_chan_info, %function
scmi_hwmon_add_chan_info:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r3
	ldr	r3, .L10
	mov	r4, r2
	mov	r6, r0
	ldr	r3, [r3]
	mov	r0, r1
	add	r1, r2, #1
	mov	r2, #4
	ldr	r5, [sp, #24]
	bl	devm_kcalloc
	subs	r1, r0, #0
	beq	.L9
	cmp	r4, #0
	str	r7, [r6]
	str	r1, [r6, #4]
	ble	.L4
	mov	r3, #0
.L5:
	add	r3, r3, #1
	cmp	r4, r3
	str	r5, [r1], #4
	bne	.L5
.L4:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r3, .L10+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	scmi_hwmon_add_chan_info, .-scmi_hwmon_add_chan_info
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
