	.file	"extr_wm8350-regulator.c_wm8350_ldo_set_suspend_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wm8350_ldo_set_suspend_enable, @function
wm8350_ldo_set_suspend_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	rdev_get_drvdata@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	rdev_get_id@PLT
	cmp	eax, 130
	je	.L2
	jg	.L3
	cmp	eax, 128
	je	.L4
	cmp	eax, 129
	jne	.L6
	mov	ebp, DWORD PTR WM8350_LDO3_LOW_POWER[rip]
.L7:
	mov	esi, ebp
	mov	rdi, r12
	call	wm8350_reg_read@PLT
	mov	edx, DWORD PTR WM8350_LDO1_HIB_MODE_MASK[rip]
	mov	esi, ebp
	mov	rdi, r12
	not	edx
	and	edx, eax
	call	wm8350_reg_write@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	ebp, DWORD PTR WM8350_LDO1_LOW_POWER[rip]
	cmp	eax, 131
	je	.L7
.L6:
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	ebp, DWORD PTR WM8350_LDO2_LOW_POWER[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ebp, DWORD PTR WM8350_LDO4_LOW_POWER[rip]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	wm8350_ldo_set_suspend_enable, .-wm8350_ldo_set_suspend_enable
	.comm	WM8350_LDO4_LOW_POWER,4,4
	.comm	WM8350_LDO3_LOW_POWER,4,4
	.comm	WM8350_LDO2_LOW_POWER,4,4
	.comm	WM8350_LDO1_LOW_POWER,4,4
	.comm	WM8350_LDO1_HIB_MODE_MASK,4,4
	.comm	EINVAL,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_wm8350-regulator.c_wm8350_ldo_set_suspend_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wm8350_ldo_set_suspend_enable, %function
wm8350_ldo_set_suspend_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	rdev_get_drvdata
	mov	r4, r0
	mov	r0, r5
	bl	rdev_get_id
	sub	r3, r0, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r3, .L12
	ldr	r5, [r3]
.L8:
	mov	r1, r5
	mov	r0, r4
	bl	wm8350_reg_read
	mov	r3, r0
	ldr	r2, .L12+4
	mov	r1, r5
	ldr	r2, [r2]
	mov	r0, r4
	bic	r2, r3, r2
	bl	wm8350_reg_write
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L12+8
	ldr	r5, [r3]
	b	.L8
.L6:
	ldr	r3, .L12+12
	ldr	r5, [r3]
	b	.L8
.L5:
	ldr	r3, .L12+16
	ldr	r5, [r3]
	b	.L8
.L2:
	ldr	r3, .L12+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	WM8350_LDO1_LOW_POWER
	.word	WM8350_LDO1_HIB_MODE_MASK
	.word	WM8350_LDO4_LOW_POWER
	.word	WM8350_LDO3_LOW_POWER
	.word	WM8350_LDO2_LOW_POWER
	.word	EINVAL
	.size	wm8350_ldo_set_suspend_enable, .-wm8350_ldo_set_suspend_enable
	.comm	WM8350_LDO4_LOW_POWER,4,4
	.comm	WM8350_LDO3_LOW_POWER,4,4
	.comm	WM8350_LDO2_LOW_POWER,4,4
	.comm	WM8350_LDO1_LOW_POWER,4,4
	.comm	WM8350_LDO1_HIB_MODE_MASK,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
