	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_pipe3_probe
_ti_pipe3_probe:                        ## @ti_pipe3_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rax, %rbx
	movq	_ti_pipe3_id_table@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_15
## %bb.2:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	%r14, 32(%rbx)
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movl	12(%rax), %ecx
	movl	%ecx, 28(%rbx)
	movl	8(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rbx, %rdi
	callq	_ti_pipe3_get_pll_base
	testl	%eax, %eax
	jne	LBB0_17
## %bb.4:
	movq	%rbx, %rdi
	callq	_ti_pipe3_get_tx_rx_base
	testl	%eax, %eax
	jne	LBB0_17
## %bb.5:
	movq	%rbx, %rdi
	callq	_ti_pipe3_get_sysctrl
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:
	movq	%rbx, %rdi
	callq	_ti_pipe3_get_clk
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	movq	(%rbx), %rax
	movq	_PIPE3_MODE_SATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	16(%rbx), %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	16(%rbx), %rdi
	callq	_clk_prepare_enable
	movl	$1, 8(%rbx)
LBB0_10:
	movq	_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_phy_create
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.11:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_12:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_14:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_16:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_phy_set_drvdata
	movq	%r15, %rdi
	callq	_ti_pipe3_power_off
	movq	_of_phy_simple_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ti_pipe3_id_table,4,2          ## @ti_pipe3_id_table
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no driver data\n"

	.comm	_PIPE3_MODE_SATA,8,3            ## @PIPE3_MODE_SATA
	.comm	_ops,4,2                        ## @ops
	.comm	_of_phy_simple_xlate,4,2        ## @of_phy_simple_xlate
	.no_dead_strip	_ti_pipe3_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_pipe3_probe
_ti_pipe3_probe:                        ; @ti_pipe3_probe
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _ti_pipe3_id_table@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ti_pipe3_id_table@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_14
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.3:
	str	x19, [x20, #32]
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	d0, [x8, #8]
	str	d0, [x20, #24]
	mov	x0, x20
	bl	_ti_pipe3_get_pll_base
	cbnz	w0, LBB0_16
; %bb.4:
	mov	x0, x20
	bl	_ti_pipe3_get_tx_rx_base
	cbnz	w0, LBB0_16
; %bb.5:
	mov	x0, x20
	bl	_ti_pipe3_get_sysctrl
	cbnz	w0, LBB0_16
; %bb.6:
	mov	x0, x20
	bl	_ti_pipe3_get_clk
	cbnz	w0, LBB0_16
; %bb.7:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_enable
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _PIPE3_MODE_SATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PIPE3_MODE_SATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	x0, [x20, #16]
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	x0, [x20, #16]
	bl	_clk_prepare_enable
	mov	w8, #1
	str	w8, [x20, #8]
LBB0_10:
Lloh9:
	adrp	x2, _ops@GOTPAGE
Lloh10:
	ldr	x2, [x2, _ops@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, #0
	bl	_devm_phy_create
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.11:
	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_12:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_14:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	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_17:
	mov	x0, x21
	mov	x1, x20
	bl	_phy_set_drvdata
	mov	x0, x21
	bl	_ti_pipe3_power_off
Lloh17:
	adrp	x8, _of_phy_simple_xlate@GOTPAGE
Lloh18:
	ldr	x8, [x8, _of_phy_simple_xlate@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_devm_of_phy_provider_register
	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_OR_ZERO
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ti_pipe3_id_table,4,2          ; @ti_pipe3_id_table
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no driver data\n"

	.comm	_PIPE3_MODE_SATA,8,3            ; @PIPE3_MODE_SATA
	.comm	_ops,4,2                        ; @ops
	.comm	_of_phy_simple_xlate,4,2        ; @of_phy_simple_xlate
	.no_dead_strip	_ti_pipe3_probe
.subsections_via_symbols
