	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixel_dphy_set_pll_params
_mixel_dphy_set_pll_params:             ## @mixel_dphy_set_pll_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	(%rax), %edx
	movl	4(%rax), %ecx
	leal	-256(%rdx), %eax
	cmpl	$-240, %eax
	jb	LBB0_3
## %bb.1:
	leal	-33(%rcx), %eax
	cmpl	$-32, %eax
	jb	LBB0_3
## %bb.2:
	movl	8(%rbx), %r8d
	leal	-9(%r8), %eax
	cmpl	$-9, %eax
	ja	LBB0_4
LBB0_3:
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_dev_dbg
	movl	(%rbx), %edi
	callq	_CM
	movq	_DPHY_CM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_phy_write
	movl	4(%rbx), %edi
	callq	_CN
	movq	_DPHY_CN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_phy_write
	movl	8(%rbx), %edi
	callq	_CO
	movq	_DPHY_CO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_phy_write
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid CM/CN/CO values! (%u/%u/%u)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Using CM:%u CN:%u CO:%u\n"

	.comm	_DPHY_CM,4,2                    ## @DPHY_CM
	.comm	_DPHY_CN,4,2                    ## @DPHY_CN
	.comm	_DPHY_CO,4,2                    ## @DPHY_CO
	.no_dead_strip	_mixel_dphy_set_pll_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixel_dphy_set_pll_params
_mixel_dphy_set_pll_params:             ; @mixel_dphy_set_pll_params
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
	bl	_dev_get_drvdata
	mov	x20, x0
	ldp	w2, w3, [x0]
	sub	w8, w2, #256
	cmn	w8, #240
	b.lo	LBB0_3
; %bb.1:
	sub	w8, w3, #33
	cmn	w8, #32
	b.lo	LBB0_3
; %bb.2:
	ldr	w4, [x20, #8]
	sub	w8, w4, #9
	cmn	w8, #9
	b.hi	LBB0_4
LBB0_3:
	ldr	w4, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w0, [x20]
	bl	_CM
	mov	x1, x0
Lloh7:
	adrp	x8, _DPHY_CM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DPHY_CM@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_write
	ldr	w0, [x20, #4]
	bl	_CN
	mov	x1, x0
Lloh10:
	adrp	x8, _DPHY_CN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DPHY_CN@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_write
	ldr	w0, [x20, #8]
	bl	_CO
	mov	x1, x0
Lloh13:
	adrp	x8, _DPHY_CO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DPHY_CO@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_phy_write
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid CM/CN/CO values! (%u/%u/%u)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Using CM:%u CN:%u CO:%u\n"

	.comm	_DPHY_CM,4,2                    ; @DPHY_CM
	.comm	_DPHY_CN,4,2                    ; @DPHY_CN
	.comm	_DPHY_CO,4,2                    ; @DPHY_CO
	.no_dead_strip	_mixel_dphy_set_pll_params
.subsections_via_symbols
