	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsRouterTableAdd               ## -- Begin function PsRouterTableAdd
	.p2align	4, 0x90
_PsRouterTableAdd:                      ## @PsRouterTableAdd
	.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	$168, %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	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -176(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	%rax, -168(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	%eax, -160(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -156(%rbp)
	movl	$0, -152(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -144(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -136(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	__UU
	movl	%eax, -128(%rbp)
	movq	_CmdEvalNetworkAndSubnetMask4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movl	$0, -120(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -112(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -104(%rbp)
	leaq	L_.str.5(%rip), %rdi
	callq	__UU
	movl	%eax, -96(%rbp)
	movq	_CmdEvalIp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -92(%rbp)
	movl	$0, -88(%rbp)
	leaq	L_.str.6(%rip), %rax
	movq	%rax, -80(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.7(%rip), %rdi
	callq	__UU
	movl	%eax, -64(%rbp)
	movq	_CmdEvalInt1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	$0, -56(%rbp)
	leaq	-176(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	$4, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	leaq	-200(%rbp), %r12
	movq	%r12, %rdi
	movl	$20, %esi
	callq	_Zero
	movl	-184(%rbp), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetParamStr
	movl	%ebx, %edi
	movl	$4, %esi
	movl	%eax, %edx
	callq	_StrCpy
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetParamStr
	leaq	-188(%rbp), %rsi
	leaq	-192(%rbp), %rdx
	movl	%eax, %edi
	callq	_ParseIpAndSubnetMask4
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetParamInt
	movl	%eax, -196(%rbp)
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetParamStr
	movl	%eax, %edi
	callq	_StrToIP32
	movl	%eax, -200(%rbp)
	movl	(%r14), %edi
	movq	%r12, %rsi
	callq	_ScAddL3Table
	movq	%rax, %rbx
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_3
## %bb.4:
	movq	%r13, %rdi
	callq	_FreeParamValueList
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_5
LBB0_3:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_CmdPrintError
	movq	%r13, %rdi
	callq	_FreeParamValueList
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[name]"

	.comm	_CmdPrompt,4,2                  ## @CmdPrompt
L_.str.1:                               ## @.str.1
	.asciz	"CMD_RouterTableAdd_PROMPT_NAME"

	.comm	_CmdEvalNotEmpty,4,2            ## @CmdEvalNotEmpty
L_.str.2:                               ## @.str.2
	.asciz	"NETWORK"

L_.str.3:                               ## @.str.3
	.asciz	"CMD_RouterTableAdd_PROMPT_NETWORK"

	.comm	_CmdEvalNetworkAndSubnetMask4,4,2 ## @CmdEvalNetworkAndSubnetMask4
L_.str.4:                               ## @.str.4
	.asciz	"GATEWAY"

L_.str.5:                               ## @.str.5
	.asciz	"CMD_RouterTableAdd_PROMPT_GATEWAY"

	.comm	_CmdEvalIp,4,2                  ## @CmdEvalIp
L_.str.6:                               ## @.str.6
	.asciz	"METRIC"

L_.str.7:                               ## @.str.7
	.asciz	"CMD_RouterTableAdd_PROMPT_METRIC"

	.comm	_CmdEvalInt1,4,2                ## @CmdEvalInt1
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsRouterTableAdd               ; -- Begin function PsRouterTableAdd
	.p2align	2
_PsRouterTableAdd:                      ; @PsRouterTableAdd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x23, _CmdPrompt@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CmdPrompt@GOTPAGEOFF]
	stur	x8, [x29, #-56]
	ldrsw	x8, [x23]
Lloh5:
	adrp	x9, l_.str@PAGE
Lloh6:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, x8, [sp, #24]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
Lloh9:
	adrp	x8, _CmdEvalNotEmpty@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CmdEvalNotEmpty@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #40]
	str	wzr, [sp, #48]
Lloh12:
	adrp	x8, l_.str.2@PAGE
Lloh13:
	add	x8, x8, l_.str.2@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #56]
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__UU
Lloh16:
	adrp	x8, _CmdEvalNetworkAndSubnetMask4@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CmdEvalNetworkAndSubnetMask4@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #72]
	str	wzr, [sp, #80]
Lloh19:
	adrp	x8, l_.str.4@PAGE
Lloh20:
	add	x8, x8, l_.str.4@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #88]
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__UU
Lloh23:
	adrp	x8, _CmdEvalIp@GOTPAGE
Lloh24:
	ldr	x8, [x8, _CmdEvalIp@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #104]
	str	wzr, [sp, #112]
Lloh26:
	adrp	x8, l_.str.6@PAGE
Lloh27:
	add	x8, x8, l_.str.6@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #120]
Lloh28:
	adrp	x0, l_.str.7@PAGE
Lloh29:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__UU
Lloh30:
	adrp	x8, _CmdEvalInt1@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CmdEvalInt1@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #136]
	str	wzr, [sp, #144]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #4
	bl	_ParseCommandList
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	mov	x23, sp
	mov	x0, sp
	mov	w1, #20
	bl	_Zero
	ldr	w22, [sp, #16]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	mov	x2, x0
	mov	x0, x22
	mov	w1, #4
	bl	_StrCpy
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	add	x1, x23, #12
	add	x2, x23, #8
	bl	_ParseIpAndSubnetMask4
Lloh37:
	adrp	x1, l_.str.6@PAGE
Lloh38:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_GetParamInt
	str	w0, [sp, #4]
Lloh39:
	adrp	x1, l_.str.4@PAGE
Lloh40:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	bl	_StrToIP32
	str	w0, [sp]
	ldr	w0, [x20]
	mov	x1, sp
	bl	_ScAddL3Table
Lloh41:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_FreeParamValueList
	mov	x20, #0
	b	LBB0_5
LBB0_3:
Lloh44:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh46:
	ldr	x20, [x8]
	b	LBB0_5
LBB0_4:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_CmdPrintError
	mov	x0, x21
	bl	_FreeParamValueList
LBB0_5:
	ldur	x8, [x29, #-56]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[name]"

	.comm	_CmdPrompt,4,2                  ; @CmdPrompt
l_.str.1:                               ; @.str.1
	.asciz	"CMD_RouterTableAdd_PROMPT_NAME"

	.comm	_CmdEvalNotEmpty,4,2            ; @CmdEvalNotEmpty
l_.str.2:                               ; @.str.2
	.asciz	"NETWORK"

l_.str.3:                               ; @.str.3
	.asciz	"CMD_RouterTableAdd_PROMPT_NETWORK"

	.comm	_CmdEvalNetworkAndSubnetMask4,4,2 ; @CmdEvalNetworkAndSubnetMask4
l_.str.4:                               ; @.str.4
	.asciz	"GATEWAY"

l_.str.5:                               ; @.str.5
	.asciz	"CMD_RouterTableAdd_PROMPT_GATEWAY"

	.comm	_CmdEvalIp,4,2                  ; @CmdEvalIp
l_.str.6:                               ; @.str.6
	.asciz	"METRIC"

l_.str.7:                               ; @.str.7
	.asciz	"CMD_RouterTableAdd_PROMPT_METRIC"

	.comm	_CmdEvalInt1,4,2                ; @CmdEvalInt1
	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
.subsections_via_symbols
