	.file	"extr_lp872x.c_lp872x_regulator_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"regulator register err"
	.text
	.p2align 4
	.type	lp872x_regulator_register, @function
lp872x_regulator_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pxor	xmm0, xmm0
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	movaps	XMMWORD PTR [rsp], xmm0
	mov	r13, rsp
	mov	QWORD PTR 16[rsp], 0
	test	eax, eax
	jg	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	add	r12, 1
	cmp	DWORD PTR [rbx], r12d
	jle	.L7
.L2:
	mov	rbp, QWORD PTR lp8725_regulator_desc[rip]
	lea	rax, 0[0+r12*4]
	mov	rcx, QWORD PTR LP8720[rip]
	add	rbp, rax
	cmp	QWORD PTR 8[rbx], rcx
	jne	.L5
	add	rax, QWORD PTR lp8720_regulator_desc[rip]
	mov	rbp, rax
.L5:
	mov	edi, DWORD PTR 0[rbp]
	mov	eax, DWORD PTR 16[rbx]
	mov	rsi, rbx
	mov	DWORD PTR 20[rsp], eax
	call	lp872x_find_regulator_init_data@PLT
	mov	edi, DWORD PTR 16[rbx]
	mov	rsi, rbp
	mov	rdx, r13
	mov	DWORD PTR 16[rsp], eax
	mov	eax, DWORD PTR 20[rbx]
	mov	QWORD PTR 8[rsp], rbx
	mov	DWORD PTR [rsp], eax
	call	devm_regulator_register@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L6
	mov	edi, DWORD PTR 16[rbx]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	rdi, rbp
	call	PTR_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 24[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 40
	.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
.L15:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	lp872x_regulator_register, .-lp872x_regulator_register
	.comm	lp8725_regulator_desc,8,8
	.comm	lp8720_regulator_desc,8,8
	.comm	LP8720,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_lp872x.c_lp872x_regulator_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"regulator register err\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lp872x_regulator_register, %function
lp872x_regulator_register:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, #0
	ldr	r3, [r0]
	sub	sp, sp, #28
	cmp	r3, r6
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	r6, [sp, #4]
	str	r6, [sp, #8]
	str	r6, [sp, #12]
	str	r6, [sp, #16]
	ble	.L7
	mov	r4, r0
	ldr	r9, .L14+4
	ldr	r7, .L14+8
	ldr	r8, .L14+12
	b	.L2
.L6:
	ldr	r3, [r4]
	add	r6, r6, #1
	cmp	r3, r6
	ble	.L7
.L2:
	ldr	r3, [r9]
	ldr	r2, [r4, #4]
	lsl	r5, r6, #2
	cmp	r2, r3
	ldreq	r3, [r8]
	ldrne	r3, [r7]
	mov	r1, r4
	add	r5, r3, r5
	ldr	r3, [r4, #8]
	ldr	r0, [r5]
	str	r3, [sp, #16]
	bl	lp872x_find_regulator_init_data
	mov	ip, r0
	ldr	r3, [r4, #12]
	mov	r1, r5
	add	r2, sp, #4
	ldr	r0, [r4, #8]
	stmib	sp, {r3, r4, ip}
	bl	devm_regulator_register
	mov	r5, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L6
	ldr	r0, [r4, #8]
	ldr	r1, .L14+16
	bl	dev_err
	mov	r0, r5
	bl	PTR_ERR
	b	.L1
.L7:
	mov	r0, #0
.L1:
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	LP8720
	.word	lp8725_regulator_desc
	.word	lp8720_regulator_desc
	.word	.LC0
	.size	lp872x_regulator_register, .-lp872x_regulator_register
	.comm	lp8725_regulator_desc,4,4
	.comm	lp8720_regulator_desc,4,4
	.comm	LP8720,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
