	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_xusb_padctl_probe
_tegra_xusb_padctl_probe:               ## @tegra_xusb_padctl_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, %rbx
	movq	(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_of_get_child_by_name
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rdi
	callq	_of_node_put
	movq	_tegra_xusb_padctl_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	callq	_of_match_node
	movq	(%rax), %r14
	movq	(%r14), %rax
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*8(%rax)
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_warn
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tegra_xusb_padctl_legacy_probe ## TAILCALL
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_platform_set_drvdata
	leaq	44(%r15), %rdi
	callq	_INIT_LIST_HEAD
	leaq	40(%r15), %rdi
	callq	_INIT_LIST_HEAD
	leaq	36(%r15), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, %rdi
	addq	$32, %rdi
	callq	_mutex_init
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	24(%r15), %rdi
	jmp	LBB0_8
LBB0_6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_devm_reset_control_get
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	(%r15), %rdi
LBB0_8:
	callq	_PTR_ERR
LBB0_9:
	movl	%eax, %r12d
LBB0_10:
	movq	(%r14), %rax
	movq	%r15, %rdi
	callq	*(%rax)
LBB0_11:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	16(%r15), %rax
	movl	(%rax), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	movq	16(%r15), %rcx
	movl	(%rcx), %esi
	testq	%rsi, %rsi
	je	LBB0_29
## %bb.14:
	movq	8(%rcx), %r9
	xorl	%edx, %edx
	cmpl	$8, %esi
	jb	LBB0_25
## %bb.15:
	movq	%rax, %rcx
	subq	%r9, %rcx
	cmpq	$32, %rcx
	jb	LBB0_25
## %bb.16:
	movl	%esi, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rcx
	jae	LBB0_19
## %bb.17:
	xorl	%ecx, %ecx
	jmp	LBB0_21
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_10
LBB0_19:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movups	(%r9,%rcx,4), %xmm0
	movups	16(%r9,%rcx,4), %xmm1
	movups	%xmm0, (%rax,%rcx,4)
	movups	%xmm1, 16(%rax,%rcx,4)
	movups	32(%r9,%rcx,4), %xmm0
	movups	48(%r9,%rcx,4), %xmm1
	movups	%xmm0, 32(%rax,%rcx,4)
	movups	%xmm1, 48(%rax,%rcx,4)
	movups	64(%r9,%rcx,4), %xmm0
	movups	80(%r9,%rcx,4), %xmm1
	movups	%xmm0, 64(%rax,%rcx,4)
	movups	%xmm1, 80(%rax,%rcx,4)
	movups	96(%r9,%rcx,4), %xmm0
	movups	112(%r9,%rcx,4), %xmm1
	movups	%xmm0, 96(%rax,%rcx,4)
	movups	%xmm1, 112(%rax,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_20
LBB0_21:
	testq	%r8, %r8
	je	LBB0_24
## %bb.22:
	leaq	(%rax,%rcx,4), %r10
	addq	$16, %r10
	leaq	(%r9,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r8
	xorl	%edi, %edi
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rdi), %xmm0
	movups	(%rcx,%rdi), %xmm1
	movups	%xmm0, -16(%r10,%rdi)
	movups	%xmm1, (%r10,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_23
LBB0_24:
	cmpq	%rsi, %rdx
	je	LBB0_29
LBB0_25:
	movq	%rdx, %r8
	notq	%r8
	addq	%rsi, %r8
	movq	%rsi, %rdi
	andq	$3, %rdi
	je	LBB0_27
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	incq	%rdx
	decq	%rdi
	jne	LBB0_26
LBB0_27:
	cmpq	$3, %r8
	jb	LBB0_29
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r9,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	movl	4(%r9,%rdx,4), %ecx
	movl	%ecx, 4(%rax,%rdx,4)
	movl	8(%r9,%rdx,4), %ecx
	movl	%ecx, 8(%rax,%rdx,4)
	movl	12(%r9,%rdx,4), %ecx
	movl	%ecx, 12(%rax,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_28
LBB0_29:
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rax, %rdx
	callq	_devm_regulator_bulk_get
	testl	%eax, %eax
	js	LBB0_35
## %bb.30:
	movq	(%r15), %rdi
	callq	_reset_control_deassert
	testl	%eax, %eax
	js	LBB0_9
## %bb.31:
	movq	8(%r15), %rsi
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_regulator_bulk_enable
	testl	%eax, %eax
	js	LBB0_37
## %bb.32:
	movq	%r15, %rdi
	callq	_tegra_xusb_setup_pads
	testl	%eax, %eax
	js	LBB0_38
## %bb.33:
	movq	%r15, %rdi
	callq	_tegra_xusb_setup_ports
	testl	%eax, %eax
	je	LBB0_41
## %bb.34:
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movq	%r15, %rdi
	callq	_tegra_xusb_remove_pads
	jmp	LBB0_39
LBB0_35:
	movl	%eax, %r12d
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_10
LBB0_37:
	movl	%eax, %r12d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_40
LBB0_38:
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_39:
	movq	8(%r15), %rsi
	movq	16(%r15), %rax
	movl	(%rax), %edi
	callq	_regulator_bulk_disable
LBB0_40:
	movq	(%r15), %rdi
	callq	_reset_control_assert
	jmp	LBB0_10
LBB0_41:
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pads"

L_.str.1:                               ## @.str.1
	.asciz	"deprecated DT, using legacy driver\n"

	.comm	_tegra_xusb_padctl_of_match,4,2 ## @tegra_xusb_padctl_of_match
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"failed to get regulators: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"failed to enable supplies: %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"failed to setup pads: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to setup XUSB ports: %d\n"

	.no_dead_strip	_tegra_xusb_padctl_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_xusb_padctl_probe
_tegra_xusb_padctl_probe:               ; @tegra_xusb_padctl_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	x21, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_of_get_child_by_name
	cbz	x0, LBB0_3
; %bb.1:
	bl	_of_node_put
Lloh2:
	adrp	x8, _tegra_xusb_padctl_of_match@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tegra_xusb_padctl_of_match@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x1, [x21]
	bl	_of_match_node
	ldr	x19, [x0]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	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_3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
	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	_tegra_xusb_padctl_legacy_probe
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	bl	_platform_set_drvdata
	add	x0, x20, #44
	bl	_INIT_LIST_HEAD
	add	x0, x20, #40
	bl	_INIT_LIST_HEAD
	add	x0, x20, #36
	bl	_INIT_LIST_HEAD
	add	x0, x20, #32
	bl	_mutex_init
Lloh7:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x21
	bl	_devm_ioremap_resource
	str	x0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x20, #24]
	b	LBB0_8
LBB0_6:
	mov	x0, x21
	mov	x1, #0
	bl	_devm_reset_control_get
	str	x0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.7:
	ldr	x0, [x20]
LBB0_8:
	bl	_PTR_ERR
LBB0_9:
	mov	x22, x0
LBB0_10:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
LBB0_11:
	mov	x0, x22
	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_12:
	ldr	x8, [x20, #16]
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x21
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_27
; %bb.13:
	mov	x2, x0
	ldr	x9, [x20, #16]
	ldr	w1, [x9]
	cbz	w1, LBB0_21
; %bb.14:
	mov	x8, #0
	ldr	x9, [x9, #8]
	cmp	w1, #16
	b.lo	LBB0_19
; %bb.15:
	sub	x10, x2, x9
	cmp	x10, #64
	b.lo	LBB0_19
; %bb.16:
	and	x8, x1, #0xfffffff0
	add	x10, x2, #32
	add	x11, x9, #32
	mov	x12, x8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x11, #-32]
	ldp	q2, q3, [x11], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x12, x12, #16
	b.ne	LBB0_17
; %bb.18:
	cmp	x8, x1
	b.eq	LBB0_21
LBB0_19:
	lsl	x10, x8, #2
	add	x9, x9, x10
	add	x10, x2, x10
	sub	x8, x1, x8
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #4
	str	w11, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_20
LBB0_21:
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_devm_regulator_bulk_get
	tbnz	w0, #31, LBB0_28
; %bb.22:
	ldr	x0, [x20]
	bl	_reset_control_deassert
	tbnz	w0, #31, LBB0_9
; %bb.23:
	ldp	x1, x8, [x20, #8]
	ldr	w0, [x8]
	bl	_regulator_bulk_enable
	tbnz	w0, #31, LBB0_29
; %bb.24:
	mov	x0, x20
	bl	_tegra_xusb_setup_pads
	tbnz	w0, #31, LBB0_30
; %bb.25:
	mov	x0, x20
	bl	_tegra_xusb_setup_ports
	mov	x22, x0
	cbz	w0, LBB0_11
; %bb.26:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
	mov	x0, x20
	bl	_tegra_xusb_remove_pads
	b	LBB0_31
LBB0_27:
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_10
LBB0_28:
	mov	x22, x0
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
	b	LBB0_10
LBB0_29:
	mov	x22, x0
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
	b	LBB0_32
LBB0_30:
	mov	x22, x0
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_err
LBB0_31:
	ldp	x1, x8, [x20, #8]
	ldr	w0, [x8]
	bl	_regulator_bulk_disable
LBB0_32:
	ldr	x0, [x20]
	bl	_reset_control_assert
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pads"

l_.str.1:                               ; @.str.1
	.asciz	"deprecated DT, using legacy driver\n"

	.comm	_tegra_xusb_padctl_of_match,4,2 ; @tegra_xusb_padctl_of_match
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"failed to get regulators: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"failed to enable supplies: %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"failed to setup pads: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to setup XUSB ports: %d\n"

	.no_dead_strip	_tegra_xusb_padctl_probe
.subsections_via_symbols
