	.file	"extr_hns_ethtool.c_hns_get_sset_count.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"get_sset_count is null!\n"
	.text
	.p2align 4
	.type	hns_get_sset_count, @function
hns_get_sset_count:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	rdi, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	test	rdx, rdx
	je	.L13
	cmp	DWORD PTR ETH_SS_TEST[rip], ebp
	je	.L14
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	cmp	DWORD PTR ETH_SS_STATS[rip], ebp
	je	.L15
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, ebp
	call	rdx
	add	eax, DWORD PTR HNS_NET_STATS_CNT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	movsx	rcx, DWORD PTR ETH_GSTRING_LEN[rip]
	xor	edx, edx
	mov	eax, 4
	div	rcx
	mov	rcx, QWORD PTR PHY_INTERFACE_MODE_XGMII[rip]
	xor	edx, edx
	cmp	QWORD PTR [rdi], rcx
	sete	dl
	sub	eax, edx
	mov	rdx, QWORD PTR [r12]
	test	rdx, rdx
	je	.L6
	cmp	QWORD PTR [rdx], 0
	je	.L1
.L6:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	sub	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	netdev_err@PLT
	mov	eax, DWORD PTR EOPNOTSUPP[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	hns_get_sset_count, .-hns_get_sset_count
	.comm	PHY_INTERFACE_MODE_XGMII,8,8
	.comm	HNS_NET_STATS_CNT,4,4
	.comm	ETH_SS_TEST,4,4
	.comm	ETH_SS_STATS,4,4
	.comm	ETH_GSTRING_LEN,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_hns_ethtool.c_hns_get_sset_count.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"get_sset_count is null!\012\000"
	.global	__aeabi_uidiv
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hns_get_sset_count, %function
hns_get_sset_count:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	netdev_priv
	ldr	r6, [r0]
	ldr	r3, [r6, #4]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L16
	ldr	r2, .L19
	ldr	r2, [r2]
	cmp	r2, r4
	beq	.L17
	ldr	r2, .L19+4
	ldr	r1, [r2]
	cmp	r1, r4
	beq	.L18
	ldr	r3, .L19+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L18:
	mov	r0, r6
	blx	r3
	ldr	r3, .L19+12
	ldr	r3, [r3]
	add	r0, r0, r3
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r3, .L19+16
	mov	r0, #4
	ldr	r1, [r3]
	bl	__aeabi_uidiv
	ldr	r3, .L19+20
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	ldr	r3, [r5]
	subeq	r0, r0, #1
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r3]
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
.L6:
	sub	r0, r0, #1
	pop	{r4, r5, r6, pc}
.L16:
	mov	r0, r5
	ldr	r1, .L19+24
	bl	netdev_err
	ldr	r3, .L19+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	ETH_SS_TEST
	.word	ETH_SS_STATS
	.word	EOPNOTSUPP
	.word	HNS_NET_STATS_CNT
	.word	ETH_GSTRING_LEN
	.word	PHY_INTERFACE_MODE_XGMII
	.word	.LC0
	.size	hns_get_sset_count, .-hns_get_sset_count
	.comm	PHY_INTERFACE_MODE_XGMII,4,4
	.comm	HNS_NET_STATS_CNT,4,4
	.comm	ETH_SS_TEST,4,4
	.comm	ETH_SS_STATS,4,4
	.comm	ETH_GSTRING_LEN,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
