	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_update_mng_version_utility
_bnx2x_update_mng_version_utility:      ## @bnx2x_update_mng_version_utility
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	leaq	-28(%rbp), %rcx
	leaq	-24(%rbp), %r8
	leaq	-20(%rbp), %r9
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_sscanf
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	addl	$-48, -32(%rbp)
	cmpl	$3, %eax
	jg	LBB0_6
LBB0_5:
	cltq
	leaq	-32(,%rax,4), %rdi
	addq	%rbp, %rdi
	movl	$3, %ecx
	subl	%eax, %ecx
	leaq	4(,%rcx,4), %rsi
	callq	___bzero
LBB0_6:
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %ecx
	shll	$24, %eax
	shll	$16, %ecx
	orl	%eax, %ecx
	movl	-24(%rbp), %eax
	shll	$8, %eax
	orl	%ecx, %eax
	orl	-20(%rbp), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_sscanf
	cmpl	$3, %eax
	jle	LBB0_5
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1.%c%hhd.%hhd.%hhd"

L_.str.1:                               ## @.str.1
	.asciz	"%hhd.%hhd.%hhd.%hhd"

	.no_dead_strip	_bnx2x_update_mng_version_utility
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_update_mng_version_utility
_bnx2x_update_mng_version_utility:      ; @bnx2x_update_mng_version_utility
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	add	x8, sp, #8
	add	x3, x8, #4
	add	x4, x8, #8
	add	x5, x8, #12
	cbz	w1, LBB0_6
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_sscanf
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	w8, [sp, #8]
	sub	w8, w8, #48
	str	w8, [sp, #8]
	cmp	w0, #3
	b.gt	LBB0_4
LBB0_3:
	add	x8, sp, #8
	add	x8, x8, w0, sxtw #2
	mov	w9, #3
	sub	w9, w9, w0
	lsl	x9, x9, #2
	add	x1, x9, #4
	mov	x0, x8
	bl	_bzero
LBB0_4:
	ldp	w8, w11, [sp, #8]
	ldp	w9, w10, [sp, #16]
	ldur	x12, [x29, #-8]
Lloh5:
	adrp	x13, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x13, [x13, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x13, [x13]
	cmp	x13, x12
	b.ne	LBB0_7
; %bb.5:
	lsl	w11, w11, #16
	orr	w8, w11, w8, lsl #24
	orr	w8, w8, w9, lsl #8
	orr	w0, w8, w10
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_sscanf
	cmp	w0, #3
	b.le	LBB0_3
	b	LBB0_4
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1.%c%hhd.%hhd.%hhd"

l_.str.1:                               ; @.str.1
	.asciz	"%hhd.%hhd.%hhd.%hhd"

	.no_dead_strip	_bnx2x_update_mng_version_utility
.subsections_via_symbols
