	.file	"extr_dss.c_dss_ctrl_pll_enable.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"illegal DSS PLL ID %d\n"
	.text
	.p2align 4
	.globl	dss_ctrl_pll_enable
	.type	dss_ctrl_pll_enable, @function
dss_ctrl_pll_enable:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	mov	r8d, DWORD PTR 4[rax]
	test	r8d, r8d
	je	.L1
	mov	r9d, DWORD PTR [rdi]
	lea	edx, -128[r9]
	cmp	edx, 2
	ja	.L3
	lea	rcx, CSWTCH.1[rip]
	xor	r9d, r9d
	test	esi, esi
	mov	esi, DWORD PTR [rax]
	mov	ecx, DWORD PTR [rcx+rdx*4]
	sete	r9b
	mov	edx, 1
	mov	edi, r8d
	sal	r9d, cl
	sal	edx, cl
	mov	ecx, r9d
	jmp	regmap_update_bits@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, r9d
	lea	rdi, .LC0[rip]
	jmp	DSSERR@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	dss_ctrl_pll_enable, .-dss_ctrl_pll_enable
	.section	.rodata
	.align 8
	.type	CSWTCH.1, @object
	.size	CSWTCH.1, 12
CSWTCH.1:
	.long	1
	.long	0
	.long	2
	.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_dss.c_dss_ctrl_pll_enable.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"illegal DSS PLL ID %d\012\000"
	.text
	.align	2
	.global	dss_ctrl_pll_enable
	.syntax unified
	.arm
	.fpu softvfp
	.type	dss_ctrl_pll_enable, %function
dss_ctrl_pll_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #4]
	mov	r2, r0
	ldr	r0, [ip, #4]
	cmp	r0, #0
	bxeq	lr
	ldr	r3, [r2]
	push	{r4, lr}
	sub	lr, r3, #128
	cmp	lr, #2
	bhi	.L3
	clz	r3, r1
	mov	r4, #1
	ldr	r2, .L8
	lsr	r3, r3, #5
	ldr	r2, [r2, lr, lsl #2]
	ldr	r1, [ip]
	lsl	r3, r3, r2
	lsl	r2, r4, r2
	pop	{r4, lr}
	b	regmap_update_bits
.L3:
	mov	r1, r3
	pop	{r4, lr}
	ldr	r0, .L8+4
	b	DSSERR
.L9:
	.align	2
.L8:
	.word	.LANCHOR0
	.word	.LC0
	.size	dss_ctrl_pll_enable, .-dss_ctrl_pll_enable
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.1, %object
	.size	CSWTCH.1, 12
CSWTCH.1:
	.word	1
	.word	0
	.word	2
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
