	.file	"extr_rk808-regulator.c_rk8xx_set_mode.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"do not support this mode\n"
	.text
	.p2align 4
	.type	rk8xx_set_mode, @function
rk8xx_set_mode:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 128
	je	.L2
	cmp	esi, 129
	jne	.L3
	mov	rax, QWORD PTR 8[rdi]
	mov	ecx, DWORD PTR FPWM_MODE[rip]
	mov	edi, DWORD PTR 16[rdi]
	mov	edx, DWORD PTR PWM_MODE_MSK[rip]
	mov	esi, DWORD PTR [rax]
	jmp	regmap_update_bits@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rax, QWORD PTR 8[rdi]
	mov	ecx, DWORD PTR AUTO_PWM_MODE[rip]
	mov	edi, DWORD PTR 16[rdi]
	mov	edx, DWORD PTR PWM_MODE_MSK[rip]
	mov	esi, DWORD PTR [rax]
	jmp	regmap_update_bits@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	rk8xx_set_mode, .-rk8xx_set_mode
	.comm	PWM_MODE_MSK,4,4
	.comm	FPWM_MODE,4,4
	.comm	EINVAL,4,4
	.comm	AUTO_PWM_MODE,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_rk808-regulator.c_rk8xx_set_mode.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"do not support this mode\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rk8xx_set_mode, %function
rk8xx_set_mode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #128
	mov	ip, r0
	beq	.L2
	cmp	r1, #129
	bne	.L3
	ldr	r3, .L8
.L6:
	ldr	r2, .L8+4
	ldr	r1, [ip, #4]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [ip, #8]
	b	regmap_update_bits
.L2:
	ldr	r3, .L8+8
	b	.L6
.L3:
	push	{r4, lr}
	ldr	r1, .L8+12
	bl	dev_err
	ldr	r3, .L8+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	FPWM_MODE
	.word	PWM_MODE_MSK
	.word	AUTO_PWM_MODE
	.word	.LC0
	.word	EINVAL
	.size	rk8xx_set_mode, .-rk8xx_set_mode
	.comm	PWM_MODE_MSK,4,4
	.comm	FPWM_MODE,4,4
	.comm	EINVAL,4,4
	.comm	AUTO_PWM_MODE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
