	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_usb_hsic_phy_power_on
_qcom_usb_hsic_phy_power_on:            ## @qcom_usb_hsic_phy_power_on
	.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, %r15
	movq	16(%rax), %r14
	movl	(%rax), %edi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movl	4(%r15), %edi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:
	movl	8(%r15), %edi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:
	movq	_ULPI_HSIC_IO_CAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$255, %edx
	callq	_ulpi_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	_ULPI_HSIC_CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	$168, %edx
	callq	_ulpi_write
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
LBB0_10:
	movl	8(%r15), %edi
	callq	_clk_disable_unprepare
LBB0_11:
	movl	4(%r15), %edi
	callq	_clk_disable_unprepare
LBB0_12:
	movl	(%r15), %edi
	callq	_clk_disable_unprepare
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	12(%r15), %edi
	movq	_PINCTRL_STATE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pinctrl_lookup_state
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.14:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	movl	12(%r15), %edi
	movq	%rbx, %rsi
	callq	_pinctrl_select_state
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	(%r12), %edi
	callq	_ULPI_SET
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_ulpi_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	_ULPI_IFC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ULPI_CLR
	movq	_ULPI_IFC_CTRL_AUTORESUME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ulpi_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	xorl	%ebx, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ULPI_HSIC_IO_CAL,4,2           ## @ULPI_HSIC_IO_CAL
	.comm	_ULPI_HSIC_CFG,4,2              ## @ULPI_HSIC_CFG
	.comm	_PINCTRL_STATE_DEFAULT,4,2      ## @PINCTRL_STATE_DEFAULT
	.comm	_ULPI_IFC_CTRL,4,2              ## @ULPI_IFC_CTRL
	.comm	_ULPI_IFC_CTRL_AUTORESUME,4,2   ## @ULPI_IFC_CTRL_AUTORESUME
	.no_dead_strip	_qcom_usb_hsic_phy_power_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_usb_hsic_phy_power_on
_qcom_usb_hsic_phy_power_on:            ; @qcom_usb_hsic_phy_power_on
	.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
	ldr	x20, [x0, #16]
	ldr	w0, [x0]
	bl	_clk_prepare_enable
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_clk_prepare_enable
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w0, [x19, #8]
	bl	_clk_prepare_enable
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _ULPI_HSIC_IO_CAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ULPI_HSIC_IO_CAL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_ulpi_write
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x22, _ULPI_HSIC_CFG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ULPI_HSIC_CFG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #168
	bl	_ulpi_write
	mov	x21, x0
	cbz	w0, LBB0_9
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_clk_disable_unprepare
LBB0_6:
	ldr	w0, [x19, #4]
	bl	_clk_disable_unprepare
LBB0_7:
	ldr	w0, [x19]
	bl	_clk_disable_unprepare
LBB0_8:
	mov	x0, x21
	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_9:
	ldr	w0, [x19, #12]
Lloh5:
	adrp	x8, _PINCTRL_STATE_DEFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PINCTRL_STATE_DEFAULT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_pinctrl_lookup_state
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	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	_PTR_ERR
LBB0_11:
	ldr	w0, [x19, #12]
	mov	x1, x21
	bl	_pinctrl_select_state
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.12:
	ldr	w0, [x22]
	bl	_ULPI_SET
	mov	x1, x0
	mov	x0, x20
	mov	w2, #1
	bl	_ulpi_write
	mov	x21, x0
	cbnz	w0, LBB0_5
; %bb.13:
Lloh8:
	adrp	x8, _ULPI_IFC_CTRL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ULPI_IFC_CTRL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_ULPI_CLR
	mov	x1, x0
Lloh11:
	adrp	x8, _ULPI_IFC_CTRL_AUTORESUME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ULPI_IFC_CTRL_AUTORESUME@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ulpi_write
	mov	x21, x0
	cbnz	w0, LBB0_5
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ULPI_HSIC_IO_CAL,4,2           ; @ULPI_HSIC_IO_CAL
	.comm	_ULPI_HSIC_CFG,4,2              ; @ULPI_HSIC_CFG
	.comm	_PINCTRL_STATE_DEFAULT,4,2      ; @PINCTRL_STATE_DEFAULT
	.comm	_ULPI_IFC_CTRL,4,2              ; @ULPI_IFC_CTRL
	.comm	_ULPI_IFC_CTRL_AUTORESUME,4,2   ; @ULPI_IFC_CTRL_AUTORESUME
	.no_dead_strip	_qcom_usb_hsic_phy_power_on
.subsections_via_symbols
