	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_pcie_dw_resume_noirq
_tegra_pcie_dw_resume_noirq:            ## @tegra_pcie_dw_resume_noirq
	.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, %r15
	callq	_dev_get_drvdata
	xorl	%r14d, %r14d
	cmpl	$0, 8(%rax)
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_tegra_pcie_config_controller
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	%rbx, %r12
	addq	$4, %r12
	movq	%r12, %rdi
	callq	_tegra_pcie_dw_host_init
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movq	_PORT_LOGIC_MSI_CTRL_INT_0_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r12, %rdi
	callq	_dw_pcie_writel_dbi
	jmp	LBB0_5
LBB0_2:
	movl	%eax, %r14d
LBB0_5:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___deinit_controller            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to init host: %d\n"

	.comm	_PORT_LOGIC_MSI_CTRL_INT_0_EN,4,2 ## @PORT_LOGIC_MSI_CTRL_INT_0_EN
	.no_dead_strip	_tegra_pcie_dw_resume_noirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_pcie_dw_resume_noirq
_tegra_pcie_dw_resume_noirq:            ; @tegra_pcie_dw_resume_noirq
	.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
	bl	_dev_get_drvdata
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w1, #1
	bl	_tegra_pcie_config_controller
	tbnz	w0, #31, LBB0_5
; %bb.2:
	add	x21, x19, #4
	mov	x0, x21
	bl	_tegra_pcie_dw_host_init
	tbnz	w0, #31, LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _PORT_LOGIC_MSI_CTRL_INT_0_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_LOGIC_MSI_CTRL_INT_0_EN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x21
	bl	_dw_pcie_writel_dbi
LBB0_4:
	mov	w0, #0
LBB0_5:
	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_6:
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x19
	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	___deinit_controller
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to init host: %d\n"

	.comm	_PORT_LOGIC_MSI_CTRL_INT_0_EN,4,2 ; @PORT_LOGIC_MSI_CTRL_INT_0_EN
	.no_dead_strip	_tegra_pcie_dw_resume_noirq
.subsections_via_symbols
