	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_get_sset_count
_hclge_get_sset_count:                  ## @hclge_get_sset_count
	.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, %ebx
	movq	%rdi, %r14
	callq	_hclge_get_vport
	movq	_ETH_SS_TEST@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jne	LBB0_8
## %bb.1:
	movq	_HNAE3_SUPPORT_APP_LOOPBACK@GOTPCREL(%rip), %rcx
	movq	_HNAE3_SUPPORT_PHY_LOOPBACK@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	orl	(%rcx), %edx
	movq	_HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK@GOTPCREL(%rip), %r9
	orl	(%r9), %edx
	movq	_HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK@GOTPCREL(%rip), %rdi
	orl	(%rdi), %edx
	movq	(%rax), %rbx
	notl	%edx
	andl	(%r14), %edx
	movl	%edx, (%r14)
	movq	16(%rbx), %rax
	cmpl	$32, (%rax)
	jle	LBB0_2
LBB0_5:
	orl	(%rcx), %edx
	movl	%edx, (%r14)
	movl	$3, %eax
	jmp	LBB0_6
LBB0_8:
	movq	_ETH_SS_STATS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%ebx, (%rcx)
	jne	LBB0_10
## %bb.9:
	movq	_g_mac_stats_string@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r15d
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hclge_tqps_get_sset_count
	addl	%r15d, %eax
	jmp	LBB0_10
LBB0_2:
	movq	(%rbx), %rsi
	movq	_HCLGE_MAC_SPEED_10M@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_5
## %bb.3:
	movq	_HCLGE_MAC_SPEED_100M@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_5
## %bb.4:
	movq	_HCLGE_MAC_SPEED_1G@GOTPCREL(%rip), %r10
	movl	$2, %eax
	cmpq	(%r10), %rsi
	je	LBB0_5
LBB0_6:
	orl	(%r9), %edx
	movl	%edx, (%r14)
	orl	(%rdi), %edx
	movl	%edx, (%r14)
	cmpq	$0, 8(%rbx)
	je	LBB0_10
## %bb.7:
	incl	%eax
	orl	(%r8), %edx
	movl	%edx, (%r14)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_SS_TEST,4,2                ## @ETH_SS_TEST
	.comm	_HNAE3_SUPPORT_APP_LOOPBACK,4,2 ## @HNAE3_SUPPORT_APP_LOOPBACK
	.comm	_HNAE3_SUPPORT_PHY_LOOPBACK,4,2 ## @HNAE3_SUPPORT_PHY_LOOPBACK
	.comm	_HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK,4,2 ## @HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK
	.comm	_HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK,4,2 ## @HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK
	.comm	_HCLGE_MAC_SPEED_10M,8,3        ## @HCLGE_MAC_SPEED_10M
	.comm	_HCLGE_MAC_SPEED_100M,8,3       ## @HCLGE_MAC_SPEED_100M
	.comm	_HCLGE_MAC_SPEED_1G,8,3         ## @HCLGE_MAC_SPEED_1G
	.comm	_ETH_SS_STATS,4,2               ## @ETH_SS_STATS
	.comm	_g_mac_stats_string,4,2         ## @g_mac_stats_string
	.comm	_HCLGE_LOOPBACK_TEST_FLAGS,4,2  ## @HCLGE_LOOPBACK_TEST_FLAGS
	.no_dead_strip	_hclge_get_sset_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_get_sset_count
_hclge_get_sset_count:                  ; @hclge_get_sset_count
	.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	x20, x1
	mov	x19, x0
	bl	_hclge_get_vport
Lloh0:
	adrp	x8, _ETH_SS_TEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_SS_TEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_6
; %bb.1:
	ldr	x8, [x0]
	ldr	w12, [x19]
Lloh3:
	adrp	x13, _HNAE3_SUPPORT_APP_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x13, [x13, _HNAE3_SUPPORT_APP_LOOPBACK@GOTPAGEOFF]
	ldr	w11, [x13]
Lloh5:
	adrp	x9, _HNAE3_SUPPORT_PHY_LOOPBACK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HNAE3_SUPPORT_PHY_LOOPBACK@GOTPAGEOFF]
	ldr	w14, [x9]
Lloh7:
	adrp	x10, _HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK@GOTPAGE
Lloh8:
	ldr	x10, [x10, _HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK@GOTPAGEOFF]
	orr	w11, w14, w11
	ldr	w14, [x10]
	orr	w14, w11, w14
Lloh9:
	adrp	x11, _HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK@GOTPAGE
Lloh10:
	ldr	x11, [x11, _HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK@GOTPAGEOFF]
	ldr	w15, [x11]
	orr	w14, w14, w15
	bic	w12, w12, w14
	str	w12, [x19]
	ldr	x14, [x8, #16]
	ldr	w14, [x14]
	cmp	w14, #32
	b.gt	LBB0_8
; %bb.2:
	ldr	x14, [x8]
Lloh11:
	adrp	x15, _HCLGE_MAC_SPEED_10M@GOTPAGE
Lloh12:
	ldr	x15, [x15, _HCLGE_MAC_SPEED_10M@GOTPAGEOFF]
Lloh13:
	ldr	x15, [x15]
	cmp	x14, x15
	b.eq	LBB0_8
; %bb.3:
Lloh14:
	adrp	x15, _HCLGE_MAC_SPEED_100M@GOTPAGE
Lloh15:
	ldr	x15, [x15, _HCLGE_MAC_SPEED_100M@GOTPAGEOFF]
Lloh16:
	ldr	x15, [x15]
	cmp	x14, x15
	b.eq	LBB0_8
; %bb.4:
Lloh17:
	adrp	x15, _HCLGE_MAC_SPEED_1G@GOTPAGE
Lloh18:
	ldr	x15, [x15, _HCLGE_MAC_SPEED_1G@GOTPAGEOFF]
Lloh19:
	ldr	x15, [x15]
	cmp	x14, x15
	b.eq	LBB0_8
; %bb.5:
	mov	w0, #2
	b	LBB0_9
LBB0_6:
Lloh20:
	adrp	x8, _ETH_SS_STATS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ETH_SS_STATS@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_11
; %bb.7:
Lloh23:
	adrp	x8, _g_mac_stats_string@GOTPAGE
Lloh24:
	ldr	x8, [x8, _g_mac_stats_string@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_hclge_tqps_get_sset_count
	add	w0, w0, w21
	b	LBB0_12
LBB0_8:
	ldr	w13, [x13]
	orr	w12, w13, w12
	str	w12, [x19]
	mov	w0, #3
LBB0_9:
	ldr	w10, [x10]
	orr	w10, w12, w10
	str	w10, [x19]
	ldr	w11, [x11]
	orr	w10, w11, w10
	str	w10, [x19]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.10:
	add	w0, w0, #1
	ldr	w8, [x9]
	orr	w8, w8, w10
	str	w8, [x19]
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_SS_TEST,4,2                ; @ETH_SS_TEST
	.comm	_HNAE3_SUPPORT_APP_LOOPBACK,4,2 ; @HNAE3_SUPPORT_APP_LOOPBACK
	.comm	_HNAE3_SUPPORT_PHY_LOOPBACK,4,2 ; @HNAE3_SUPPORT_PHY_LOOPBACK
	.comm	_HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK,4,2 ; @HNAE3_SUPPORT_SERDES_SERIAL_LOOPBACK
	.comm	_HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK,4,2 ; @HNAE3_SUPPORT_SERDES_PARALLEL_LOOPBACK
	.comm	_HCLGE_MAC_SPEED_10M,8,3        ; @HCLGE_MAC_SPEED_10M
	.comm	_HCLGE_MAC_SPEED_100M,8,3       ; @HCLGE_MAC_SPEED_100M
	.comm	_HCLGE_MAC_SPEED_1G,8,3         ; @HCLGE_MAC_SPEED_1G
	.comm	_ETH_SS_STATS,4,2               ; @ETH_SS_STATS
	.comm	_g_mac_stats_string,4,2         ; @g_mac_stats_string
	.comm	_HCLGE_LOOPBACK_TEST_FLAGS,4,2  ; @HCLGE_LOOPBACK_TEST_FLAGS
	.no_dead_strip	_hclge_get_sset_count
.subsections_via_symbols
