	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_dsi_hs_init
_cdns_dsi_hs_init:                      ## @cdns_dsi_hs_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DPHY_CMN_PSO@GOTPCREL(%rip), %rcx
	movq	_DPHY_PLL_PSO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_DPHY_ALL_D_PDN@GOTPCREL(%rip), %r12
	orl	(%r12), %eax
	movq	_DPHY_C_PDN@GOTPCREL(%rip), %rbx
	orl	(%rbx), %eax
	movq	_DPHY_CMN_PDN@GOTPCREL(%rip), %r15
	orl	(%r15), %eax
	movq	%rdi, %r14
	movq	_DPHY_PLL_PDN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MCTL_DPHY_CFG0@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	(%rdi), %rsi
	movl	%eax, %edi
	callq	_writel
	movl	8(%r14), %edi
	callq	_phy_init
	movl	8(%r14), %edi
	movq	_PHY_MODE_MIPI_DPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phy_set_mode
	movl	8(%r14), %edi
	leaq	24(%r14), %rsi
	callq	_phy_configure
	movl	8(%r14), %edi
	callq	_phy_power_on
	movq	_PLL_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MCTL_MAIN_STS_CLR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movl	(%r12), %edi
	movq	_DPHY_CMN_PSO@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	(%rbx), %edi
	orl	(%r15), %edi
	movq	(%r13), %rsi
	addq	(%r14), %rsi
	callq	_writel
	movq	_MCTL_MAIN_STS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	xorl	%edx, %edx
	movl	$100, %ecx
	movl	$100, %r8d
	callq	_readl_poll_timeout
	movl	%eax, %edi
	callq	_WARN_ON_ONCE
	movl	(%r12), %ebx
	movq	_DPHY_CMN_PSO@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_DPHY_C_PDN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	(%r15), %ebx
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_DPHY_D_RSTB
	orl	%eax, %ebx
	movq	_DPHY_C_RSTB@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	(%r13), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPHY_CMN_PSO,4,2               ## @DPHY_CMN_PSO
	.comm	_DPHY_PLL_PSO,4,2               ## @DPHY_PLL_PSO
	.comm	_DPHY_ALL_D_PDN,4,2             ## @DPHY_ALL_D_PDN
	.comm	_DPHY_C_PDN,4,2                 ## @DPHY_C_PDN
	.comm	_DPHY_CMN_PDN,4,2               ## @DPHY_CMN_PDN
	.comm	_DPHY_PLL_PDN,4,2               ## @DPHY_PLL_PDN
	.comm	_MCTL_DPHY_CFG0,8,3             ## @MCTL_DPHY_CFG0
	.comm	_PHY_MODE_MIPI_DPHY,4,2         ## @PHY_MODE_MIPI_DPHY
	.comm	_PLL_LOCKED,4,2                 ## @PLL_LOCKED
	.comm	_MCTL_MAIN_STS_CLR,8,3          ## @MCTL_MAIN_STS_CLR
	.comm	_MCTL_MAIN_STS,8,3              ## @MCTL_MAIN_STS
	.comm	_DPHY_C_RSTB,4,2                ## @DPHY_C_RSTB
	.no_dead_strip	_cdns_dsi_hs_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_dsi_hs_init
_cdns_dsi_hs_init:                      ; @cdns_dsi_hs_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x21, _DPHY_CMN_PSO@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DPHY_CMN_PSO@GOTPAGEOFF]
Lloh2:
	adrp	x8, _DPHY_PLL_PSO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DPHY_PLL_PSO@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh4:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh5:
	adrp	x22, _DPHY_ALL_D_PDN@GOTPAGE
Lloh6:
	ldr	x22, [x22, _DPHY_ALL_D_PDN@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w8, w9
Lloh7:
	adrp	x23, _DPHY_C_PDN@GOTPAGE
Lloh8:
	ldr	x23, [x23, _DPHY_C_PDN@GOTPAGEOFF]
	ldr	w9, [x23]
Lloh9:
	adrp	x24, _DPHY_CMN_PDN@GOTPAGE
Lloh10:
	ldr	x24, [x24, _DPHY_CMN_PDN@GOTPAGEOFF]
	orr	w8, w8, w9
	ldr	w9, [x24]
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _DPHY_PLL_PDN@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DPHY_PLL_PDN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
Lloh14:
	adrp	x20, _MCTL_DPHY_CFG0@GOTPAGE
Lloh15:
	ldr	x20, [x20, _MCTL_DPHY_CFG0@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	w0, [x19, #8]
	bl	_phy_init
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x8, _PHY_MODE_MIPI_DPHY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PHY_MODE_MIPI_DPHY@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_phy_set_mode
	ldr	w0, [x19, #8]
	add	x1, x19, #24
	bl	_phy_configure
	ldr	w0, [x19, #8]
	bl	_phy_power_on
Lloh19:
	adrp	x8, _PLL_LOCKED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _PLL_LOCKED@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	x8, [x19]
Lloh22:
	adrp	x9, _MCTL_MAIN_STS_CLR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MCTL_MAIN_STS_CLR@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x24]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19]
Lloh25:
	adrp	x9, _MCTL_MAIN_STS@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MCTL_MAIN_STS@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w2, #0
	mov	w3, #100
	mov	w4, #100
	bl	_readl_poll_timeout
	bl	_WARN_ON_ONCE
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w8, w9, w8
	ldr	w9, [x23]
	orr	w8, w8, w9
	ldr	w9, [x24]
	orr	w21, w8, w9
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_DPHY_D_RSTB
	orr	w8, w21, w0
Lloh28:
	adrp	x9, _DPHY_C_RSTB@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DPHY_C_RSTB@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DPHY_CMN_PSO,4,2               ; @DPHY_CMN_PSO
	.comm	_DPHY_PLL_PSO,4,2               ; @DPHY_PLL_PSO
	.comm	_DPHY_ALL_D_PDN,4,2             ; @DPHY_ALL_D_PDN
	.comm	_DPHY_C_PDN,4,2                 ; @DPHY_C_PDN
	.comm	_DPHY_CMN_PDN,4,2               ; @DPHY_CMN_PDN
	.comm	_DPHY_PLL_PDN,4,2               ; @DPHY_PLL_PDN
	.comm	_MCTL_DPHY_CFG0,8,3             ; @MCTL_DPHY_CFG0
	.comm	_PHY_MODE_MIPI_DPHY,4,2         ; @PHY_MODE_MIPI_DPHY
	.comm	_PLL_LOCKED,4,2                 ; @PLL_LOCKED
	.comm	_MCTL_MAIN_STS_CLR,8,3          ; @MCTL_MAIN_STS_CLR
	.comm	_MCTL_MAIN_STS,8,3              ; @MCTL_MAIN_STS
	.comm	_DPHY_C_RSTB,4,2                ; @DPHY_C_RSTB
	.no_dead_strip	_cdns_dsi_hs_init
.subsections_via_symbols
