	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_hw_stats_post
_bnx2x_hw_stats_post:                   ## @bnx2x_hw_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_bnx2x_sp
	movq	%rax, %r14
	movq	_DMAE_COMP_VAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_CHIP_REV_IS_SLOW
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_func_stats@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_bnx2x_sp
	leaq	16(%rbx), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_3:
	leaq	24(%rbx), %r15
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.4:
	movq	%rbx, %rdi
	callq	_PMF_DMAE_C
	movl	%eax, %r12d
	movq	_DMAE_SRC_PCI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DMAE_DST_GRC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMAE_COMP_GRC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$1, %ecx
	callq	_bnx2x_dmae_opcode
	movq	%rax, %rdi
	callq	_bnx2x_dmae_opcode_clr_src_reset
	movq	%rax, %r13
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%r13, 64(%rbx)
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	32(%r15), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_LO
	movl	%eax, 60(%rbx)
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	32(%r15), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	movq	%rbx, %rdi
	callq	_bnx2x_sp_mapping
	movl	%eax, %edi
	callq	_U64_HI
	movl	%eax, 56(%rbx)
	movq	_DMAE_REG_CMD_MEM@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%r12d, %ecx
	incl	%ecx
	movslq	%ecx, %r13
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	shlq	$4, %rcx
	addq	%rax, %rcx
	shrq	$2, %rcx
	movl	%ecx, 24(%rbx)
	movq	$0, 48(%rbx)
	movl	$12, 28(%rbx)
	movq	%rbx, %rdi
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	decl	28(%rbx)
LBB0_6:
	movq	_dmae_reg_go_c@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %eax
	sarl	$2, %eax
	movl	%eax, 32(%rbx)
	movq	$0, 40(%rbx)
	movl	$1, 36(%rbx)
	movq	$0, (%r14)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_post_dmae                ## TAILCALL
LBB0_7:
	cmpq	$0, (%rbx)
	je	LBB0_8
## %bb.9:
	movq	$0, (%r14)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_issue_dmae_with_comp     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMAE_COMP_VAL,8,3              ## @DMAE_COMP_VAL
	.comm	_func_stats,4,2                 ## @func_stats
	.comm	_DMAE_SRC_PCI,4,2               ## @DMAE_SRC_PCI
	.comm	_DMAE_DST_GRC,4,2               ## @DMAE_DST_GRC
	.comm	_DMAE_COMP_GRC,4,2              ## @DMAE_COMP_GRC
	.comm	_DMAE_REG_CMD_MEM,4,2           ## @DMAE_REG_CMD_MEM
	.comm	_dmae_reg_go_c,8,3              ## @dmae_reg_go_c
	.comm	_stats_comp,8,3                 ## @stats_comp
	.no_dead_strip	_bnx2x_hw_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_hw_stats_post
_bnx2x_hw_stats_post:                   ; @bnx2x_hw_stats_post
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	bl	_bnx2x_sp
	mov	x20, x0
Lloh0:
	adrp	x8, _DMAE_COMP_VAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DMAE_COMP_VAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x0]
	mov	x0, x19
	bl	_CHIP_REV_IS_SLOW
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _func_stats@GOTPAGE
Lloh4:
	ldr	x8, [x8, _func_stats@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_bnx2x_sp
	add	x1, x19, #16
	mov	w2, #4
	bl	_memcpy
LBB0_3:
	add	x21, x19, #24
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x19
	bl	_PMF_DMAE_C
	mov	x22, x0
Lloh6:
	adrp	x8, _DMAE_SRC_PCI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMAE_SRC_PCI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _DMAE_DST_GRC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMAE_DST_GRC@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _DMAE_COMP_GRC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DMAE_COMP_GRC@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	mov	w24, #1
	mov	x0, x19
	mov	w3, #1
	bl	_bnx2x_dmae_opcode
	bl	_bnx2x_dmae_opcode_clr_src_reset
	mov	x23, x0
	mov	w25, #48
	mov	x0, x21
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	x23, [x19, #64]
	ldp	q0, q1, [x21]
	stp	q0, q1, [sp]
	ldr	q0, [x21, #32]
	str	q0, [sp, #32]
	mov	x1, sp
	mov	x0, x19
	bl	_bnx2x_sp_mapping
	bl	_U64_LO
	str	w0, [x19, #60]
	ldp	q0, q1, [x21]
	stp	q0, q1, [sp]
	ldr	q0, [x21, #32]
	str	q0, [sp, #32]
	mov	x1, sp
	mov	x0, x19
	bl	_bnx2x_sp_mapping
	bl	_U64_HI
	str	w0, [x19, #56]
Lloh15:
	adrp	x8, _DMAE_REG_CMD_MEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMAE_REG_CMD_MEM@GOTPAGEOFF]
Lloh17:
	ldrsw	x8, [x8]
	add	w9, w22, #1
	sxtw	x23, w9
	smaddl	x8, w9, w25, x8
	lsr	x8, x8, #2
	str	xzr, [x19, #48]
	mov	w9, #12
	stp	w8, w9, [x19, #24]
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [x19, #28]
	sub	w8, w8, #1
	str	w8, [x19, #28]
LBB0_6:
Lloh18:
	adrp	x8, _dmae_reg_go_c@GOTPAGE
Lloh19:
	ldr	x8, [x8, _dmae_reg_go_c@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	w8, [x8, x23, lsl #2]
	asr	w8, w8, #2
	str	xzr, [x19, #40]
	stp	w8, w24, [x19, #32]
	str	xzr, [x20]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_bnx2x_post_dmae
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_8:
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.9:
	str	xzr, [x20]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_bnx2x_issue_dmae_with_comp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DMAE_COMP_VAL,8,3              ; @DMAE_COMP_VAL
	.comm	_func_stats,4,2                 ; @func_stats
	.comm	_DMAE_SRC_PCI,4,2               ; @DMAE_SRC_PCI
	.comm	_DMAE_DST_GRC,4,2               ; @DMAE_DST_GRC
	.comm	_DMAE_COMP_GRC,4,2              ; @DMAE_COMP_GRC
	.comm	_DMAE_REG_CMD_MEM,4,2           ; @DMAE_REG_CMD_MEM
	.comm	_dmae_reg_go_c,8,3              ; @dmae_reg_go_c
	.comm	_stats_comp,8,3                 ; @stats_comp
	.no_dead_strip	_bnx2x_hw_stats_post
.subsections_via_symbols
