	.file	"extr_hi6421-regulator.c_hi6421_regulator_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"failed to register regulator %s\n"
	.text
	.p2align 4
	.type	hi6421_regulator_probe, @function
hi6421_regulator_probe:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	pxor	xmm0, xmm0
	mov	rdi, r12
	mov	esi, 4
	mov	r13, rax
	movaps	XMMWORD PTR [rsp], xmm0
	mov	QWORD PTR 16[rsp], 0
	call	devm_kzalloc@PLT
	test	rax, rax
	je	.L11
	mov	rbp, rax
	mov	rdi, rax
	xor	ebx, ebx
	mov	r14, rsp
	call	mutex_init@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	platform_set_drvdata@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR hi6421_regulator_info[rip]
	mov	rdx, r14
	mov	rdi, r12
	lea	r15, [rax+rbx*4]
	mov	eax, DWORD PTR [r12]
	add	rbx, 1
	mov	rsi, r15
	mov	QWORD PTR 8[rsp], r15
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR [rsp], eax
	call	devm_regulator_register@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L12
.L4:
	mov	rdi, QWORD PTR hi6421_regulator_info[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	jg	.L5
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edx, DWORD PTR [r15]
	mov	rdi, r12
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	rdi, rbp
	call	PTR_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	hi6421_regulator_probe, .-hi6421_regulator_probe
	.comm	hi6421_regulator_info,8,8
	.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_hi6421-regulator.c_hi6421_regulator_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"failed to register regulator %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hi6421_regulator_probe, %function
hi6421_regulator_probe:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L13
	sub	sp, sp, #20
	mov	r7, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	dev_get_drvdata
	mov	r5, #0
	ldr	r3, .L13+4
	mov	r9, r0
	mov	r1, #4
	mov	r0, r7
	ldr	r2, [r3]
	str	r5, [sp]
	str	r5, [sp, #4]
	str	r5, [sp, #8]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L10
	bl	mutex_init
	mov	r1, r4
	mov	r0, r7
	bl	platform_set_drvdata
	ldr	r8, .L13+8
	b	.L4
.L6:
	ldr	r4, [r8]
	ldr	ip, [r7]
	ldr	r3, [r9]
	add	r4, r4, r5, lsl #2
	mov	r1, r4
	mov	r2, sp
	mov	r0, r7
	stm	sp, {r3, r4, ip}
	bl	devm_regulator_register
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L11
	add	r5, r5, #1
.L4:
	ldr	r0, [r8]
	bl	ARRAY_SIZE
	cmp	r0, r5
	bgt	.L6
	mov	r0, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	mov	r0, r7
	ldr	r2, [r4]
	ldr	r1, .L13+12
	bl	dev_err
	mov	r0, r6
	bl	PTR_ERR
	b	.L1
.L10:
	ldr	r3, .L13+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	GFP_KERNEL
	.word	hi6421_regulator_info
	.word	.LC0
	.word	ENOMEM
	.size	hi6421_regulator_probe, .-hi6421_regulator_probe
	.comm	hi6421_regulator_info,4,4
	.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
