	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qcom_usb_hs_phy_probe
_qcom_usb_hs_phy_probe:                 ## @qcom_usb_hs_phy_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_ulpi_set_drvdata
	movq	%r14, 72(%r12)
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_of_property_count_u8_elems
	movq	%r15, %rcx
	xorl	%r15d, %r15d
	testl	%eax, %eax
	movl	$0, %r13d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmovgl	%eax, %r13d
	movq	%r14, %rbx
	movl	%r13d, %r14d
	shrl	%r14d
	leal	1(%r14), %esi
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_devm_kmalloc_array
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 64(%r12)
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	movl	%r13d, %ecx
	callq	_of_property_read_u8_array
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r15d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_5
LBB0_8:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	64(%r15), %rax
	movl	%r14d, %ecx
	shlq	$4, %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%rcx)
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, %rbx
	movq	%rax, 56(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, %rbx
	movq	%rax, 48(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_9
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, %rbx
	movq	%rax, 40(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_9
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, %rbx
	movq	%rax, 32(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
LBB0_9:
	movq	%rbx, %rdi
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	subl	(%rax), %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get
	movq	%rax, %rbx
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_9
## %bb.16:
	movq	$0, 24(%r15)
LBB0_17:
	movl	(%r14), %esi
	movq	_qcom_usb_hs_phy_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	callq	_devm_phy_create
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%r15), %rdi
	jmp	LBB0_10
LBB0_19:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_extcon_get_edev_by_phandle
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movq	16(%r15), %rdi
	callq	_PTR_ERR
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_21
## %bb.22:
	movq	$0, 16(%r15)
LBB0_23:
	movq	_qcom_usb_hs_phy_vbus_notifier@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	(%r15), %rdi
	movq	%r15, %rsi
	callq	_phy_set_drvdata
	movq	_of_phy_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_21:
	movq	16(%r15), %rdi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"qcom,init-seq"

L_.str.1:                               ## @.str.1
	.asciz	"ref"

L_.str.2:                               ## @.str.2
	.asciz	"sleep"

L_.str.3:                               ## @.str.3
	.asciz	"v1p8"

L_.str.4:                               ## @.str.4
	.asciz	"v3p3"

L_.str.5:                               ## @.str.5
	.asciz	"por"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.comm	_qcom_usb_hs_phy_ops,4,2        ## @qcom_usb_hs_phy_ops
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_qcom_usb_hs_phy_vbus_notifier,4,2 ## @qcom_usb_hs_phy_vbus_notifier
	.comm	_of_phy_simple_xlate,4,2        ## @of_phy_simple_xlate
	.no_dead_strip	_qcom_usb_hs_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qcom_usb_hs_phy_probe
_qcom_usb_hs_phy_probe:                 ; @qcom_usb_hs_phy_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ulpi_set_drvdata
	str	x19, [x20, #72]
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_property_count_u8_elems
	mov	x21, x0
	cmp	w0, #0
	csel	w22, w0, wzr, gt
	lsr	w23, w22, #1
	add	w1, w23, #1
	ldr	w3, [x24]
	mov	x0, x19
	mov	w2, #16
	bl	_devm_kmalloc_array
	str	x0, [x20, #64]
	cbz	x0, LBB0_9
; %bb.2:
	mov	x2, x0
	ldr	w0, [x19]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	bl	_of_property_read_u8_array
	cmp	w0, #0
	ccmp	w21, #0, #4, ne
	b.gt	LBB0_10
; %bb.3:
	ldr	x8, [x20, #64]
	add	x8, x8, w23, uxtw #4
	stp	xzr, xzr, [x8]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	mov	x21, x0
	str	x0, [x20, #56]
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.4:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	mov	x21, x0
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.5:
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	mov	x21, x0
	str	x0, [x20, #40]
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	mov	x21, x0
	str	x0, [x20, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_11
LBB0_7:
	mov	x0, x21
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_9:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_devm_reset_control_get
	mov	x21, x0
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.12:
	mov	x0, x21
	bl	_PTR_ERR
Lloh19:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_7
; %bb.13:
	str	xzr, [x20, #24]
LBB0_14:
	ldr	w1, [x19]
Lloh22:
	adrp	x2, _qcom_usb_hs_phy_ops@GOTPAGE
Lloh23:
	ldr	x2, [x2, _qcom_usb_hs_phy_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_phy_create
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x0, [x20]
	b	LBB0_8
LBB0_16:
	mov	x0, x19
	mov	w1, #0
	bl	_extcon_get_edev_by_phandle
	str	x0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.17:
	ldr	x0, [x20, #16]
	bl	_PTR_ERR
Lloh24:
	adrp	x8, _ENODEV@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_20
; %bb.18:
	str	xzr, [x20, #16]
LBB0_19:
Lloh27:
	adrp	x8, _qcom_usb_hs_phy_vbus_notifier@GOTPAGE
Lloh28:
	ldr	x8, [x8, _qcom_usb_hs_phy_vbus_notifier@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	ldr	x0, [x20]
	mov	x1, x20
	bl	_phy_set_drvdata
Lloh30:
	adrp	x8, _of_phy_simple_xlate@GOTPAGE
Lloh31:
	ldr	x8, [x8, _of_phy_simple_xlate@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_of_phy_provider_register
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR_OR_ZERO
LBB0_20:
	ldr	x0, [x20, #16]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"qcom,init-seq"

l_.str.1:                               ; @.str.1
	.asciz	"ref"

l_.str.2:                               ; @.str.2
	.asciz	"sleep"

l_.str.3:                               ; @.str.3
	.asciz	"v1p8"

l_.str.4:                               ; @.str.4
	.asciz	"v3p3"

l_.str.5:                               ; @.str.5
	.asciz	"por"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.comm	_qcom_usb_hs_phy_ops,4,2        ; @qcom_usb_hs_phy_ops
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_qcom_usb_hs_phy_vbus_notifier,4,2 ; @qcom_usb_hs_phy_vbus_notifier
	.comm	_of_phy_simple_xlate,4,2        ; @of_phy_simple_xlate
	.no_dead_strip	_qcom_usb_hs_phy_probe
.subsections_via_symbols
