	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_fill_fw_str              ## -- Begin function bnx2x_fill_fw_str
	.p2align	4, 0x90
_bnx2x_fill_fw_str:                     ## @bnx2x_fill_fw_str
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	_PHY_FW_VER_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movb	$0, (%r14)
	leaq	8(%rbx), %rdi
	movl	(%r13), %edx
	movq	%r14, %rsi
	callq	_bnx2x_get_ext_phy_fw_version
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_strlcpy
	movl	4(%rbx), %edi
	callq	_strlen
	movslq	%eax, %r12
	addq	%r15, %r12
	movl	4(%rbx), %edi
	callq	_strlen
	movl	$32, %esi
	subl	%eax, %esi
	movl	(%rbx), %ecx
	movzbl	%ch, %eax
	movzbl	%cl, %r9d
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	cmpb	$0, (%r14)
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rdx, %rbx
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movl	%eax, %r8d
	pushq	%r14
	pushq	%rbx
	callq	_snprintf
	addq	$16, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.2:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vf_fill_fw_str           ## TAILCALL
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_FW_VER_LEN,4,2             ## @PHY_FW_VER_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bc %d.%d.%d%s%s"

L_.str.1:                               ## @.str.1
	.asciz	" phy "

L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_fill_fw_str              ; -- Begin function bnx2x_fill_fw_str
	.p2align	2
_bnx2x_fill_fw_str:                     ; @bnx2x_fill_fw_str
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_IS_PF
	cbz	x0, LBB0_3
; %bb.1:
	mov	x23, sp
Lloh3:
	adrp	x12, _PHY_FW_VER_LEN@GOTPAGE
Lloh4:
	ldr	x12, [x12, _PHY_FW_VER_LEN@GOTPAGEOFF]
	ldr	w8, [x12]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	strb	wzr, [x22]
	add	x0, x19, #8
	ldr	w2, [x12]
	mov	x1, x22
	bl	_bnx2x_get_ext_phy_fw_version
	ldr	w1, [x19, #4]
	mov	x0, x20
	mov	x2, x21
	bl	_strlcpy
	ldr	w0, [x19, #4]
	bl	_strlen
	add	x20, x20, w0, sxtw
	ldr	w0, [x19, #4]
	bl	_strlen
	mov	w8, #32
	sub	w1, w8, w0
	ldr	w8, [x19]
	ubfx	w3, w8, #16, #8
	ubfx	w4, w8, #8, #8
	and	w5, w8, #0xff
	ldrb	w8, [x22]
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh9:
	adrp	x10, l_.str.2@PAGE
Lloh10:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	w8, #0
	csel	x6, x10, x9, eq
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x7, x22
	bl	_snprintf
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.2:
	mov	sp, x23
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_bnx2x_vf_fill_fw_str
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_FW_VER_LEN,4,2             ; @PHY_FW_VER_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bc %d.%d.%d%s%s"

l_.str.1:                               ; @.str.1
	.asciz	" phy "

l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
