	.file	"extr_mpr121_touchkey.c_mpr121_vdd_supply_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vdd"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"failed to get vdd regulator: %ld\n"
	.align 8
.LC2:
	.string	"failed to enable vdd regulator: %d\n"
	.align 8
.LC3:
	.string	"failed to add disable regulator action: %d\n"
	.text
	.p2align 4
	.type	mpr121_vdd_supply_init, @function
mpr121_vdd_supply_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	devm_regulator_get@PLT
	mov	rdi, rax
	mov	r12, rax
	call	IS_ERR@PLT
	mov	rdi, r12
	test	rax, rax
	jne	.L11
	call	regulator_enable@PLT
	lea	rsi, .LC2[rip]
	mov	r13d, eax
	mov	edx, eax
	test	eax, eax
	jne	.L9
	mov	esi, DWORD PTR mpr121_vdd_supply_disable[rip]
	mov	rdx, r12
	mov	rdi, rbp
	call	devm_add_action@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L12
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.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
.L12:
	.cfi_restore_state
	mov	rdi, r12
	call	regulator_disable@PLT
	mov	edx, r13d
	lea	rsi, .LC3[rip]
.L9:
	mov	rdi, rbp
	call	dev_err@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, r13d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	call	PTR_ERR@PLT
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	mov	edx, eax
	call	dev_err@PLT
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mpr121_vdd_supply_init, .-mpr121_vdd_supply_init
	.comm	mpr121_vdd_supply_disable,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_mpr121_touchkey.c_mpr121_vdd_supply_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vdd\000"
	.align	2
.LC1:
	.ascii	"failed to get vdd regulator: %ld\012\000"
	.align	2
.LC2:
	.ascii	"failed to enable vdd regulator: %d\012\000"
	.align	2
.LC3:
	.ascii	"failed to add disable regulator action: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mpr121_vdd_supply_init, %function
mpr121_vdd_supply_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r1, .L13
	mov	r5, r0
	bl	devm_regulator_get
	mov	r4, r0
	bl	IS_ERR
	cmp	r0, #0
	mov	r0, r4
	bne	.L10
	bl	regulator_enable
	subs	r6, r0, #0
	bne	.L11
	ldr	r3, .L13+4
	mov	r2, r4
	mov	r0, r5
	ldr	r1, [r3]
	bl	devm_add_action
	subs	r6, r0, #0
	bne	.L12
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, r5
	mov	r2, r6
	ldr	r1, .L13+8
	bl	dev_err
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L10:
	bl	PTR_ERR
	ldr	r1, .L13+12
	mov	r2, r0
	mov	r0, r5
	bl	dev_err
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r4
	bl	regulator_disable
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L13+16
	bl	dev_err
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	mpr121_vdd_supply_disable
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	mpr121_vdd_supply_init, .-mpr121_vdd_supply_init
	.comm	mpr121_vdd_supply_disable,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
