	.file	"extr_twl6040.c_twl6040_power_up_manual.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"manual power-up failed\n"
	.text
	.p2align 4
	.type	twl6040_power_up_manual, @function
twl6040_power_up_manual:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	esi, DWORD PTR TWL6040_REG_LDOCTL[rip]
	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, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, DWORD PTR TWL6040_HSLDOENA[rip]
	or	ebx, DWORD PTR TWL6040_REFENA[rip]
	or	ebx, DWORD PTR TWL6040_OSCENA[rip]
	mov	edx, ebx
	call	twl6040_reg_write@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L11
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	esi, 10500
	mov	edi, 10000
	call	usleep_range@PLT
	mov	r13d, DWORD PTR TWL6040_NCPENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_NCPCTL[rip]
	mov	rdi, rbp
	mov	edx, r13d
	call	twl6040_reg_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
	mov	esi, 1500
	mov	edi, 1000
	call	usleep_range@PLT
	or	ebx, DWORD PTR TWL6040_LSLDOENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_LDOCTL[rip]
	mov	rdi, rbp
	mov	edx, ebx
	call	twl6040_reg_write@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L12
.L4:
	mov	edx, DWORD PTR TWL6040_NCPENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_NCPCTL[rip]
	mov	rdi, rbp
	not	edx
	and	edx, r13d
	call	twl6040_reg_write@PLT
.L3:
	mov	edx, DWORD PTR TWL6040_HSLDOENA[rip]
	or	edx, DWORD PTR TWL6040_REFENA[rip]
	mov	rdi, rbp
	or	edx, DWORD PTR TWL6040_OSCENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_LDOCTL[rip]
	not	edx
	and	edx, ebx
	call	twl6040_reg_write@PLT
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, 1500
	mov	edi, 1000
	call	usleep_range@PLT
	mov	r14d, DWORD PTR TWL6040_LPLLENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_LPPLLCTL[rip]
	mov	rdi, rbp
	mov	edx, r14d
	call	twl6040_reg_write@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L5
	mov	esi, 5500
	mov	edi, 5000
	call	usleep_range@PLT
	mov	eax, DWORD PTR TWL6040_OSCENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_LDOCTL[rip]
	mov	rdi, rbp
	not	eax
	and	ebx, eax
	mov	edx, ebx
	call	twl6040_reg_write@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR TWL6040_LPLLENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_LPPLLCTL[rip]
	mov	rdi, rbp
	not	edx
	and	edx, r14d
	call	twl6040_reg_write@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR TWL6040_LSLDOENA[rip]
	mov	esi, DWORD PTR TWL6040_REG_LDOCTL[rip]
	mov	rdi, rbp
	not	eax
	and	ebx, eax
	mov	edx, ebx
	call	twl6040_reg_write@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	twl6040_power_up_manual, .-twl6040_power_up_manual
	.comm	TWL6040_REG_NCPCTL,4,4
	.comm	TWL6040_REG_LPPLLCTL,4,4
	.comm	TWL6040_REG_LDOCTL,4,4
	.comm	TWL6040_REFENA,4,4
	.comm	TWL6040_OSCENA,4,4
	.comm	TWL6040_NCPENA,4,4
	.comm	TWL6040_LSLDOENA,4,4
	.comm	TWL6040_LPLLENA,4,4
	.comm	TWL6040_HSLDOENA,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_twl6040.c_twl6040_power_up_manual.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"manual power-up failed\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	twl6040_power_up_manual, %function
twl6040_power_up_manual:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r9, .L13
	ldr	r8, .L13+4
	ldr	r7, .L13+8
	ldr	r2, [r8]
	ldr	r4, [r9]
	ldr	r3, [r7]
	orr	r4, r4, r2
	ldr	r6, .L13+12
	orr	r4, r4, r3
	mov	r2, r4
	ldr	r1, [r6]
	sub	sp, sp, #12
	mov	r5, r0
	bl	twl6040_reg_write
	subs	fp, r0, #0
	beq	.L11
.L1:
	mov	r0, fp
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	ldr	r1, .L13+16
	ldr	r0, .L13+20
	bl	usleep_range
	ldr	r3, .L13+24
	mov	r0, r5
	ldr	r10, [r3]
	ldr	r3, .L13+28
	mov	r2, r10
	ldr	r1, [r3]
	bl	twl6040_reg_write
	subs	fp, r0, #0
	bne	.L3
	ldr	r1, .L13+32
	mov	r0, #1000
	bl	usleep_range
	ldr	r3, .L13+36
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, [r6]
	orr	r4, r4, r3
	mov	r2, r4
	bl	twl6040_reg_write
	subs	fp, r0, #0
	beq	.L12
.L4:
	ldr	r3, .L13+24
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r3, .L13+28
	bic	r2, r10, r2
	ldr	r1, [r3]
	bl	twl6040_reg_write
.L3:
	ldr	r0, [r8]
	ldr	r2, [r9]
	ldr	r1, [r7]
	orr	r2, r2, r0
	orr	r2, r2, r1
	bic	r2, r4, r2
	ldr	r1, [r6]
	mov	r0, r5
	bl	twl6040_reg_write
	ldr	r0, [r5]
	ldr	r1, .L13+40
	bl	dev_err
	mov	r0, fp
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	ldr	r1, .L13+32
	mov	r0, #1000
	bl	usleep_range
	ldr	r3, .L13+44
	ldr	r2, .L13+48
	ldr	r3, [r3]
	ldr	r1, [r2]
	mov	r0, r5
	mov	r2, r3
	str	r3, [sp, #4]
	bl	twl6040_reg_write
	subs	fp, r0, #0
	bne	.L5
	ldr	r1, .L13+52
	ldr	r0, .L13+56
	bl	usleep_range
	ldr	r3, [r7]
	mov	r0, r5
	bic	r4, r4, r3
	mov	r2, r4
	ldr	r1, [r6]
	bl	twl6040_reg_write
	subs	fp, r0, #0
	beq	.L1
	ldr	r3, .L13+44
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r3, .L13+48
	ldr	r1, [r3]
	ldr	r3, [sp, #4]
	bic	r2, r3, r2
	bl	twl6040_reg_write
.L5:
	ldr	r3, .L13+36
	mov	r0, r5
	ldr	r2, [r3]
	ldr	r1, [r6]
	bic	r4, r4, r2
	mov	r2, r4
	bl	twl6040_reg_write
	b	.L4
.L14:
	.align	2
.L13:
	.word	TWL6040_HSLDOENA
	.word	TWL6040_REFENA
	.word	TWL6040_OSCENA
	.word	TWL6040_REG_LDOCTL
	.word	10500
	.word	10000
	.word	TWL6040_NCPENA
	.word	TWL6040_REG_NCPCTL
	.word	1500
	.word	TWL6040_LSLDOENA
	.word	.LC0
	.word	TWL6040_LPLLENA
	.word	TWL6040_REG_LPPLLCTL
	.word	5500
	.word	5000
	.size	twl6040_power_up_manual, .-twl6040_power_up_manual
	.comm	TWL6040_REG_NCPCTL,4,4
	.comm	TWL6040_REG_LPPLLCTL,4,4
	.comm	TWL6040_REG_LDOCTL,4,4
	.comm	TWL6040_REFENA,4,4
	.comm	TWL6040_OSCENA,4,4
	.comm	TWL6040_NCPENA,4,4
	.comm	TWL6040_LSLDOENA,4,4
	.comm	TWL6040_LPLLENA,4,4
	.comm	TWL6040_HSLDOENA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
