	.file	"extr_hisi_sas_main.c_hisi_sas_get_prog_phy_linkrate_mask.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	hisi_sas_get_prog_phy_linkrate_mask
	.type	hisi_sas_get_prog_phy_linkrate_mask, @function
hisi_sas_get_prog_phy_linkrate_mask:
.LFB0:
	.cfi_startproc
	endbr64
	sub	edi, DWORD PTR SAS_LINK_RATE_1_5_GBPS[rip]
	xor	ecx, ecx
	xor	eax, eax
	mov	esi, 1
	lea	edi, 2[rdi+rdi]
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, esi
	sal	edx, cl
	add	ecx, 2
	or	eax, edx
	cmp	ecx, edi
	jne	.L2
	ret
	.cfi_endproc
.LFE0:
	.size	hisi_sas_get_prog_phy_linkrate_mask, .-hisi_sas_get_prog_phy_linkrate_mask
	.comm	SAS_LINK_RATE_1_5_GBPS,8,8
	.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_hisi_sas_main.c_hisi_sas_get_prog_phy_linkrate_mask.c"
	.text
	.align	2
	.global	hisi_sas_get_prog_phy_linkrate_mask
	.syntax unified
	.arm
	.fpu softvfp
	.type	hisi_sas_get_prog_phy_linkrate_mask, %function
hisi_sas_get_prog_phy_linkrate_mask:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, #0
	mov	ip, #1
	mov	r2, r3
	ldr	r1, .L5
	ldr	r1, [r1]
	sub	r1, r0, r1
	add	r1, r1, ip
	lsl	r1, r1, ip
.L2:
	orr	r2, r2, ip, lsl r3
	add	r3, r3, #2
	cmp	r3, r1
	bne	.L2
	mov	r0, r2
	bx	lr
.L6:
	.align	2
.L5:
	.word	SAS_LINK_RATE_1_5_GBPS
	.size	hisi_sas_get_prog_phy_linkrate_mask, .-hisi_sas_get_prog_phy_linkrate_mask
	.comm	SAS_LINK_RATE_1_5_GBPS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
