	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_xusb_padctl_legacy_probe ## -- Begin function tegra_xusb_padctl_legacy_probe
	.p2align	4, 0x90
_tegra_xusb_padctl_legacy_probe:        ## @tegra_xusb_padctl_legacy_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$104, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	leaq	100(%rbx), %rdi
	callq	_mutex_init
	movq	%r14, 80(%rbx)
	movq	_tegra_xusb_padctl_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_of_match_node
	movl	(%rax), %eax
	movl	%eax, 96(%rbx)
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 88(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	88(%rbx), %rdi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_18:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get_exclusive
	movq	%rax, (%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_6:
	callq	_reset_control_deassert
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%rbx, %r15
	addq	$32, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	80(%rbx), %rdi
	callq	_dev_name
	movl	%eax, 72(%rbx)
	movq	_tegra124_pins@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 68(%rbx)
	callq	_ARRAY_SIZE
	movl	%eax, 64(%rbx)
	movq	_tegra_xusb_padctl_pinctrl_ops@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_tegra_xusb_padctl_pinmux_ops@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_tegra_xusb_padctl_pinconf_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_devm_pinctrl_register
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	24(%rbx), %rdi
	jmp	LBB0_12
LBB0_7:
	movl	%eax, %r15d
	jmp	LBB0_18
LBB0_10:
	movq	_pcie_phy_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_13
## %bb.11:
	movq	%r15, %rdi
	jmp	LBB0_12
LBB0_13:
	movq	16(%rbx), %rax
	movq	_TEGRA_XUSB_PADCTL_PCIE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, (%rax,%rcx,8)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_phy_set_drvdata
	movq	_sata_phy_ops@GOTPCREL(%rip), %rdx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_phy_create
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r12, %rdi
LBB0_12:
	callq	_PTR_ERR
	movl	%eax, %r15d
LBB0_17:
	movq	(%rbx), %rdi
	callq	_reset_control_assert
	jmp	LBB0_18
LBB0_15:
	movq	16(%rbx), %rax
	movq	_TEGRA_XUSB_PADCTL_SATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r12, (%rax,%rcx,8)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_phy_set_drvdata
	movq	_tegra_xusb_padctl_xlate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_devm_of_phy_provider_register
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	8(%rbx), %rdi
	callq	_PTR_ERR
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tegra_xusb_padctl_of_match,4,2 ## @tegra_xusb_padctl_of_match
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_tegra124_pins,4,2              ## @tegra124_pins
	.comm	_tegra_xusb_padctl_pinctrl_ops,4,2 ## @tegra_xusb_padctl_pinctrl_ops
	.comm	_tegra_xusb_padctl_pinmux_ops,4,2 ## @tegra_xusb_padctl_pinmux_ops
	.comm	_tegra_xusb_padctl_pinconf_ops,4,2 ## @tegra_xusb_padctl_pinconf_ops
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to register pincontrol\n"

	.comm	_pcie_phy_ops,4,2               ## @pcie_phy_ops
	.comm	_TEGRA_XUSB_PADCTL_PCIE,8,3     ## @TEGRA_XUSB_PADCTL_PCIE
	.comm	_sata_phy_ops,4,2               ## @sata_phy_ops
	.comm	_TEGRA_XUSB_PADCTL_SATA,8,3     ## @TEGRA_XUSB_PADCTL_SATA
	.comm	_tegra_xusb_padctl_xlate,4,2    ## @tegra_xusb_padctl_xlate
L_.str.1:                               ## @.str.1
	.asciz	"failed to register PHYs: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tegra_xusb_padctl_legacy_probe ; -- Begin function tegra_xusb_padctl_legacy_probe
	.p2align	2
_tegra_xusb_padctl_legacy_probe:        ; @tegra_xusb_padctl_legacy_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #104
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	add	x0, x19, #100
	bl	_mutex_init
	str	x20, [x19, #80]
Lloh3:
	adrp	x8, _tegra_xusb_padctl_of_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tegra_xusb_padctl_of_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_of_match_node
	ldr	w8, [x0]
	str	w8, [x19, #96]
Lloh6:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	x0, [x19, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x0, [x19, #88]
	b	LBB0_6
LBB0_3:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
LBB0_5:
	mov	x0, x20
	mov	x1, #0
	bl	_devm_reset_control_get_exclusive
	str	x0, [x19]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_7
LBB0_6:
	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
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_7:
	bl	_reset_control_deassert
	tbnz	w0, #31, LBB0_10
; %bb.8:
	add	x21, x19, #32
	mov	x0, x21
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x0, [x19, #80]
	bl	_dev_name
Lloh12:
	adrp	x8, _tegra124_pins@GOTPAGE
Lloh13:
	ldr	x8, [x8, _tegra124_pins@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #68]
	mov	x0, x8
	bl	_ARRAY_SIZE
Lloh15:
	adrp	x8, _tegra_xusb_padctl_pinctrl_ops@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tegra_xusb_padctl_pinctrl_ops@GOTPAGEOFF]
	str	w0, [x19, #64]
	str	x8, [x19, #56]
Lloh17:
	adrp	x8, _tegra_xusb_padctl_pinmux_ops@GOTPAGE
Lloh18:
	ldr	x8, [x8, _tegra_xusb_padctl_pinmux_ops@GOTPAGEOFF]
Lloh19:
	adrp	x9, _tegra_xusb_padctl_pinconf_ops@GOTPAGE
Lloh20:
	ldr	x9, [x9, _tegra_xusb_padctl_pinconf_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #40]
Lloh21:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_devm_pinctrl_register
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #24]
	b	LBB0_14
LBB0_10:
	mov	x21, x0
	b	LBB0_4
LBB0_11:
Lloh26:
	adrp	x2, _pcie_phy_ops@GOTPAGE
Lloh27:
	ldr	x2, [x2, _pcie_phy_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, #0
	bl	_devm_phy_create
	mov	x21, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x19, #16]
Lloh28:
	adrp	x9, _TEGRA_XUSB_PADCTL_PCIE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _TEGRA_XUSB_PADCTL_PCIE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	str	x21, [x8, x9, lsl #3]
	mov	x0, x21
	mov	x1, x19
	bl	_phy_set_drvdata
Lloh31:
	adrp	x2, _sata_phy_ops@GOTPAGE
Lloh32:
	ldr	x2, [x2, _sata_phy_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, #0
	bl	_devm_phy_create
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_16
LBB0_13:
	mov	x0, x21
LBB0_14:
	bl	_PTR_ERR
	mov	x21, x0
LBB0_15:
	ldr	x0, [x19]
	bl	_reset_control_assert
	b	LBB0_4
LBB0_16:
	ldr	x8, [x19, #16]
Lloh33:
	adrp	x9, _TEGRA_XUSB_PADCTL_SATA@GOTPAGE
Lloh34:
	ldr	x9, [x9, _TEGRA_XUSB_PADCTL_SATA@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	str	x21, [x8, x9, lsl #3]
	mov	x0, x21
	mov	x1, x19
	bl	_phy_set_drvdata
Lloh36:
	adrp	x8, _tegra_xusb_padctl_xlate@GOTPAGE
Lloh37:
	ldr	x8, [x8, _tegra_xusb_padctl_xlate@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_devm_of_phy_provider_register
	str	x0, [x19, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.17:
	ldr	x0, [x19, #8]
	bl	_PTR_ERR
	mov	x21, x0
	str	x21, [sp]
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_15
LBB0_18:
	mov	w21, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tegra_xusb_padctl_of_match,4,2 ; @tegra_xusb_padctl_of_match
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_tegra124_pins,4,2              ; @tegra124_pins
	.comm	_tegra_xusb_padctl_pinctrl_ops,4,2 ; @tegra_xusb_padctl_pinctrl_ops
	.comm	_tegra_xusb_padctl_pinmux_ops,4,2 ; @tegra_xusb_padctl_pinmux_ops
	.comm	_tegra_xusb_padctl_pinconf_ops,4,2 ; @tegra_xusb_padctl_pinconf_ops
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to register pincontrol\n"

	.comm	_pcie_phy_ops,4,2               ; @pcie_phy_ops
	.comm	_TEGRA_XUSB_PADCTL_PCIE,8,3     ; @TEGRA_XUSB_PADCTL_PCIE
	.comm	_sata_phy_ops,4,2               ; @sata_phy_ops
	.comm	_TEGRA_XUSB_PADCTL_SATA,8,3     ; @TEGRA_XUSB_PADCTL_SATA
	.comm	_tegra_xusb_padctl_xlate,4,2    ; @tegra_xusb_padctl_xlate
l_.str.1:                               ; @.str.1
	.asciz	"failed to register PHYs: %d\n"

.subsections_via_symbols
