	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetchip                        ## -- Begin function fetchip
	.p2align	4, 0x90
_fetchip:                               ## @fetchip
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movq	_curstat@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	movq	_oldstat@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_CTL_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_PF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_IPPROTO_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_IPCTL_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	$4, -40(%rbp)
	addq	$4, %rdx
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rcx
	movl	$4, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_UDPCTL_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	$4, -40(%rbp)
	movq	_curstat@GOTPCREL(%rip), %rdx
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rcx
	movl	$4, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_oldstat,8,2                    ## @oldstat
	.comm	_curstat,8,2                    ## @curstat
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_INET,4,2                    ## @PF_INET
	.comm	_IPPROTO_IP,4,2                 ## @IPPROTO_IP
	.comm	_IPCTL_STATS,4,2                ## @IPCTL_STATS
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_UDPCTL_STATS,4,2               ## @UDPCTL_STATS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fetchip                        ; -- Begin function fetchip
	.p2align	2
_fetchip:                               ; @fetchip
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x2, _curstat@GOTPAGE
Lloh4:
	ldr	x2, [x2, _curstat@GOTPAGEOFF]
	stur	x8, [x29, #-8]
	ldr	x8, [x2], #4
Lloh5:
	adrp	x9, _oldstat@GOTPAGE
Lloh6:
	ldr	x9, [x9, _oldstat@GOTPAGEOFF]
Lloh7:
	str	x8, [x9]
Lloh8:
	adrp	x8, _CTL_NET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _PF_INET@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PF_INET@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
Lloh14:
	adrp	x8, _IPPROTO_IP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IPPROTO_IP@GOTPAGEOFF]
Lloh16:
	adrp	x9, _IPCTL_STATS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IPCTL_STATS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #4
	str	x8, [sp]
	add	x0, sp, #8
	mov	x3, sp
	mov	w1, #4
	mov	w4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh20:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh22:
	adrp	x9, _UDPCTL_STATS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _UDPCTL_STATS@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
Lloh25:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
	mov	w8, #4
	str	x8, [sp]
Lloh26:
	adrp	x2, _curstat@GOTPAGE
Lloh27:
	ldr	x2, [x2, _curstat@GOTPAGEOFF]
	add	x0, sp, #8
	mov	x3, sp
	mov	w1, #4
	mov	w4, #0
	mov	w5, #0
	bl	_sysctl
LBB0_2:
	ldur	x8, [x29, #-8]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_oldstat,8,2                    ; @oldstat
	.comm	_curstat,8,2                    ; @curstat
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_INET,4,2                    ; @PF_INET
	.comm	_IPPROTO_IP,4,2                 ; @IPPROTO_IP
	.comm	_IPCTL_STATS,4,2                ; @IPCTL_STATS
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_UDPCTL_STATS,4,2               ; @UDPCTL_STATS
.subsections_via_symbols
