	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetchsctp                      ## -- Begin function fetchsctp
	.p2align	4, 0x90
_fetchsctp:                             ## @fetchsctp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_curstat@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	movq	_oldstat@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	$4, -8(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-8(%rbp), %rdx
	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:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net.inet.sctp.stats"

	.comm	_curstat,4,2                    ## @curstat
	.comm	_oldstat,4,2                    ## @oldstat
L_.str.1:                               ## @.str.1
	.asciz	"sysctl getting sctpstat failed"

.subsections_via_symbols

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

	.comm	_curstat,4,2                    ; @curstat
	.comm	_oldstat,4,2                    ; @oldstat
l_.str.1:                               ; @.str.1
	.asciz	"sysctl getting sctpstat failed"

.subsections_via_symbols
