	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_stats_safe_exec          ## -- Begin function bnx2x_stats_safe_exec
	.p2align	4, 0x90
_bnx2x_stats_safe_exec:                 ## @bnx2x_stats_safe_exec
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	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
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_down_timeout
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
	jmp	LBB0_36
LBB0_2:
	movq	%rbx, %rdi
	callq	_bnx2x_stats_comp
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.3:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.6:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_8:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.9:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_11:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.12:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_14:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.15:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_17:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.18:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_20:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.21:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_23:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.24:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_26:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.27:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_29:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.30:
	movq	%rbx, %rdi
	callq	_bnx2x_storm_stats_update
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
LBB0_32:
	cmpq	$0, 8(%rbx)
	je	LBB0_34
## %bb.33:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_35
LBB0_34:
	movq	%r12, %rdi
	callq	*%r15
LBB0_35:
	movq	%rbx, %rdi
	callq	_up
LBB0_36:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HZ,4,2                         ## @HZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to take statistics lock for safe execution\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to wait for stats pending to clear [possibly FW is stuck]\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_stats_safe_exec          ; -- Begin function bnx2x_stats_safe_exec
	.p2align	2
_bnx2x_stats_safe_exec:                 ; @bnx2x_stats_safe_exec
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
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
	bl	_down_timeout
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_36
LBB0_2:
	mov	x0, x19
	bl	_bnx2x_stats_comp
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.3:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.6:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_8
; %bb.7:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.9:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_11
; %bb.10:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_11:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.12:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_14
; %bb.13:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_14:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.15:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_17
; %bb.16:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_17:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.18:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_20
; %bb.19:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_20:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.21:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_23
; %bb.22:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_23:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.24:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_26
; %bb.25:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_26:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.27:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_29
; %bb.28:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_29:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.30:
	mov	x0, x19
	bl	_bnx2x_storm_stats_update
	cbz	x0, LBB0_32
; %bb.31:
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
LBB0_32:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_34
; %bb.33:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_35
LBB0_34:
	mov	x0, x22
	blr	x21
LBB0_35:
	mov	x0, x19
	bl	_up
LBB0_36:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HZ,4,2                         ; @HZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to take statistics lock for safe execution\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to wait for stats pending to clear [possibly FW is stuck]\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
