	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_port_ptys2speed          ## -- Begin function mlx5e_port_ptys2speed
	.p2align	4, 0x90
_mlx5e_port_ptys2speed:                 ## @mlx5e_port_ptys2speed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movl	%edx, %ecx
	movslq	%esi, %rax
	movq	%rax, -24(%rbp)
	leaq	-16(%rbp), %rsi
	leaq	-4(%rbp), %rdx
	callq	_mlx5e_port_get_speed_arr
	movl	-4(%rbp), %esi
	leaq	-24(%rbp), %rdi
	callq	_find_first_bit
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	-4(%rbp), %ecx
	jge	LBB0_2
## %bb.1:
	movq	-16(%rbp), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_2:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_port_ptys2speed          ; -- Begin function mlx5e_port_ptys2speed
	.p2align	2
_mlx5e_port_ptys2speed:                 ; @mlx5e_port_ptys2speed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x3, x2
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x8, w1
	stur	x8, [x29, #-8]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_mlx5e_port_get_speed_arr
	ldr	w1, [sp, #12]
	sub	x0, x29, #8
	bl	_find_first_bit
	ldr	w8, [sp, #12]
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
	ldr	x8, [sp, #16]
	ldr	w0, [x8, w0, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
