	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_convert_setting_cr
_hclge_convert_setting_cr:              ## @hclge_convert_setting_cr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_HCLGE_SUPPORT_10G_BIT@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_ETHTOOL_LINK_MODE_10000baseCR_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_linkmode_set_bit
LBB0_2:
	movq	_HCLGE_SUPPORT_25G_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ETHTOOL_LINK_MODE_25000baseCR_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_linkmode_set_bit
LBB0_4:
	movq	_HCLGE_SUPPORT_40G_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_linkmode_set_bit
LBB0_6:
	movq	_HCLGE_SUPPORT_50G_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_linkmode_set_bit
LBB0_8:
	movq	_HCLGE_SUPPORT_100G_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_9
## %bb.10:
	movq	_ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_linkmode_set_bit               ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_SUPPORT_10G_BIT,4,2      ## @HCLGE_SUPPORT_10G_BIT
	.comm	_ETHTOOL_LINK_MODE_10000baseCR_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_10000baseCR_Full_BIT
	.comm	_HCLGE_SUPPORT_25G_BIT,4,2      ## @HCLGE_SUPPORT_25G_BIT
	.comm	_ETHTOOL_LINK_MODE_25000baseCR_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_25000baseCR_Full_BIT
	.comm	_HCLGE_SUPPORT_40G_BIT,4,2      ## @HCLGE_SUPPORT_40G_BIT
	.comm	_ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT
	.comm	_HCLGE_SUPPORT_50G_BIT,4,2      ## @HCLGE_SUPPORT_50G_BIT
	.comm	_ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT
	.comm	_HCLGE_SUPPORT_100G_BIT,4,2     ## @HCLGE_SUPPORT_100G_BIT
	.comm	_ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT
	.no_dead_strip	_hclge_convert_setting_cr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_convert_setting_cr
_hclge_convert_setting_cr:              ; @hclge_convert_setting_cr
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _HCLGE_SUPPORT_10G_BIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_SUPPORT_10G_BIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ETHTOOL_LINK_MODE_10000baseCR_Full_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_10000baseCR_Full_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
LBB0_2:
Lloh6:
	adrp	x8, _HCLGE_SUPPORT_25G_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_SUPPORT_25G_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ETHTOOL_LINK_MODE_25000baseCR_Full_BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_25000baseCR_Full_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
LBB0_4:
Lloh12:
	adrp	x8, _HCLGE_SUPPORT_40G_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HCLGE_SUPPORT_40G_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
LBB0_6:
Lloh18:
	adrp	x8, _HCLGE_SUPPORT_50G_BIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HCLGE_SUPPORT_50G_BIT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_linkmode_set_bit
LBB0_8:
Lloh24:
	adrp	x8, _HCLGE_SUPPORT_100G_BIT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HCLGE_SUPPORT_100G_BIT@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
Lloh27:
	adrp	x8, _ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_linkmode_set_bit
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_SUPPORT_10G_BIT,4,2      ; @HCLGE_SUPPORT_10G_BIT
	.comm	_ETHTOOL_LINK_MODE_10000baseCR_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_10000baseCR_Full_BIT
	.comm	_HCLGE_SUPPORT_25G_BIT,4,2      ; @HCLGE_SUPPORT_25G_BIT
	.comm	_ETHTOOL_LINK_MODE_25000baseCR_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_25000baseCR_Full_BIT
	.comm	_HCLGE_SUPPORT_40G_BIT,4,2      ; @HCLGE_SUPPORT_40G_BIT
	.comm	_ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_40000baseCR4_Full_BIT
	.comm	_HCLGE_SUPPORT_50G_BIT,4,2      ; @HCLGE_SUPPORT_50G_BIT
	.comm	_ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_50000baseCR2_Full_BIT
	.comm	_HCLGE_SUPPORT_100G_BIT,4,2     ; @HCLGE_SUPPORT_100G_BIT
	.comm	_ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_100000baseCR4_Full_BIT
	.no_dead_strip	_hclge_convert_setting_cr
.subsections_via_symbols
