	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search
_search:                                ## @search
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	movq	%rsp, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IF_NAMESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	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_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_NET_RT_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %rdi
	leaq	-88(%rbp), %rcx
	movl	$6, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_xo_err
LBB0_2:
	movq	-88(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.3:
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-80(%rbp), %r12
	leaq	-88(%rbp), %r13
	movq	_errno@GOTPCREL(%rip), %r15
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_reallocf
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_xo_errx
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$6, %esi
	movq	%r14, %rdx
	movq	%r13, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r15), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %rax
	movq	%rax, %rsi
	shrq	$3, %rsi
	addq	%rax, %rsi
	movq	%rsi, -88(%rbp)
	jmp	LBB0_4
LBB0_9:
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_xo_err
LBB0_11:
	movq	-88(%rbp), %rax
	testq	%rax, %rax
	jle	LBB0_12
## %bb.13:
	movq	%r14, %rcx
	addq	%rax, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r13d
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	callq	*(%rax)
	movl	%r13d, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movslq	(%rbx), %rax
	addq	%rax, %rbx
	cmpq	-136(%rbp), %rbx                ## 8-byte Folded Reload
	jae	LBB0_22
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_SA_SIZE
	cltq
	leaq	(%rbx,%rax), %r12
	addq	$4, %r12
	movq	_rifname@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r12), %edi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_if_indextoname
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_rifname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_21
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	$1, %r13d
	cmpq	%rax, (%r15)
	je	LBB0_20
	jmp	LBB0_21
LBB0_12:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_22:
	movq	%r14, %rdi
	callq	_free
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_23:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IF_NAMESIZE,4,2                ## @IF_NAMESIZE
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_ROUTE,4,2                   ## @PF_ROUTE
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_NET_RT_FLAGS,4,2               ## @NET_RT_FLAGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"route-sysctl-estimate"

L_.str.1:                               ## @.str.1
	.asciz	"could not reallocate memory"

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"actual retrieval of routing table"

	.comm	_rifname,8,3                    ## @rifname
	.comm	_RTF_LLINFO,4,2                 ## @RTF_LLINFO
	.no_dead_strip	_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search
_search:                                ; @search
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x19, x1
	mov	x20, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _IF_NAMESIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IF_NAMESIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _CTL_NET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _PF_ROUTE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PF_ROUTE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w8, w9, [x29, #-112]
Lloh14:
	adrp	x8, _AF_INET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	wzr, w8, [x29, #-104]
Lloh17:
	adrp	x8, _NET_RT_FLAGS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NET_RT_FLAGS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	stp	w8, wzr, [x29, #-96]
	sub	x0, x29, #112
	sub	x3, x29, #120
	mov	w1, #6
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	tbnz	w0, #31, LBB0_8
; %bb.1:
	ldur	x1, [x29, #-120]
	cbz	x1, LBB0_9
LBB0_2:
	stur	x22, [x29, #-128]               ; 8-byte Folded Spill
	mov	x22, #0
Lloh20:
	adrp	x24, _errno@GOTPAGE
Lloh21:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
Lloh22:
	adrp	x25, _ENOMEM@GOTPAGE
Lloh23:
	ldr	x25, [x25, _ENOMEM@GOTPAGEOFF]
Lloh24:
	adrp	x23, l_.str.1@PAGE
Lloh25:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_reallocf
	mov	x22, x0
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_xo_errx
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x0, x29, #112
	sub	x3, x29, #120
	mov	w1, #6
	mov	x2, x22
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cbz	w0, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	x8, [x29, #-120]
	add	x1, x8, x8, lsr #3
	stur	x1, [x29, #-120]
	b	LBB0_3
LBB0_8:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_xo_err
	ldur	x1, [x29, #-120]
	cbnz	x1, LBB0_2
LBB0_9:
	mov	w23, #0
	b	LBB0_24
LBB0_10:
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.11:
Lloh28:
	adrp	x1, l_.str.2@PAGE
Lloh29:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_xo_err
LBB0_12:
	ldur	x8, [x29, #-120]
	cmp	x8, #1
	b.lt	LBB0_22
; %bb.13:
	mov	w23, #0
	add	x28, x22, x8
Lloh30:
	adrp	x27, _rifname@GOTPAGE
Lloh31:
	ldr	x27, [x27, _rifname@GOTPAGEOFF]
	mov	x24, x22
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19]
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	blr	x8
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldrsw	x8, [x24]
	add	x24, x24, x8
	cmp	x24, x28
	b.hs	LBB0_23
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x25, x24, #4
	mov	x0, x25
	bl	_SA_SIZE
	add	x26, x25, w0, sxtw
	ldr	x8, [x27]
	cbz	x8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x26]
	mov	x1, x21
	bl	_if_indextoname
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x1, [x27]
	mov	x0, x21
	bl	_strcmp
	cbnz	x0, LBB0_15
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	x20, LBB0_14
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x25]
	cmp	x8, x20
	b.ne	LBB0_15
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w23, #1
	b	LBB0_14
LBB0_22:
	mov	w23, #0
LBB0_23:
	mov	x0, x22
	bl	_free
	ldur	x22, [x29, #-128]               ; 8-byte Folded Reload
LBB0_24:
	mov	sp, x22
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.25:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_IF_NAMESIZE,4,2                ; @IF_NAMESIZE
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_ROUTE,4,2                   ; @PF_ROUTE
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_NET_RT_FLAGS,4,2               ; @NET_RT_FLAGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"route-sysctl-estimate"

l_.str.1:                               ; @.str.1
	.asciz	"could not reallocate memory"

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"actual retrieval of routing table"

	.comm	_rifname,8,3                    ; @rifname
	.comm	_RTF_LLINFO,4,2                 ; @RTF_LLINFO
	.no_dead_strip	_search
.subsections_via_symbols
