	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsSecureNatHostSet             ## -- Begin function PsSecureNatHostSet
	.p2align	4, 0x90
_PsSecureNatHostSet:                    ## @PsSecureNatHostSet
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -144(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movq	%rax, -136(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	cltq
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -112(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -104(%rbp)
	leaq	L_.str.3(%rip), %rdi
	callq	__UU
	cltq
	movq	%rax, -96(%rbp)
	movq	_CmdEvalIp@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movl	%eax, -88(%rbp)
	movl	$0, -84(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -80(%rbp)
	movslq	(%rbx), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.5(%rip), %rdi
	callq	__UU
	cltq
	movq	%rax, -64(%rbp)
	movl	(%r14), %eax
	movl	%eax, -56(%rbp)
	movl	$0, -52(%rbp)
	cmpq	$0, 8(%r15)
	je	LBB0_1
## %bb.2:
	movq	%r15, %r14
	leaq	-144(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movl	$3, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	%r12, %r13
	leaq	-184(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_Zero
	movl	-172(%rbp), %edi
	movq	%r14, %r12
	movq	8(%r14), %rdx
	movl	$4, %esi
	callq	_StrCpy
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_ScGetSecureNATOption
	movq	%rax, %rbx
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.6:
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	movl	-172(%rbp), %edi
	movq	8(%r12), %rdx
	movl	$4, %esi
	callq	_StrCpy
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movq	%rax, %rbx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movq	%rax, %r13
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamStr
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_IsEmptyStr
	movl	$1, %r14d
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	%rbx, %rdi
	callq	_StrToBin
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	cmpl	$6, (%rbx)
	jne	LBB0_10
## %bb.9:
	movl	-176(%rbp), %edi
	movl	4(%rbx), %esi
	movl	$6, %edx
	callq	_Copy
	movl	$1, %r14d
LBB0_10:
	movq	%rbx, %rdi
	callq	_FreeBuf
LBB0_11:
	movq	%r13, %rdi
	callq	_IsEmptyStr
	testl	%eax, %eax
	je	LBB0_13
LBB0_12:
	movq	-160(%rbp), %r13                ## 8-byte Reload
	movq	-152(%rbp), %rbx                ## 8-byte Reload
LBB0_17:
	movq	%rbx, %rdi
	callq	_IsEmptyStr
	testl	%eax, %eax
	je	LBB0_18
## %bb.20:
	testl	%r14d, %r14d
	jne	LBB0_22
	jmp	LBB0_21
LBB0_1:
	movq	(%r12), %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	__UU
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	*%rbx
LBB0_3:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_24
LBB0_13:
	movl	%r14d, -164(%rbp)               ## 4-byte Spill
	movq	%r13, %rdi
	callq	_IsIpStr4
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_12
## %bb.14:
	movq	%r13, %rdi
	callq	_StrToIP32
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	movl	$4294967295, %ecx               ## imm = 0xFFFFFFFF
	cmpq	%rcx, %rax
	movq	-160(%rbp), %r13                ## 8-byte Reload
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_17
## %bb.16:
	leaq	-180(%rbp), %rdi
	movq	%rax, %rsi
	callq	_UINTToIP
	movl	-164(%rbp), %r14d               ## 4-byte Reload
	jmp	LBB0_17
LBB0_18:
	movq	%rbx, %rdi
	callq	_IsIpStr4
	testl	%eax, %eax
	je	LBB0_21
## %bb.19:
	leaq	-184(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_StrToIP
	testl	%r14d, %r14d
	je	LBB0_21
LBB0_22:
	movl	(%r12), %edi
	leaq	-184(%rbp), %rsi
	callq	_ScSetSecureNATOption
	movq	%rax, %rbx
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
## %bb.23:
	movq	%r15, %rdi
	callq	_FreeParamValueList
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_21:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_5:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_CmdPrintError
	movq	%r15, %rdi
	callq	_FreeParamValueList
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_26
## %bb.25:
	movq	%rbx, %rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC"

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

L_.str.2:                               ## @.str.2
	.asciz	"IP"

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

	.comm	_CmdEvalIp,8,3                  ## @CmdEvalIp
L_.str.4:                               ## @.str.4
	.asciz	"MASK"

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

L_.str.6:                               ## @.str.6
	.asciz	"CMD_Hub_Not_Selected"

	.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	_PsSecureNatHostSet             ; -- Begin function PsSecureNatHostSet
	.p2align	2
_PsSecureNatHostSet:                    ; @PsSecureNatHostSet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	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, #-72]
	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
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	stp	x8, xzr, [sp, #40]
Lloh9:
	adrp	x8, l_.str.2@PAGE
Lloh10:
	add	x8, x8, l_.str.2@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #56]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__UU
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp, #72]
Lloh13:
	adrp	x24, _CmdEvalIp@GOTPAGE
Lloh14:
	ldr	x24, [x24, _CmdEvalIp@GOTPAGEOFF]
	ldr	x8, [x24]
	stp	w8, wzr, [sp, #80]
Lloh15:
	adrp	x8, l_.str.4@PAGE
Lloh16:
	add	x8, x8, l_.str.4@PAGEOFF
	ldrsw	x9, [x23]
	stp	x8, x9, [sp, #88]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__UU
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	str	x8, [sp, #104]
	ldr	x8, [x24]
	stp	w8, wzr, [sp, #112]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.1:
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #3
	bl	_ParseCommandList
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	add	x0, sp, #8
	mov	w1, #16
	bl	_Zero
	ldr	w0, [sp, #20]
	ldr	x2, [x20, #8]
	mov	w1, #4
	bl	_StrCpy
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_ScGetSecureNATOption
Lloh19:
	adrp	x25, _ERR_NO_ERROR@GOTPAGE
Lloh20:
	ldr	x25, [x25, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.3:
	ldr	w0, [sp, #20]
	ldr	x2, [x20, #8]
	mov	w1, #4
	bl	_StrCpy
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	mov	x24, x0
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	mov	x23, x0
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_GetParamStr
	mov	x22, x0
	mov	x0, x24
	bl	_IsEmptyStr
	cbz	w0, LBB0_7
; %bb.4:
	mov	w26, #1
	b	LBB0_12
LBB0_5:
	ldr	x20, [x19]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x19
	blr	x20
LBB0_6:
Lloh29:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh31:
	ldr	x22, [x8]
	b	LBB0_27
LBB0_7:
	mov	x0, x24
	bl	_StrToBin
	mov	x24, x0
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w8, [x24]
	cmp	w8, #6
	b.ne	LBB0_10
; %bb.9:
	ldr	w0, [sp, #16]
	ldr	w1, [x24, #4]
	mov	w2, #6
	bl	_Copy
	mov	w26, #1
	b	LBB0_11
LBB0_10:
	mov	w26, #0
LBB0_11:
	mov	x0, x24
	bl	_FreeBuf
LBB0_12:
	mov	x0, x23
	bl	_IsEmptyStr
	cbz	w0, LBB0_16
LBB0_13:
	mov	x23, x26
LBB0_14:
	mov	x0, x22
	bl	_IsEmptyStr
	cbz	w0, LBB0_20
; %bb.15:
	cbnz	w23, LBB0_22
	b	LBB0_25
LBB0_16:
	mov	x0, x23
	bl	_IsIpStr4
	cbz	w0, LBB0_29
; %bb.17:
	mov	x0, x23
	bl	_StrToIP32
	mov	w23, #0
	cbz	x0, LBB0_14
; %bb.18:
	mov	x1, x0
	mov	w8, #-1
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.19:
	add	x8, sp, #8
	orr	x0, x8, #0x4
	bl	_UINTToIP
	b	LBB0_13
LBB0_20:
	mov	x0, x22
	bl	_IsIpStr4
	cbz	w0, LBB0_25
; %bb.21:
	add	x0, sp, #8
	mov	x1, x22
	bl	_StrToIP
	cbz	w23, LBB0_25
LBB0_22:
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_ScSetSecureNATOption
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.23:
	mov	x0, x21
	bl	_FreeParamValueList
	mov	x22, #0
	b	LBB0_27
LBB0_24:
	mov	x22, x0
	b	LBB0_26
LBB0_25:
Lloh32:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh34:
	ldr	x22, [x8]
LBB0_26:
	mov	x0, x19
	mov	x1, x22
	bl	_CmdPrintError
	mov	x0, x21
	bl	_FreeParamValueList
LBB0_27:
	ldur	x8, [x29, #-72]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.28:
	mov	x0, x22
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_29:
	mov	w23, #0
	b	LBB0_14
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC"

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

l_.str.2:                               ; @.str.2
	.asciz	"IP"

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

	.comm	_CmdEvalIp,8,3                  ; @CmdEvalIp
l_.str.4:                               ; @.str.4
	.asciz	"MASK"

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

l_.str.6:                               ; @.str.6
	.asciz	"CMD_Hub_Not_Selected"

	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
.subsections_via_symbols
