	.file	"extr_vpninstall.c_ViLoadInfFromBuf.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"vpncmgr_x64.exe"
.LC1:
	.string	"vpncmgr.exe"
.LC2:
	.string	" \t"
.LC3:
	.string	"#"
.LC4:
	.string	"VpnInstallBuild"
.LC5:
	.string	"//"
.LC6:
	.string	"NormalMode"
.LC7:
	.string	"VpnSettingPath"
.LC8:
	.string	"VpnClientBuild"
.LC9:
	.string	"VpnClientPath"
	.text
	.p2align 4
	.globl	ViLoadInfFromBuf
	.type	ViLoadInfFromBuf, @function
ViLoadInfFromBuf:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L29
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	test	rsi, rsi
	je	.L19
	mov	esi, 40
	mov	r13, rdi
	lea	r14, .LC2[rip]
	call	Zero@PLT
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbx
	call	SeekBuf@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, r12
	call	FreeToken@PLT
.L6:
	mov	rdi, rbp
	call	Free@PLT
.L17:
	mov	rdi, rbx
	call	CfgReadNextLine@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
	mov	rsi, r14
	mov	rdi, rax
	call	ParseToken@PLT
	mov	r12, rax
	test	rax, rax
	je	.L6
	cmp	DWORD PTR [rax], 1
	jle	.L8
	mov	rax, QWORD PTR 8[rax]
	lea	rsi, .LC3[rip]
	mov	rdi, QWORD PTR [rax]
	call	StartWith@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR 8[r12]
	lea	rsi, .LC5[rip]
	mov	rdi, QWORD PTR [rax]
	call	StartWith@PLT
	test	eax, eax
	jne	.L8
.L12:
	mov	rax, QWORD PTR 8[r12]
	lea	rsi, .LC4[rip]
	mov	r15, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rax
	call	StrCmpi@PLT
	test	rax, rax
	jne	.L33
	mov	rdi, QWORD PTR 8[rsp]
	call	ToInt@PLT
	mov	QWORD PTR 0[r13], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	call	MsIsX64@PLT
	lea	rdx, .LC0[rip]
	mov	edi, DWORD PTR 24[r13]
	mov	esi, 4
	test	rax, rax
	lea	rax, .LC1[rip]
	cmove	rdx, rax
	call	StrCpy@PLT
	cmp	QWORD PTR 0[r13], 0
	je	.L19
	cmp	QWORD PTR 8[r13], 0
	jne	.L34
.L19:
	xor	eax, eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L33:
	.cfi_restore_state
	lea	rsi, .LC6[rip]
	mov	rdi, r15
	call	StrCmpi@PLT
	test	rax, rax
	jne	.L14
	mov	rdi, QWORD PTR 8[rsp]
	call	ToBool@PLT
	mov	DWORD PTR 36[r13], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L29:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_def_cfa_offset 80
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	lea	rsi, .LC7[rip]
	mov	rdi, r15
	call	StrCmpi@PLT
	test	rax, rax
	je	.L35
	lea	rsi, .LC8[rip]
	mov	rdi, r15
	call	StrCmpi@PLT
	test	rax, rax
	jne	.L16
	mov	rdi, QWORD PTR 8[rsp]
	call	ToInt@PLT
	mov	QWORD PTR 8[r13], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edi, DWORD PTR 32[r13]
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, 4
	call	StrCpy@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L34:
	mov	edi, DWORD PTR 20[r13]
	call	IsEmptyStr@PLT
	test	eax, eax
	jne	.L19
	mov	DWORD PTR 16[r13], 1
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rsi, .LC9[rip]
	mov	rdi, r15
	call	StrCmpi@PLT
	test	rax, rax
	jne	.L8
	mov	edi, DWORD PTR 20[r13]
	mov	rdx, QWORD PTR 8[rsp]
	mov	esi, 4
	call	StrCpy@PLT
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	ViLoadInfFromBuf, .-ViLoadInfFromBuf
	.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_vpninstall.c_ViLoadInfFromBuf.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"vpncmgr_x64.exe\000"
	.align	2
.LC1:
	.ascii	"vpncmgr.exe\000"
	.align	2
.LC2:
	.ascii	" \011\000"
	.align	2
.LC3:
	.ascii	"#\000"
	.align	2
.LC4:
	.ascii	"VpnInstallBuild\000"
	.align	2
.LC5:
	.ascii	"//\000"
	.align	2
.LC6:
	.ascii	"NormalMode\000"
	.align	2
.LC7:
	.ascii	"VpnSettingPath\000"
	.align	2
.LC8:
	.ascii	"VpnClientBuild\000"
	.align	2
.LC9:
	.ascii	"VpnClientPath\000"
	.text
	.align	2
	.global	ViLoadInfFromBuf
	.syntax unified
	.arm
	.fpu softvfp
	.type	ViLoadInfFromBuf, %function
ViLoadInfFromBuf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	clz	r2, r1
	cmp	r0, #0
	lsr	r2, r2, #5
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	movne	r4, r2
	moveq	r4, #1
	cmp	r4, #0
	beq	.L2
.L18:
	mov	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r5, r1
	mov	r1, #28
	mov	r6, r0
	bl	Zero
	mov	r2, r4
	mov	r1, r4
	mov	r0, r5
	bl	SeekBuf
	ldr	r7, .L37
	ldr	r9, .L37+4
	b	.L16
.L7:
	mov	r0, r4
	bl	FreeToken
.L5:
	mov	r0, r8
	bl	Free
.L16:
	mov	r0, r5
	bl	CfgReadNextLine
	subs	r8, r0, #0
	beq	.L4
	mov	r1, r7
	bl	ParseToken
	subs	r4, r0, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, #1
	ble	.L7
	ldr	r3, [r4, #4]
	mov	r1, r9
	ldr	r0, [r3]
	bl	StartWith
	cmp	r0, #0
	beq	.L11
	ldr	r3, [r4, #4]
	ldr	r1, .L37+8
	ldr	r0, [r3]
	bl	StartWith
	cmp	r0, #0
	bne	.L7
.L11:
	ldr	r3, [r4, #4]
	ldr	r1, .L37+12
	ldm	r3, {r10, fp}
	mov	r0, r10
	bl	StrCmpi
	cmp	r0, #0
	bne	.L35
	mov	r0, fp
	bl	ToInt
	str	r0, [r6]
	b	.L7
.L4:
	ldr	r4, [r6, #16]
	bl	MsIsX64
	mov	r1, r0
	ldr	r3, .L37+16
	cmp	r1, #0
	ldr	r2, .L37+20
	mov	r0, r4
	moveq	r2, r3
	mov	r1, #4
	bl	StrCpy
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L18
	ldr	r3, [r6, #4]
	cmp	r3, #0
	beq	.L18
	ldr	r0, [r6, #12]
	bl	IsEmptyStr
	cmp	r0, #0
	bne	.L18
	mov	r3, #1
	mov	r0, r3
	str	r3, [r6, #8]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L35:
	mov	r0, r10
	ldr	r1, .L37+24
	bl	StrCmpi
	cmp	r0, #0
	bne	.L13
	mov	r0, fp
	bl	ToBool
	str	r0, [r6, #24]
	b	.L7
.L13:
	mov	r0, r10
	ldr	r1, .L37+28
	bl	StrCmpi
	cmp	r0, #0
	beq	.L36
	mov	r0, r10
	ldr	r1, .L37+32
	bl	StrCmpi
	cmp	r0, #0
	bne	.L15
	mov	r0, fp
	bl	ToInt
	str	r0, [r6, #4]
	b	.L7
.L36:
	mov	r2, fp
	mov	r1, #4
	ldr	r0, [r6, #20]
	bl	StrCpy
	b	.L7
.L15:
	mov	r0, r10
	ldr	r1, .L37+36
	bl	StrCmpi
	cmp	r0, #0
	bne	.L7
	mov	r2, fp
	mov	r1, #4
	ldr	r0, [r6, #12]
	bl	StrCpy
	b	.L7
.L38:
	.align	2
.L37:
	.word	.LC2
	.word	.LC3
	.word	.LC5
	.word	.LC4
	.word	.LC1
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	ViLoadInfFromBuf, .-ViLoadInfFromBuf
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
