	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NiWriteVhOptionEx              ## -- Begin function NiWriteVhOptionEx
	.p2align	4, 0x90
_NiWriteVhOptionEx:                     ## @NiWriteVhOptionEx
	.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	$40, %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, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_CfgCreateFolder
	movq	%rax, %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgCreateFolder
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgCreateFolder
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movl	76(%r13), %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_MacToStr
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_CfgAddStr
	leaq	72(%r13), %rdx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_CfgAddIp
	leaq	68(%r13), %rdx
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_CfgAddIp
	movl	64(%r13), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_CfgAddBool
	movl	60(%r13), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgAddInt
	movl	56(%r13), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgAddInt
	movl	52(%r13), %edx
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgAddInt
	movl	48(%r13), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddBool
	leaq	44(%r13), %rdx
	leaq	L_.str.11(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddIp
	leaq	40(%r13), %rdx
	leaq	L_.str.12(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddIp
	leaq	36(%r13), %rdx
	leaq	L_.str.13(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddIp
	movl	32(%r13), %edx
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddInt
	leaq	28(%r13), %rdx
	leaq	L_.str.15(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddIp
	leaq	24(%r13), %rdx
	leaq	L_.str.16(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddIp
	leaq	20(%r13), %rdx
	leaq	L_.str.17(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddIp
	movq	(%r13), %rdx
	leaq	L_.str.18(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddStr
	movq	8(%r13), %rdx
	leaq	L_.str.19(%rip), %rsi
	movq	%r15, %rdi
	callq	_CfgAddStr
	movl	16(%r13), %edx
	leaq	L_.str.20(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_CfgAddBool
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	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	"DhcpPushRoutes"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NiWriteVhOptionEx              ; -- Begin function NiWriteVhOptionEx
	.p2align	2
_NiWriteVhOptionEx:                     ; @NiWriteVhOptionEx
	.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	x19, x1
	mov	x20, 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	w24, [x8]
	mov	x9, x24
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x24, #15
	and	x9, x9, #0x1fffffff0
	sub	x23, x8, x9
	mov	sp, x23
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_CfgCreateFolder
	mov	x25, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_CfgCreateFolder
	mov	x22, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_CfgCreateFolder
	mov	x21, x0
	ldr	w2, [x20, #76]
	mov	x0, x23
	mov	x1, x24
	bl	_MacToStr
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x25
	mov	x2, x23
	bl	_CfgAddStr
	add	x2, x20, #72
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_CfgAddIp
	add	x2, x20, #68
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x25
	bl	_CfgAddIp
	ldr	w2, [x20, #64]
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_CfgAddBool
	ldr	w2, [x20, #60]
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_CfgAddInt
	ldr	w2, [x20, #56]
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_CfgAddInt
	ldr	w2, [x20, #52]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_CfgAddInt
	ldr	w2, [x20, #48]
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_CfgAddBool
	add	x2, x20, #44
Lloh30:
	adrp	x1, l_.str.11@PAGE
Lloh31:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_CfgAddIp
	add	x2, x20, #40
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x21
	bl	_CfgAddIp
	add	x2, x20, #36
Lloh34:
	adrp	x1, l_.str.13@PAGE
Lloh35:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x21
	bl	_CfgAddIp
	ldr	w2, [x20, #32]
Lloh36:
	adrp	x1, l_.str.14@PAGE
Lloh37:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x21
	bl	_CfgAddInt
	add	x2, x20, #28
Lloh38:
	adrp	x1, l_.str.15@PAGE
Lloh39:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x21
	bl	_CfgAddIp
	add	x2, x20, #24
Lloh40:
	adrp	x1, l_.str.16@PAGE
Lloh41:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x21
	bl	_CfgAddIp
	add	x2, x20, #20
Lloh42:
	adrp	x1, l_.str.17@PAGE
Lloh43:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x21
	bl	_CfgAddIp
	ldr	x2, [x20]
Lloh44:
	adrp	x1, l_.str.18@PAGE
Lloh45:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x21
	bl	_CfgAddStr
	ldr	x2, [x20, #8]
Lloh46:
	adrp	x1, l_.str.19@PAGE
Lloh47:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x21
	bl	_CfgAddStr
	ldr	w2, [x20, #16]
Lloh48:
	adrp	x1, l_.str.20@PAGE
Lloh49:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	bl	_CfgAddBool
LBB0_3:
	ldur	x8, [x29, #-72]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh48, Lloh49
	.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 AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.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	"DhcpPushRoutes"

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

.subsections_via_symbols
