	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsConnect                      ## -- Begin function PsConnect
	.p2align	4, 0x90
_PsConnect:                             ## @PsConnect
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_2
## %bb.3:
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rbx
	testq	%r14, %r14
	movl	$443, %r12d                     ## imm = 0x1BB
	cmovneq	%r14, %r12
	xorl	%eax, %eax
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	cmovneq	%rax, %r14
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_NewCedar
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-120(%rbp), %rdi
	movl	$24, %esi
	callq	_Zero
	movl	-100(%rbp), %edi
	leaq	l_.str(%rip), %rdx
	movl	$4, %esi
	callq	_UniStrCpy
	movl	-104(%rbp), %edi
	movl	$4, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_StrCpy
	movq	%r12, -112(%rbp)
	movq	_PROXY_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -120(%rbp)
	movq	%rbx, %rdi
	callq	_StrLen
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_Sha0
	movq	%rbx, %rdi
	callq	_IsEmptyStr
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_CEDAR_CUI_STR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-96(%rbp), %r8
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	-120(%rbp), %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_AdminConnectEx
	movq	%r14, %r9
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_4
LBB0_12:
	subq	$8, %rsp
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	callq	_NewPs
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PsMain
	movq	(%rbx), %r12
	movq	%rbx, %rdi
	callq	_FreePs
	movq	%r14, %rdi
	callq	_AdminDisconnect
	jmp	LBB0_14
LBB0_2:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_15
LBB0_4:
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	xorl	%eax, %eax
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	movq	_CEDAR_CUI_STR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %r12
	movq	_ERR_ACCESS_DENIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r12
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, (%r13)
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	__UU
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	*%rbx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	__UU
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	*%rbx
	movq	%rax, %rbx
	movq	%r13, %rdi
	leaq	l_.str.3(%rip), %rsi
	callq	*16(%r13)
	testq	%rbx, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_StrLen
	movq	-152(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_Sha0
	movq	%rbx, %rdi
	callq	_Free
	movl	(%r15), %r9d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	leaq	-120(%rbp), %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	leaq	-96(%rbp), %r8
	callq	_AdminConnectEx
	movq	%rax, %r14
	movl	$1, %eax
	testq	%r14, %r14
	je	LBB0_5
## %bb.11:
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_12
LBB0_13:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_CmdPrintError
LBB0_14:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_ReleaseCedar
	movq	-144(%rbp), %rbx                ## 8-byte Reload
LBB0_15:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @ERR_INVALID_PARAMETER
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	86                              ## 0x56
	.long	80                              ## 0x50
	.long	78                              ## 0x4e
	.long	67                              ## 0x43
	.long	77                              ## 0x4d
	.long	68                              ## 0x44
	.long	0                               ## 0x0

	.comm	_PROXY_DIRECT,4,2               ## @PROXY_DIRECT
	.comm	_CEDAR_CUI_STR,4,2              ## @CEDAR_CUI_STR
	.comm	_ERR_ACCESS_DENIED,8,3          ## @ERR_ACCESS_DENIED
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"CMD_VPNCMD_PASSWORD_1"

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

	.section	__TEXT,__const
	.p2align	2                               ## @.str.3
l_.str.3:
	.space	4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PsConnect                      ; -- Begin function PsConnect
	.p2align	2
_PsConnect:                             ; @PsConnect
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x26, x6
	mov	x27, x5
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	mov	x12, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _SHA1_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA1_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	cbz	x0, LBB0_4
; %bb.1:
	cbz	x21, LBB0_4
; %bb.2:
	stur	x12, [x29, #-128]               ; 8-byte Folded Spill
	mov	w8, #443
	cmp	x2, #0
	csel	x28, x8, x2, eq
	cmp	x20, #0
	csel	x25, x4, xzr, eq
	mov	x0, #0
	mov	x1, #0
	bl	_NewCedar
	mov	x23, x0
	sub	x0, x29, #112
	mov	w1, #24
	bl	_Zero
	ldur	w0, [x29, #-92]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	_UniStrCpy
	ldur	w0, [x29, #-96]
	mov	w1, #4
	mov	x2, x21
	bl	_StrCpy
	stur	x28, [x29, #-104]
Lloh10:
	adrp	x8, _PROXY_DIRECT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PROXY_DIRECT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	stur	w8, [x29, #-112]
	mov	x0, x26
	bl	_StrLen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x26
	bl	_Sha0
	mov	x0, x26
	bl	_IsEmptyStr
	mov	x26, x0
Lloh13:
	adrp	x8, _CEDAR_CUI_STR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CEDAR_CUI_STR@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
	sub	x1, x29, #112
	sub	x4, x29, #120
	mov	x0, x23
	mov	x2, x20
	mov	x3, x24
	bl	_AdminConnectEx
	mov	x19, x0
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x28
	mov	x4, x20
	mov	x5, x25
	mov	x6, x27
	bl	_NewPs
	mov	x20, x0
	bl	_PsMain
	ldr	x28, [x20]
	mov	x0, x20
	bl	_FreePs
	mov	x0, x19
	bl	_AdminDisconnect
	b	LBB0_14
LBB0_4:
Lloh16:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
Lloh18:
	ldr	x28, [x8]
	b	LBB0_15
LBB0_5:
	stp	x28, x27, [x29, #-144]          ; 16-byte Folded Spill
	cmp	w26, #0
	cset	w8, eq
Lloh19:
	adrp	x27, _ERR_ACCESS_DENIED@GOTPAGE
Lloh20:
	ldr	x27, [x27, _ERR_ACCESS_DENIED@GOTPAGEOFF]
Lloh21:
	adrp	x26, l_.str.3@PAGE
Lloh22:
	add	x26, x26, l_.str.3@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x28, [x29, #-120]
	ldr	x9, [x27]
	cmp	x28, x9
	b.ne	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x22]
	cbnz	w9, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x22, #16]
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x22
	blr	x19
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x19, [x22, #8]
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__UU
	mov	x1, x0
	mov	x0, x22
	blr	x19
	mov	x19, x0
	ldr	x8, [x22, #16]
	mov	x0, x22
	mov	x1, x26
	blr	x8
	cbz	x19, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_StrLen
	mov	x2, x0
	mov	x0, x24
	mov	x1, x19
	bl	_Sha0
	mov	x0, x19
	bl	_Free
Lloh27:
	adrp	x8, _CEDAR_CUI_STR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CEDAR_CUI_STR@GOTPAGEOFF]
Lloh29:
	ldr	w5, [x8]
	sub	x1, x29, #112
	sub	x4, x29, #120
	mov	x0, x23
	mov	x2, x20
	mov	x3, x24
	bl	_AdminConnectEx
	mov	w8, #1
	cbz	x0, LBB0_6
; %bb.12:
	mov	x19, x0
	ldp	x28, x27, [x29, #-144]          ; 16-byte Folded Reload
	b	LBB0_3
LBB0_13:
	mov	x0, x22
	mov	x1, x28
	bl	_CmdPrintError
LBB0_14:
	mov	x0, x23
	bl	_ReleaseCedar
	ldur	x12, [x29, #-128]               ; 8-byte Folded Reload
LBB0_15:
	mov	sp, x12
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	mov	x0, x28
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
	.comm	_ERR_INVALID_PARAMETER,8,3      ; @ERR_INVALID_PARAMETER
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	86                              ; 0x56
	.long	80                              ; 0x50
	.long	78                              ; 0x4e
	.long	67                              ; 0x43
	.long	77                              ; 0x4d
	.long	68                              ; 0x44
	.long	0                               ; 0x0

	.comm	_PROXY_DIRECT,4,2               ; @PROXY_DIRECT
	.comm	_CEDAR_CUI_STR,4,2              ; @CEDAR_CUI_STR
	.comm	_ERR_ACCESS_DENIED,8,3          ; @ERR_ACCESS_DENIED
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"CMD_VPNCMD_PASSWORD_1"

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

	.section	__TEXT,__const
	.p2align	2                               ; @.str.3
l_.str.3:
	.space	4

.subsections_via_symbols
