	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_get_fec_cap_field
_mlx5e_get_fec_cap_field:               ## @mlx5e_get_fec_cap_field
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	cmpl	$49999, %edx                    ## imm = 0xC34F
	jg	LBB0_6
## %bb.1:
	cmpl	$10000, %edx                    ## imm = 0x2710
	je	LBB0_4
## %bb.2:
	cmpl	$25000, %edx                    ## imm = 0x61A8
	je	LBB0_10
## %bb.3:
	cmpl	$40000, %edx                    ## imm = 0x9C40
	jne	LBB0_13
LBB0_4:
	movq	_pplm_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fec_override_cap_10g_40g@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	cmpl	$50000, %edx                    ## imm = 0xC350
	je	LBB0_11
## %bb.7:
	cmpl	$56000, %edx                    ## imm = 0xDAC0
	je	LBB0_12
## %bb.8:
	cmpl	$100000, %edx                   ## imm = 0x186A0
	jne	LBB0_13
## %bb.9:
	movq	_pplm_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fec_override_cap_100g@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_10:
	movq	_pplm_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fec_override_cap_25g@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_11:
	movq	_pplm_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fec_override_cap_50g@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_12:
	movq	_pplm_reg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_fec_override_cap_56g@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	callq	_MLX5_GET
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_pplm_reg,4,2                   ## @pplm_reg
	.comm	_fec_override_cap_10g_40g,4,2   ## @fec_override_cap_10g_40g
	.comm	_fec_override_cap_25g,4,2       ## @fec_override_cap_25g
	.comm	_fec_override_cap_50g,4,2       ## @fec_override_cap_50g
	.comm	_fec_override_cap_56g,4,2       ## @fec_override_cap_56g
	.comm	_fec_override_cap_100g,4,2      ## @fec_override_cap_100g
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mlx5e_get_fec_cap_field
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_get_fec_cap_field
_mlx5e_get_fec_cap_field:               ; @mlx5e_get_fec_cap_field
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x1, x0
	mov	w8, #49999
	cmp	w2, w8
	b.gt	LBB0_5
; %bb.1:
	mov	w8, #10000
	cmp	w2, w8
	b.eq	LBB0_4
; %bb.2:
	mov	w8, #25000
	cmp	w2, w8
	b.eq	LBB0_9
; %bb.3:
	mov	w8, #40000
	cmp	w2, w8
	b.ne	LBB0_14
LBB0_4:
Lloh0:
	adrp	x8, _pplm_reg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pplm_reg@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _fec_override_cap_10g_40g@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fec_override_cap_10g_40g@GOTPAGEOFF]
	b	LBB0_12
LBB0_5:
	mov	w8, #50000
	cmp	w2, w8
	b.eq	LBB0_10
; %bb.6:
	mov	w8, #56000
	cmp	w2, w8
	b.eq	LBB0_11
; %bb.7:
	mov	w8, #34464
	movk	w8, #1, lsl #16
	cmp	w2, w8
	b.ne	LBB0_14
; %bb.8:
Lloh5:
	adrp	x8, _pplm_reg@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pplm_reg@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _fec_override_cap_100g@GOTPAGE
Lloh9:
	ldr	x8, [x8, _fec_override_cap_100g@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh10:
	adrp	x8, _pplm_reg@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pplm_reg@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _fec_override_cap_25g@GOTPAGE
Lloh14:
	ldr	x8, [x8, _fec_override_cap_25g@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x8, _pplm_reg@GOTPAGE
Lloh16:
	ldr	x8, [x8, _pplm_reg@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _fec_override_cap_50g@GOTPAGE
Lloh19:
	ldr	x8, [x8, _fec_override_cap_50g@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh20:
	adrp	x8, _pplm_reg@GOTPAGE
Lloh21:
	ldr	x8, [x8, _pplm_reg@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _fec_override_cap_56g@GOTPAGE
Lloh24:
	ldr	x8, [x8, _fec_override_cap_56g@GOTPAGEOFF]
LBB0_12:
	ldr	w2, [x8]
	bl	_MLX5_GET
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_pplm_reg,4,2                   ; @pplm_reg
	.comm	_fec_override_cap_10g_40g,4,2   ; @fec_override_cap_10g_40g
	.comm	_fec_override_cap_25g,4,2       ; @fec_override_cap_25g
	.comm	_fec_override_cap_50g,4,2       ; @fec_override_cap_50g
	.comm	_fec_override_cap_56g,4,2       ; @fec_override_cap_56g
	.comm	_fec_override_cap_100g,4,2      ; @fec_override_cap_100g
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mlx5e_get_fec_cap_field
.subsections_via_symbols
