	.file	"extr_dsi_pll_14nm.c_msm_dsi_pll_14nm_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"PLL%d"
.LC1:
	.string	"DSI_PHY"
.LC2:
	.string	"dsi_phy"
.LC3:
	.string	"failed to map CMN PHY base\n"
.LC4:
	.string	"DSI_PLL"
.LC5:
	.string	"dsi_pll"
.LC6:
	.string	"failed to map PLL base\n"
.LC7:
	.string	"failed to register PLL: %d\n"
	.text
	.p2align 4
	.globl	msm_dsi_pll_14nm_init
	.type	msm_dsi_pll_14nm_init, @function
msm_dsi_pll_14nm_init:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L13
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movsx	rbx, esi
	mov	esi, 88
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	devm_kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L10
	mov	esi, ebx
	lea	rdi, .LC0[rip]
	call	DBG@PLT
	mov	rax, QWORD PTR pll_14nm_list[rip]
	mov	QWORD PTR 80[rbp], r12
	mov	rdi, r12
	mov	DWORD PTR 0[rbp], ebx
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	QWORD PTR [rax+rbx*8], rbp
	call	msm_ioremap@PLT
	mov	QWORD PTR 72[rbp], rax
	mov	rdi, rax
	call	IS_ERR_OR_NULL@PLT
	test	rax, rax
	jne	.L14
	lea	rsi, .LC5[rip]
	lea	rdx, .LC4[rip]
	mov	rdi, r12
	call	msm_ioremap@PLT
	mov	QWORD PTR 64[rbp], rax
	mov	rdi, rax
	call	IS_ERR_OR_NULL@PLT
	lea	rsi, .LC6[rip]
	test	rax, rax
	jne	.L11
	lea	rdi, 56[rbp]
	lea	r13, 8[rbp]
	call	spin_lock_init@PLT
	mov	eax, DWORD PTR VCO_MIN_RATE[rip]
	mov	edx, DWORD PTR dsi_pll_14nm_enable_seq[rip]
	mov	rdi, rbp
	mov	DWORD PTR 52[rbp], eax
	mov	eax, DWORD PTR VCO_MAX_RATE[rip]
	mov	DWORD PTR 48[rbp], eax
	mov	eax, DWORD PTR dsi_pll_14nm_get_provider[rip]
	mov	DWORD PTR 44[rbp], eax
	mov	eax, DWORD PTR dsi_pll_14nm_destroy[rip]
	mov	DWORD PTR 40[rbp], eax
	mov	eax, DWORD PTR dsi_pll_14nm_disable_seq[rip]
	mov	DWORD PTR 36[rbp], eax
	mov	eax, DWORD PTR dsi_pll_14nm_save_state[rip]
	mov	DWORD PTR 32[rbp], eax
	mov	eax, DWORD PTR dsi_pll_14nm_restore_state[rip]
	mov	DWORD PTR 28[rbp], eax
	mov	eax, DWORD PTR dsi_pll_14nm_set_usecase[rip]
	mov	DWORD PTR 24[rbp], eax
	movabs	rax, 4294967297
	mov	QWORD PTR 4[rbp], rax
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], edx
	call	pll_14nm_register@PLT
	mov	ebp, eax
	test	eax, eax
	jne	.L15
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L14:
	.cfi_restore_state
	lea	rsi, .LC3[rip]
.L11:
	mov	rdi, r12
	xor	eax, eax
	call	DRM_DEV_ERROR@PLT
.L10:
	mov	edi, DWORD PTR ENOMEM[rip]
	neg	edi
.L9:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 8
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edi, DWORD PTR ENODEV[rip]
	neg	edi
	jmp	ERR_PTR@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -40
	.cfi_offset 6, -32
	.cfi_offset 12, -24
	.cfi_offset 13, -16
	mov	edx, eax
	mov	rdi, r12
	lea	rsi, .LC7[rip]
	xor	eax, eax
	call	DRM_DEV_ERROR@PLT
	mov	edi, ebp
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	msm_dsi_pll_14nm_init, .-msm_dsi_pll_14nm_init
	.comm	pll_14nm_list,8,8
	.comm	dsi_pll_14nm_set_usecase,4,4
	.comm	dsi_pll_14nm_save_state,4,4
	.comm	dsi_pll_14nm_restore_state,4,4
	.comm	dsi_pll_14nm_get_provider,4,4
	.comm	dsi_pll_14nm_enable_seq,4,4
	.comm	dsi_pll_14nm_disable_seq,4,4
	.comm	dsi_pll_14nm_destroy,4,4
	.comm	VCO_MIN_RATE,4,4
	.comm	VCO_MAX_RATE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,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_dsi_pll_14nm.c_msm_dsi_pll_14nm_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PLL%d\000"
	.align	2
.LC1:
	.ascii	"DSI_PHY\000"
	.align	2
.LC2:
	.ascii	"dsi_phy\000"
	.align	2
.LC3:
	.ascii	"failed to map CMN PHY base\012\000"
	.align	2
.LC4:
	.ascii	"DSI_PLL\000"
	.align	2
.LC5:
	.ascii	"dsi_pll\000"
	.align	2
.LC6:
	.ascii	"failed to map PLL base\012\000"
	.align	2
.LC7:
	.ascii	"failed to register PLL: %d\012\000"
	.text
	.align	2
	.global	msm_dsi_pll_14nm_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	msm_dsi_pll_14nm_init, %function
msm_dsi_pll_14nm_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r6, r0, #0
	beq	.L11
	ldr	r3, .L14
	mov	r5, r1
	ldr	r2, [r3]
	mov	r1, #64
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L8
	mov	r1, r5
	ldr	r0, .L14+4
	bl	DBG
	ldr	r3, .L14+8
	ldr	r2, .L14+12
	ldr	r3, [r3]
	ldr	r1, .L14+16
	str	r6, [r4, #60]
	str	r5, [r4]
	mov	r0, r6
	str	r4, [r3, r5, lsl #2]
	bl	msm_ioremap
	str	r0, [r4, #56]
	bl	IS_ERR_OR_NULL
	cmp	r0, #0
	bne	.L12
	ldr	r2, .L14+20
	ldr	r1, .L14+24
	mov	r0, r6
	bl	msm_ioremap
	str	r0, [r4, #52]
	bl	IS_ERR_OR_NULL
	cmp	r0, #0
	bne	.L13
	add	r0, r4, #48
	bl	spin_lock_init
	mov	r3, #1
	ldr	ip, .L14+28
	ldr	r0, .L14+32
	ldr	r2, .L14+36
	ldr	lr, [ip]
	ldr	r1, .L14+40
	ldr	ip, [r0]
	ldr	r0, [r2]
	ldr	r2, .L14+44
	ldr	r1, [r1]
	str	lr, [r4, #44]
	ldr	lr, [r2]
	ldr	r2, .L14+48
	str	ip, [r4, #40]
	str	r1, [r4, #36]
	ldr	ip, [r2]
	ldr	r1, .L14+52
	ldr	r2, .L14+56
	str	r0, [r4, #32]
	ldr	r2, [r2]
	ldr	r0, [r1]
	ldr	r1, .L14+60
	str	r2, [r4, #20]
	ldr	r1, [r1]
	ldr	r2, [r4, #12]
	str	r0, [r4, #16]
	str	lr, [r4, #28]
	str	ip, [r4, #24]
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	mov	r0, r4
	str	r1, [r2]
	bl	pll_14nm_register
	subs	r5, r0, #0
	add	r0, r4, #8
	popeq	{r4, r5, r6, pc}
	mov	r0, r6
	mov	r2, r5
	ldr	r1, .L14+64
	bl	DRM_DEV_ERROR
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	ERR_PTR
.L12:
	mov	r0, r6
	ldr	r1, .L14+68
.L9:
	bl	DRM_DEV_ERROR
.L8:
	pop	{r4, r5, r6, lr}
	ldr	r3, .L14+72
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L11:
	ldr	r3, .L14+76
	pop	{r4, r5, r6, lr}
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	ERR_PTR
.L13:
	mov	r0, r6
	ldr	r1, .L14+80
	b	.L9
.L15:
	.align	2
.L14:
	.word	GFP_KERNEL
	.word	.LC0
	.word	pll_14nm_list
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC5
	.word	VCO_MIN_RATE
	.word	VCO_MAX_RATE
	.word	dsi_pll_14nm_destroy
	.word	dsi_pll_14nm_get_provider
	.word	dsi_pll_14nm_disable_seq
	.word	dsi_pll_14nm_save_state
	.word	dsi_pll_14nm_set_usecase
	.word	dsi_pll_14nm_restore_state
	.word	dsi_pll_14nm_enable_seq
	.word	.LC7
	.word	.LC3
	.word	ENOMEM
	.word	ENODEV
	.word	.LC6
	.size	msm_dsi_pll_14nm_init, .-msm_dsi_pll_14nm_init
	.comm	pll_14nm_list,4,4
	.comm	dsi_pll_14nm_set_usecase,4,4
	.comm	dsi_pll_14nm_save_state,4,4
	.comm	dsi_pll_14nm_restore_state,4,4
	.comm	dsi_pll_14nm_get_provider,4,4
	.comm	dsi_pll_14nm_enable_seq,4,4
	.comm	dsi_pll_14nm_disable_seq,4,4
	.comm	dsi_pll_14nm_destroy,4,4
	.comm	VCO_MIN_RATE,4,4
	.comm	VCO_MAX_RATE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENODEV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
