	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_select_dispc_clk_source
_dss_select_dispc_clk_source:           ## @dss_select_dispc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	cmpq	$0, 8(%rax)
	setne	%al
	cmpl	$130, %esi
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	jae	LBB0_4
## %bb.2:
	movl	$130, %edx
	subl	%ebx, %edx
	movq	_DSS_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	callq	_REG_FLD_MOD
	movl	%ebx, (%r14)
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSS_CONTROL,4,2                ## @DSS_CONTROL
	.no_dead_strip	_dss_select_dispc_clk_source
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_select_dispc_clk_source
_dss_select_dispc_clk_source:           ; @dss_select_dispc_clk_source
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	cmp	w1, #130
	ccmp	x8, #0, #4, ne
	cset	w0, ne
	bl	_WARN_ON
	cbnz	x0, LBB0_3
; %bb.1:
	sub	w8, w19, #128
	cmp	w8, #3
	b.hs	LBB0_4
; %bb.2:
	mov	w8, #130
	sub	w2, w8, w19
Lloh0:
	adrp	x8, _DSS_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSS_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldp	w4, w3, [x8]
	mov	x0, x20
	bl	_REG_FLD_MOD
	str	w19, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BUG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSS_CONTROL,4,2                ; @DSS_CONTROL
	.no_dead_strip	_dss_select_dispc_clk_source
.subsections_via_symbols
