	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clearstats
_clearstats:                            ## @clearstats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	cmpl	$1, %edi
	jne	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	(%rsi), %rdi
	leaq	-24(%rbp), %rsi
	xorl	%edx, %edx
	callq	_str_to_number
	cmpb	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_5:
	movq	-24(%rbp), %rax
	movq	%rax, -16(%rbp)
	movq	_CHELSIO_T4_CLEAR_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-16(%rbp), %rsi
	callq	_doit
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"incorrect number of arguments."

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"invalid port id \"%s\""

	.comm	_CHELSIO_T4_CLEAR_STATS,4,2     ## @CHELSIO_T4_CLEAR_STATS
	.no_dead_strip	_clearstats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clearstats
_clearstats:                            ; @clearstats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x0, [x1]
	add	x1, sp, #24
	mov	x2, #0
	bl	_str_to_number
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_warnx
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #24]
	str	x8, [sp, #16]
Lloh7:
	adrp	x8, _CHELSIO_T4_CLEAR_STATS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CHELSIO_T4_CLEAR_STATS@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	add	x1, sp, #16
	bl	_doit
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"incorrect number of arguments."

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"invalid port id \"%s\""

	.comm	_CHELSIO_T4_CLEAR_STATS,4,2     ; @CHELSIO_T4_CLEAR_STATS
	.no_dead_strip	_clearstats
.subsections_via_symbols
