	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_init_pll_data
_dsi_init_pll_data:                     ## @dsi_init_pll_data
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	20(%rsi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_DSSERR
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	cmpq	$0, (%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_DSS_PLL_DSI2@GOTPCREL(%rip), %rax
	cmoveq	_DSS_PLL_DSI1@GOTPCREL(%rip), %rax
	leaq	24(%rbx), %rsi
	movq	%rcx, 24(%rbx)
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	%r15, 48(%rbx)
	movl	16(%rbx), %eax
	movl	%eax, 44(%rbx)
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_dsi_pll_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dss_pll_register               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sys_clk"

L_.str.1:                               ## @.str.1
	.asciz	"can't get sys_clk\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"dsi1"

	.comm	_DSS_PLL_DSI1,4,2               ## @DSS_PLL_DSI1
	.comm	_DSS_PLL_DSI2,4,2               ## @DSS_PLL_DSI2
	.comm	_dsi_pll_ops,4,2                ## @dsi_pll_ops
	.no_dead_strip	_dsi_init_pll_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_init_pll_data
_dsi_init_pll_data:                     ; @dsi_init_pll_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x1
	mov	x20, x0
	ldr	w0, [x1, #20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_devm_clk_get
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DSSERR
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	ldr	x8, [x19]
Lloh4:
	adrp	x9, l_.str.3@PAGE
Lloh5:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh6:
	adrp	x10, l_.str.2@PAGE
Lloh7:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [x19, #24]!
Lloh8:
	adrp	x8, _DSS_PLL_DSI1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DSS_PLL_DSI1@GOTPAGEOFF]
Lloh10:
	adrp	x9, _DSS_PLL_DSI2@GOTPAGE
Lloh11:
	ldr	x9, [x9, _DSS_PLL_DSI2@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	x21, [x19, #24]
	ldur	w8, [x19, #-8]
	ldur	x9, [x19, #-16]
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh12:
	adrp	x8, _dsi_pll_ops@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dsi_pll_ops@GOTPAGEOFF]
	str	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dss_pll_register
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sys_clk"

l_.str.1:                               ; @.str.1
	.asciz	"can't get sys_clk\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"dsi1"

	.comm	_DSS_PLL_DSI1,4,2               ; @DSS_PLL_DSI1
	.comm	_DSS_PLL_DSI2,4,2               ; @DSS_PLL_DSI2
	.comm	_dsi_pll_ops,4,2                ; @dsi_pll_ops
	.no_dead_strip	_dsi_init_pll_data
.subsections_via_symbols
