	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_mgr_phy_disable
_dsi_mgr_phy_disable:                   ## @dsi_mgr_phy_disable
	.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
	callq	_dsi_mgr_get_dsi
	movq	%rax, %rbx
	movq	_DSI_CLOCK_MASTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dsi_mgr_get_dsi
	movq	%rax, %r14
	movq	_DSI_CLOCK_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dsi_mgr_get_dsi
	movq	%rax, %r15
	movl	$0, (%rbx)
	xorl	%eax, %eax
	callq	_IS_DUAL_DSI
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testq	%r14, %r14
	je	LBB0_6
## %bb.2:
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	cmpl	$0, (%r14)
	jne	LBB0_7
## %bb.4:
	cmpl	$0, (%r15)
	je	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%r15), %edi
	callq	_msm_dsi_phy_disable
	movq	%r14, %rbx
LBB0_6:
	movl	4(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_msm_dsi_phy_disable            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_CLOCK_MASTER,4,2           ## @DSI_CLOCK_MASTER
	.comm	_DSI_CLOCK_SLAVE,4,2            ## @DSI_CLOCK_SLAVE
	.no_dead_strip	_dsi_mgr_phy_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_mgr_phy_disable
_dsi_mgr_phy_disable:                   ; @dsi_mgr_phy_disable
	.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
	bl	_dsi_mgr_get_dsi
	mov	x20, x0
Lloh0:
	adrp	x8, _DSI_CLOCK_MASTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSI_CLOCK_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_dsi_mgr_get_dsi
	mov	x19, x0
Lloh3:
	adrp	x8, _DSI_CLOCK_SLAVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSI_CLOCK_SLAVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_dsi_mgr_get_dsi
	mov	x21, x0
	str	wzr, [x20]
	bl	_IS_DUAL_DSI
	cbz	x0, LBB0_6
; %bb.1:
	cmp	x19, #0
	ccmp	x21, #0, #4, ne
	b.eq	LBB0_6
; %bb.2:
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	w8, [x21]
	cbz	w8, LBB0_5
LBB0_4:
	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_5:
	ldr	w0, [x21, #4]
	bl	_msm_dsi_phy_disable
	mov	x20, x19
LBB0_6:
	ldr	w0, [x20, #4]
	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	_msm_dsi_phy_disable
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_CLOCK_MASTER,4,2           ; @DSI_CLOCK_MASTER
	.comm	_DSI_CLOCK_SLAVE,4,2            ; @DSI_CLOCK_SLAVE
	.no_dead_strip	_dsi_mgr_phy_disable
.subsections_via_symbols
