// File: /workspace/github_cpp_makefile_star2_O3/ClauParser[P]ClauParser/./include/clau_parser.h
// Function: clau_parser::LoadData::LoadDataFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, clau_parser::UserType&, int, int, bool)
static bool LoadDataFromFile(const std::string& fileName, UserType& global, int lex_thr_num = 1, int parse_thr_num = 1, bool use_simd = false) /// global should be empty
		{
			if (lex_thr_num <= 0) {
				lex_thr_num = std::thread::hardware_concurrency();
			}
			if (lex_thr_num <= 0) {
				lex_thr_num = 1;
			}

			if (parse_thr_num <= 0) {
				parse_thr_num = std::thread::hardware_concurrency();
			}
			if (parse_thr_num <= 0) {
				parse_thr_num = 1;
			}

			FILE* inFile;

#ifdef _WIN32 
			fopen_s(&inFile, fileName.c_str(), "rb");
#else
			inFile = fopen(fileName.c_str(), "rb");
#endif

			if (!inFile)
			{
				return false;
			}

			UserType globalTemp;

			try {

				InFileReserver ifReserver(inFile, use_simd);


				//	strVec.reserve(ifReserver.Num);
				// cf) empty file..
				if (false == _LoadData(ifReserver, globalTemp, lex_thr_num, parse_thr_num))
				{
					fclose(inFile);
					return false; // return true?
				}

				fclose(inFile);
			}
			catch (const char* err) { std::cout << err << "\n"; fclose(inFile); return false; }
			catch (const std::string& e) { std::cout << e << "\n"; fclose(inFile); return false; }
			catch (const std::exception& e) { std::cout << e.what() << "\n"; fclose(inFile); return false; }
			catch (...) { std::cout << "not expected error" << "\n"; fclose(inFile); return false; }


			global = std::move(globalTemp);

			return true;
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movl %r8d, %ebp
movl %ecx, %r13d
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
testl %edx, %edx
jg 0x33f8
callq 0x2240
movl %eax, %r15d
cmpl $0x2, %r15d
movl $0x1, %r12d
cmovll %r12d, %r15d
testl %r13d, %r13d
jg 0x3413
callq 0x2240
movl %eax, %r13d
cmpl $0x2, %r13d
cmovgel %r13d, %r12d
movq (%rbx), %rdi
leaq 0x6d4e(%rip), %rsi      # 0xa173
callq 0x21f0
testq %rax, %rax
je 0x34fc
movq %rax, %rbx
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6ca1(%rip), %rdx      # 0xa0e7
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x8698
leaq 0xa86e(%rip), %rax      # 0xdcc8
leaq 0x30(%rsp), %rdi
movq %rax, -0x8(%rdi)
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
callq 0x3bf8
leaq 0xa863(%rip), %rax      # 0xdce8
leaq 0x50(%rsp), %rdi
movq %rax, -0x28(%rdi)
movl $0x82, %edx
xorl %esi, %esi
callq 0x2100
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x34b1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x8(%rsp), %rdi
movq $0x0, 0x10(%rdi)
movq %rbx, (%rdi)
movb %bpl, 0x8(%rdi)
leaq 0x28(%rsp), %rsi
movl %r15d, %edx
movl %r12d, %ecx
callq 0x41f8
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2180
testb %bpl, %bpl
je 0x3610
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x4c46
movb $0x1, %bl
jmp 0x3612
xorl %ebx, %ebx
jmp 0x361c
movq %rdx, %r14
movq %rax, %rdi
cmpl $0x4, %r14d
jne 0x3549
callq 0x20b0
movq 0xaab5(%rip), %rdi      # 0xdfd0
movq %rax, %rsi
callq 0x2170
leaq 0x6bbc(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21d0
movq %rbx, %rdi
callq 0x2180
callq 0x2290
jmp 0x3610
cmpl $0x3, %r14d
jne 0x358d
callq 0x20b0
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0xaa6e(%rip), %rdi      # 0xdfd0
callq 0x21d0
leaq 0x6b78(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21d0
movq %rbx, %rdi
callq 0x2180
callq 0x2290
jmp 0x3610
callq 0x20b0
cmpl $0x2, %r14d
jne 0x35d3
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
movq 0xaa28(%rip), %rdi      # 0xdfd0
movq %rax, %rsi
callq 0x2170
leaq 0x6b2f(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21d0
movq %rbx, %rdi
callq 0x2180
callq 0x2290
jmp 0x3610
movq 0xa9f6(%rip), %rdi      # 0xdfd0
leaq 0x6b95(%rip), %rsi      # 0xa176
movl $0x12, %edx
callq 0x21d0
movq 0xa9de(%rip), %rdi      # 0xdfd0
leaq 0x6aed(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
callq 0x21d0
movq %rbx, %rdi
callq 0x2180
callq 0x2290
xorl %ebx, %ebx
leaq 0x28(%rsp), %rdi
callq 0x369a
movl %ebx, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3648
jmp 0x3648
movq %rax, %rbx
callq 0x2290
jmp 0x3667
movq %rax, %rbx
callq 0x2290
jmp 0x3667
movq %rax, %rbx
jmp 0x3667
movq %rax, %rbx
callq 0x2290
jmp 0x3667
movq %rax, %rdi
callq 0x3877
movq %rax, %rbx
callq 0x2290
leaq 0x28(%rsp), %rdi
callq 0x369a
jmp 0x3692
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3692
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x3692
movq %rax, %rbx
movq %rbx, %rdi
callq 0x22c0