	.file	"extr_Command.c_PcAccountProxySocks5.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[name]"
.LC1:
	.string	"CMD_AccountCreate_Prompt_Name"
.LC2:
	.string	"SERVER"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"CMD_AccountProxyHttp_Prompt_Server"
	.section	.rodata.str1.1
.LC4:
	.string	"USERNAME"
.LC5:
	.string	"PASSWORD"
	.text
	.p2align 4
	.globl	PcAccountProxySocks5
	.type	PcAccountProxySocks5, @function
PcAccountProxySocks5:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, .LC2[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	lea	rdi, .LC1[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, .LC4[rip]
	sub	rsp, 280
	.cfi_def_cfa_offset 336
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 264[rsp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR CmdPrompt[rip]
	mov	QWORD PTR 96[rsp], r14
	mov	QWORD PTR 104[rsp], rax
	call	_UU@PLT
	lea	rdi, .LC3[rip]
	mov	DWORD PTR 128[rsp], 0
	mov	QWORD PTR 112[rsp], rax
	mov	rax, QWORD PTR CmdEvalNotEmpty[rip]
	mov	QWORD PTR 136[rsp], r15
	mov	QWORD PTR 120[rsp], rax
	movsx	rax, DWORD PTR CmdPrompt[rip]
	mov	QWORD PTR 144[rsp], rax
	call	_UU@PLT
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 152[rsp], rax
	mov	rax, QWORD PTR CmdEvalHostAndPort[rip]
	lea	rcx, .LC5[rip]
	mov	r8d, 4
	mov	QWORD PTR 216[rsp], rcx
	lea	rcx, 96[rsp]
	mov	QWORD PTR 160[rsp], rax
	movsx	rax, DWORD PTR CmdPrompt[rip]
	mov	DWORD PTR 168[rsp], 0
	mov	QWORD PTR 176[rsp], rbx
	mov	QWORD PTR 184[rsp], rax
	mov	QWORD PTR 192[rsp], 0
	mov	QWORD PTR 200[rsp], 0
	mov	DWORD PTR 208[rsp], 0
	mov	QWORD PTR 224[rsp], rax
	mov	QWORD PTR 232[rsp], 0
	mov	QWORD PTR 240[rsp], 0
	mov	DWORD PTR 248[rsp], 0
	call	ParseCommandList@PLT
	test	rax, rax
	je	.L13
	lea	r13, 32[rsp]
	mov	rbp, rax
	mov	esi, 32
	mov	rdi, r13
	call	Zero@PLT
	mov	rsi, r14
	mov	rdi, rbp
	call	GetParamUniStr@PLT
	mov	edi, DWORD PTR 60[rsp]
	mov	esi, 4
	mov	edx, eax
	call	UniStrCpy@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rsi, r13
	mov	edi, DWORD PTR [rax]
	call	CcGetAccount@PLT
	cmp	QWORD PTR ERR_NO_ERROR[rip], rax
	mov	r14, rax
	je	.L14
.L4:
	mov	rsi, r14
	mov	rdi, r12
	call	CmdPrintError@PLT
.L6:
	mov	rdi, r13
	call	CiFreeClientGetAccount@PLT
	mov	rdi, rbp
	call	FreeParamValueList@PLT
.L1:
	mov	rax, QWORD PTR 264[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 280
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	r14, QWORD PTR ERR_INVALID_PARAMETER[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, r15
	mov	rdi, rbp
	call	GetParamStr@PLT
	lea	rdx, 24[rsp]
	lea	rsi, 16[rsp]
	mov	ecx, 1080
	mov	rdi, rax
	call	ParseHostPort@PLT
	test	rax, rax
	jne	.L16
.L5:
	lea	r14, 64[rsp]
	mov	esi, 32
	mov	rdi, r14
	call	Zero@PLT
	mov	rax, QWORD PTR 32[rsp]
	mov	rsi, r14
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR 40[rsp]
	mov	QWORD PTR 72[rsp], rax
	mov	rax, QWORD PTR 48[rsp]
	mov	QWORD PTR 80[rsp], rax
	mov	eax, DWORD PTR 56[rsp]
	mov	DWORD PTR 88[rsp], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	call	CcSetAccount@PLT
	cmp	QWORD PTR ERR_NO_ERROR[rip], rax
	mov	r14, rax
	je	.L6
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR 40[rsp]
	mov	edx, DWORD PTR PROXY_SOCKS5[rip]
	mov	esi, 4
	mov	DWORD PTR 20[rax], edx
	mov	edi, DWORD PTR 16[rax]
	mov	rdx, QWORD PTR 16[rsp]
	call	StrCpy@PLT
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, rbx
	mov	rdi, rbp
	mov	rax, QWORD PTR 40[rsp]
	mov	QWORD PTR 8[rax], rdx
	call	GetParamStr@PLT
	mov	esi, 4
	mov	rdx, rax
	mov	rax, QWORD PTR 40[rsp]
	mov	edi, DWORD PTR 4[rax]
	call	StrCpy@PLT
	mov	rdi, rbp
	lea	rsi, .LC5[rip]
	call	GetParamStr@PLT
	mov	esi, 4
	mov	rdx, rax
	mov	rax, QWORD PTR 40[rsp]
	mov	edi, DWORD PTR [rax]
	call	StrCpy@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	Free@PLT
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	PcAccountProxySocks5, .-PcAccountProxySocks5
	.comm	PROXY_SOCKS5,4,4
	.comm	ERR_NO_ERROR,8,8
	.comm	ERR_INVALID_PARAMETER,8,8
	.comm	CmdPrompt,4,4
	.comm	CmdEvalNotEmpty,8,8
	.comm	CmdEvalHostAndPort,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_Command.c_PcAccountProxySocks5.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[name]\000"
	.align	2
.LC1:
	.ascii	"CMD_AccountCreate_Prompt_Name\000"
	.align	2
.LC2:
	.ascii	"SERVER\000"
	.align	2
.LC3:
	.ascii	"CMD_AccountProxyHttp_Prompt_Server\000"
	.align	2
.LC4:
	.ascii	"USERNAME\000"
	.align	2
.LC5:
	.ascii	"PASSWORD\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	PcAccountProxySocks5
	.syntax unified
	.arm
	.fpu softvfp
	.type	PcAccountProxySocks5, %function
PcAccountProxySocks5:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	fp, .L17
	sub	sp, sp, #172
	ldr	ip, [fp]
	mov	r6, r3
	ldr	r8, .L17+4
	ldr	r3, .L17+8
	str	r2, [sp, #12]
	mov	r5, r0
	ldr	r0, .L17+12
	mov	r10, r1
	ldr	r3, [r3]
	str	r3, [sp, #164]
	mov	r3,#0
	str	ip, [sp, #88]
	str	r8, [sp, #84]
	bl	_UU
	mov	r4, #0
	mov	ip, r0
	ldr	r3, .L17+16
	ldr	r1, [fp]
	ldr	r3, [r3]
	ldr	r9, .L17+20
	ldr	r0, .L17+24
	str	ip, [sp, #92]
	str	r1, [sp, #108]
	str	r3, [sp, #96]
	str	r4, [sp, #100]
	str	r9, [sp, #104]
	bl	_UU
	mov	r7, #4
	mov	r3, r0
	ldr	r1, .L17+28
	ldr	r0, [fp]
	ldr	ip, [r1]
	ldr	fp, .L17+32
	mov	r1, r10
	ldr	r10, .L17+36
	str	r0, [sp, #128]
	str	r0, [sp, #148]
	str	r3, [sp, #112]
	mov	r0, r5
	ldr	r2, [sp, #12]
	str	r7, [sp]
	add	r3, sp, #84
	str	r4, [sp, #120]
	str	r4, [sp, #132]
	str	r4, [sp, #136]
	str	r4, [sp, #140]
	str	r4, [sp, #152]
	str	r4, [sp, #156]
	str	r4, [sp, #160]
	str	ip, [sp, #116]
	str	fp, [sp, #124]
	str	r10, [sp, #144]
	bl	ParseCommandList
	subs	r4, r0, #0
	beq	.L13
	mov	r1, #28
	add	r0, sp, #28
	bl	Zero
	mov	r1, r8
	mov	r0, r4
	ldr	r8, [sp, #52]
	bl	GetParamUniStr
	mov	r1, r7
	mov	r2, r0
	mov	r0, r8
	bl	UniStrCpy
	add	r1, sp, #28
	ldr	r0, [r6]
	bl	CcGetAccount
	ldr	r8, .L17+40
	mov	r1, r0
	ldr	r3, [r8]
	cmp	r3, r0
	beq	.L14
.L4:
	mov	r0, r5
	str	r1, [sp, #12]
	bl	CmdPrintError
	ldr	r1, [sp, #12]
.L6:
	add	r0, sp, #28
	str	r1, [sp, #12]
	bl	CiFreeClientGetAccount
	mov	r0, r4
	bl	FreeParamValueList
	ldr	r1, [sp, #12]
.L1:
	ldr	r3, .L17+8
	ldr	r2, [r3]
	ldr	r3, [sp, #164]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r1
	add	sp, sp, #172
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	ldr	r3, .L17+44
	ldr	r1, [r3]
	b	.L1
.L14:
	mov	r1, r9
	mov	r0, r4
	bl	GetParamStr
	ldr	r3, .L17+48
	add	r2, sp, #24
	add	r1, sp, #20
	bl	ParseHostPort
	cmp	r0, #0
	bne	.L16
.L5:
	mov	r1, #28
	add	r0, sp, #56
	bl	Zero
	ldr	ip, [sp, #48]
	ldr	r2, [sp, #44]
	ldr	r3, [sp, #40]
	str	ip, [sp, #76]
	str	r2, [sp, #72]
	ldr	ip, [sp, #36]
	ldr	r2, [sp, #32]
	str	r3, [sp, #68]
	ldr	r3, [sp, #28]
	add	r1, sp, #56
	ldr	r0, [r6]
	str	r3, [sp, #56]
	str	ip, [sp, #64]
	str	r2, [sp, #60]
	bl	CcSetAccount
	ldr	r3, [r8]
	mov	r1, r0
	cmp	r3, r0
	beq	.L6
	b	.L4
.L16:
	ldr	r2, .L17+52
	ldr	r3, [sp, #36]
	ldr	r2, [r2]
	mov	r1, r7
	str	r2, [r3, #16]
	ldr	r0, [r3, #12]
	ldr	r2, [sp, #20]
	bl	StrCpy
	ldr	r3, [sp, #36]
	ldr	r2, [sp, #24]
	mov	r1, fp
	str	r2, [r3, #8]
	mov	r0, r4
	ldr	r9, [r3, #4]
	bl	GetParamStr
	mov	r1, r7
	mov	r2, r0
	mov	r0, r9
	bl	StrCpy
	ldr	r3, [sp, #36]
	mov	r1, r10
	mov	r0, r4
	ldr	r9, [r3]
	bl	GetParamStr
	mov	r1, r7
	mov	r2, r0
	mov	r0, r9
	bl	StrCpy
	ldr	r0, [sp, #20]
	bl	Free
	b	.L5
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	CmdPrompt
	.word	.LC0
	.word	.LC6
	.word	.LC1
	.word	CmdEvalNotEmpty
	.word	.LC2
	.word	.LC3
	.word	CmdEvalHostAndPort
	.word	.LC4
	.word	.LC5
	.word	ERR_NO_ERROR
	.word	ERR_INVALID_PARAMETER
	.word	1080
	.word	PROXY_SOCKS5
	.size	PcAccountProxySocks5, .-PcAccountProxySocks5
	.comm	PROXY_SOCKS5,4,4
	.comm	ERR_NO_ERROR,4,4
	.comm	ERR_INVALID_PARAMETER,4,4
	.comm	CmdPrompt,4,4
	.comm	CmdEvalNotEmpty,4,4
	.comm	CmdEvalHostAndPort,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
