	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mib_fetch_rtab                 ## -- Begin function mib_fetch_rtab
	.p2align	4, 0x90
_mib_fetch_rtab:                        ## @mib_fetch_rtab
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CTL_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_PF_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	$0, -72(%rbp)
	movl	%edi, -68(%rbp)
	movl	%esi, -64(%rbp)
	movl	%edx, -60(%rbp)
	movq	$0, (%rcx)
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.3:
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	leaq	-80(%rbp), %r15
	movq	_ENOMEM@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_nitems
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rax
	movq	%rax, %rcx
	shrq	$3, %rcx
	leaq	(%rax,%rcx), %rsi
	incq	%rsi
	movq	%rsi, (%r14)
	movq	%r12, %rdi
	callq	_realloc
	movq	%r12, %rbx
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_5
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-80(%rbp), %edx
	movl	-76(%rbp), %ecx
	movl	-72(%rbp), %r8d
	movl	-68(%rbp), %r9d
	movl	-64(%rbp), %r10d
	movl	-60(%rbp), %ebx
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_syslog
	addq	$16, %rsp
	jmp	LBB0_11
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_syslog
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_11
LBB0_9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	movq	%r12, %rdi
	callq	_free
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.12:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_ROUTE,4,2                   ## @PF_ROUTE
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl estimate (%d,%d,%d,%d,%d,%d): %m"

L_.str.1:                               ## @.str.1
	.asciz	"sysctl buffer: %m"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"sysctl get: %m"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mib_fetch_rtab                 ; -- Begin function mib_fetch_rtab
	.p2align	2
_mib_fetch_rtab:                        ; @mib_fetch_rtab
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _CTL_NET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CTL_NET@GOTPAGEOFF]
	stur	x8, [x29, #-56]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _PF_ROUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PF_ROUTE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #48]
	stp	wzr, w0, [sp, #56]
	stp	w1, w2, [sp, #64]
	str	xzr, [x3]
	add	x0, sp, #48
	bl	_nitems
	mov	x1, x0
	add	x0, sp, #48
	mov	x2, #0
	mov	x3, x19
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.1:
	ldr	x0, [x19]
	cbz	x0, LBB0_12
; %bb.2:
	bl	_malloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
Lloh9:
	adrp	x22, _errno@GOTPAGE
Lloh10:
	ldr	x22, [x22, _errno@GOTPAGEOFF]
Lloh11:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #48
	bl	_nitems
	mov	x1, x0
	add	x0, sp, #48
	mov	x2, x20
	mov	x3, x19
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cbz	w0, LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	add	x8, x8, x8, lsr #3
	add	x1, x8, #1
	str	x1, [x19]
	mov	x0, x20
	bl	_realloc
	mov	x21, x20
	mov	x20, x0
	cbnz	x0, LBB0_4
	b	LBB0_9
LBB0_7:
Lloh13:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	w8, w9, [sp, #48]
	ldp	w10, w11, [sp, #56]
	ldp	w12, w13, [sp, #64]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_syslog
	b	LBB0_12
LBB0_8:
	mov	x21, #0
LBB0_9:
Lloh18:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_syslog
	mov	x0, x21
	b	LBB0_11
LBB0_10:
Lloh23:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_syslog
	mov	x0, x20
LBB0_11:
	bl	_free
LBB0_12:
	mov	x20, #0
LBB0_13:
	ldur	x8, [x29, #-56]
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_15
; %bb.14:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_ROUTE,4,2                   ; @PF_ROUTE
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl estimate (%d,%d,%d,%d,%d,%d): %m"

l_.str.1:                               ; @.str.1
	.asciz	"sysctl buffer: %m"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"sysctl get: %m"

.subsections_via_symbols
