	.file	"extr_bnx2x_cmn.c_bnx2x_fill_fw_str.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" phy "
.LC1:
	.string	""
.LC2:
	.string	"bc %d.%d.%d%s%s"
	.text
	.p2align 4
	.globl	bnx2x_fill_fw_str
	.type	bnx2x_fill_fw_str, @function
bnx2x_fill_fw_str:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rdx
	push	r13
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	call	IS_PF@PLT
	test	rax, rax
	je	.L2
	movsx	rax, DWORD PTR PHY_FW_VER_LEN[rip]
	mov	rcx, rsp
	mov	rbx, rsp
	mov	r8, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L4
.L15:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L15
.L4:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	je	.L5
	or	QWORD PTR -8[rsp+rdx], 0
.L5:
	mov	BYTE PTR [rsp], 0
	mov	edx, r8d
	mov	rsi, rsp
	lea	rdi, 8[r12]
	call	bnx2x_get_ext_phy_fw_version@PLT
	mov	esi, DWORD PTR 4[r12]
	mov	rdx, r14
	mov	rdi, r13
	call	strlcpy@PLT
	cmp	BYTE PTR [rsp], 0
	mov	edi, DWORD PTR 4[r12]
	lea	rdx, .LC0[rip]
	lea	rax, .LC1[rip]
	mov	r15d, DWORD PTR [r12]
	cmovne	rax, rdx
	mov	r14, rax
	call	strlen@PLT
	mov	edi, DWORD PTR 4[r12]
	mov	DWORD PTR -68[rbp], eax
	call	strlen@PLT
	mov	ecx, r15d
	movzx	r9d, r15b
	mov	esi, 32
	movzx	ecx, ch
	sub	esi, DWORD PTR -68[rbp]
	push	rsp
	movsx	rdi, eax
	push	r14
	mov	r8d, ecx
	mov	ecx, r15d
	add	rdi, r13
	sar	ecx, 16
	lea	rdx, .LC2[rip]
	movzx	ecx, cl
	call	snprintf@PLT
	mov	rsp, rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r12
	call	bnx2x_vf_fill_fw_str@PLT
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_fill_fw_str, .-bnx2x_fill_fw_str
	.comm	PHY_FW_VER_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_bnx2x_cmn.c_bnx2x_fill_fw_str.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" phy \000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"bc %d.%d.%d%s%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bnx2x_fill_fw_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_fill_fw_str, %function
bnx2x_fill_fw_str:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #28
	ldr	r3, .L10
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r4, r0
	bl	IS_PF
	cmp	r0, #0
	beq	.L2
	mov	r1, #0
	ldr	r3, .L10+4
	mov	r7, sp
	ldr	r2, [r3]
	add	r0, r4, #8
	add	r3, r2, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	add	r8, sp, #16
	strb	r1, [sp, #16]
	mov	r1, r8
	bl	bnx2x_get_ext_phy_fw_version
	mov	r2, r6
	ldr	r1, [r4, #4]
	mov	r0, r5
	bl	strlcpy
	ldr	r0, [r4, #4]
	bl	strlen
	mov	r1, r0
	ldr	r0, [r4, #4]
	add	r5, r5, r1
	bl	strlen
	mov	r1, r0
	ldrb	r0, [sp, #16]	@ zero_extendqisi2
	ldr	r2, .L10+8
	cmp	r0, #0
	ldr	ip, .L10+12
	moveq	ip, r2
	ldr	r3, [r4]
	mov	r0, r5
	asr	r2, r3, #8
	and	lr, r3, #255
	and	r2, r2, #255
	asr	r3, r3, #16
	stm	sp, {r2, lr}
	str	r8, [sp, #12]
	str	ip, [sp, #8]
	ldr	r2, .L10+16
	rsb	r1, r1, #32
	and	r3, r3, #255
	bl	snprintf
	mov	sp, r7
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L2:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	bnx2x_vf_fill_fw_str
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	PHY_FW_VER_LEN
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	bnx2x_fill_fw_str, .-bnx2x_fill_fw_str
	.comm	PHY_FW_VER_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
