	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ethqos_rgmii_macro_init
_ethqos_rgmii_macro_init:               ## @ethqos_rgmii_macro_init
	.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	%rdi, %rbx
	movq	_RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RGMII_IO_MACRO_CONFIG2@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_INTF_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RGMII_IO_MACRO_CONFIG@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movl	(%rbx), %edx
	cmpl	$130, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_5
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_7
## %bb.3:
	movq	_RGMII_CONFIG_DDR_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_PROG_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_RSVD_CONFIG15@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_RX_PROG_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_PRG_RCLK_DLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SDCC_HC_REG_DDR_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	$57, %edx
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_PRG_DLY_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_LOOPBACK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	jmp	LBB0_4
LBB0_6:
	movq	_RGMII_CONFIG_DDR_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_PROG_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_MAX_SPD_PRG_9@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$12, %edi
	callq	_BIT
	movq	%r12, %r14
	movl	%eax, %r12d
	movl	$9, %edi
	movl	$8, %esi
	callq	_GENMASK
	orl	%eax, %r12d
	movl	(%r14), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_RSVD_CONFIG15@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_RX_PROG_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$29, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$27, %edi
	callq	_BIT
	orl	%eax, %r12d
	movq	_SDCC_HC_REG_DDR_CONFIG@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_LOOPBACK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_5:
	movq	_RGMII_CONFIG_DDR_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_PROG_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_MAX_SPD_PRG_2@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$6, %edi
	callq	_BIT
	movl	(%r12), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_RSVD_CONFIG15@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG2_RX_PROG_SWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	$29, %edi
	callq	_BIT
	movl	%eax, %r12d
	movl	$27, %edi
	callq	_BIT
	orl	%eax, %r12d
	movq	_SDCC_HC_REG_DDR_CONFIG@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	movq	_RGMII_CONFIG_LOOPBACK_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RGMII_IO_MACRO_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	movq	%rbx, %rdi
	movl	%edx, %esi
	callq	_rgmii_updatel
	jmp	LBB0_8
LBB0_7:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN,4,2 ## @RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN
	.comm	_RGMII_IO_MACRO_CONFIG2,4,2     ## @RGMII_IO_MACRO_CONFIG2
	.comm	_RGMII_CONFIG_INTF_SEL,4,2      ## @RGMII_CONFIG_INTF_SEL
	.comm	_RGMII_IO_MACRO_CONFIG,4,2      ## @RGMII_IO_MACRO_CONFIG
	.comm	_RGMII_CONFIG_DDR_MODE,4,2      ## @RGMII_CONFIG_DDR_MODE
	.comm	_RGMII_CONFIG_BYPASS_TX_ID_EN,4,2 ## @RGMII_CONFIG_BYPASS_TX_ID_EN
	.comm	_RGMII_CONFIG_POS_NEG_DATA_SEL,4,2 ## @RGMII_CONFIG_POS_NEG_DATA_SEL
	.comm	_RGMII_CONFIG_PROG_SWAP,4,2     ## @RGMII_CONFIG_PROG_SWAP
	.comm	_RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL,4,2 ## @RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL
	.comm	_RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN,4,2 ## @RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN
	.comm	_RGMII_CONFIG2_RSVD_CONFIG15,4,2 ## @RGMII_CONFIG2_RSVD_CONFIG15
	.comm	_RGMII_CONFIG2_RX_PROG_SWAP,4,2 ## @RGMII_CONFIG2_RX_PROG_SWAP
	.comm	_SDCC_DDR_CONFIG_PRG_RCLK_DLY,4,2 ## @SDCC_DDR_CONFIG_PRG_RCLK_DLY
	.comm	_SDCC_HC_REG_DDR_CONFIG,4,2     ## @SDCC_HC_REG_DDR_CONFIG
	.comm	_SDCC_DDR_CONFIG_PRG_DLY_EN,4,2 ## @SDCC_DDR_CONFIG_PRG_DLY_EN
	.comm	_RGMII_CONFIG_LOOPBACK_EN,4,2   ## @RGMII_CONFIG_LOOPBACK_EN
	.comm	_RGMII_CONFIG_MAX_SPD_PRG_2,4,2 ## @RGMII_CONFIG_MAX_SPD_PRG_2
	.comm	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE,4,2 ## @SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE
	.comm	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY,4,2 ## @SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY
	.comm	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN,4,2 ## @SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN
	.comm	_RGMII_CONFIG_MAX_SPD_PRG_9,4,2 ## @RGMII_CONFIG_MAX_SPD_PRG_9
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid speed %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ethqos_rgmii_macro_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ethqos_rgmii_macro_init
_ethqos_rgmii_macro_init:               ; @ethqos_rgmii_macro_init
	.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	x8, _RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x23, _RGMII_IO_MACRO_CONFIG2@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RGMII_IO_MACRO_CONFIG2@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	w2, #0
	bl	_rgmii_updatel
Lloh5:
	adrp	x8, _RGMII_CONFIG_INTF_SEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RGMII_CONFIG_INTF_SEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x22, _RGMII_IO_MACRO_CONFIG@GOTPAGE
Lloh9:
	ldr	x22, [x22, _RGMII_IO_MACRO_CONFIG@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
	ldr	w2, [x19]
	cmp	w2, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #128
	b.ne	LBB0_8
; %bb.3:
Lloh10:
	adrp	x8, _RGMII_CONFIG_DDR_MODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RGMII_CONFIG_DDR_MODE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh13:
	adrp	x8, _RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh16:
	adrp	x8, _RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh19:
	adrp	x8, _RGMII_CONFIG_PROG_SWAP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _RGMII_CONFIG_PROG_SWAP@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh22:
	adrp	x8, _RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh25:
	adrp	x8, _RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh28:
	adrp	x8, _RGMII_CONFIG2_RSVD_CONFIG15@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RGMII_CONFIG2_RSVD_CONFIG15@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh31:
	adrp	x8, _RGMII_CONFIG2_RX_PROG_SWAP@GOTPAGE
Lloh32:
	ldr	x8, [x8, _RGMII_CONFIG2_RX_PROG_SWAP@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh34:
	adrp	x8, _SDCC_DDR_CONFIG_PRG_RCLK_DLY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SDCC_DDR_CONFIG_PRG_RCLK_DLY@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x20, _SDCC_HC_REG_DDR_CONFIG@GOTPAGE
Lloh38:
	ldr	x20, [x20, _SDCC_HC_REG_DDR_CONFIG@GOTPAGEOFF]
	ldr	w3, [x20]
	mov	x0, x19
	mov	w2, #57
	bl	_rgmii_updatel
Lloh39:
	adrp	x8, _SDCC_DDR_CONFIG_PRG_DLY_EN@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SDCC_DDR_CONFIG_PRG_DLY_EN@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	ldr	w3, [x20]
	b	LBB0_7
LBB0_4:
Lloh42:
	adrp	x8, _RGMII_CONFIG_DDR_MODE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _RGMII_CONFIG_DDR_MODE@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh45:
	adrp	x8, _RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh48:
	adrp	x8, _RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh51:
	adrp	x8, _RGMII_CONFIG_PROG_SWAP@GOTPAGE
Lloh52:
	ldr	x8, [x8, _RGMII_CONFIG_PROG_SWAP@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh54:
	adrp	x8, _RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPAGE
Lloh55:
	ldr	x8, [x8, _RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh57:
	adrp	x8, _RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPAGE
Lloh58:
	ldr	x8, [x8, _RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh60:
	adrp	x8, _RGMII_CONFIG_MAX_SPD_PRG_9@GOTPAGE
Lloh61:
	ldr	x8, [x8, _RGMII_CONFIG_MAX_SPD_PRG_9@GOTPAGEOFF]
Lloh62:
	ldr	w20, [x8]
	mov	w0, #12
	bl	_BIT
	mov	x21, x0
	mov	w0, #9
	mov	w1, #8
	bl	_GENMASK
	orr	w2, w0, w21
	b	LBB0_6
LBB0_5:
Lloh63:
	adrp	x8, _RGMII_CONFIG_DDR_MODE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _RGMII_CONFIG_DDR_MODE@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh66:
	adrp	x8, _RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPAGE
Lloh67:
	ldr	x8, [x8, _RGMII_CONFIG_BYPASS_TX_ID_EN@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh69:
	adrp	x8, _RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPAGE
Lloh70:
	ldr	x8, [x8, _RGMII_CONFIG_POS_NEG_DATA_SEL@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh72:
	adrp	x8, _RGMII_CONFIG_PROG_SWAP@GOTPAGE
Lloh73:
	ldr	x8, [x8, _RGMII_CONFIG_PROG_SWAP@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh75:
	adrp	x8, _RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh78:
	adrp	x8, _RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPAGE
Lloh79:
	ldr	x8, [x8, _RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh81:
	adrp	x8, _RGMII_CONFIG_MAX_SPD_PRG_2@GOTPAGE
Lloh82:
	ldr	x8, [x8, _RGMII_CONFIG_MAX_SPD_PRG_2@GOTPAGEOFF]
Lloh83:
	ldr	w20, [x8]
	mov	w0, #6
	bl	_BIT
	mov	x2, x0
LBB0_6:
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_rgmii_updatel
Lloh84:
	adrp	x8, _RGMII_CONFIG2_RSVD_CONFIG15@GOTPAGE
Lloh85:
	ldr	x8, [x8, _RGMII_CONFIG2_RSVD_CONFIG15@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh87:
	adrp	x8, _RGMII_CONFIG2_RX_PROG_SWAP@GOTPAGE
Lloh88:
	ldr	x8, [x8, _RGMII_CONFIG2_RX_PROG_SWAP@GOTPAGEOFF]
Lloh89:
	ldr	w1, [x8]
	ldr	w3, [x23]
	mov	x0, x19
	mov	w2, #0
	bl	_rgmii_updatel
Lloh90:
	adrp	x8, _SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE@GOTPAGE
Lloh91:
	ldr	x8, [x8, _SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE@GOTPAGEOFF]
Lloh92:
	ldr	w20, [x8]
	mov	w0, #29
	bl	_BIT
	mov	x21, x0
	mov	w0, #27
	bl	_BIT
	orr	w2, w0, w21
Lloh93:
	adrp	x21, _SDCC_HC_REG_DDR_CONFIG@GOTPAGE
Lloh94:
	ldr	x21, [x21, _SDCC_HC_REG_DDR_CONFIG@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_rgmii_updatel
Lloh95:
	adrp	x8, _SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY@GOTPAGE
Lloh96:
	ldr	x8, [x8, _SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY@GOTPAGEOFF]
Lloh97:
	ldr	w1, [x8]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh98:
	adrp	x8, _SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN@GOTPAGE
Lloh99:
	ldr	x8, [x8, _SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN@GOTPAGEOFF]
Lloh100:
	ldr	w1, [x8]
	ldr	w3, [x21]
LBB0_7:
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
Lloh101:
	adrp	x8, _RGMII_CONFIG_LOOPBACK_EN@GOTPAGE
Lloh102:
	ldr	x8, [x8, _RGMII_CONFIG_LOOPBACK_EN@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_rgmii_updatel
	mov	w0, #0
	b	LBB0_9
LBB0_8:
	ldr	x0, [x19, #8]
Lloh104:
	adrp	x1, l_.str@PAGE
Lloh105:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh106:
	adrp	x8, _EINVAL@GOTPAGE
Lloh107:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh108:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh104, Lloh105
	.cfi_endproc
                                        ; -- End function
	.comm	_RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN,4,2 ; @RGMII_CONFIG2_TX_TO_RX_LOOPBACK_EN
	.comm	_RGMII_IO_MACRO_CONFIG2,4,2     ; @RGMII_IO_MACRO_CONFIG2
	.comm	_RGMII_CONFIG_INTF_SEL,4,2      ; @RGMII_CONFIG_INTF_SEL
	.comm	_RGMII_IO_MACRO_CONFIG,4,2      ; @RGMII_IO_MACRO_CONFIG
	.comm	_RGMII_CONFIG_DDR_MODE,4,2      ; @RGMII_CONFIG_DDR_MODE
	.comm	_RGMII_CONFIG_BYPASS_TX_ID_EN,4,2 ; @RGMII_CONFIG_BYPASS_TX_ID_EN
	.comm	_RGMII_CONFIG_POS_NEG_DATA_SEL,4,2 ; @RGMII_CONFIG_POS_NEG_DATA_SEL
	.comm	_RGMII_CONFIG_PROG_SWAP,4,2     ; @RGMII_CONFIG_PROG_SWAP
	.comm	_RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL,4,2 ; @RGMII_CONFIG2_DATA_DIVIDE_CLK_SEL
	.comm	_RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN,4,2 ; @RGMII_CONFIG2_TX_CLK_PHASE_SHIFT_EN
	.comm	_RGMII_CONFIG2_RSVD_CONFIG15,4,2 ; @RGMII_CONFIG2_RSVD_CONFIG15
	.comm	_RGMII_CONFIG2_RX_PROG_SWAP,4,2 ; @RGMII_CONFIG2_RX_PROG_SWAP
	.comm	_SDCC_DDR_CONFIG_PRG_RCLK_DLY,4,2 ; @SDCC_DDR_CONFIG_PRG_RCLK_DLY
	.comm	_SDCC_HC_REG_DDR_CONFIG,4,2     ; @SDCC_HC_REG_DDR_CONFIG
	.comm	_SDCC_DDR_CONFIG_PRG_DLY_EN,4,2 ; @SDCC_DDR_CONFIG_PRG_DLY_EN
	.comm	_RGMII_CONFIG_LOOPBACK_EN,4,2   ; @RGMII_CONFIG_LOOPBACK_EN
	.comm	_RGMII_CONFIG_MAX_SPD_PRG_2,4,2 ; @RGMII_CONFIG_MAX_SPD_PRG_2
	.comm	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE,4,2 ; @SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_CODE
	.comm	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY,4,2 ; @SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY
	.comm	_SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN,4,2 ; @SDCC_DDR_CONFIG_EXT_PRG_RCLK_DLY_EN
	.comm	_RGMII_CONFIG_MAX_SPD_PRG_9,4,2 ; @RGMII_CONFIG_MAX_SPD_PRG_9
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid speed %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ethqos_rgmii_macro_init
.subsections_via_symbols
