	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_dsi_pll_14nm_init          ## -- Begin function msm_dsi_pll_14nm_init
	.p2align	4, 0x90
_msm_dsi_pll_14nm_init:                 ## @msm_dsi_pll_14nm_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DBG
	movq	%r14, 80(%r15)
	movl	%ebx, (%r15)
	movq	_pll_14nm_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	%r15, (%rax,%rcx,8)
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_msm_ioremap
	movq	%rax, 72(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_9
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	callq	_msm_ioremap
	movq	%rax, 64(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	leaq	L_.str.6(%rip), %rsi
LBB0_9:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_10:
	subl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_12:
	leaq	56(%r15), %rdi
	callq	_spin_lock_init
	movq	_VCO_MIN_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r15)
	movq	_VCO_MAX_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r15)
	movq	_dsi_pll_14nm_get_provider@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r15)
	movq	_dsi_pll_14nm_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_dsi_pll_14nm_disable_seq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_dsi_pll_14nm_save_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_dsi_pll_14nm_restore_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_dsi_pll_14nm_set_usecase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%r15)
	movq	_dsi_pll_14nm_enable_seq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r15), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	callq	_pll_14nm_register
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	jmp	LBB0_11
LBB0_14:
	addq	$8, %r15
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PLL%d"

	.comm	_pll_14nm_list,8,3              ## @pll_14nm_list
L_.str.1:                               ## @.str.1
	.asciz	"dsi_phy"

L_.str.2:                               ## @.str.2
	.asciz	"DSI_PHY"

L_.str.3:                               ## @.str.3
	.asciz	"failed to map CMN PHY base\n"

L_.str.4:                               ## @.str.4
	.asciz	"dsi_pll"

L_.str.5:                               ## @.str.5
	.asciz	"DSI_PLL"

L_.str.6:                               ## @.str.6
	.asciz	"failed to map PLL base\n"

	.comm	_VCO_MIN_RATE,4,2               ## @VCO_MIN_RATE
	.comm	_VCO_MAX_RATE,4,2               ## @VCO_MAX_RATE
	.comm	_dsi_pll_14nm_get_provider,4,2  ## @dsi_pll_14nm_get_provider
	.comm	_dsi_pll_14nm_destroy,4,2       ## @dsi_pll_14nm_destroy
	.comm	_dsi_pll_14nm_disable_seq,4,2   ## @dsi_pll_14nm_disable_seq
	.comm	_dsi_pll_14nm_save_state,4,2    ## @dsi_pll_14nm_save_state
	.comm	_dsi_pll_14nm_restore_state,4,2 ## @dsi_pll_14nm_restore_state
	.comm	_dsi_pll_14nm_set_usecase,4,2   ## @dsi_pll_14nm_set_usecase
	.comm	_dsi_pll_14nm_enable_seq,4,2    ## @dsi_pll_14nm_enable_seq
L_.str.7:                               ## @.str.7
	.asciz	"failed to register PLL: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_msm_dsi_pll_14nm_init          ; -- Begin function msm_dsi_pll_14nm_init
	.p2align	2
_msm_dsi_pll_14nm_init:                 ; @msm_dsi_pll_14nm_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_DBG
	str	x19, [x20, #80]
	str	w21, [x20]
Lloh5:
	adrp	x8, _pll_14nm_list@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pll_14nm_list@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x20, [x8, w21, sxtw #3]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_msm_ioremap
	str	x0, [x20, #72]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_5
; %bb.3:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _ENODEV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_msm_ioremap
	str	x0, [x20, #64]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_11
; %bb.6:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_DRM_DEV_ERROR
LBB0_8:
Lloh22:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_ERR_PTR
LBB0_11:
	add	x0, x20, #56
	bl	_spin_lock_init
Lloh24:
	adrp	x8, _VCO_MIN_RATE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VCO_MIN_RATE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _VCO_MAX_RATE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _VCO_MAX_RATE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _dsi_pll_14nm_get_provider@GOTPAGE
Lloh31:
	ldr	x10, [x10, _dsi_pll_14nm_get_provider@GOTPAGEOFF]
	stp	w9, w8, [x20, #48]
Lloh32:
	ldr	w8, [x10]
Lloh33:
	adrp	x9, _dsi_pll_14nm_destroy@GOTPAGE
Lloh34:
	ldr	x9, [x9, _dsi_pll_14nm_destroy@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #40]
Lloh36:
	adrp	x8, _dsi_pll_14nm_disable_seq@GOTPAGE
Lloh37:
	ldr	x8, [x8, _dsi_pll_14nm_disable_seq@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _dsi_pll_14nm_save_state@GOTPAGE
Lloh40:
	ldr	x9, [x9, _dsi_pll_14nm_save_state@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #32]
Lloh42:
	adrp	x8, _dsi_pll_14nm_restore_state@GOTPAGE
Lloh43:
	ldr	x8, [x8, _dsi_pll_14nm_restore_state@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _dsi_pll_14nm_set_usecase@GOTPAGE
Lloh46:
	ldr	x9, [x9, _dsi_pll_14nm_set_usecase@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
	movi.2s	v0, #1
	stur	d0, [x20, #4]
Lloh48:
	adrp	x8, _dsi_pll_14nm_enable_seq@GOTPAGE
Lloh49:
	ldr	x8, [x8, _dsi_pll_14nm_enable_seq@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	x9, [x20, #16]
	str	w8, [x9]
	mov	x0, x20
	bl	_pll_14nm_register
	cbz	w0, LBB0_13
; %bb.12:
	mov	x21, x0
	str	x21, [sp]
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
	b	LBB0_10
LBB0_13:
	add	x0, x20, #8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PLL%d"

	.comm	_pll_14nm_list,8,3              ; @pll_14nm_list
l_.str.1:                               ; @.str.1
	.asciz	"dsi_phy"

l_.str.2:                               ; @.str.2
	.asciz	"DSI_PHY"

l_.str.3:                               ; @.str.3
	.asciz	"failed to map CMN PHY base\n"

l_.str.4:                               ; @.str.4
	.asciz	"dsi_pll"

l_.str.5:                               ; @.str.5
	.asciz	"DSI_PLL"

l_.str.6:                               ; @.str.6
	.asciz	"failed to map PLL base\n"

	.comm	_VCO_MIN_RATE,4,2               ; @VCO_MIN_RATE
	.comm	_VCO_MAX_RATE,4,2               ; @VCO_MAX_RATE
	.comm	_dsi_pll_14nm_get_provider,4,2  ; @dsi_pll_14nm_get_provider
	.comm	_dsi_pll_14nm_destroy,4,2       ; @dsi_pll_14nm_destroy
	.comm	_dsi_pll_14nm_disable_seq,4,2   ; @dsi_pll_14nm_disable_seq
	.comm	_dsi_pll_14nm_save_state,4,2    ; @dsi_pll_14nm_save_state
	.comm	_dsi_pll_14nm_restore_state,4,2 ; @dsi_pll_14nm_restore_state
	.comm	_dsi_pll_14nm_set_usecase,4,2   ; @dsi_pll_14nm_set_usecase
	.comm	_dsi_pll_14nm_enable_seq,4,2    ; @dsi_pll_14nm_enable_seq
l_.str.7:                               ; @.str.7
	.asciz	"failed to register PLL: %d\n"

.subsections_via_symbols
