	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interfaces
_interfaces:                            ## @interfaces
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r12d, %r12d
	leaq	-80(%rbp), %rbx
	leaq	-88(%rbp), %r14
	movq	_ENOMEM@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	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)
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_NET_RT_IFLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	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
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-88(%rbp), %rdi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_errx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_nitems
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testq	%rax, %rax
	jns	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$9, %r12b
	ja	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	incb	%r12b
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
	movl	$1, %edi
	callq	_sleep
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_1
LBB0_9:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_err
LBB0_10:
	movq	-88(%rbp), %rax
	testq	%rax, %rax
	jle	LBB0_13
## %bb.11:
	movq	%r15, %r14
	addq	%rax, %r14
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_print_rtmsg
	movslq	(%rbx), %rax
	addq	%rax, %rbx
	cmpq	%r14, %rbx
	jb	LBB0_12
LBB0_13:
	movq	%r15, %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_ROUTE,4,2                   ## @PF_ROUTE
	.comm	_AF_UNSPEC,4,2                  ## @AF_UNSPEC
	.comm	_NET_RT_IFLIST,4,2              ## @NET_RT_IFLIST
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"route-sysctl-estimate"

L_.str.1:                               ## @.str.1
	.asciz	"malloc failed"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"Routing table grew, retrying"

L_.str.3:                               ## @.str.3
	.asciz	"actual retrieval of interface table"

	.no_dead_strip	_interfaces
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interfaces
_interfaces:                            ; @interfaces
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w23, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x24, _CTL_NET@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CTL_NET@GOTPAGEOFF]
Lloh5:
	adrp	x25, _PF_ROUTE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _PF_ROUTE@GOTPAGEOFF]
Lloh7:
	adrp	x26, _AF_UNSPEC@GOTPAGE
Lloh8:
	ldr	x26, [x26, _AF_UNSPEC@GOTPAGEOFF]
Lloh9:
	adrp	x27, _NET_RT_IFLIST@GOTPAGE
Lloh10:
	ldr	x27, [x27, _NET_RT_IFLIST@GOTPAGEOFF]
Lloh11:
	adrp	x28, _EX_OSERR@GOTPAGE
Lloh12:
	ldr	x28, [x28, _EX_OSERR@GOTPAGEOFF]
Lloh13:
	adrp	x19, _errno@GOTPAGE
Lloh14:
	ldr	x19, [x19, _errno@GOTPAGEOFF]
Lloh15:
	adrp	x20, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x20, [x20, _ENOMEM@GOTPAGEOFF]
Lloh17:
	adrp	x21, l_.str.2@PAGE
Lloh18:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	stp	w8, w9, [sp, #16]
	ldr	w8, [x26]
	stp	wzr, w8, [sp, #24]
	ldr	w8, [x27]
	stp	w8, wzr, [sp, #32]
	add	x0, sp, #16
	bl	_nitems
	mov	x1, x0
	add	x0, sp, #16
	add	x3, sp, #8
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbz	x0, #63, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x28]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [sp, #8]
	bl	_malloc
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x28]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_errx
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	add	x0, sp, #16
	bl	_nitems
	mov	x1, x0
	add	x0, sp, #16
	add	x3, sp, #8
	mov	x2, x22
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbz	x0, #63, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	ccmp	w23, #9, #2, eq
	b.hi	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w23, w23, #1
	mov	x0, x21
	bl	_warnx
	mov	w0, #1
	bl	_sleep
	mov	x0, x22
	bl	_free
	b	LBB0_1
LBB0_8:
	ldr	w0, [x28]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_err
LBB0_9:
	ldr	x8, [sp, #8]
	cmp	x8, #1
	b.lt	LBB0_12
; %bb.10:
	add	x20, x22, x8
	mov	x19, x22
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x19
	bl	_print_rtmsg
	ldrsw	x8, [x19]
	add	x19, x19, x8
	cmp	x19, x20
	b.lo	LBB0_11
LBB0_12:
	mov	x0, x22
	bl	_free
	ldr	x8, [sp, #40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_ROUTE,4,2                   ; @PF_ROUTE
	.comm	_AF_UNSPEC,4,2                  ; @AF_UNSPEC
	.comm	_NET_RT_IFLIST,4,2              ; @NET_RT_IFLIST
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"route-sysctl-estimate"

l_.str.1:                               ; @.str.1
	.asciz	"malloc failed"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"Routing table grew, retrying"

l_.str.3:                               ; @.str.3
	.asciz	"actual retrieval of interface table"

	.no_dead_strip	_interfaces
.subsections_via_symbols
