	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_stats_handle             ## -- Begin function bnx2x_stats_handle
	.p2align	4, 0x90
_bnx2x_stats_handle:                    ## @bnx2x_stats_handle
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %r14d
	movl	8(%rdi), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	4(%rbx), %r12
	movq	%r12, %rdi
	callq	_down_trylock
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_STATS_EVENT_UPDATE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_6
## %bb.3:
	movq	_BNX2X_MSG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_DP
	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	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_down_timeout
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
LBB0_4:
	movq	_bnx2x_stats_stm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	%r15d, %r13d
	shlq	$4, %r13
	movq	%rbx, %rdi
	callq	*8(%rax,%r13)
	movq	_bnx2x_stats_stm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%r13), %eax
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	callq	_up
	movq	_STATS_EVENT_UPDATE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_8
## %bb.5:
	movq	%rbx, %rdi
	callq	_netif_msg_timer
	testq	%rax, %rax
	je	LBB0_6
LBB0_8:
	movq	_BNX2X_MSG_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %r8d
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATS_EVENT_UPDATE,4,2         ## @STATS_EVENT_UPDATE
	.comm	_BNX2X_MSG_STATS,4,2            ## @BNX2X_MSG_STATS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unlikely stats' lock contention [event %d]\n"

	.comm	_HZ,4,2                         ## @HZ
L_.str.1:                               ## @.str.1
	.asciz	"Failed to take stats lock [event %d]\n"

	.comm	_bnx2x_stats_stm,8,3            ## @bnx2x_stats_stm
L_.str.2:                               ## @.str.2
	.asciz	"state %d -> event %d -> state %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_stats_handle             ; -- Begin function bnx2x_stats_handle
	.p2align	2
_bnx2x_stats_handle:                    ; @bnx2x_stats_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	ldr	w20, [x0]
	ldr	w0, [x0, #8]
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	add	x22, x21, #4
	mov	x0, x22
	bl	_down_trylock
Lloh0:
	adrp	x23, _STATS_EVENT_UPDATE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _STATS_EVENT_UPDATE@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x23]
	cmp	w8, w19
	b.eq	LBB0_1
; %bb.4:
Lloh2:
	adrp	x8, _BNX2X_MSG_STATS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNX2X_MSG_STATS@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_DP
Lloh7:
	adrp	x8, _HZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh9:
	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, x22
	bl	_down_timeout
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_BNX2X_ERR
LBB0_6:
Lloh12:
	adrp	x24, _bnx2x_stats_stm@GOTPAGE
Lloh13:
	ldr	x24, [x24, _bnx2x_stats_stm@GOTPAGEOFF]
	ldr	x8, [x24]
	lsl	x25, x20, #3
	ldr	x8, [x8, x25]
	mov	w9, w19
	lsl	x26, x9, #4
	add	x8, x8, x26
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	ldr	x8, [x24]
	ldr	x8, [x8, x25]
	ldr	w8, [x8, x26]
	str	w8, [x21]
	mov	x0, x22
	bl	_up
	ldr	w8, [x23]
	cmp	w8, w19
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_netif_msg_timer
	cbz	x0, LBB0_1
LBB0_8:
Lloh14:
	adrp	x8, _BNX2X_MSG_STATS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_MSG_STATS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w8, [x21]
	stp	x19, x8, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	bl	_DP
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_STATS_EVENT_UPDATE,4,2         ; @STATS_EVENT_UPDATE
	.comm	_BNX2X_MSG_STATS,4,2            ; @BNX2X_MSG_STATS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unlikely stats' lock contention [event %d]\n"

	.comm	_HZ,4,2                         ; @HZ
l_.str.1:                               ; @.str.1
	.asciz	"Failed to take stats lock [event %d]\n"

	.comm	_bnx2x_stats_stm,8,3            ; @bnx2x_stats_stm
l_.str.2:                               ; @.str.2
	.asciz	"state %d -> event %d -> state %d\n"

.subsections_via_symbols
