	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_parse_copper_link_mode
_hclge_parse_copper_link_mode:          ## @hclge_parse_copper_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movq	_HCLGE_SUPPORT_GE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	movq	(%rdi), %r14
	movq	_HCLGE_SUPPORT_1G_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
LBB0_4:
	movq	_HCLGE_SUPPORT_100M_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ETHTOOL_LINK_MODE_100baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_100baseT_Half_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
LBB0_6:
	movq	_HCLGE_SUPPORT_10M_BIT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ETHTOOL_LINK_MODE_10baseT_Full_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_10baseT_Half_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
LBB0_8:
	movq	_ETHTOOL_LINK_MODE_Autoneg_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_TP_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_Pause_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_linkmode_set_bit
	movq	_ETHTOOL_LINK_MODE_Asym_Pause_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_linkmode_set_bit               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_SUPPORT_GE,4,2           ## @HCLGE_SUPPORT_GE
	.comm	_HCLGE_SUPPORT_1G_BIT,4,2       ## @HCLGE_SUPPORT_1G_BIT
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_HCLGE_SUPPORT_100M_BIT,4,2     ## @HCLGE_SUPPORT_100M_BIT
	.comm	_ETHTOOL_LINK_MODE_100baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_100baseT_Full_BIT
	.comm	_ETHTOOL_LINK_MODE_100baseT_Half_BIT,4,2 ## @ETHTOOL_LINK_MODE_100baseT_Half_BIT
	.comm	_HCLGE_SUPPORT_10M_BIT,4,2      ## @HCLGE_SUPPORT_10M_BIT
	.comm	_ETHTOOL_LINK_MODE_10baseT_Full_BIT,4,2 ## @ETHTOOL_LINK_MODE_10baseT_Full_BIT
	.comm	_ETHTOOL_LINK_MODE_10baseT_Half_BIT,4,2 ## @ETHTOOL_LINK_MODE_10baseT_Half_BIT
	.comm	_ETHTOOL_LINK_MODE_Autoneg_BIT,4,2 ## @ETHTOOL_LINK_MODE_Autoneg_BIT
	.comm	_ETHTOOL_LINK_MODE_TP_BIT,4,2   ## @ETHTOOL_LINK_MODE_TP_BIT
	.comm	_ETHTOOL_LINK_MODE_Pause_BIT,4,2 ## @ETHTOOL_LINK_MODE_Pause_BIT
	.comm	_ETHTOOL_LINK_MODE_Asym_Pause_BIT,4,2 ## @ETHTOOL_LINK_MODE_Asym_Pause_BIT
	.no_dead_strip	_hclge_parse_copper_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_copper_link_mode
_hclge_parse_copper_link_mode:          ; @hclge_parse_copper_link_mode
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _HCLGE_SUPPORT_GE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_SUPPORT_GE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, #0
	csel	w20, w8, w1, eq
Lloh3:
	adrp	x8, _HCLGE_SUPPORT_1G_BIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_SUPPORT_1G_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_1000baseT_Full_BIT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
LBB0_2:
Lloh9:
	adrp	x8, _HCLGE_SUPPORT_100M_BIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_SUPPORT_100M_BIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _ETHTOOL_LINK_MODE_100baseT_Full_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_100baseT_Full_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
Lloh15:
	adrp	x8, _ETHTOOL_LINK_MODE_100baseT_Half_BIT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_100baseT_Half_BIT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
LBB0_4:
Lloh18:
	adrp	x8, _HCLGE_SUPPORT_10M_BIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HCLGE_SUPPORT_10M_BIT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
Lloh21:
	adrp	x8, _ETHTOOL_LINK_MODE_10baseT_Full_BIT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_10baseT_Full_BIT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
Lloh24:
	adrp	x8, _ETHTOOL_LINK_MODE_10baseT_Half_BIT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_10baseT_Half_BIT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
LBB0_6:
Lloh27:
	adrp	x8, _ETHTOOL_LINK_MODE_Autoneg_BIT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_Autoneg_BIT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
Lloh30:
	adrp	x8, _ETHTOOL_LINK_MODE_TP_BIT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_TP_BIT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
Lloh33:
	adrp	x8, _ETHTOOL_LINK_MODE_Pause_BIT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_Pause_BIT@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_linkmode_set_bit
Lloh36:
	adrp	x8, _ETHTOOL_LINK_MODE_Asym_Pause_BIT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ETHTOOL_LINK_MODE_Asym_Pause_BIT@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_linkmode_set_bit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_SUPPORT_GE,4,2           ; @HCLGE_SUPPORT_GE
	.comm	_HCLGE_SUPPORT_1G_BIT,4,2       ; @HCLGE_SUPPORT_1G_BIT
	.comm	_ETHTOOL_LINK_MODE_1000baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_1000baseT_Full_BIT
	.comm	_HCLGE_SUPPORT_100M_BIT,4,2     ; @HCLGE_SUPPORT_100M_BIT
	.comm	_ETHTOOL_LINK_MODE_100baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_100baseT_Full_BIT
	.comm	_ETHTOOL_LINK_MODE_100baseT_Half_BIT,4,2 ; @ETHTOOL_LINK_MODE_100baseT_Half_BIT
	.comm	_HCLGE_SUPPORT_10M_BIT,4,2      ; @HCLGE_SUPPORT_10M_BIT
	.comm	_ETHTOOL_LINK_MODE_10baseT_Full_BIT,4,2 ; @ETHTOOL_LINK_MODE_10baseT_Full_BIT
	.comm	_ETHTOOL_LINK_MODE_10baseT_Half_BIT,4,2 ; @ETHTOOL_LINK_MODE_10baseT_Half_BIT
	.comm	_ETHTOOL_LINK_MODE_Autoneg_BIT,4,2 ; @ETHTOOL_LINK_MODE_Autoneg_BIT
	.comm	_ETHTOOL_LINK_MODE_TP_BIT,4,2   ; @ETHTOOL_LINK_MODE_TP_BIT
	.comm	_ETHTOOL_LINK_MODE_Pause_BIT,4,2 ; @ETHTOOL_LINK_MODE_Pause_BIT
	.comm	_ETHTOOL_LINK_MODE_Asym_Pause_BIT,4,2 ; @ETHTOOL_LINK_MODE_Asym_Pause_BIT
	.no_dead_strip	_hclge_parse_copper_link_mode
.subsections_via_symbols
