	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_pcie_phy_init_gen2
_rcar_pcie_phy_init_gen2:               ## @rcar_pcie_phy_init_gen2
	.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	_GEN2_PCIEPHYADDR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	$983088, %esi                   ## imm = 0xF0030
	callq	_rcar_pci_write_reg
	movq	_GEN2_PCIEPHYDATA@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$3674627, %esi                  ## imm = 0x381203
	callq	_rcar_pci_write_reg
	movq	_GEN2_PCIEPHYCTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rcar_pci_write_reg
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_rcar_pci_write_reg
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	$983124, %esi                   ## imm = 0xF0054
	callq	_rcar_pci_write_reg
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	$327163911, %esi                ## imm = 0x13802007
	callq	_rcar_pci_write_reg
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rcar_pci_write_reg
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$6, %esi
	callq	_rcar_pci_write_reg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GEN2_PCIEPHYADDR,4,2           ## @GEN2_PCIEPHYADDR
	.comm	_GEN2_PCIEPHYDATA,4,2           ## @GEN2_PCIEPHYDATA
	.comm	_GEN2_PCIEPHYCTRL,4,2           ## @GEN2_PCIEPHYCTRL
	.no_dead_strip	_rcar_pcie_phy_init_gen2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_pcie_phy_init_gen2
_rcar_pcie_phy_init_gen2:               ; @rcar_pcie_phy_init_gen2
	.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	x19, x0
Lloh0:
	adrp	x20, _GEN2_PCIEPHYADDR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _GEN2_PCIEPHYADDR@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w21, #48
	movk	w21, #15, lsl #16
	mov	w1, #48
	movk	w1, #15, lsl #16
	bl	_rcar_pci_write_reg
Lloh2:
	adrp	x22, _GEN2_PCIEPHYDATA@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GEN2_PCIEPHYDATA@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #4611
	movk	w1, #56, lsl #16
	bl	_rcar_pci_write_reg
Lloh4:
	adrp	x23, _GEN2_PCIEPHYCTRL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _GEN2_PCIEPHYCTRL@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #1
	bl	_rcar_pci_write_reg
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #6
	bl	_rcar_pci_write_reg
	ldr	w2, [x20]
	add	w1, w21, #36
	mov	x0, x19
	bl	_rcar_pci_write_reg
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #8199
	movk	w1, #4992, lsl #16
	bl	_rcar_pci_write_reg
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #1
	bl	_rcar_pci_write_reg
	ldr	w2, [x23]
	mov	x0, x19
	mov	w1, #6
	bl	_rcar_pci_write_reg
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GEN2_PCIEPHYADDR,4,2           ; @GEN2_PCIEPHYADDR
	.comm	_GEN2_PCIEPHYDATA,4,2           ; @GEN2_PCIEPHYDATA
	.comm	_GEN2_PCIEPHYCTRL,4,2           ; @GEN2_PCIEPHYCTRL
	.no_dead_strip	_rcar_pcie_phy_init_gen2
.subsections_via_symbols
