	.file	"extr_master.c_dsa_master_get_strings.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"p%.2d"
	.text
	.p2align 4
	.type	dsa_master_get_strings, @function
dsa_master_get_strings:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	mov	esi, 4
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 16[rsp], rdx
	lea	r14, 36[rsp]
	lea	rdx, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rdi]
	mov	rdi, r14
	mov	ebp, DWORD PTR [rax]
	mov	r10, QWORD PTR 16[rax]
	mov	r12, QWORD PTR 8[rax]
	mov	eax, DWORD PTR ETH_GSTRING_LEN[rip]
	mov	ecx, ebp
	mov	QWORD PTR 24[rsp], r10
	mov	DWORD PTR 12[rsp], eax
	call	snprintf@PLT
	mov	BYTE PTR 39[rsp], 95
	mov	r10, QWORD PTR 24[rsp]
	cmp	DWORD PTR ETH_SS_PHY_STATS[rip], r15d
	je	.L22
.L2:
	mov	rax, QWORD PTR [r10]
	test	rax, rax
	je	.L5
	cmp	QWORD PTR 8[r10], 0
	mov	QWORD PTR 24[rsp], r10
	je	.L5
	mov	esi, r15d
	mov	rdi, rbx
	call	rax
	mov	edx, 0
	mov	r10, QWORD PTR 24[rsp]
	mov	esi, r15d
	test	eax, eax
	mov	rdi, rbx
	cmovns	edx, eax
	mov	r13d, edx
	mov	rdx, QWORD PTR 16[rsp]
	call	[QWORD PTR 8[r10]]
	mov	rax, QWORD PTR [r12]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L23
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L2
	mov	eax, DWORD PTR 16[r10]
	test	eax, eax
	jne	.L2
	call	phy_ethtool_get_sset_count@PLT
	mov	r13d, eax
	test	eax, eax
	jns	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r13d, r13d
.L4:
	mov	rax, QWORD PTR [r12]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L1
.L23:
	mov	edx, r13d
	mov	r13d, DWORD PTR 12[rsp]
	mov	esi, ebp
	mov	rdi, r12
	imul	edx, r13d
	movsx	rbx, edx
	add	rbx, QWORD PTR 16[rsp]
	mov	edx, r15d
	mov	rcx, rbx
	call	rax
	mov	rax, QWORD PTR [r12]
	mov	edx, r15d
	mov	esi, ebp
	mov	rdi, r12
	call	[QWORD PTR [rax]]
	mov	DWORD PTR 16[rsp], eax
	test	eax, eax
	je	.L1
	lea	r15d, -4[r13]
	xor	r12d, r12d
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, r12d
	mov	edx, r15d
	add	ebp, 1
	lea	r13, [rbx+rax]
	lea	rdi, 4[rbx+rax]
	mov	rsi, r13
	call	memmove@PLT
	mov	edx, 4
	mov	rsi, r14
	mov	rdi, r13
	call	memcpy@PLT
	add	r12d, DWORD PTR 12[rsp]
	cmp	ebp, DWORD PTR 16[rsp]
	jne	.L8
	jmp	.L1
.L3:
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR [rbx]
	call	phy_ethtool_get_strings@PLT
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dsa_master_get_strings, .-dsa_master_get_strings
	.comm	ETH_SS_PHY_STATS,4,4
	.comm	ETH_GSTRING_LEN,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_master.c_dsa_master_get_strings.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"p%.2d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsa_master_get_strings, %function
dsa_master_get_strings:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, [r0, #4]
	sub	sp, sp, #12
	ldr	r9, [ip]
	ldr	lr, .L28
	ldr	r4, .L28+4
	mov	r5, r1
	ldmib	ip, {r10, fp}
	mov	r3, r9
	mov	r6, r0
	mov	r7, r2
	mov	r0, sp
	ldr	r2, .L28+8
	mov	r1, #4
	ldr	r4, [r4]
	str	r4, [sp, #4]
	mov	r4,#0
	ldr	r8, [lr]
	bl	snprintf
	mov	r2, #95
	ldr	r3, .L28+12
	strb	r2, [sp, #3]
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L25
.L2:
	ldr	r3, [fp]
	cmp	r3, #0
	beq	.L5
	ldr	r2, [fp, #4]
	cmp	r2, #0
	beq	.L5
	mov	r1, r5
	mov	r0, r6
	blx	r3
	mov	r4, r0
	mov	r2, r7
	mov	r0, r6
	mov	r1, r5
	ldr	fp, [fp, #4]
	blx	fp
	ldr	r3, [r10]
	bic	r4, r4, r4, asr #31
	ldr	r6, [r3, #4]
	cmp	r6, #0
	bne	.L26
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	ldr	r0, [r6]
	cmp	r0, #0
	beq	.L2
	ldr	r3, [fp, #8]
	cmp	r3, #0
	bne	.L2
	bl	phy_ethtool_get_sset_count
	subs	r4, r0, #0
	bge	.L3
.L5:
	mov	r4, #0
.L4:
	ldr	r3, [r10]
	ldr	r6, [r3, #4]
	cmp	r6, #0
	beq	.L1
.L26:
	mla	r4, r8, r4, r7
	mov	r2, r5
	mov	r3, r4
	mov	r1, r9
	mov	r0, r10
	blx	r6
	ldr	r3, [r10]
	mov	r2, r5
	mov	r1, r9
	mov	r0, r10
	ldr	r3, [r3]
	blx	r3
	subs	r7, r0, #0
	beq	.L1
	mov	r5, #0
	add	r4, r4, #4
	sub	r9, r8, #4
.L8:
	sub	r6, r4, #4
	mov	r1, r6
	mov	r2, r9
	mov	r0, r4
	bl	memmove
	add	r5, r5, #1
	mov	r0, r6
	mov	r2, #4
	mov	r1, sp
	bl	memcpy
	cmp	r5, r7
	add	r4, r4, r8
	bne	.L8
	b	.L1
.L3:
	mov	r1, r7
	ldr	r0, [r6]
	bl	phy_ethtool_get_strings
	b	.L4
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	ETH_GSTRING_LEN
	.word	.LC1
	.word	.LC0
	.word	ETH_SS_PHY_STATS
	.size	dsa_master_get_strings, .-dsa_master_get_strings
	.comm	ETH_SS_PHY_STATS,4,4
	.comm	ETH_GSTRING_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
