	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_qcom_phy_power_off         ## -- Begin function ufs_qcom_phy_power_off
	.p2align	4, 0x90
_ufs_qcom_phy_power_off:                ## @ufs_qcom_phy_power_off
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_get_ufs_qcom_phy
	movq	%rax, %rbx
	movq	40(%rax), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	32(%rbx), %rsi
	movl	16(%rbx), %edi
	callq	_ufs_qcom_phy_disable_vreg
LBB0_2:
	movq	%rbx, %rdi
	callq	_ufs_qcom_phy_disable_ref_clk
	movq	%rbx, %rdi
	callq	_ufs_qcom_phy_disable_iface_clk
	movl	16(%rbx), %edi
	leaq	24(%rbx), %rsi
	callq	_ufs_qcom_phy_disable_vreg
	movl	16(%rbx), %edi
	movq	%rbx, %rsi
	addq	$8, %rsi
	callq	_ufs_qcom_phy_disable_vreg
	movl	(%rbx), %edi
	callq	_reset_control_assert
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ufs_qcom_phy_power_off         ; -- Begin function ufs_qcom_phy_power_off
	.p2align	2
_ufs_qcom_phy_power_off:                ; @ufs_qcom_phy_power_off
	.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
	bl	_get_ufs_qcom_phy
	mov	x19, x0
	ldr	x8, [x0, #40]
	ldr	x8, [x8]
	mov	w1, #0
	blr	x8
	mov	x1, x19
	ldr	x8, [x1, #32]!
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_ufs_qcom_phy_disable_vreg
LBB0_2:
	mov	x0, x19
	bl	_ufs_qcom_phy_disable_ref_clk
	mov	x0, x19
	bl	_ufs_qcom_phy_disable_iface_clk
	ldr	w0, [x19, #16]
	add	x1, x19, #24
	bl	_ufs_qcom_phy_disable_vreg
	ldr	w0, [x19, #16]
	add	x1, x19, #8
	bl	_ufs_qcom_phy_disable_vreg
	ldr	w0, [x19]
	bl	_reset_control_assert
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
