	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function request_dsiclk
_request_dsiclk:                        ## @request_dsiclk
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	_PRCM_DSI_PLLOUT_SEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_readl
	movq	_dsiclk@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rbx,%rbx,2), %rsi
	movl	(%rcx,%rsi,4), %edx
	testl	%r14d, %r14d
	jne	LBB0_1
## %bb.2:
	movq	_PRCM_DSI_PLLOUT_SEL_OFF@GOTPCREL(%rip), %rdi
	jmp	LBB0_3
LBB0_1:
	leaq	(%rcx,%rsi,4), %rdi
	addq	$4, %rdi
LBB0_3:
	movl	(%rdi), %edi
	movb	8(%rcx,%rsi,4), %cl
	shll	%cl, %edi
	notl	%edx
	andl	%edx, %eax
	orl	%eax, %edi
	movl	(%r15), %esi
	callq	_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRCM_DSI_PLLOUT_SEL,4,2        ## @PRCM_DSI_PLLOUT_SEL
	.comm	_dsiclk,8,3                     ## @dsiclk
	.comm	_PRCM_DSI_PLLOUT_SEL_OFF,4,2    ## @PRCM_DSI_PLLOUT_SEL_OFF
	.no_dead_strip	_request_dsiclk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function request_dsiclk
_request_dsiclk:                        ; @request_dsiclk
	.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
Lloh0:
	adrp	x21, _PRCM_DSI_PLLOUT_SEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PRCM_DSI_PLLOUT_SEL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_readl
Lloh2:
	adrp	x8, _dsiclk@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dsiclk@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	mov	w9, #12
	madd	x8, x20, x9, x8
	ldr	w9, [x8]
	add	x10, x8, #4
Lloh5:
	adrp	x11, _PRCM_DSI_PLLOUT_SEL_OFF@GOTPAGE
Lloh6:
	ldr	x11, [x11, _PRCM_DSI_PLLOUT_SEL_OFF@GOTPAGEOFF]
	cmp	w19, #0
	csel	x10, x11, x10, eq
	ldr	w10, [x10]
	bic	w9, w0, w9
	ldr	w8, [x8, #8]
	lsl	w8, w10, w8
	orr	w0, w8, w9
	ldr	w1, [x21]
	bl	_writel
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PRCM_DSI_PLLOUT_SEL,4,2        ; @PRCM_DSI_PLLOUT_SEL
	.comm	_dsiclk,8,3                     ; @dsiclk
	.comm	_PRCM_DSI_PLLOUT_SEL_OFF,4,2    ; @PRCM_DSI_PLLOUT_SEL_OFF
	.no_dead_strip	_request_dsiclk
.subsections_via_symbols
