	.file	"extr_dwmac-ipq806x.c_get_clk_div_rgmii.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Speed %dMbps not supported in RGMII\n"
	.text
	.p2align 4
	.type	get_clk_div_rgmii, @function
get_clk_div_rgmii:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	esi, 129
	je	.L2
	mov	eax, DWORD PTR NSS_COMMON_CLK_DIV_RGMII_10[rip]
	cmp	esi, 130
	je	.L8
	cmp	esi, 128
	je	.L11
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdi, QWORD PTR [rdi]
	mov	edx, esi
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR NSS_COMMON_CLK_DIV_RGMII_100[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR NSS_COMMON_CLK_DIV_RGMII_1000[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	get_clk_div_rgmii, .-get_clk_div_rgmii
	.comm	NSS_COMMON_CLK_DIV_RGMII_1000,4,4
	.comm	NSS_COMMON_CLK_DIV_RGMII_100,4,4
	.comm	NSS_COMMON_CLK_DIV_RGMII_10,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dwmac-ipq806x.c_get_clk_div_rgmii.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Speed %dMbps not supported in RGMII\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_clk_div_rgmii, %function
get_clk_div_rgmii:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #129
	beq	.L2
	cmp	r1, #130
	beq	.L3
	cmp	r1, #128
	beq	.L10
	mov	r2, r1
	push	{r4, lr}
	ldr	r1, .L11
	ldr	r0, [r0]
	bl	dev_err
	ldr	r3, .L11+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, pc}
.L2:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	bx	lr
.L10:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	bx	lr
.L3:
	ldr	r3, .L11+16
	ldr	r0, [r3]
	bx	lr
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	EINVAL
	.word	NSS_COMMON_CLK_DIV_RGMII_100
	.word	NSS_COMMON_CLK_DIV_RGMII_1000
	.word	NSS_COMMON_CLK_DIV_RGMII_10
	.size	get_clk_div_rgmii, .-get_clk_div_rgmii
	.comm	NSS_COMMON_CLK_DIV_RGMII_1000,4,4
	.comm	NSS_COMMON_CLK_DIV_RGMII_100,4,4
	.comm	NSS_COMMON_CLK_DIV_RGMII_10,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
