	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AddCommand
_AddCommand:                            ## @AddCommand
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movl	(%rdi), %eax
	movslq	4(%rdi), %rcx
	leal	3(%rcx), %esi
	leal	2(%rcx), %edx
	movl	$-1, %r14d
	cmpl	%esi, %eax
	je	LBB0_2
## %bb.1:
	cmpl	%edx, %eax
	jne	LBB0_44
LBB0_2:
	movq	24(%r13), %rsi
	movl	(%rsi,%rcx,4), %edi
	cmpl	%edx, %eax
	jne	LBB0_12
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_strcasecmp
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	8(%r13), %rsi
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	-56(%rbp), %rdi
	callq	_ncprange_aton
	testl	%eax, %eax
	je	LBB0_44
## %bb.5:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$6, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_21
## %bb.6:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$7, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_24
## %bb.7:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$7, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_46
## %bb.8:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$8, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_47
## %bb.9:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	$4, %edx
	callq	_strncasecmp
	testl	%eax, %eax
	je	LBB0_48
## %bb.10:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edx
	callq	_strncasecmp
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jne	LBB0_28
## %bb.11:
	movq	_ROUTE_DSTDNS1@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_20
## %bb.14:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_23
## %bb.15:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_25
## %bb.16:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_GetIpAddr
	movq	%rax, %r12
	movq	_INADDR_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_45
## %bb.17:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_33
LBB0_18:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_29
LBB0_19:
	movq	8(%r13), %rax
	addq	$24, %rax
	movq	_ROUTE_DSTMYADDR@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_20:
	movq	8(%r13), %rax
	addq	$8, %rax
	movq	_ROUTE_DSTHISADDR@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_21:
	movq	_ROUTE_DSTMYADDR@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_23:
	movq	8(%r13), %rax
	movq	16(%rax), %rax
	movq	_ROUTE_DSTDNS0@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_24:
	movq	_ROUTE_DSTMYADDR6@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_25:
	movq	8(%r13), %rax
	movq	16(%rax), %rax
	addq	$8, %rax
	movq	_ROUTE_DSTDNS1@GOTPCREL(%rip), %rcx
LBB0_26:
	movl	(%rcx), %r15d
	movq	(%rax), %r12
LBB0_27:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	4(%rax,%rcx,4), %edi
	callq	_GetIpAddr
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_ncprange_setip4
	movl	$2, %ebx
	jmp	LBB0_28
LBB0_45:
	xorl	%r15d, %r15d
	jmp	LBB0_27
LBB0_46:
	movq	_ROUTE_DSTHISADDR@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_47:
	movq	_ROUTE_DSTHISADDR6@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_48:
	movq	_ROUTE_DSTDNS0@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %r15d
LBB0_28:
	movb	$1, %r12b
LBB0_29:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	movl	%ebx, %ebx
	addq	%rbx, %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_34
## %bb.30:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	addq	%rbx, %rcx
	movl	(%rax,%rcx,4), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcasecmp
	movq	8(%r13), %rsi
	testq	%rax, %rax
	je	LBB0_35
## %bb.31:
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	addq	%rbx, %rcx
	movl	(%rax,%rcx,4), %edx
	leaq	-48(%rbp), %rdi
	callq	_ncpaddr_aton
	testl	%eax, %eax
	jne	LBB0_39
## %bb.32:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r13), %rax
	movslq	4(%r13), %rcx
	addq	%rcx, %rbx
	movl	(%rax,%rbx,4), %edx
	leaq	L_.str.8(%rip), %rsi
LBB0_33:
	callq	_log_Printf
	jmp	LBB0_44
LBB0_34:
	movq	8(%r13), %rax
	movq	8(%rax), %rsi
	leaq	-48(%rbp), %rdi
	callq	_ncpaddr_setip4
	movq	_ROUTE_GWHISADDR@GOTPCREL(%rip), %rax
	jmp	LBB0_38
LBB0_35:
	addq	$4, %rsi
	leaq	-64(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_ncpaddr_getip6
	testl	%eax, %eax
	jne	LBB0_37
## %bb.36:
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
LBB0_37:
	leaq	-48(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_ncpaddr_setip6
	movq	_ROUTE_GWHISADDR6@GOTPCREL(%rip), %rax
LBB0_38:
	orl	(%rax), %r15d
LBB0_39:
	testb	%r12b, %r12b
	jne	LBB0_41
## %bb.40:
	leaq	-48(%rbp), %rdi
	callq	_ncpaddr_family
	leaq	-56(%rbp), %rdi
	movl	%eax, %esi
	callq	_ncprange_setdefault
LBB0_41:
	movq	_RTM_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	16(%r13), %rax
	xorl	%r8d, %r8d
	cmpq	$0, (%rax)
	setne	%r8b
	movq	_ROUTE_GWHISADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ROUTE_GWHISADDR6@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	8(%r13), %rdi
	xorl	%r9d, %r9d
	testl	%r15d, %eax
	setne	%r9b
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_rt_Set
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_44
## %bb.42:
	movq	_ROUTE_STATIC@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_44
## %bb.43:
	movq	8(%r13), %rdi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movl	%r15d, %esi
	callq	_route_Add
LBB0_44:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"default"

L_.str.1:                               ## @.str.1
	.asciz	"MYADDR"

	.comm	_ROUTE_DSTMYADDR,4,2            ## @ROUTE_DSTMYADDR
L_.str.2:                               ## @.str.2
	.asciz	"MYADDR6"

	.comm	_ROUTE_DSTMYADDR6,4,2           ## @ROUTE_DSTMYADDR6
L_.str.3:                               ## @.str.3
	.asciz	"HISADDR"

	.comm	_ROUTE_DSTHISADDR,4,2           ## @ROUTE_DSTHISADDR
L_.str.4:                               ## @.str.4
	.asciz	"HISADDR6"

	.comm	_ROUTE_DSTHISADDR6,4,2          ## @ROUTE_DSTHISADDR6
L_.str.5:                               ## @.str.5
	.asciz	"DNS0"

	.comm	_ROUTE_DSTDNS0,4,2              ## @ROUTE_DSTDNS0
L_.str.6:                               ## @.str.6
	.asciz	"DNS1"

	.comm	_ROUTE_DSTDNS1,4,2              ## @ROUTE_DSTDNS1
	.comm	_INADDR_NONE,8,3                ## @INADDR_NONE
	.comm	_LogWARN,4,2                    ## @LogWARN
L_.str.7:                               ## @.str.7
	.asciz	"%s: Invalid destination address\n"

	.comm	_ROUTE_GWHISADDR,4,2            ## @ROUTE_GWHISADDR
	.comm	_ROUTE_GWHISADDR6,4,2           ## @ROUTE_GWHISADDR6
L_.str.8:                               ## @.str.8
	.asciz	"%s: Invalid gateway address\n"

	.comm	_RTM_ADD,4,2                    ## @RTM_ADD
	.comm	_ROUTE_STATIC,4,2               ## @ROUTE_STATIC
	.no_dead_strip	_AddCommand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AddCommand
_AddCommand:                            ; @AddCommand
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	ldp	w8, w9, [x0]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	w11, w9, #3
	add	w10, w9, #2
	cmp	w8, w11
	ccmp	w8, w10, #4, ne
	b.ne	LBB0_37
; %bb.1:
	mov	x19, x0
	ldr	x11, [x0, #24]
	ldr	w0, [x11, x9, lsl #2]
	cmp	w8, w10
	b.ne	LBB0_10
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_16
; %bb.3:
	ldr	x1, [x19, #8]
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w2, [x8, x9, lsl #2]
	add	x0, sp, #16
	bl	_ncprange_aton
	cbz	w0, LBB0_37
; %bb.4:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #6
	bl	_strncasecmp
	cbz	w0, LBB0_19
; %bb.5:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #7
	bl	_strncasecmp
	cbz	w0, LBB0_21
; %bb.6:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #7
	bl	_strncasecmp
	cbz	w0, LBB0_26
; %bb.7:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #8
	bl	_strncasecmp
	cbz	w0, LBB0_27
; %bb.8:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #4
	bl	_strncasecmp
	cbz	w0, LBB0_28
; %bb.9:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #4
	bl	_strncasecmp
Lloh14:
	adrp	x8, _ROUTE_DSTDNS1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ROUTE_DSTDNS1@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w20, w8, wzr, eq
	b	LBB0_30
LBB0_10:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_17
; %bb.11:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_18
; %bb.12:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_20
; %bb.13:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcasecmp
	cbz	x0, LBB0_22
; %bb.14:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w0, [x8, x9, lsl #2]
	bl	_GetIpAddr
Lloh25:
	adrp	x8, _INADDR_NONE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _INADDR_NONE@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
; %bb.15:
Lloh28:
	adrp	x8, _LogWARN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	ldr	w2, [x8, x9, lsl #2]
Lloh31:
	adrp	x1, l_.str.7@PAGE
Lloh32:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_36
LBB0_16:
	mov	w21, #0
	mov	w20, #0
	b	LBB0_31
LBB0_17:
	ldr	x8, [x19, #8]
	add	x8, x8, #24
Lloh33:
	adrp	x9, _ROUTE_DSTMYADDR@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ROUTE_DSTMYADDR@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
	ldr	x8, [x19, #8]
	add	x8, x8, #8
Lloh35:
	adrp	x9, _ROUTE_DSTHISADDR@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ROUTE_DSTHISADDR@GOTPAGEOFF]
	b	LBB0_23
LBB0_19:
Lloh37:
	adrp	x8, _ROUTE_DSTMYADDR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ROUTE_DSTMYADDR@GOTPAGEOFF]
	b	LBB0_29
LBB0_20:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
Lloh39:
	adrp	x9, _ROUTE_DSTDNS0@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ROUTE_DSTDNS0@GOTPAGEOFF]
	b	LBB0_23
LBB0_21:
Lloh41:
	adrp	x8, _ROUTE_DSTMYADDR6@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ROUTE_DSTMYADDR6@GOTPAGEOFF]
	b	LBB0_29
LBB0_22:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #16]
	add	x8, x8, #8
Lloh43:
	adrp	x9, _ROUTE_DSTDNS1@GOTPAGE
Lloh44:
	ldr	x9, [x9, _ROUTE_DSTDNS1@GOTPAGEOFF]
LBB0_23:
	ldr	w20, [x9]
	ldr	x21, [x8]
LBB0_24:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #4]
	add	x8, x8, x9, lsl #2
	ldr	w0, [x8, #4]
	bl	_GetIpAddr
	mov	x2, x0
	add	x0, sp, #16
	mov	x1, x21
	bl	_ncprange_setip4
	mov	w24, #2
	mov	w21, #1
	b	LBB0_32
LBB0_25:
	mov	x21, x0
	mov	w20, #0
	b	LBB0_24
LBB0_26:
Lloh45:
	adrp	x8, _ROUTE_DSTHISADDR@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ROUTE_DSTHISADDR@GOTPAGEOFF]
	b	LBB0_29
LBB0_27:
Lloh47:
	adrp	x8, _ROUTE_DSTHISADDR6@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ROUTE_DSTHISADDR6@GOTPAGEOFF]
	b	LBB0_29
LBB0_28:
Lloh49:
	adrp	x8, _ROUTE_DSTDNS0@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ROUTE_DSTDNS0@GOTPAGEOFF]
LBB0_29:
	ldr	w20, [x8]
LBB0_30:
	mov	w21, #1
LBB0_31:
	mov	w24, #1
LBB0_32:
	ldr	x8, [x19, #24]
	ldr	w9, [x19, #4]
	add	w9, w9, w24
	ldr	w0, [x8, w9, sxtw #2]
Lloh51:
	adrp	x1, l_.str.3@PAGE
Lloh52:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcasecmp
Lloh53:
	adrp	x22, _ROUTE_GWHISADDR6@GOTPAGE
Lloh54:
	ldr	x22, [x22, _ROUTE_GWHISADDR6@GOTPAGEOFF]
Lloh55:
	adrp	x23, _ROUTE_GWHISADDR@GOTPAGE
Lloh56:
	ldr	x23, [x23, _ROUTE_GWHISADDR@GOTPAGEOFF]
	cbz	x0, LBB0_38
; %bb.33:
	ldr	x8, [x19, #24]
	ldr	w9, [x19, #4]
	add	w9, w9, w24
	ldr	w0, [x8, w9, sxtw #2]
Lloh57:
	adrp	x1, l_.str.4@PAGE
Lloh58:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcasecmp
	ldr	x1, [x19, #8]
	cbz	x0, LBB0_39
; %bb.34:
	ldr	x8, [x19, #24]
	ldr	w9, [x19, #4]
	add	w9, w9, w24
	ldr	w2, [x8, w9, sxtw #2]
	add	x0, sp, #24
	bl	_ncpaddr_aton
	cbnz	w0, LBB0_43
; %bb.35:
Lloh59:
	adrp	x8, _LogWARN@GOTPAGE
Lloh60:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	ldr	w9, [x19, #4]
	add	w9, w9, w24
	ldr	w2, [x8, w9, sxtw #2]
Lloh62:
	adrp	x1, l_.str.8@PAGE
Lloh63:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_36:
	bl	_log_Printf
LBB0_37:
	mov	w0, #-1
	b	LBB0_48
LBB0_38:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	add	x0, sp, #24
	bl	_ncpaddr_setip4
	ldr	w8, [x23]
	b	LBB0_42
LBB0_39:
	add	x0, x1, #4
	add	x1, sp, #8
	bl	_ncpaddr_getip6
	cbnz	w0, LBB0_41
; %bb.40:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
LBB0_41:
	add	x0, sp, #24
	add	x1, sp, #8
	bl	_ncpaddr_setip6
	ldr	w8, [x22]
LBB0_42:
	orr	w20, w8, w20
LBB0_43:
	tbnz	w21, #0, LBB0_45
; %bb.44:
	add	x0, sp, #24
	bl	_ncpaddr_family
	mov	x1, x0
	add	x0, sp, #16
	bl	_ncprange_setdefault
LBB0_45:
Lloh64:
	adrp	x8, _RTM_ADD@GOTPAGE
Lloh65:
	ldr	x8, [x8, _RTM_ADD@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
	ldp	x0, x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w4, ne
	ldr	w8, [x23]
	ldr	w9, [x22]
	orr	w8, w8, w9
	tst	w8, w20
	cset	w5, ne
	add	x2, sp, #16
	add	x3, sp, #24
	bl	_rt_Set
Lloh67:
	adrp	x8, _ROUTE_STATIC@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ROUTE_STATIC@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w20, w8, #4, ne
	b.eq	LBB0_47
; %bb.46:
	ldr	x0, [x19, #8]
	add	x2, sp, #16
	add	x3, sp, #24
	mov	x1, x20
	bl	_route_Add
LBB0_47:
	mov	w0, #0
LBB0_48:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"default"

l_.str.1:                               ; @.str.1
	.asciz	"MYADDR"

	.comm	_ROUTE_DSTMYADDR,4,2            ; @ROUTE_DSTMYADDR
l_.str.2:                               ; @.str.2
	.asciz	"MYADDR6"

	.comm	_ROUTE_DSTMYADDR6,4,2           ; @ROUTE_DSTMYADDR6
l_.str.3:                               ; @.str.3
	.asciz	"HISADDR"

	.comm	_ROUTE_DSTHISADDR,4,2           ; @ROUTE_DSTHISADDR
l_.str.4:                               ; @.str.4
	.asciz	"HISADDR6"

	.comm	_ROUTE_DSTHISADDR6,4,2          ; @ROUTE_DSTHISADDR6
l_.str.5:                               ; @.str.5
	.asciz	"DNS0"

	.comm	_ROUTE_DSTDNS0,4,2              ; @ROUTE_DSTDNS0
l_.str.6:                               ; @.str.6
	.asciz	"DNS1"

	.comm	_ROUTE_DSTDNS1,4,2              ; @ROUTE_DSTDNS1
	.comm	_INADDR_NONE,8,3                ; @INADDR_NONE
	.comm	_LogWARN,4,2                    ; @LogWARN
l_.str.7:                               ; @.str.7
	.asciz	"%s: Invalid destination address\n"

	.comm	_ROUTE_GWHISADDR,4,2            ; @ROUTE_GWHISADDR
	.comm	_ROUTE_GWHISADDR6,4,2           ; @ROUTE_GWHISADDR6
l_.str.8:                               ; @.str.8
	.asciz	"%s: Invalid gateway address\n"

	.comm	_RTM_ADD,4,2                    ; @RTM_ADD
	.comm	_ROUTE_STATIC,4,2               ; @ROUTE_STATIC
	.no_dead_strip	_AddCommand
.subsections_via_symbols
