	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_pcie_resume_noirq
_rcar_pcie_resume_noirq:                ## @rcar_pcie_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movq	_PMSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rcar_pci_read_reg
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_PCIETCTLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rcar_pci_read_reg
	movq	_DL_DOWN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
LBB0_3:
	movq	_CFINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PCIETCTLR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_rcar_pci_write_reg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rcar_pcie_wait_for_dl          ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMSR,4,2                       ## @PMSR
	.comm	_PCIETCTLR,4,2                  ## @PCIETCTLR
	.comm	_DL_DOWN,4,2                    ## @DL_DOWN
	.comm	_CFINIT,4,2                     ## @CFINIT
	.no_dead_strip	_rcar_pcie_resume_noirq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_pcie_resume_noirq
_rcar_pcie_resume_noirq:                ; @rcar_pcie_resume_noirq
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_dev_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x8, _PMSR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMSR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_rcar_pci_read_reg
Lloh3:
	adrp	x20, _PCIETCTLR@GOTPAGE
Lloh4:
	ldr	x20, [x20, _PCIETCTLR@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rcar_pci_read_reg
Lloh5:
	adrp	x8, _DL_DOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DL_DOWN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _CFINIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CFINIT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_rcar_pci_write_reg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rcar_pcie_wait_for_dl
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PMSR,4,2                       ; @PMSR
	.comm	_PCIETCTLR,4,2                  ; @PCIETCTLR
	.comm	_DL_DOWN,4,2                    ; @DL_DOWN
	.comm	_CFINIT,4,2                     ; @CFINIT
	.no_dead_strip	_rcar_pcie_resume_noirq
.subsections_via_symbols
