	.file	"extr_cpsw.c_cpsw_get_common_speed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cpsw_get_common_speed, @function
cpsw_get_common_speed:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR 8[rdi]
	test	eax, eax
	jle	.L5
	mov	rdx, QWORD PTR [rdi]
	lea	ecx, -1[rax]
	xor	r8d, r8d
	lea	rax, 8[rdx]
	lea	rcx, [rax+rcx*8]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	add	rax, 8
.L4:
	mov	rdx, QWORD PTR [rdx]
	test	rdx, rdx
	je	.L3
	cmp	QWORD PTR 8[rdx], 0
	je	.L3
	add	r8d, DWORD PTR [rdx]
.L3:
	mov	rdx, rax
	cmp	rax, rcx
	jne	.L11
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r8d, r8d
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	cpsw_get_common_speed, .-cpsw_get_common_speed
	.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_cpsw.c_cpsw_get_common_speed.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpsw_get_common_speed, %function
cpsw_get_common_speed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r1, [r0, #4]
	mov	r3, r0
	cmp	r1, #0
	mov	r0, #0
	bxle	lr
	ldr	r3, [r3]
	sub	r3, r3, #4
	add	r1, r3, r1, lsl #2
.L4:
	ldr	r2, [r3, #4]!
	cmp	r2, #0
	beq	.L3
	ldr	ip, [r2, #4]
	cmp	ip, #0
	ldrne	r2, [r2]
	addne	r0, r0, r2
.L3:
	cmp	r3, r1
	bne	.L4
	bx	lr
	.size	cpsw_get_common_speed, .-cpsw_get_common_speed
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
