// File: /workspace/github_cpp_makefile_star2_O1/Shenggan[P]SnowFlake/test/../utils/lightlog.h
// Function: llog::Message::logHeader(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, bool)
std::string logHeader(int level, std::string file, std::string function, int linenumber, bool if_color = true) {
        std::stringstream ss;
        std::stringstream st;
        int color = 39;
        if (level==2) { color = COLOR_ERRO; st << "[ERRO]"; }
		if (level==0) { color = COLOR_INFO; st << "[INFO]"; }
		if (level==1) { color = COLOR_WARN; st << "[WARN]"; }
        ss << colorStr(color,1,DELIMITER,st.str(), if_color);

        time_t rawtime;
		struct tm * timeinfo;
		char timeBuffer[30];
		time(&rawtime);
		timeinfo = localtime(&rawtime);
		strftime(timeBuffer, 30, "%Y/%m/%d-%H:%M:%S", timeinfo); 
		ss << colorStr(color, 0, DELIMITER, timeBuffer, if_color);

        int pPos = 0;
		for (int i = file.length()-1; i > 0; i--)
			if (file.substr(i,1)==std::string("/"))
			{ pPos = i+1; break; }
		file = file.substr(pPos,file.length()-pPos);
		ss << colorStr(COLOR_FILE, 0, ":", file, if_color); //35
		ss << colorStr(COLOR_LINE, 1, ":", std::to_string(linenumber), if_color); //32
		ss << colorStr(COLOR_FUNC, 0, DELIMITER, function, if_color); //36

        return ss.str();
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3d8, %rsp            # imm = 0x3D8
movl %r9d, %r15d
movq %r8, %r14
movq %rcx, 0x70(%rsp)
movl %edx, %ebp
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x250(%rsp), %rdi
callq 0x20c0
leaq 0xc8(%rsp), %rdi
callq 0x20c0
movl $0x27, %r12d
cmpl $0x2, %ebp
jne 0x3316
movl $0x1f, %r12d
leaq 0xd8(%rsp), %rdi
leaq 0xd36(%rip), %rsi       # 0x4042
movl $0x6, %edx
callq 0x21b0
testl %ebp, %ebp
jne 0x3339
movl $0x25, %r12d
leaq 0xd8(%rsp), %rdi
leaq 0xd1a(%rip), %rsi       # 0x4049
movl $0x6, %edx
callq 0x21b0
cmpl $0x1, %ebp
jne 0x335d
movl $0x21, %r12d
leaq 0xd8(%rsp), %rdi
leaq 0xcfd(%rip), %rsi       # 0x4050
movl $0x6, %edx
callq 0x21b0
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xcea(%rip), %rsi       # 0x4057
leaq 0xce4(%rip), %rdx       # 0x4058
leaq 0x28(%rsp), %rdi
callq 0x3bca
leaq 0xe0(%rsp), %rsi
leaq 0x48(%rsp), %rdi
callq 0x2240
movzbl 0x410(%rsp), %eax
movl %eax, 0x6c(%rsp)
movl %eax, (%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r8
leaq 0x48(%rsp), %r9
movq %r13, %rsi
movl %r12d, %edx
movl $0x1, %ecx
callq 0x3a9a
leaq 0x260(%rsp), %rbp
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x21b0
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x33f3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x340e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x342a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movq %r15, 0x90(%rsp)
movq %r14, 0x78(%rsp)
movq %rbx, 0x80(%rsp)
leaq 0x98(%rsp), %r14
movq %r14, %rdi
callq 0x2160
movq %r14, %rdi
callq 0x20f0
leaq 0xbfb(%rip), %rdx       # 0x4059
leaq 0xa0(%rsp), %rdi
movl $0x1e, %esi
movq %rax, %rcx
callq 0x2110
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
leaq 0xbd0(%rip), %rsi       # 0x4057
leaq 0xbca(%rip), %rdx       # 0x4058
callq 0x3bca
leaq 0x48(%rsp), %r14
leaq 0x58(%rsp), %rax
movq %rax, (%r14)
leaq 0xa0(%rsp), %r15
movq %r15, %rdi
callq 0x2080
leaq (%rsp,%rax), %rdx
addq $0xa0, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3bca
movq 0x70(%rsp), %rbx
movl 0x6c(%rsp), %eax
movl %eax, (%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r8
leaq 0x48(%rsp), %r9
movq %r13, %rsi
movl %r12d, %edx
xorl %ecx, %ecx
callq 0x3a9a
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x351c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3538
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq %r13, 0x88(%rsp)
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x355c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movl 0x8(%rbx), %r12d
leaq 0x8(%rsp), %r14
leaq 0xaff(%rip), %r15       # 0x406b
leaq 0xaf9(%rip), %r13       # 0x406c
leaq 0x28(%rsp), %rbp
decq %r12
testl %r12d, %r12d
jle 0x362f
movl %r12d, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movl $0x1, %ecx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x21a0
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3bca
movq 0x10(%rsp), %rdx
cmpq 0x30(%rsp), %rdx
jne 0x35dc
testq %rdx, %rdx
je 0x35e0
movq 0x28(%rsp), %rsi
movq 0x8(%rsp), %rdi
callq 0x2190
testl %eax, %eax
sete %bl
jmp 0x35e2
xorl %ebx, %ebx
jmp 0x35e2
movb $0x1, %bl
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x35fe
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x361a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
testb %bl, %bl
movq 0x70(%rsp), %rbx
je 0x3578
incq %r12
movq %r12, %rdx
jmp 0x3631
xorl %edx, %edx
movq 0x8(%rbx), %rcx
subq %rdx, %rcx
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x21a0
movq 0x88(%rsp), %r12
movq 0x90(%rsp), %r15
leaq 0x260(%rsp), %r13
movl 0x6c(%rsp), %ebp
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21f0
movq (%r14), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x368b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
leaq 0x9ce(%rip), %rsi       # 0x406d
leaq 0x9c8(%rip), %rdx       # 0x406e
callq 0x3bca
movl %ebp, (%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r8
movq %r12, %rsi
movl $0x23, %edx
xorl %ecx, %ecx
movq %rbx, %r9
callq 0x3a9a
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x36f8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3714
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
leaq 0x945(%rip), %rsi       # 0x406d
leaq 0x93f(%rip), %rdx       # 0x406e
callq 0x3bca
movl %r15d, %ebx
negl %ebx
cmovsl %r15d, %ebx
movl $0x1, %r14d
cmpl $0xa, %ebx
jb 0x3791
movl $0x4, %r14d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebx, %ecx
cmpl $0x63, %ecx
jbe 0x3788
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x378e
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x3791
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r14d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x3755
addl $-0x3, %r14d
jmp 0x3791
addl $-0x2, %r14d
jmp 0x3791
decl %r14d
shrl $0x1f, %r15d
leal (%r14,%r15), %esi
leaq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
movq %rax, (%rdi)
movl $0x2d, %edx
callq 0x21c0
movl %r15d, %edi
leaq 0x48(%rsp), %r15
addq (%r15), %rdi
movl %r14d, %esi
movl %ebx, %edx
callq 0x3c5a
movl %ebp, (%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r8
movq %r12, %rsi
movl $0x20, %edx
movl $0x1, %ecx
movq %r15, %r9
callq 0x3a9a
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x21b0
movq 0x80(%rsp), %r15
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x381d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x3839
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3855
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
movq %rax, (%rdi)
leaq 0x7ee(%rip), %rsi       # 0x4057
leaq 0x7e8(%rip), %rdx       # 0x4058
callq 0x3bca
movl %ebp, (%rsp)
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r8
movq %r12, %rsi
movl $0x24, %edx
xorl %ecx, %ecx
movq 0x78(%rsp), %r9
callq 0x3a9a
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r13, %rdi
callq 0x21b0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x38c4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x38e0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x2180
leaq 0x268(%rsp), %rsi
movq %r15, %rdi
callq 0x2240
movq 0x26c1(%rip), %rbx      # 0x5fb8
leaq 0xc8(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x20e0
movl $0x80, %r14d
addq %r14, %r12
movq %r12, %rdi
callq 0x2060
leaq 0x250(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x20e0
addq %r14, %r12
movq %r12, %rdi
callq 0x2060
movq %r15, %rax
addq $0x3d8, %rsp            # imm = 0x3D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3a2c
jmp 0x396d
jmp 0x3a0a
jmp 0x3a2c
jmp 0x3996
jmp 0x39b7
jmp 0x3a0a
jmp 0x3a2c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3a0d
movq 0x18(%rsp), %rsi
jmp 0x3a00
jmp 0x3a0a
jmp 0x3a2c
jmp 0x3a2c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x39ba
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x39ba
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
jmp 0x39f6
jmp 0x3a0a
jmp 0x3a2c
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x39ed
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x39ed
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3a0d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x2180
jmp 0x3a0d
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3a50
movq 0x38(%rsp), %rsi
jmp 0x3a48
jmp 0x3a2c
movq %rax, %rbx
jmp 0x3a71
jmp 0x3a2c
movq %rax, %rbx
jmp 0x3a50
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3a50
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x2180
movq 0x2561(%rip), %rsi      # 0x5fb8
leaq 0xc8(%rsp), %rdi
callq 0x20e0
leaq 0x148(%rsp), %rdi
callq 0x2060
movq 0x2540(%rip), %rsi      # 0x5fb8
leaq 0x250(%rsp), %rdi
callq 0x20e0
leaq 0x2d0(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2280