	.file	"extr_hdmi_pll_8960.c_msm_hdmi_pll_8960_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"HDMI_PLL"
.LC1:
	.string	"hdmi_pll"
.LC2:
	.string	"failed to map pll base\n"
.LC3:
	.string	"failed to register pll clock\n"
	.text
	.p2align 4
	.globl	msm_hdmi_pll_8960_init
	.type	msm_hdmi_pll_8960_init, @function
msm_hdmi_pll_8960_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR freqtbl[rip]
	xor	edi, edi
	mov	rdx, QWORD PTR [rax+rbx]
	add	rbx, 8
	cmp	rdx, QWORD PTR [rax+rbx]
	setl	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L11
	add	ebp, 1
.L2:
	mov	rdi, QWORD PTR freqtbl[rip]
	call	ARRAY_SIZE@PLT
	sub	eax, 1
	cmp	eax, ebp
	jg	.L5
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 24
	mov	rdi, r12
	call	devm_kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	call	msm_ioremap@PLT
	mov	QWORD PTR 16[rbp], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L14
	lea	rax, pll_init[rip]
	mov	QWORD PTR 8[rbp], r12
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 0[rbp], rax
	call	devm_clk_register@PLT
	mov	rdi, rax
	call	IS_ERR@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L1
	lea	rsi, .LC3[rip]
	mov	rdi, r12
	call	DRM_DEV_ERROR@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	DRM_DEV_ERROR@PLT
.L12:
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	msm_hdmi_pll_8960_init, .-msm_hdmi_pll_8960_init
	.comm	pll_init,4,4
	.comm	freqtbl,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_hdmi_pll_8960.c_msm_hdmi_pll_8960_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"HDMI_PLL\000"
	.align	2
.LC1:
	.ascii	"hdmi_pll\000"
	.align	2
.LC2:
	.ascii	"failed to map pll base\012\000"
	.align	2
.LC3:
	.ascii	"failed to register pll clock\012\000"
	.text
	.align	2
	.global	msm_hdmi_pll_8960_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	msm_hdmi_pll_8960_init, %function
msm_hdmi_pll_8960_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	mov	r6, r0
	ldr	r5, .L16
	b	.L2
.L5:
	ldr	r3, [r5]
	add	r2, r3, r4, lsl #2
	ldr	r0, [r3, r4, lsl #2]
	ldr	r2, [r2, #4]
	add	r4, r4, #1
	cmp	r0, r2
	movge	r0, #0
	movlt	r0, #1
	bl	WARN_ON
	cmp	r0, #0
	bne	.L12
.L2:
	ldr	r0, [r5]
	bl	ARRAY_SIZE
	sub	r0, r0, #1
	cmp	r0, r4
	bgt	.L5
	ldr	r3, .L16+4
	mov	r1, #12
	mov	r0, r6
	ldr	r2, [r3]
	bl	devm_kzalloc
	subs	r4, r0, #0
	beq	.L13
	ldr	r2, .L16+8
	ldr	r1, .L16+12
	mov	r0, r6
	bl	msm_ioremap
	str	r0, [r4, #8]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L15
	ldr	r3, .L16+16
	mov	r1, r4
	stm	r4, {r3, r6}
	mov	r0, r6
	bl	devm_clk_register
	bl	IS_ERR
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r6
	ldr	r1, .L16+20
	bl	DRM_DEV_ERROR
.L12:
	ldr	r3, .L16+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L15:
	mov	r0, r6
	ldr	r1, .L16+28
	bl	DRM_DEV_ERROR
.L13:
	ldr	r3, .L16+32
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L17:
	.align	2
.L16:
	.word	freqtbl
	.word	GFP_KERNEL
	.word	.LC0
	.word	.LC1
	.word	pll_init
	.word	.LC3
	.word	EINVAL
	.word	.LC2
	.word	ENOMEM
	.size	msm_hdmi_pll_8960_init, .-msm_hdmi_pll_8960_init
	.comm	pll_init,4,4
	.comm	freqtbl,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
