	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_stats_stop
_bnx2x_stats_stop:                      ## @bnx2x_stats_stop
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$34, %rsi
	addl	%eax, %esi
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_down_timeout
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
LBB0_2:
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_bnx2x_stats_comp
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	callq	_bnx2x_hw_stats_update
	xorl	%r15d, %r15d
	testq	%rax, %rax
	sete	%r15b
	jmp	LBB0_5
LBB0_3:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	orl	%r15d, %ecx
	je	LBB0_9
## %bb.6:
	movq	%rbx, %rdi
	callq	_bnx2x_net_stats_update
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_bnx2x_port_stats_stop
LBB0_8:
	movq	%rbx, %rdi
	callq	_bnx2x_hw_stats_post
	movq	%rbx, %rdi
	callq	_bnx2x_stats_comp
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_up                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to acquire stats lock\n"

	.no_dead_strip	_bnx2x_stats_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_stats_stop
_bnx2x_stats_stop:                      ; @bnx2x_stats_stop
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	add	x19, x0, #4
Lloh0:
	adrp	x8, _HZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w1, w8, w9
	mov	x0, x19
	bl	_down_timeout
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
LBB0_2:
	str	wzr, [x20]
	mov	x0, x20
	bl	_bnx2x_stats_comp
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_bnx2x_hw_stats_update
	cmp	x0, #0
	cset	w21, eq
	b	LBB0_5
LBB0_4:
	mov	w21, #0
LBB0_5:
	mov	x0, x20
	bl	_bnx2x_storm_stats_update
	cmp	x0, #0
	cset	w8, eq
	orr	w8, w21, w8
	cbz	w8, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_bnx2x_net_stats_update
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_bnx2x_port_stats_stop
LBB0_8:
	mov	x0, x20
	bl	_bnx2x_hw_stats_post
	mov	x0, x20
	bl	_bnx2x_stats_comp
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_up
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to acquire stats lock\n"

	.no_dead_strip	_bnx2x_stats_stop
.subsections_via_symbols
