	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function da8xx_usb_phy_probe
_da8xx_usb_phy_probe:                   ## @da8xx_usb_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %r15
	movq	8(%rdi), %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rdi
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_24:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_syscon_regmap_lookup_by_compatible
	movq	%rax, %rdi
LBB0_5:
	movq	%rdi, (%r14)
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	(%r14), %rdi
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	40(%r14), %rdi
	jmp	LBB0_7
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	32(%r14), %rdi
	jmp	LBB0_7
LBB0_12:
	movq	_da8xx_usb11_phy_ops@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_devm_phy_create
	movq	%rax, 16(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	16(%r14), %rdi
	jmp	LBB0_7
LBB0_14:
	movq	_da8xx_usb20_phy_ops@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_devm_phy_create
	movq	%rax, 8(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	8(%r14), %rdi
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_16:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	16(%r14), %rdi
	movq	%r14, %rsi
	callq	_phy_set_drvdata
	movq	8(%r14), %rdi
	movq	%r14, %rsi
	callq	_phy_set_drvdata
	testq	%r15, %r15
	je	LBB0_19
## %bb.17:
	movq	_da8xx_usb_phy_of_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, 24(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
## %bb.18:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_err
	movq	24(%r14), %rdi
	jmp	LBB0_7
LBB0_19:
	movq	16(%r14), %rdi
	leaq	L_.str.9(%rip), %rsi
	leaq	L_.str.10(%rip), %rdx
	callq	_phy_create_lookup
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
LBB0_21:
	movq	8(%r14), %rdi
	leaq	L_.str.9(%rip), %rsi
	leaq	L_.str.12(%rip), %rdx
	callq	_phy_create_lookup
	testl	%eax, %eax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_warn
LBB0_23:
	movq	(%r14), %rbx
	movl	$2, %edi
	callq	_CFGCHIP
	movq	_PHY_INIT_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%ecx, %edx
	callq	_regmap_write_bits
	xorl	%eax, %eax
	jmp	LBB0_24
	.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	"ti,da830-cfgchip"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to get syscon\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"Failed to get usb1_clk48\n"

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

L_.str.5:                               ## @.str.5
	.asciz	"Failed to get usb0_clk48\n"

	.comm	_da8xx_usb11_phy_ops,4,2        ## @da8xx_usb11_phy_ops
L_.str.6:                               ## @.str.6
	.asciz	"Failed to create usb11 phy\n"

	.comm	_da8xx_usb20_phy_ops,4,2        ## @da8xx_usb20_phy_ops
L_.str.7:                               ## @.str.7
	.asciz	"Failed to create usb20 phy\n"

	.comm	_da8xx_usb_phy_of_xlate,4,2     ## @da8xx_usb_phy_of_xlate
L_.str.8:                               ## @.str.8
	.asciz	"Failed to create phy provider\n"

L_.str.9:                               ## @.str.9
	.asciz	"usb-phy"

L_.str.10:                              ## @.str.10
	.asciz	"ohci-da8xx"

L_.str.11:                              ## @.str.11
	.asciz	"Failed to create usb11 phy lookup\n"

L_.str.12:                              ## @.str.12
	.asciz	"musb-da8xx"

L_.str.13:                              ## @.str.13
	.asciz	"Failed to create usb20 phy lookup\n"

	.comm	_PHY_INIT_BITS,4,2              ## @PHY_INIT_BITS
	.no_dead_strip	_da8xx_usb_phy_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function da8xx_usb_phy_probe
_da8xx_usb_phy_probe:                   ; @da8xx_usb_phy_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	x20, x0
	ldp	x21, x22, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	cbz	x22, LBB0_5
; %bb.2:
	ldr	x0, [x22]
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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_5:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_syscon_regmap_lookup_by_compatible
LBB0_6:
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19]
	b	LBB0_16
LBB0_8:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #40]
	b	LBB0_16
LBB0_10:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #32]
	b	LBB0_16
LBB0_12:
Lloh18:
	adrp	x2, _da8xx_usb11_phy_ops@GOTPAGE
Lloh19:
	ldr	x2, [x2, _da8xx_usb11_phy_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	bl	_devm_phy_create
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.13:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #16]
	b	LBB0_16
LBB0_14:
Lloh22:
	adrp	x2, _da8xx_usb20_phy_ops@GOTPAGE
Lloh23:
	ldr	x2, [x2, _da8xx_usb20_phy_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	bl	_devm_phy_create
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.15:
Lloh24:
	adrp	x1, l_.str.7@PAGE
Lloh25:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #8]
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
	b	_PTR_ERR
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	x0, [x19, #16]
	mov	x1, x19
	bl	_phy_set_drvdata
	ldr	x0, [x19, #8]
	mov	x1, x19
	bl	_phy_set_drvdata
	cbz	x21, LBB0_20
; %bb.18:
Lloh26:
	adrp	x8, _da8xx_usb_phy_of_xlate@GOTPAGE
Lloh27:
	ldr	x8, [x8, _da8xx_usb_phy_of_xlate@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_devm_of_phy_provider_register
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_24
; %bb.19:
Lloh29:
	adrp	x1, l_.str.8@PAGE
Lloh30:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #24]
	b	LBB0_16
LBB0_20:
	ldr	x0, [x19, #16]
Lloh31:
	adrp	x1, l_.str.9@PAGE
Lloh32:
	add	x1, x1, l_.str.9@PAGEOFF
Lloh33:
	adrp	x2, l_.str.10@PAGE
Lloh34:
	add	x2, x2, l_.str.10@PAGEOFF
	bl	_phy_create_lookup
	cbz	w0, LBB0_22
; %bb.21:
Lloh35:
	adrp	x1, l_.str.11@PAGE
Lloh36:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_22:
	ldr	x0, [x19, #8]
Lloh37:
	adrp	x1, l_.str.9@PAGE
Lloh38:
	add	x1, x1, l_.str.9@PAGEOFF
Lloh39:
	adrp	x2, l_.str.12@PAGE
Lloh40:
	add	x2, x2, l_.str.12@PAGEOFF
	bl	_phy_create_lookup
	cbz	w0, LBB0_24
; %bb.23:
Lloh41:
	adrp	x1, l_.str.13@PAGE
Lloh42:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_24:
	ldr	x19, [x19]
	mov	w0, #2
	bl	_CFGCHIP
	mov	x1, x0
Lloh43:
	adrp	x8, _PHY_INIT_BITS@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PHY_INIT_BITS@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x2
	bl	_regmap_write_bits
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.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	"ti,da830-cfgchip"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to get syscon\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"Failed to get usb1_clk48\n"

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

l_.str.5:                               ; @.str.5
	.asciz	"Failed to get usb0_clk48\n"

	.comm	_da8xx_usb11_phy_ops,4,2        ; @da8xx_usb11_phy_ops
l_.str.6:                               ; @.str.6
	.asciz	"Failed to create usb11 phy\n"

	.comm	_da8xx_usb20_phy_ops,4,2        ; @da8xx_usb20_phy_ops
l_.str.7:                               ; @.str.7
	.asciz	"Failed to create usb20 phy\n"

	.comm	_da8xx_usb_phy_of_xlate,4,2     ; @da8xx_usb_phy_of_xlate
l_.str.8:                               ; @.str.8
	.asciz	"Failed to create phy provider\n"

l_.str.9:                               ; @.str.9
	.asciz	"usb-phy"

l_.str.10:                              ; @.str.10
	.asciz	"ohci-da8xx"

l_.str.11:                              ; @.str.11
	.asciz	"Failed to create usb11 phy lookup\n"

l_.str.12:                              ; @.str.12
	.asciz	"musb-da8xx"

l_.str.13:                              ; @.str.13
	.asciz	"Failed to create usb20 phy lookup\n"

	.comm	_PHY_INIT_BITS,4,2              ; @PHY_INIT_BITS
	.no_dead_strip	_da8xx_usb_phy_probe
.subsections_via_symbols
