	.file	"extr_mlx5_port.c_mlx5e_port_ptys2speed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx5e_port_ptys2speed
	.type	mlx5e_port_ptys2speed, @function
mlx5e_port_ptys2speed:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 40
	.cfi_def_cfa_offset 48
	movsx	rsi, esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rdx, 4[rsp]
	mov	QWORD PTR 8[rsp], rsi
	lea	rsi, 16[rsp]
	call	mlx5e_port_get_speed_arr@PLT
	mov	esi, DWORD PTR 4[rsp]
	lea	rdi, 8[rsp]
	call	find_first_bit@PLT
	xor	r8d, r8d
	cmp	DWORD PTR 4[rsp], eax
	jle	.L1
	mov	rdx, QWORD PTR 16[rsp]
	cdqe
	mov	r8d, DWORD PTR [rdx+rax*4]
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	mov	eax, r8d
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx5e_port_ptys2speed, .-mlx5e_port_ptys2speed
	.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_mlx5_port.c_mlx5e_port_ptys2speed.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mlx5e_port_ptys2speed
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx5e_port_ptys2speed, %function
mlx5e_port_ptys2speed:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r1
	str	lr, [sp, #-4]!
	sub	sp, sp, #20
	str	r3, [sp]
	ldr	r3, .L8
	add	r2, sp, #8
	add	r1, sp, #4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	mlx5e_port_get_speed_arr
	mov	r0, sp
	ldr	r1, [sp, #8]
	bl	find_first_bit
	ldr	r3, [sp, #8]
	cmp	r3, r0
	ldrgt	r3, [sp, #4]
	movle	r0, #0
	ldrgt	r0, [r3, r0, lsl #2]
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #20
	@ sp needed
	ldr	pc, [sp], #4
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	mlx5e_port_ptys2speed, .-mlx5e_port_ptys2speed
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
