	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra210_pcie_pad_probe
_tegra210_pcie_pad_probe:               ## @tegra210_pcie_pad_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %r14
	addq	$8, %r14
	movq	_tegra210_pcie_lane_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	%r13, 16(%rbx)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_tegra_xusb_pad_init
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movl	%eax, 4(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	4(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_13
LBB0_3:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_12
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r15d
	leaq	L_.str.3(%rip), %rsi
LBB0_6:
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_err
LBB0_11:
	movq	%r14, %rdi
	callq	_device_unregister
LBB0_12:
	movl	%r15d, %edi
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_9:
	movq	_tegra210_pcie_phy_ops@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_tegra_xusb_pad_register
	testl	%eax, %eax
	js	LBB0_10
## %bb.14:
	movq	%r14, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	%eax, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tegra210_pcie_lane_ops,4,2     ## @tegra210_pcie_lane_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pll"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get PLL: %d\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"failed to get PCIe pad reset: %d\n"

	.comm	_tegra210_pcie_phy_ops,4,2      ## @tegra210_pcie_phy_ops
	.no_dead_strip	_tegra210_pcie_pad_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra210_pcie_pad_probe
_tegra210_pcie_pad_probe:               ; @tegra210_pcie_pad_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	x21, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _tegra210_pcie_lane_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tegra210_pcie_lane_ops@GOTPAGEOFF]
	add	x19, x0, #8
	stp	x23, x8, [x0, #16]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_tegra_xusb_pad_init
	tbnz	w0, #31, LBB0_5
; %bb.2:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w0, [x20, #4]
	bl	_PTR_ERR
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_4:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_5:
	mov	x21, x0
	mov	x0, x20
	bl	_kfree
	b	LBB0_10
LBB0_6:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_devm_reset_control_get
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w0, [x20]
	bl	_PTR_ERR
	mov	x21, x0
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
LBB0_9:
	mov	x0, x19
	bl	_device_unregister
LBB0_10:
	mov	x0, x21
LBB0_11:
	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	_ERR_PTR
LBB0_12:
Lloh16:
	adrp	x1, _tegra210_pcie_phy_ops@GOTPAGE
Lloh17:
	ldr	x1, [x1, _tegra210_pcie_phy_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_tegra_xusb_pad_register
	tbnz	w0, #31, LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x19
	bl	_dev_set_drvdata
	mov	x0, x19
	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_14:
	mov	x21, x0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tegra210_pcie_lane_ops,4,2     ; @tegra210_pcie_lane_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pll"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get PLL: %d\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"failed to get PCIe pad reset: %d\n"

	.comm	_tegra210_pcie_phy_ops,4,2      ; @tegra210_pcie_phy_ops
	.no_dead_strip	_tegra210_pcie_pad_probe
.subsections_via_symbols
