	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NiLoadVhOption                 ## -- Begin function NiLoadVhOption
	.p2align	4, 0x90
_NiLoadVhOption:                        ## @NiLoadVhOption
	.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	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	testq	%r12, %r12
	je	LBB0_8
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetFolder
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetFolder
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rbx
	callq	_CfgGetFolder
	movq	%rax, %r15
	movq	%r12, %rdi
	movl	$112, %esi
	callq	_Zero
	movl	104(%r12), %edi
	callq	_GenMacAddress
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%r13d, %ecx
	callq	_CfgGetStr
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%r14, %rdi
	callq	_StrToBin
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpl	$6, (%r14)
	jne	LBB0_6
## %bb.5:
	movl	104(%r12), %edi
	movl	4(%r14), %esi
	movl	$6, %edx
	callq	_Copy
LBB0_6:
	movq	%r14, %rdi
	callq	_FreeBuf
LBB0_7:
	leaq	100(%r12), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetIp
	leaq	96(%r12), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetIp
	leaq	L_.str.6(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_CfgGetBool
	movq	%rax, 88(%r12)
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetInt
	movq	%rax, 80(%r12)
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetInt
	movq	%rax, 72(%r12)
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetInt
	movq	%rax, 64(%r12)
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetBool
	movq	%rax, 56(%r12)
	leaq	48(%r12), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetIp
	leaq	44(%r12), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetIp
	leaq	40(%r12), %rdx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetIp
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetInt
	movq	%rax, 32(%r12)
	leaq	24(%r12), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetIp
	leaq	20(%r12), %rdx
	leaq	L_.str.16(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetIp
	leaq	16(%r12), %rdx
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgGetIp
	movq	(%r12), %rdx
	leaq	L_.str.18(%rip), %rsi
	movq	%r15, %rdi
	movl	$8, %ecx
	callq	_CfgGetStr
	leaq	L_.str.19(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_CfgGetBool
	movq	%rax, 8(%r12)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VirtualHost"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"VirtualHostIp"

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

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

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

L_.str.8:                               ## @.str.8
	.asciz	"NatTcpTimeout"

L_.str.9:                               ## @.str.9
	.asciz	"NatUdpTimeout"

L_.str.10:                              ## @.str.10
	.asciz	"DhcpEnabled"

L_.str.11:                              ## @.str.11
	.asciz	"DhcpLeaseIPStart"

L_.str.12:                              ## @.str.12
	.asciz	"DhcpLeaseIPEnd"

L_.str.13:                              ## @.str.13
	.asciz	"DhcpSubnetMask"

L_.str.14:                              ## @.str.14
	.asciz	"DhcpExpireTimeSpan"

L_.str.15:                              ## @.str.15
	.asciz	"DhcpGatewayAddress"

L_.str.16:                              ## @.str.16
	.asciz	"DhcpDnsServerAddress"

L_.str.17:                              ## @.str.17
	.asciz	"DhcpDnsServerAddress2"

L_.str.18:                              ## @.str.18
	.asciz	"DhcpDomainName"

L_.str.19:                              ## @.str.19
	.asciz	"SaveLog"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NiLoadVhOption                 ; -- Begin function NiLoadVhOption
	.p2align	2
_NiLoadVhOption:                        ; @NiLoadVhOption
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	mov	x9, x25
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	cbz	x0, LBB0_8
; %bb.1:
	cbz	x20, LBB0_8
; %bb.2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_CfgGetFolder
	mov	x23, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_CfgGetFolder
	mov	x22, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_CfgGetFolder
	mov	x21, x0
	mov	x0, x19
	mov	w1, #112
	bl	_Zero
	ldr	w0, [x19, #104]
	bl	_GenMacAddress
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	mov	x3, x25
	bl	_CfgGetStr
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x24
	bl	_StrToBin
	mov	x24, x0
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x24]
	cmp	w8, #6
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x19, #104]
	ldr	w1, [x24, #4]
	mov	w2, #6
	bl	_Copy
LBB0_6:
	mov	x0, x24
	bl	_FreeBuf
LBB0_7:
	add	x2, x19, #100
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_CfgGetIp
	add	x2, x19, #96
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	bl	_CfgGetIp
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_CfgGetBool
	str	x0, [x19, #88]
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_CfgGetInt
	str	x0, [x19, #80]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_CfgGetInt
	str	x0, [x19, #72]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_CfgGetInt
	str	x0, [x19, #64]
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_CfgGetBool
	str	x0, [x19, #56]
	add	x2, x19, #48
Lloh30:
	adrp	x1, l_.str.11@PAGE
Lloh31:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_CfgGetIp
	add	x2, x19, #44
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_CfgGetIp
	add	x2, x19, #40
Lloh34:
	adrp	x1, l_.str.13@PAGE
Lloh35:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_CfgGetIp
Lloh36:
	adrp	x1, l_.str.14@PAGE
Lloh37:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	bl	_CfgGetInt
	str	x0, [x19, #32]
	add	x2, x19, #24
Lloh38:
	adrp	x1, l_.str.15@PAGE
Lloh39:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_CfgGetIp
	add	x2, x19, #20
Lloh40:
	adrp	x1, l_.str.16@PAGE
Lloh41:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_CfgGetIp
	add	x2, x19, #16
Lloh42:
	adrp	x1, l_.str.17@PAGE
Lloh43:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x21
	bl	_CfgGetIp
	ldr	x2, [x19]
Lloh44:
	adrp	x1, l_.str.18@PAGE
Lloh45:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x21
	mov	w3, #8
	bl	_CfgGetStr
Lloh46:
	adrp	x1, l_.str.19@PAGE
Lloh47:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x20
	bl	_CfgGetBool
	str	x0, [x19, #8]
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh48:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh49:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VirtualHost"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"VirtualHostIp"

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

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

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

l_.str.8:                               ; @.str.8
	.asciz	"NatTcpTimeout"

l_.str.9:                               ; @.str.9
	.asciz	"NatUdpTimeout"

l_.str.10:                              ; @.str.10
	.asciz	"DhcpEnabled"

l_.str.11:                              ; @.str.11
	.asciz	"DhcpLeaseIPStart"

l_.str.12:                              ; @.str.12
	.asciz	"DhcpLeaseIPEnd"

l_.str.13:                              ; @.str.13
	.asciz	"DhcpSubnetMask"

l_.str.14:                              ; @.str.14
	.asciz	"DhcpExpireTimeSpan"

l_.str.15:                              ; @.str.15
	.asciz	"DhcpGatewayAddress"

l_.str.16:                              ; @.str.16
	.asciz	"DhcpDnsServerAddress"

l_.str.17:                              ; @.str.17
	.asciz	"DhcpDnsServerAddress2"

l_.str.18:                              ; @.str.18
	.asciz	"DhcpDomainName"

l_.str.19:                              ; @.str.19
	.asciz	"SaveLog"

.subsections_via_symbols
