	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dss_select_dsi_clk_source      ## -- Begin function dss_select_dsi_clk_source
	.p2align	4, 0x90
_dss_select_dsi_clk_source:             ## @dss_select_dsi_clk_source
	.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	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%edx, %edx
	cmpl	$130, %ebx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_4
## %bb.2:
	cmpl	$128, %ebx
	jne	LBB0_6
## %bb.3:
	movl	$1, %edx
LBB0_4:
	xorl	%edi, %edi
	cmpl	%r14d, %edx
	setne	%dil
	callq	_BUG_ON
	movl	$1, %edx
LBB0_5:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	setne	%al
	leal	(%rax,%rax,8), %ecx
	incl	%ecx
	movq	_DSS_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ecx, %r8d
	callq	_REG_FLD_MOD
	movq	(%r15), %rax
	movslq	%r14d, %rcx
	movl	%ebx, (%rax,%rcx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSS_CONTROL,4,2                ## @DSS_CONTROL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dss_select_dsi_clk_source      ; -- Begin function dss_select_dsi_clk_source
	.p2align	2
_dss_select_dsi_clk_source:             ; @dss_select_dsi_clk_source
	.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, x2
	mov	x20, x1
	mov	x21, x0
	mov	w2, #0
	cmp	w19, #130
	b.eq	LBB0_5
; %bb.1:
	cmp	w19, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w19, #128
	b.ne	LBB0_6
; %bb.3:
	mov	w2, #1
LBB0_4:
	cmp	w2, w20
	cset	w0, ne
	bl	_BUG_ON
	mov	w2, #1
LBB0_5:
	cmp	w20, #0
	mov	w8, #10
	csinc	w3, w8, wzr, ne
Lloh0:
	adrp	x8, _DSS_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSS_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x4, x3
	bl	_REG_FLD_MOD
	ldr	x8, [x21]
	str	w19, [x8, w20, sxtw #2]
	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
	ret
LBB0_6:
	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	_BUG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSS_CONTROL,4,2                ; @DSS_CONTROL
.subsections_via_symbols
