	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_storm_stats_post
_bnx2x_storm_stats_post:                ## @bnx2x_storm_stats_post
	.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
	cmpl	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	leal	1(%rdi), %eax
	movl	%eax, 16(%rbx)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_cpu_to_le16
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	_BNX2X_MSG_STATS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_le16_to_cpu
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_DP
	movq	%rbx, %rdi
	callq	_bnx2x_iov_adjust_stats_req
	movq	%rbx, %rdi
	callq	_bnx2x_dp_stats
	movq	_RAMROD_CMD_ID_COMMON_STAT_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	4(%rbx), %edi
	callq	_U64_HI
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	callq	_U64_LO
	movq	_NONE_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_bnx2x_sp_post
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_STATS,4,2            ## @BNX2X_MSG_STATS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sending statistics ramrod %d\n"

	.comm	_RAMROD_CMD_ID_COMMON_STAT_QUERY,4,2 ## @RAMROD_CMD_ID_COMMON_STAT_QUERY
	.comm	_NONE_CONNECTION_TYPE,4,2       ## @NONE_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_storm_stats_post
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_storm_stats_post
_bnx2x_storm_stats_post:                ; @bnx2x_storm_stats_post
	.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
	ldr	w8, [x0]
	cbnz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #16]
	add	w8, w0, #1
	str	w8, [x19, #16]
	bl	_cpu_to_le16
	ldr	x8, [x19, #8]
	str	w0, [x8]
Lloh0:
	adrp	x8, _BNX2X_MSG_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_le16_to_cpu
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP
	mov	x0, x19
	bl	_bnx2x_iov_adjust_stats_req
	mov	x0, x19
	bl	_bnx2x_dp_stats
Lloh5:
	adrp	x8, _RAMROD_CMD_ID_COMMON_STAT_QUERY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RAMROD_CMD_ID_COMMON_STAT_QUERY@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	ldr	w0, [x19, #4]
	bl	_U64_HI
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_U64_LO
	mov	x4, x0
Lloh8:
	adrp	x8, _NONE_CONNECTION_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NONE_CONNECTION_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x3, x21
	bl	_bnx2x_sp_post
	cbnz	w0, LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19]
LBB0_3:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_STATS,4,2            ; @BNX2X_MSG_STATS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sending statistics ramrod %d\n"

	.comm	_RAMROD_CMD_ID_COMMON_STAT_QUERY,4,2 ; @RAMROD_CMD_ID_COMMON_STAT_QUERY
	.comm	_NONE_CONNECTION_TYPE,4,2       ; @NONE_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_storm_stats_post
.subsections_via_symbols
