	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_parse_fiber_link_mode
_hclge_parse_fiber_link_mode:           ## @hclge_parse_fiber_link_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	8(%rdi), %rbx
	movq	_HCLGE_SUPPORT_1G_BIT@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_ETHTOOL_LINK_MODE_1000baseX_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_linkmode_set_bit
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_hclge_convert_setting_sr
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_hclge_convert_setting_lr
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_hclge_convert_setting_cr
	movq	(%r14), %rax
	cmpl	$33, (%rax)
	jl	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_hclge_convert_setting_fec
LBB0_4:
	movq	_ETHTOOL_LINK_MODE_FIBRE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_Pause_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_FEC_NONE_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_linkmode_set_bit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_SUPPORT_1G_BIT,4,2       ## @HCLGE_SUPPORT_1G_BIT
	.comm	_ETHTOOL_LINK_MODE_1000baseX_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseX_Full_BIT
	.comm	_ETHTOOL_LINK_MODE_FIBRE_BIT,4,2 ## @ETHTOOL_LINK_MODE_FIBRE_BIT
	.comm	_ETHTOOL_LINK_MODE_Pause_BIT,4,2 ## @ETHTOOL_LINK_MODE_Pause_BIT
	.comm	_ETHTOOL_LINK_MODE_FEC_NONE_BIT,4,2 ## @ETHTOOL_LINK_MODE_FEC_NONE_BIT
	.no_dead_strip	_hclge_parse_fiber_link_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_parse_fiber_link_mode
_hclge_parse_fiber_link_mode:           ; @hclge_parse_fiber_link_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	add	x19, x0, #8
Lloh0:
	adrp	x8, _HCLGE_SUPPORT_1G_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_SUPPORT_1G_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseX_Full_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseX_Full_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
LBB0_2:
	mov	x0, x19
	mov	x1, x21
	bl	_hclge_convert_setting_sr
	mov	x0, x19
	mov	x1, x21
	bl	_hclge_convert_setting_lr
	mov	x0, x19
	mov	x1, x21
	bl	_hclge_convert_setting_cr
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #33
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_hclge_convert_setting_fec
LBB0_4:
Lloh6:
	adrp	x8, _ETHTOOL_LINK_MODE_FIBRE_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_FIBRE_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
Lloh9:
	adrp	x8, _ETHTOOL_LINK_MODE_Pause_BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_Pause_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
Lloh12:
	adrp	x8, _ETHTOOL_LINK_MODE_FEC_NONE_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_FEC_NONE_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_linkmode_set_bit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_SUPPORT_1G_BIT,4,2       ; @HCLGE_SUPPORT_1G_BIT
	.comm	_ETHTOOL_LINK_MODE_1000baseX_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseX_Full_BIT
	.comm	_ETHTOOL_LINK_MODE_FIBRE_BIT,4,2 ; @ETHTOOL_LINK_MODE_FIBRE_BIT
	.comm	_ETHTOOL_LINK_MODE_Pause_BIT,4,2 ; @ETHTOOL_LINK_MODE_Pause_BIT
	.comm	_ETHTOOL_LINK_MODE_FEC_NONE_BIT,4,2 ; @ETHTOOL_LINK_MODE_FEC_NONE_BIT
	.no_dead_strip	_hclge_parse_fiber_link_mode
.subsections_via_symbols
