	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsOpenVpnMakeConfig            ## -- Begin function PsOpenVpnMakeConfig
	.p2align	4, 0x90
_PsOpenVpnMakeConfig:                   ## @PsOpenVpnMakeConfig
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	movq	_CmdPrompt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movl	%eax, -64(%rbp)
	movq	_CmdEvalNotEmpty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	$0, -56(%rbp)
	leaq	-80(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	$1, %r8d
	callq	_ParseCommandList
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_Zero
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_ScMakeOpenVpnConfigFile
	movq	%rax, %r12
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_3
## %bb.4:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_MAX_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %r13d
	movq	%r13, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movl	(%r14), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leal	(,%r13,4), %eax
	movq	%rbx, %r13
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetParamUniStr
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_UniStrCpy
	leaq	l_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_UniEndWith
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	l_.str.2(%rip), %rdx
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_UniStrCat
LBB0_6:
	movl	-88(%rbp), %edi
	movq	%r13, %rsi
	callq	_DumpBufW
	testl	%eax, %eax
	jne	LBB0_7
## %bb.8:
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	leaq	L_.str.3(%rip), %rdi
	movq	(%rax), %r12
	jmp	LBB0_9
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_11
LBB0_3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_CmdPrintError
	jmp	LBB0_10
LBB0_7:
	leaq	L_.str.4(%rip), %rdi
LBB0_9:
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	shll	$2, %ebx
	callq	__UU
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r13, %rcx
	callq	_UniFormat
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	*(%rdi)
	leaq	-88(%rbp), %rdi
	callq	_FreeRpcReadLogFile
	movq	-112(%rbp), %rsp                ## 8-byte Reload
LBB0_10:
	movq	%r15, %rdi
	callq	_FreeParamValueList
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[ZIP_FileName]"

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

	.comm	_CmdEvalNotEmpty,4,2            ## @CmdEvalNotEmpty
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.section	__TEXT,__const
	.p2align	2                               ## @.str.2
l_.str.2:
	.long	46                              ## 0x2e
	.long	122                             ## 0x7a
	.long	105                             ## 0x69
	.long	112                             ## 0x70
	.long	0                               ## 0x0

	.comm	_ERR_INTERNAL_ERROR,8,3         ## @ERR_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str.3:                               ## @.str.3
	.asciz	"CMD_OpenVpnMakeConfig_ERROR"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsOpenVpnMakeConfig            ; -- Begin function PsOpenVpnMakeConfig
	.p2align	2
_PsOpenVpnMakeConfig:                   ; @PsOpenVpnMakeConfig
	.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, #48
	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	x9, _CmdPrompt@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CmdPrompt@GOTPAGEOFF]
	stur	x8, [x29, #-72]
Lloh5:
	ldrsw	x8, [x9]
Lloh6:
	adrp	x9, l_.str@PAGE
Lloh7:
	add	x9, x9, l_.str@PAGEOFF
	stp	x9, x8, [x29, #-104]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
Lloh10:
	adrp	x8, _CmdEvalNotEmpty@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CmdEvalNotEmpty@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stp	w0, w8, [x29, #-88]
	stur	wzr, [x29, #-80]
	sub	x3, x29, #104
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w4, #1
	bl	_ParseCommandList
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	sub	x0, x29, #112
	mov	w1, #4
	bl	_Zero
	ldr	w0, [x20]
	sub	x1, x29, #112
	bl	_ScMakeOpenVpnConfigFile
	mov	x20, x0
Lloh13:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	mov	x25, sp
Lloh16:
	adrp	x12, _MAX_SIZE@GOTPAGE
Lloh17:
	ldr	x12, [x12, _MAX_SIZE@GOTPAGEOFF]
	ldr	w13, [x12]
	lsl	x8, x13, #2
	mov	x9, x8
Lloh18:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh19:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w26, [x12]
	lsl	x8, x26, #2
	mov	x9, x8
Lloh20:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh21:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	lsl	w24, w13, #2
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_GetParamUniStr
	mov	x2, x0
	mov	x0, x22
	mov	x1, x24
	bl	_UniStrCpy
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_UniEndWith
	cbnz	w0, LBB0_4
; %bb.3:
Lloh26:
	adrp	x2, l_.str.2@PAGE
Lloh27:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, x24
	bl	_UniStrCat
LBB0_4:
	ldur	w0, [x29, #-112]
	mov	x1, x22
	bl	_DumpBufW
Lloh28:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
Lloh31:
	adrp	x9, l_.str.4@PAGE
Lloh32:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh33:
	adrp	x10, l_.str.3@PAGE
Lloh34:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w0, #0
	csel	x0, x10, x9, eq
	csel	x20, x8, x20, eq
	lsl	w24, w26, #2
	bl	__UU
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	mov	x3, x22
	bl	_UniFormat
	ldr	x8, [x19]
	mov	x0, x19
	mov	x1, x23
	blr	x8
	sub	x0, x29, #112
	bl	_FreeRpcReadLogFile
	mov	sp, x25
	b	LBB0_7
LBB0_5:
Lloh35:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh37:
	ldr	x20, [x8]
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	mov	x1, x20
	bl	_CmdPrintError
LBB0_7:
	mov	x0, x21
	bl	_FreeParamValueList
LBB0_8:
	ldur	x8, [x29, #-72]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[ZIP_FileName]"

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

	.comm	_CmdEvalNotEmpty,4,2            ; @CmdEvalNotEmpty
	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.section	__TEXT,__const
	.p2align	2                               ; @.str.2
l_.str.2:
	.long	46                              ; 0x2e
	.long	122                             ; 0x7a
	.long	105                             ; 0x69
	.long	112                             ; 0x70
	.long	0                               ; 0x0

	.comm	_ERR_INTERNAL_ERROR,8,3         ; @ERR_INTERNAL_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str.3:                               ; @.str.3
	.asciz	"CMD_OpenVpnMakeConfig_ERROR"

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

.subsections_via_symbols
