	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_stats_update
_bnx2x_stats_update:                    ## @bnx2x_stats_update
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_bnx2x_sp
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_bnx2x_edebug_stats_stopped
	testq	%rax, %rax
	je	LBB0_1
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	(%r14), %rax
	movq	_DMAE_COMP_VAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.3:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_bnx2x_hw_stats_update
LBB0_5:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movl	12(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 12(%rbx)
	cmpl	$3, %eax
	jne	LBB0_13
## %bb.7:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_panic                    ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
LBB0_9:
	movq	%rbx, %rdi
	callq	_bnx2x_net_stats_update
	movq	%rbx, %rdi
	callq	_bnx2x_drv_stats_update
	movq	%rbx, %rdi
	callq	_IS_VF
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	callq	_netif_msg_timer
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	8(%rbx), %edx
	movl	(%rbx), %edi
	movl	4(%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_dbg
LBB0_12:
	movq	%rbx, %rdi
	callq	_bnx2x_hw_stats_post
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_storm_stats_post         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAE_COMP_VAL,8,3              ## @DMAE_COMP_VAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"storm stats were not updated for 3 times\n"

L_.str.1:                               ## @.str.1
	.asciz	"brb drops %u  brb truncate %u\n"

	.comm	_stats_comp,8,3                 ## @stats_comp
	.no_dead_strip	_bnx2x_stats_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_stats_update
_bnx2x_stats_update:                    ; @bnx2x_stats_update
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_bnx2x_sp
	mov	x20, x0
	mov	x0, x19
	bl	_bnx2x_edebug_stats_stopped
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _DMAE_COMP_VAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMAE_COMP_VAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_bnx2x_hw_stats_update
LBB0_6:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w8, [x19, #12]
	add	w9, w8, #1
	str	w9, [x19, #12]
	cmp	w8, #3
	b.ne	LBB0_1
; %bb.8:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_panic
LBB0_9:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
LBB0_10:
	mov	x0, x19
	bl	_bnx2x_net_stats_update
	mov	x0, x19
	bl	_bnx2x_drv_stats_update
	mov	x0, x19
	bl	_IS_VF
	cbnz	x0, LBB0_1
; %bb.11:
	mov	x0, x19
	bl	_netif_msg_timer
	cbz	x0, LBB0_13
; %bb.12:
	ldp	w3, w2, [x19, #4]
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
LBB0_13:
	mov	x0, x19
	bl	_bnx2x_hw_stats_post
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_storm_stats_post
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAE_COMP_VAL,8,3              ; @DMAE_COMP_VAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"storm stats were not updated for 3 times\n"

l_.str.1:                               ; @.str.1
	.asciz	"brb drops %u  brb truncate %u\n"

	.comm	_stats_comp,8,3                 ; @stats_comp
	.no_dead_strip	_bnx2x_stats_update
.subsections_via_symbols
