	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_ctrl_pll_set_control_mux
_dss_ctrl_pll_set_control_mux:          ## @dss_ctrl_pll_set_control_mux
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movl	4(%rdi), %edi
	testl	%edi, %edi
	je	LBB0_25
## %bb.1:
	cmpl	$128, %edx
	je	LBB0_7
## %bb.2:
	cmpl	$129, %edx
	je	LBB0_11
## %bb.3:
	cmpl	$130, %edx
	jne	LBB0_15
## %bb.4:
	movl	$3, %ecx
	cmpl	$134, %esi
	je	LBB0_21
## %bb.5:
	cmpl	$135, %esi
	je	LBB0_6
## %bb.18:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_24
LBB0_7:
	movl	$7, %ecx
	cmpl	$132, %esi
	je	LBB0_21
## %bb.8:
	cmpl	$135, %esi
	je	LBB0_16
## %bb.9:
	cmpl	$133, %esi
	je	LBB0_6
## %bb.20:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_24
LBB0_11:
	movl	$5, %ecx
	cmpl	$135, %esi
	je	LBB0_16
## %bb.12:
	cmpl	$133, %esi
	je	LBB0_21
## %bb.13:
	cmpl	$131, %esi
	jne	LBB0_23
LBB0_6:
	movl	$1, %r8d
	jmp	LBB0_22
LBB0_15:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_24
LBB0_21:
	xorl	%r8d, %r8d
	jmp	LBB0_22
LBB0_16:
	movl	$2, %r8d
LBB0_22:
	movl	$3, %edx
	shll	%cl, %edx
	movl	(%rax), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r8d
	movl	%r8d, %ecx
	callq	_regmap_update_bits
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_23:
	leaq	L_.str.1(%rip), %rdi
LBB0_24:
	callq	_DSSERR
LBB0_25:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error in PLL mux config for LCD\n"

L_.str.1:                               ## @.str.1
	.asciz	"error in PLL mux config for LCD2\n"

L_.str.2:                               ## @.str.2
	.asciz	"error in PLL mux config for LCD3\n"

L_.str.3:                               ## @.str.3
	.asciz	"error in PLL mux config\n"

	.no_dead_strip	_dss_ctrl_pll_set_control_mux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_ctrl_pll_set_control_mux
_dss_ctrl_pll_set_control_mux:          ; @dss_ctrl_pll_set_control_mux
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	w0, [x0, #4]
	cbz	w0, LBB0_27
; %bb.1:
	cmp	w2, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w2, #129
	b.eq	LBB0_11
; %bb.3:
	cmp	w2, #130
	b.ne	LBB0_15
; %bb.4:
	cmp	w1, #134
	b.eq	LBB0_16
; %bb.5:
	cmp	w1, #135
	b.ne	LBB0_17
; %bb.6:
	mov	w9, #1
	mov	w10, #3
	b	LBB0_24
LBB0_7:
	cmp	w1, #132
	b.eq	LBB0_18
; %bb.8:
	cmp	w1, #135
	b.eq	LBB0_19
; %bb.9:
	cmp	w1, #133
	b.ne	LBB0_20
; %bb.10:
	mov	w9, #1
	mov	w10, #7
	b	LBB0_24
LBB0_11:
	cmp	w1, #135
	b.eq	LBB0_21
; %bb.12:
	cmp	w1, #133
	b.eq	LBB0_22
; %bb.13:
	cmp	w1, #131
	b.ne	LBB0_25
; %bb.14:
	mov	w9, #1
	b	LBB0_23
LBB0_15:
Lloh0:
	adrp	x0, l_.str.3@PAGE
Lloh1:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_26
LBB0_16:
	mov	w9, #0
	mov	w10, #3
	b	LBB0_24
LBB0_17:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_26
LBB0_18:
	mov	w9, #0
	mov	w10, #7
	b	LBB0_24
LBB0_19:
	mov	w9, #2
	mov	w10, #7
	b	LBB0_24
LBB0_20:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_26
LBB0_21:
	mov	w9, #2
	b	LBB0_23
LBB0_22:
	mov	w9, #0
LBB0_23:
	mov	w10, #5
LBB0_24:
	ldr	w1, [x8]
	mov	w8, #3
	lsl	w2, w8, w10
	lsl	w3, w9, w10
	bl	_regmap_update_bits
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_25:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_26:
	bl	_DSSERR
LBB0_27:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error in PLL mux config for LCD\n"

l_.str.1:                               ; @.str.1
	.asciz	"error in PLL mux config for LCD2\n"

l_.str.2:                               ; @.str.2
	.asciz	"error in PLL mux config for LCD3\n"

l_.str.3:                               ; @.str.3
	.asciz	"error in PLL mux config\n"

	.no_dead_strip	_dss_ctrl_pll_set_control_mux
.subsections_via_symbols
