	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_clear_stats
_mlx4_en_clear_stats:                   ## @mlx4_en_clear_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	72(%rax), %r14
	movl	(%r14), %edi
	callq	_mlx4_is_slave
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	64(%rbx), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_mlx4_en_DUMP_ETH_STATS
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	callq	_en_dbg
LBB0_3:
	leaq	60(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	56(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	52(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	48(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	44(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	40(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	36(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	addq	$32, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%rbx), %rax
	movq	_TX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpl	$0, (%rax,%rdx,4)
	jle	LBB0_6
## %bb.4:
	movq	24(%rbx), %rsi
	movq	(%rsi,%rdx,8), %rdx
	xorl	%esi, %esi
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	incq	%rsi
	movups	%xmm0, 48(%rdi)
	movups	%xmm0, 32(%rdi)
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	(%rcx), %rdi
	movslq	(%rax,%rdi,4), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_5
LBB0_6:
	movl	8(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_14
## %bb.7:
	movq	16(%rbx), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$7, %eax
	cmpq	$7, %rsi
	jae	LBB0_9
## %bb.8:
	xorl	%esi, %esi
	jmp	LBB0_11
LBB0_9:
	andl	$-8, %edx
	xorl	%esi, %esi
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	8(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	16(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	24(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	32(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	40(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	48(%rcx,%rsi,8), %rdi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	movq	56(%rcx,%rsi,8), %rdi
	addq	$8, %rsi
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	movq	$0, 32(%rdi)
	cmpq	%rsi, %rdx
	jne	LBB0_10
LBB0_11:
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	movups	%xmm0, 16(%rsi)
	movups	%xmm0, (%rsi)
	movq	$0, 32(%rsi)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_13
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW,4,2                         ## @HW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed dumping statistics\n"

	.comm	_TX,8,3                         ## @TX
	.no_dead_strip	_mlx4_en_clear_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_clear_stats
_mlx4_en_clear_stats:                   ; @mlx4_en_clear_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_netdev_priv
	mov	x19, x0
	ldr	x20, [x0, #72]
	ldr	w0, [x20]
	bl	_mlx4_is_slave
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w1, [x19, #64]
	mov	x0, x20
	mov	w2, #1
	bl	_mlx4_en_DUMP_ETH_STATS
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _HW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
LBB0_3:
	add	x0, x19, #60
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #56
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #52
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #48
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #44
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #40
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #36
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #32
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh5:
	adrp	x8, _TX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TX@GOTPAGEOFF]
	ldr	x11, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9, x11, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x10, #0
	ldr	x12, [x19, #24]
	ldr	x11, [x12, x11, lsl #3]
	movi.2d	v0, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x10, lsl #3]
	add	x10, x10, #1
	stp	q0, q0, [x12, #32]
	stp	q0, q0, [x12]
	ldr	x12, [x8]
	ldrsw	x12, [x9, x12, lsl #2]
	cmp	x10, x12
	b.lt	LBB0_5
LBB0_6:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	ldr	x9, [x19, #16]
	movi.2d	v0, #0000000000000000
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	str	xzr, [x10, #32]
	stp	q0, q0, [x10]
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HW,4,2                         ; @HW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed dumping statistics\n"

	.comm	_TX,8,3                         ; @TX
	.no_dead_strip	_mlx4_en_clear_stats
.subsections_via_symbols
