// File: /workspace/github_cpp_makefile_star2_O1/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 0x3426
callq 0x2250
movl %eax, %r15d
cmpl $0x2, %r15d
movl $0x1, %r12d
cmovll %r12d, %r15d
testl %r13d, %r13d
jg 0x3441
callq 0x2250
movl %eax, %r13d
cmpl $0x2, %r13d
cmovgel %r13d, %r12d
movq (%rbx), %rdi
leaq 0x6d20(%rip), %rsi      # 0xa173
callq 0x2200
testq %rax, %rax
je 0x352a
movq %rax, %rbx
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x6c73(%rip), %rdx      # 0xa0e7
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x85d2
leaq 0xa840(%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 0x3c1e
leaq 0xa835(%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 0x34df
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 0x422a
movl %eax, %ebp
movq %rbx, %rdi
callq 0x2180
testb %bpl, %bpl
je 0x363e
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x4c6c
movb $0x1, %bl
jmp 0x3640
xorl %ebx, %ebx
jmp 0x364a
movq %rdx, %r14
movq %rax, %rdi
cmpl $0x4, %r14d
jne 0x3577
callq 0x20b0
movq 0xaa87(%rip), %rdi      # 0xdfd0
movq %rax, %rsi
callq 0x2170
leaq 0x6b8e(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21e0
movq %rbx, %rdi
callq 0x2180
callq 0x22a0
jmp 0x363e
cmpl $0x3, %r14d
jne 0x35bb
callq 0x20b0
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq 0xaa40(%rip), %rdi      # 0xdfd0
callq 0x21e0
leaq 0x6b4a(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21e0
movq %rbx, %rdi
callq 0x2180
callq 0x22a0
jmp 0x363e
callq 0x20b0
cmpl $0x2, %r14d
jne 0x3601
movq (%rax), %rcx
movq %rax, %rdi
callq *0x10(%rcx)
movq 0xa9fa(%rip), %rdi      # 0xdfd0
movq %rax, %rsi
callq 0x2170
leaq 0x6b01(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21e0
movq %rbx, %rdi
callq 0x2180
callq 0x22a0
jmp 0x363e
movq 0xa9c8(%rip), %rdi      # 0xdfd0
leaq 0x6b67(%rip), %rsi      # 0xa176
movl $0x12, %edx
callq 0x21e0
movq 0xa9b0(%rip), %rdi      # 0xdfd0
leaq 0x6abf(%rip), %rsi      # 0xa0e6
movl $0x1, %edx
callq 0x21e0
movq %rbx, %rdi
callq 0x2180
callq 0x22a0
xorl %ebx, %ebx
leaq 0x28(%rsp), %rdi
callq 0x36c8
movl %ebx, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3676
jmp 0x3676
movq %rax, %rbx
callq 0x22a0
jmp 0x3695
movq %rax, %rbx
callq 0x22a0
jmp 0x3695
movq %rax, %rbx
jmp 0x3695
movq %rax, %rbx
callq 0x22a0
jmp 0x3695
movq %rax, %rdi
callq 0x38a5
movq %rax, %rbx
callq 0x22a0
leaq 0x28(%rsp), %rdi
callq 0x36c8
jmp 0x36c0
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x36c0
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x36c0
movq %rax, %rbx
movq %rbx, %rdi
callq 0x22d0