	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function msm_dsi_pll_10nm_init
LCPI0_0:
	.quad	1000000000                      ## 0x3b9aca00
	.quad	3500000000                      ## 0xd09dc300
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_msm_dsi_pll_10nm_init
	.p2align	4, 0x90
_msm_dsi_pll_10nm_init:                 ## @msm_dsi_pll_10nm_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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_DBG
	movq	%r14, 72(%r15)
	movl	%ebx, (%r15)
	movq	_pll_10nm_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, 64(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_10
LBB0_5:
	leaq	L_.str.4(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	movq	%r14, %rdi
	callq	_msm_ioremap
	movq	%rax, 56(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
LBB0_4:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %edi
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_7:
	leaq	48(%r15), %rdi
	callq	_spin_lock_init
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1000000000,3500000000]
	movups	%xmm0, 8(%r15)
	movq	_dsi_pll_10nm_get_provider@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r15)
	movq	_dsi_pll_10nm_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r15)
	movq	_dsi_pll_10nm_save_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movq	_dsi_pll_10nm_restore_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r15)
	movq	_dsi_pll_10nm_set_usecase@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movl	$1, 4(%r15)
	movq	%r15, %rdi
	callq	_pll_10nm_register
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%eax, %ebx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	jmp	LBB0_9
LBB0_11:
	addq	$8, %r15
	movq	%r15, %rdi
	callq	_msm_dsi_pll_save_state
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DSI PLL%d"

	.comm	_pll_10nm_list,8,3              ## @pll_10nm_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	_dsi_pll_10nm_get_provider,4,2  ## @dsi_pll_10nm_get_provider
	.comm	_dsi_pll_10nm_destroy,4,2       ## @dsi_pll_10nm_destroy
	.comm	_dsi_pll_10nm_save_state,4,2    ## @dsi_pll_10nm_save_state
	.comm	_dsi_pll_10nm_restore_state,4,2 ## @dsi_pll_10nm_restore_state
	.comm	_dsi_pll_10nm_set_usecase,4,2   ## @dsi_pll_10nm_set_usecase
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
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function msm_dsi_pll_10nm_init
lCPI0_0:
	.quad	1000000000                      ; 0x3b9aca00
	.quad	3500000000                      ; 0xd09dc300
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_msm_dsi_pll_10nm_init
	.p2align	2
_msm_dsi_pll_10nm_init:                 ; @msm_dsi_pll_10nm_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
	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, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_DBG
	str	x19, [x20, #72]
	str	w21, [x20]
Lloh5:
	adrp	x8, _pll_10nm_list@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pll_10nm_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, #64]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_3
; %bb.2:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
Lloh16:
	adrp	x2, l_.str.5@PAGE
Lloh17:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_msm_ioremap
	str	x0, [x20, #56]
	bl	_IS_ERR_OR_NULL
	cbz	x0, LBB0_8
; %bb.4:
Lloh18:
	adrp	x1, l_.str.6@PAGE
Lloh19:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_DRM_DEV_ERROR
LBB0_6:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	add	x0, x20, #48
	bl	_spin_lock_init
Lloh23:
	adrp	x8, lCPI0_0@PAGE
Lloh24:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	mov	x21, x20
	str	q0, [x21, #8]!
Lloh25:
	adrp	x8, _dsi_pll_10nm_get_provider@GOTPAGE
Lloh26:
	ldr	x8, [x8, _dsi_pll_10nm_get_provider@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	str	w8, [x20, #40]
Lloh28:
	adrp	x8, _dsi_pll_10nm_destroy@GOTPAGE
Lloh29:
	ldr	x8, [x8, _dsi_pll_10nm_destroy@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _dsi_pll_10nm_save_state@GOTPAGE
Lloh32:
	ldr	x9, [x9, _dsi_pll_10nm_save_state@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #32]
Lloh34:
	adrp	x8, _dsi_pll_10nm_restore_state@GOTPAGE
Lloh35:
	ldr	x8, [x8, _dsi_pll_10nm_restore_state@GOTPAGEOFF]
Lloh36:
	adrp	x9, _dsi_pll_10nm_set_usecase@GOTPAGE
Lloh37:
	ldr	x9, [x9, _dsi_pll_10nm_set_usecase@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
	mov	w8, #1
	str	w8, [x20, #4]
	mov	x0, x20
	bl	_pll_10nm_register
	cbz	w0, LBB0_10
; %bb.9:
	mov	x20, x0
	str	x20, [sp]
Lloh40:
	adrp	x1, l_.str.7@PAGE
Lloh41:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_DRM_DEV_ERROR
	mov	x0, x20
	b	LBB0_7
LBB0_10:
	mov	x0, x21
	bl	_msm_dsi_pll_save_state
	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
	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 AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DSI PLL%d"

	.comm	_pll_10nm_list,8,3              ; @pll_10nm_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	_dsi_pll_10nm_get_provider,4,2  ; @dsi_pll_10nm_get_provider
	.comm	_dsi_pll_10nm_destroy,4,2       ; @dsi_pll_10nm_destroy
	.comm	_dsi_pll_10nm_save_state,4,2    ; @dsi_pll_10nm_save_state
	.comm	_dsi_pll_10nm_restore_state,4,2 ; @dsi_pll_10nm_restore_state
	.comm	_dsi_pll_10nm_set_usecase,4,2   ; @dsi_pll_10nm_set_usecase
l_.str.7:                               ; @.str.7
	.asciz	"failed to register PLL: %d\n"

.subsections_via_symbols
