	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtk_mipi_tx_power_off_signal
_mtk_mipi_tx_power_off_signal:          ## @mtk_mipi_tx_power_off_signal
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_phy_get_drvdata
	movq	%rax, %r14
	movq	_MIPITX_DSI_TOP_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RG_DSI_PAD_TIE_LOW_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_mtk_mipi_tx_set_bits
	movq	_MIPITX_DSI_CLOCK_LANE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_MIPITX_DSI_DATA_LANE3@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rbx
	jg	LBB0_3
## %bb.1:
	movq	_RG_DSI_LNTx_LDOOUT_EN@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mtk_mipi_tx_clear_bits
	addq	$4, %rbx
	cmpq	(%r15), %rbx
	jle	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIPITX_DSI_TOP_CON,4,2         ## @MIPITX_DSI_TOP_CON
	.comm	_RG_DSI_PAD_TIE_LOW_EN,4,2      ## @RG_DSI_PAD_TIE_LOW_EN
	.comm	_MIPITX_DSI_CLOCK_LANE,8,3      ## @MIPITX_DSI_CLOCK_LANE
	.comm	_MIPITX_DSI_DATA_LANE3,8,3      ## @MIPITX_DSI_DATA_LANE3
	.comm	_RG_DSI_LNTx_LDOOUT_EN,4,2      ## @RG_DSI_LNTx_LDOOUT_EN
	.no_dead_strip	_mtk_mipi_tx_power_off_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mtk_mipi_tx_power_off_signal
_mtk_mipi_tx_power_off_signal:          ; @mtk_mipi_tx_power_off_signal
	.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	_phy_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _MIPITX_DSI_TOP_CON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIPITX_DSI_TOP_CON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RG_DSI_PAD_TIE_LOW_EN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RG_DSI_PAD_TIE_LOW_EN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_mtk_mipi_tx_set_bits
Lloh6:
	adrp	x8, _MIPITX_DSI_CLOCK_LANE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MIPITX_DSI_CLOCK_LANE@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
Lloh9:
	adrp	x21, _MIPITX_DSI_DATA_LANE3@GOTPAGE
Lloh10:
	ldr	x21, [x21, _MIPITX_DSI_DATA_LANE3@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x20, x8
	b.gt	LBB0_3
; %bb.1:
Lloh11:
	adrp	x22, _RG_DSI_LNTx_LDOOUT_EN@GOTPAGE
Lloh12:
	ldr	x22, [x22, _RG_DSI_LNTx_LDOOUT_EN@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_mtk_mipi_tx_clear_bits
	add	x20, x20, #4
	ldr	x8, [x21]
	cmp	x20, x8
	b.le	LBB0_2
LBB0_3:
	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	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MIPITX_DSI_TOP_CON,4,2         ; @MIPITX_DSI_TOP_CON
	.comm	_RG_DSI_PAD_TIE_LOW_EN,4,2      ; @RG_DSI_PAD_TIE_LOW_EN
	.comm	_MIPITX_DSI_CLOCK_LANE,8,3      ; @MIPITX_DSI_CLOCK_LANE
	.comm	_MIPITX_DSI_DATA_LANE3,8,3      ; @MIPITX_DSI_DATA_LANE3
	.comm	_RG_DSI_LNTx_LDOOUT_EN,4,2      ; @RG_DSI_LNTx_LDOOUT_EN
	.no_dead_strip	_mtk_mipi_tx_power_off_signal
.subsections_via_symbols
