	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ipstat
_get_ipstat:                            ## @get_ipstat
	.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	%rdi, %rbx
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	$4, -16(%rbp)
	leaq	L_.str(%rip), %rdi
	leaq	-16(%rbp), %rdx
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_sysctlbyname
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_ATF_REQUIRE_MSG
	xorl	%edi, %edi
	cmpq	$4, -16(%rbp)
	sete	%dil
	callq	_ATF_REQUIRE
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net.inet.ip.stats"

L_.str.1:                               ## @.str.1
	.asciz	"sysctl(net.inet.ip.stats) failed: %s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_get_ipstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ipstat
_get_ipstat:                            ; @get_ipstat
	.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	x19, x0
	mov	w20, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	str	x20, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x1, x19
	mov	x3, #0
	mov	w4, #0
	bl	_sysctlbyname
	cmp	w0, #0
	cset	w19, eq
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ATF_REQUIRE_MSG
	ldr	x8, [sp, #8]
	cmp	x8, #4
	cset	w0, eq
	bl	_ATF_REQUIRE
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net.inet.ip.stats"

l_.str.1:                               ; @.str.1
	.asciz	"sysctl(net.inet.ip.stats) failed: %s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_get_ipstat
.subsections_via_symbols
