	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resetsctp                      ## -- Begin function resetsctp
	.p2align	4, 0x90
_resetsctp:                             ## @resetsctp
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	$4, -16(%rbp)
	leaq	L_.str(%rip), %rdi
	movq	_initstat@GOTPCREL(%rip), %rbx
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_error
LBB0_2:
	movl	(%rbx), %eax
	movq	_oldstat@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net.inet.sctp.stats"

	.comm	_initstat,4,2                   ## @initstat
L_.str.1:                               ## @.str.1
	.asciz	"sysctl getting sctpstat failed"

	.comm	_oldstat,4,2                    ## @oldstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_resetsctp                      ; -- Begin function resetsctp
	.p2align	2
_resetsctp:                             ; @resetsctp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	w8, #4
	str	x8, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x19, _initstat@GOTPAGE
Lloh3:
	ldr	x19, [x19, _initstat@GOTPAGEOFF]
	add	x2, sp, #8
	mov	x1, x19
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	tbz	x0, #63, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
LBB0_2:
	ldr	w8, [x19]
Lloh6:
	adrp	x9, _oldstat@GOTPAGE
Lloh7:
	ldr	x9, [x9, _oldstat@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net.inet.sctp.stats"

	.comm	_initstat,4,2                   ; @initstat
l_.str.1:                               ; @.str.1
	.asciz	"sysctl getting sctpstat failed"

	.comm	_oldstat,4,2                    ; @oldstat
.subsections_via_symbols
