LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/olegk0[P]readAVI/ReadAVI.cpp
// Function: ReadAVI::hex_dump_chunk(int)
int ReadAVI::hex_dump_chunk(int chunk_len)
{
    char chars[17];
    unsigned char c;
    int ch, n;

    chars[16] = 0;

    for (n = 0; n < chunk_len; n++) {
	if ((n % 16) == 0) {
	    if (n != 0)
		MSG_DBG(2, "%s\n", chars);
	    MSG_DBG(2, "      ");
	    memset(chars, ' ', 16);
	}
	read_chars_bin(&c, 1);
	ch = c;
	if (ch == EOF)
	    break;
	MSG_DBG(2, "%02x ", ch);
	if (ch >= ' ' && ch <= 126) {
	    chars[n % 16] = ch;
	} else {
	    chars[n % 16] = '.';
	}
    }

    if ((n % 16) != 0) {
	for (ch = n % 16; ch < 16; ch++) {
	    MSG_DBG(2, "   ");
	}
    }
    MSG_DBG(2, "%s\n", chars);

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movb $0x0, 0x20(%rsp)
testl %esi, %esi
jle 0x34c3
movl %esi, %ebx
movq %rdi, %r14
addq $0x20, %r14
movq 0x4b89(%rip), %r15      # 0x7fb0
xorl %r12d, %r12d
movl %r12d, %ebp
andl $0xf, %ebp
jne 0x3472
testl %r12d, %r12d
je 0x344d
movq (%r15), %rdi
leaq 0x203c(%rip), %rsi      # 0x547d
leaq 0x10(%rsp), %rdx
xorl %eax, %eax
callq 0x2340
movq (%r15), %rcx
movl $0x6, %esi
movl $0x1, %edx
leaq 0x1d25(%rip), %rdi      # 0x5186
callq 0x2410
movaps 0x1ce3(%rip), %xmm0     # 0x5150
movaps %xmm0, 0x10(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0xf(%rsp), %rsi
callq 0x22b0
movzbl 0xf(%rsp), %r13d
movq (%r15), %rdi
leaq 0x1cf9(%rip), %rsi      # 0x518d
movl %r13d, %edx
xorl %eax, %eax
callq 0x2340
leal -0x20(%r13), %eax
cmpb $0x5f, %al
movl $0x2e, %eax
cmovael %eax, %r13d
movb %r13b, 0x10(%rsp,%rbp)
incl %r12d
cmpl %r12d, %ebx
jne 0x342a
andl $0xf, %ebx
jmp 0x34c5
xorl %ebx, %ebx
testl %ebx, %ebx
je 0x34f3
orl $-0x10, %ebx
movq 0x4add(%rip), %r15      # 0x7fb0
leaq 0x1caf(%rip), %r14      # 0x5189
movq (%r15), %rcx
movl $0x3, %esi
movl $0x1, %edx
movq %r14, %rdi
callq 0x2410
incl %ebx
jne 0x34da
movq 0x4ab6(%rip), %rax      # 0x7fb0
movq (%rax), %rdi
leaq 0x1f79(%rip), %rsi      # 0x547d
leaq 0x10(%rsp), %rdx
xorl %eax, %eax
callq 0x2340
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/olegk0[P]readAVI/ReadAVI.cpp
// Function: ReadAVI::decodeCkid(char*, ReadAVI::chunk_type_t*)
int ReadAVI::decodeCkid(char *ckid, chunk_type_t *chunk_type)
{
    int stream = (ckid[0] - '0') * 10 + (ckid[1] - '0');
    for (int i = 0; i < ChunkTypesCnt; i++) {
	if (chunk_types[i].type_id[0] == ckid[2] && chunk_types[i].type_id[1] == ckid[3]) {
	    *chunk_type = chunk_types[i].type;
	    return stream;
	}
    }
    return -1;
}

// Assembly:
movsbl (%rsi), %ecx
movsbl 0x1(%rsi), %eax
movb 0x2(%rsi), %r8b
xorl %r10d, %r10d
leaq 0x4cf9(%rip), %r9       # 0x8230
xorl %edi, %edi
cmpb %r8b, (%r9,%r10,8)
jne 0x354a
movb 0x1(%r9,%r10,8), %r11b
cmpb 0x3(%rsi), %r11b
je 0x3561
cmpq $0x3, %r10
leaq 0x1(%r10), %r11
setae %dil
movq %r11, %r10
cmpq $0x4, %r11
jne 0x3539
jmp 0x3568
movl 0x4(%r9,%r10,8), %esi
movl %esi, (%rdx)
leal (%rcx,%rcx,4), %ecx
leal (%rax,%rcx,2), %ecx
addl $0xfffffdf0, %ecx       # imm = 0xFFFFFDF0
testb $0x1, %dil
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovel %ecx, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/olegk0[P]readAVI/ReadAVI.cpp
// Function: ReadAVI::read_int()
int ReadAVI::read_int()
{
    int c;
    unsigned char buf[4];

    inFile.read((char *) buf, 4);
    c = buf[0];
    c = c + (buf[1] << 8);
    c = c + (buf[2] << 16);
    c = c + (buf[3] << 24);

    return c;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
addq $0x20, %rdi
leaq 0xc(%rsp), %rbx
movl $0x4, %edx
movq %rbx, %rsi
callq 0x22b0
movl (%rbx), %eax
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/olegk0[P]readAVI/ReadAVI.cpp
// Function: ReadAVI::read_word()
int ReadAVI::read_word()
{
    int c;
    unsigned char buf[2];

    inFile.read((char *) buf, 2);
    c = buf[0];
    c = c + (buf[1] << 8);

    return c;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
addq $0x20, %rdi
leaq 0xe(%rsp), %rbx
movl $0x2, %edx
movq %rbx, %rsi
callq 0x22b0
movzwl (%rbx), %eax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/olegk0[P]readAVI/ReadAVI.cpp
// Function: ReadAVI::parse_hdrl(unsigned int)
int ReadAVI::parse_hdrl(unsigned int size)
{
    char chunk_id[5];
    int chunk_size;
    int end_of_chunk;
    long offset = inFile.tellg();

    read_chars(chunk_id, 4);
    chunk_size = read_int();

    MSG_DBG(2, "      AVI Header Chunk (id=%s size=%d offset=0x%lx)\n", chunk_id, chunk_size, offset);
    MSG_DBG(2, "      {\n");

    end_of_chunk = chunk_size + inFile.tellg();
    if ((end_of_chunk % 4) != 0) {
	end_of_chunk = end_of_chunk + (4 - (end_of_chunk % 4));
    }

    read_avi_header();
    MSG_DBG(2, "      }\n");

    while (inFile.tellg() < offset + size - 4) {
	//MSG_DBG(2, "Should end at 0x%lx  0x%lx\n",offset+size,inFile.tellg());
	parse_hdrl_list();
    }

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x20(%rdi), %r14
movq %r14, %rdi
callq 0x23e0
movq %rax, %r15
leaq 0x13(%rsp), %r12
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x22b0
movb $0x0, 0x4(%r12)
leaq 0xf(%rsp), %r13
movl $0x4, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x22b0
movl (%r13), %ecx
movq 0x376d(%rip), %r13      # 0x7fb0
movq (%r13), %rdi
leaq 0x1040(%rip), %rsi      # 0x588e
movq %r12, %rdx
movq %r15, %r8
xorl %eax, %eax
callq 0x2340
movq (%r13), %rcx
leaq 0xfbe(%rip), %rdi       # 0x5824
movl $0x8, %esi
movl $0x1, %edx
callq 0x2410
movq %r14, %rdi
callq 0x23e0
movq %rbx, %rdi
callq 0x37c2
movq (%r13), %rcx
leaq 0xff5(%rip), %rdi       # 0x5885
movl $0x8, %esi
movl $0x1, %edx
callq 0x2410
movq %r14, %rdi
callq 0x23e0
movl %ebp, %ecx
addq %rcx, %r15
addq $-0x4, %r15
cmpq %r15, %rax
jge 0x48c7
movq %rbx, %rdi
callq 0x42ee
movq %r14, %rdi
callq 0x23e0
jmp 0x48b0
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/xuchanglong[P]SimpleReactorImplemention-comments/reactor_client_test.cc
// Function: main
int main(int argc, char **argv)
{
    if (argc < 3) {
        fprintf(stderr, "usage: %s ip port\n", argv[0]);
        return EXIT_FAILURE;
    }

    TimeClient client;
    if (!client.ConnectServer(argv[1], atoi(argv[2]))) {
        fprintf(stderr, "connect remote server failed\n");
        return EXIT_FAILURE;
    }

    g_reactor.RegisterHandler(&client, reactor::kWriteEvent);
    while (1) {
        g_reactor.HandleEvents();
        sleep(1);
    }
    g_reactor.RemoveHandler(&client);
    return EXIT_SUCCESS;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
cmpl $0x2, %edi
jg 0x24fd
movq %rbx, %rdi
callq 0x22eb
jmp 0x255b
movq %rsp, %r14
movq %r14, %rdi
callq 0x25f8
movq 0x8(%rbx), %r15
movq 0x10(%rbx), %rdi
callq 0x2240
movzwl %ax, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2640
testb %al, %al
jne 0x256a
movq 0x4aaa(%rip), %rax      # 0x6fd8
movq (%rax), %rcx
leaq 0x1aed(%rip), %rdi      # 0x4025
movl $0x1d, %esi
movl $0x1, %edx
callq 0x2280
leaq 0x47b2(%rip), %rax      # 0x6d00
movq %rax, (%rsp)
movl 0x8(%rsp), %edi
callq 0x2290
movl $0x1, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
callq 0x269c
movq (%rax), %rdi
movq %rsp, %rsi
movl $0x2, %edx
callq 0x3058
leaq 0x541a(%rip), %rbx      # 0x79a0
cmpq $0x0, (%rbx)
jne 0x25a4
movl $0x8, %edi
callq 0x2180
movq %rax, %r14
movq %rax, %rdi
callq 0x3530
movq %r14, (%rbx)
movq (%rbx), %rax
movq (%rax), %rdi
callq 0x3158
movl $0x1, %edi
callq 0x2130
jmp 0x2586
movq %rax, %rbx
movl $0x8, %esi
movq %r14, %rdi
callq 0x21a0
jmp 0x25d4
jmp 0x25f0
jmp 0x25d1
movq %rax, %rbx
leaq 0x4725(%rip), %rax      # 0x6d00
movq %rax, (%rsp)
movl 0x8(%rsp), %edi
callq 0x2290
movq %rbx, %rdi
callq 0x2260
movq %rax, %rdi
callq 0x2897
// File: /workspace/github_cpp_makefile_star2_O1/xuchanglong[P]SimpleReactorImplemention-comments/./eventhandler/timeclient.hpp
// Function: TimeClient::ConnectServer(char const*, unsigned short)
bool ConnectServer(const char *ip, unsigned short port)
    {
        struct sockaddr_in addr;
        addr.sin_family = AF_INET;
        addr.sin_port = htons(port);
        addr.sin_addr.s_addr = inet_addr(ip);
        if (connect(m_handle, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
            ReportSocketError("connect");
            return false;
        }
        return true;
    }

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movw $0x2, (%r14)
rolw $0x8, %dx
movw %dx, 0x2(%r14)
movq %rsi, %rdi
callq 0x2190
movl %eax, 0x4(%r14)
movl 0x8(%rbx), %edi
movq %r14, %rsi
movl $0x10, %edx
callq 0x2150
movl %eax, %ebx
testl %eax, %eax
js 0x268d
testl %ebx, %ebx
setns %al
addq $0x18, %rsp
popq %rbx
popq %r14
retq
leaq 0x1a1e(%rip), %rdi      # 0x40b2
callq 0x22b0
jmp 0x2680
nop
// File: /workspace/github_cpp_makefile_star2_O1/xuchanglong[P]SimpleReactorImplemention-comments/./eventhandler/timeclient.hpp
// Function: TimeClient::HandleRead()
virtual void HandleRead()
    {
        memset(g_read_buffer, 0, BUFFERSIZE);
        int len = recv(m_handle, g_read_buffer, BUFFERSIZE, 0);
        if (len > 0) {
            fprintf(stderr, "%s", g_read_buffer);
            g_reactor.RegisterHandler(this, reactor::kWriteEvent);
        } else {
            ReportSocketError("recv");
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x4a5f(%rip), %r14      # 0x7190
movl $0x400, %edx            # imm = 0x400
movq %r14, %rdi
xorl %esi, %esi
callq 0x20f0
movl 0x8(%rbx), %edi
movl $0x400, %edx            # imm = 0x400
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x2080
testl %eax, %eax
jle 0x27a9
movq 0x487b(%rip), %rax      # 0x6fd8
movq (%rax), %rsi
leaq 0x4a29(%rip), %rdi      # 0x7190
callq 0x21c0
leaq 0x522d(%rip), %r15      # 0x79a0
cmpq $0x0, (%r15)
jne 0x2791
movl $0x8, %edi
callq 0x2180
movq %rax, %r14
movq %rax, %rdi
callq 0x3530
movq %r14, (%r15)
movq (%r15), %rax
movq (%rax), %rdi
movq %rbx, %rsi
movl $0x2, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x3058
leaq 0x18e2(%rip), %rdi      # 0x4092
popq %rbx
popq %r14
popq %r15
jmp 0x22b0
movq %rax, %rbx
movl $0x8, %esi
movq %r14, %rdi
callq 0x21a0
movq %rbx, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O1/xuchanglong[P]SimpleReactorImplemention-comments/./eventhandler/timeclient.hpp
// Function: TimeClient::HandleWrite()
virtual void HandleWrite()
    {
        memset(g_write_buffer, 0, BUFFERSIZE);
        int len = sprintf(g_write_buffer, "time\r\n");
        len = send(m_handle, g_write_buffer, len, 0);
        if (len > 0) {
            fprintf(stderr, "%s", g_write_buffer);
            g_reactor.RegisterHandler(this, reactor::kReadEvent);
        } else {
            ReportSocketError("send");
        }
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x4db6(%rip), %rdi      # 0x7597
movl $0x3f9, %edx            # imm = 0x3F9
xorl %esi, %esi
callq 0x20f0
leaq 0x4d9c(%rip), %rsi      # 0x7590
movl $0x656d6974, 0x4d92(%rip) # imm = 0x656D6974
movl $0xa0d65, 0x4d8b(%rip)  # imm = 0xA0D65
movl 0x8(%rbx), %edi
movl $0x6, %edx
xorl %ecx, %ecx
callq 0x20d0
testl %eax, %eax
jle 0x286e
movq 0x47b6(%rip), %rax      # 0x6fd8
movq (%rax), %rsi
leaq 0x4d64(%rip), %rdi      # 0x7590
callq 0x21c0
leaq 0x5168(%rip), %r15      # 0x79a0
cmpq $0x0, (%r15)
jne 0x2856
movl $0x8, %edi
callq 0x2180
movq %rax, %r14
movq %rax, %rdi
callq 0x3530
movq %r14, (%r15)
movq (%r15), %rax
movq (%rax), %rdi
movq %rbx, %rsi
movl $0x1, %edx
popq %rbx
popq %r14
popq %r15
jmp 0x3058
leaq 0x1829(%rip), %rdi      # 0x409e
popq %rbx
popq %r14
popq %r15
jmp 0x22b0
movq %rax, %rbx
movl $0x8, %esi
movq %r14, %rdi
callq 0x21a0
movq %rbx, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]HM3/test/test_binarysearch.cc
// Function: main
int main(){
	test<char>("char");
	test<short>("short");
	test<int>("int");
	test<long>("long");

	test<unsigned short>("u short");
	test<unsigned int>("u int");
	test<unsigned long>("u long");

	test<size_t>("size_t");
}

// Assembly:
pushq %rax
leaq 0xec0(%rip), %rdi       # 0x2004
callq 0x11a1
leaq 0xebb(%rip), %rdi       # 0x200b
callq 0x11c7
leaq 0xeb7(%rip), %rdi       # 0x2013
callq 0x11ed
leaq 0xeb1(%rip), %rdi       # 0x2019
callq 0x1213
leaq 0xe95(%rip), %rdi       # 0x2009
callq 0x1239
leaq 0xe91(%rip), %rdi       # 0x2011
callq 0x125f
leaq 0xe8b(%rip), %rdi       # 0x2017
callq 0x1285
leaq 0xe86(%rip), %rdi       # 0x201e
callq 0x1285
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O1/nmmmnu[P]HM3/test/test_binarysearch.cc
// Function: void test<char>(char const*, char)
void test(const char *name, const T key){
	VVector<T, MAX> v;

	size_t result;

	bool const found = binarySearch(v, v.size(), key, BinarySearchCompStdandard{}, result);

	bool const ok = found && v[result] == key;

	printf("%10s %s\n", name, ok ? "OK" : "Error");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x17(%rsp), %r14
movb %sil, (%r14)
movq $0x5, (%rsp)
leaq 0x16(%rsp), %rdi
leaq 0x15(%rsp), %r8
leaq 0x18(%rsp), %r15
movl $0x2710, %edx           # imm = 0x2710
xorl %esi, %esi
movq %r14, %rcx
movq %r15, %r9
callq 0x1397
movq (%r15), %rcx
cmpb %cl, (%r14)
leaq 0xd39(%rip), %rdx       # 0x202e
leaq 0xd35(%rip), %rcx       # 0x2031
cmovneq %rcx, %rdx
testb %al, %al
cmoveq %rcx, %rdx
leaq 0xd18(%rip), %rdi       # 0x2025
movq %rbx, %rsi
xorl %eax, %eax
callq 0x1030
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/iZhangHui[P]CppPrimer/CH12_DynamicMemory/examples/allocSP.cc
// Function: use_factory(int)
shared_ptr<Foo> use_factory(T arg)
{
	shared_ptr<Foo> p = factory(arg);
	print(cout, *p);
	cout << endl;
	// use p
	return p;  // reference count is incremented when we return p
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r12d
movq %rdi, %rbx
movq $0x0, (%rdi)
movl $0x18, %edi
callq 0x1080
movq %rax, %r14
movabsq $0x100000001, %rax      # imm = 0x100000001
movq %rax, 0x8(%r14)
leaq 0x2a4d(%rip), %rax      # 0x3d08
movq %rax, (%r14)
leaq 0x10(%r14), %rax
movl %r12d, 0x10(%r14)
movq %r14, 0x8(%rbx)
movq %rax, (%rbx)
movq 0x2cfc(%rip), %r15      # 0x3fd0
movq %r15, %rdi
movl %r12d, %esi
callq 0x10c0
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x1070
movsbl %al, %esi
movq 0x2cd3(%rip), %rdi      # 0x3fd0
callq 0x1030
movq %rax, %rdi
callq 0x1050
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x13a2
movq %rbx, %rdi
callq 0x10d0
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: usage(char const*)
void usage( const char *name )
{
	std::cerr
		<< "Usage: " << name << " <options>" << std::endl
		<< "Options:" << std::endl
		<< " -s <display name> (default :0)" << std::endl
		<< " -d <display name> (default :1)" << std::endl
		<< " -x <xinerama screen number> (default 0)" << std::endl;
	exit( 0 );
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x52ce(%rip), %rdi      # 0x8fe8
leaq 0x234c(%rip), %rsi      # 0x606d
callq 0x2200
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2200
leaq 0x233d(%rip), %rsi      # 0x6075
movq %rax, %rdi
callq 0x2200
movq %rax, %rdi
callq 0x20b0
leaq 0x2331(%rip), %rsi      # 0x6080
movq %rax, %rdi
callq 0x2200
movq %rax, %rdi
callq 0x20b0
leaq 0x2323(%rip), %rsi      # 0x6089
movq %rax, %rdi
callq 0x2200
movq %rax, %rdi
callq 0x20b0
leaq 0x232c(%rip), %rsi      # 0x60a9
movq %rax, %rdi
callq 0x2200
movq %rax, %rdi
callq 0x20b0
leaq 0x2335(%rip), %rsi      # 0x60c9
movq %rax, %rdi
callq 0x2200
movq %rax, %rdi
callq 0x20b0
xorl %edi, %edi
callq 0x22a0
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: mouse_replayer::mouse_replayer(display const&, display const&, xinerama_screen const&)
mouse_replayer( const display &_src, const display &_dst, const xinerama_screen &_src_screen )
		: src( _src ), dst( _dst), src_screen( _src_screen ), dst_window( dst.root() )
		, on( false )
	{
		// create invisible cursor
		Pixmap bitmapNoData;
		XColor black;
		static char noData[] = { 0,0,0,0,0,0,0,0 };
		black.red = black.green = black.blue = 0;

		bitmapNoData = XCreateBitmapFromData( dst.dpy, dst_window.win, noData, 8, 8 );
		invisibleCursor = XCreatePixmapCursor( dst.dpy, bitmapNoData, bitmapNoData,
				&black, &black, 0, 0);

		dst_window.define_cursor( invisibleCursor );
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq 0x10(%rsi), %rax
movq %rax, 0x10(%rdi)
movups (%rsi), %xmm0
movups %xmm0, (%rdi)
leaq 0x18(%rdi), %rax
movq 0x10(%rdx), %rsi
movq %rsi, 0x28(%rdi)
movups (%rdx), %xmm0
movups %xmm0, 0x18(%rdi)
movups (%rcx), %xmm0
movups %xmm0, 0x30(%rdi)
movq 0x10(%rcx), %rcx
movq %rcx, 0x40(%rdi)
movq 0x18(%rdi), %rdi
movq 0xe8(%rdi), %rcx
movslq 0xe0(%rdi), %rdx
shlq $0x7, %rdx
movq 0x10(%rcx,%rdx), %rcx
movq %rax, 0x48(%rbx)
movq %rcx, 0x50(%rbx)
xorl %r15d, %r15d
movq %r15, 0x58(%rbx)
movb $0x0, 0x68(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x80(%rbx)
movq %r15, 0x90(%rbx)
movups %xmm0, 0x70(%rbx)
movl $0x1, 0x80(%rbx)
leaq 0x10(%rsp), %r14
movw $0x0, 0xc(%r14)
movl %r15d, 0x8(%r14)
movq 0x50(%rbx), %rsi
leaq 0x498e(%rip), %rdx      # 0x923a
movl $0x8, %ecx
movl $0x8, %r8d
callq 0x2270
movq 0x18(%rbx), %rdi
movl %r15d, (%rsp)
movq %rax, %rsi
movq %rax, %rdx
movq %r14, %rcx
movq %r14, %r8
xorl %r9d, %r9d
callq 0x2130
movq %rax, 0x60(%rbx)
movq 0x48(%rbx), %rcx
movq 0x50(%rbx), %rsi
movq (%rcx), %rdi
movq %rax, %rdx
callq 0x23c0
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: mouse_replayer::cursor_changed()
void cursor_changed() {
		std::lock_guard< std::recursive_mutex > guard( cursor_mutex );

		if ( !on )
			return;

		XFixesCursorImage *cur;
		XcursorImage image;
		Cursor cursor;

		cur = TC( XFixesGetCursorImage( src.dpy ) );
		if ( !cur )
			return;

		memset( &image, 0, sizeof( image ) );
		image.width  = cur->width;
		image.height = cur->height;
		image.size	 = std::max( image.width, image.height );
		image.xhot	 = cur->xhot;
		image.yhot	 = cur->yhot;

		if ( 0 && sizeof( * image.pixels ) == sizeof( * cur->pixels ) ) {
			// 32-bit machines where int is long
			image.pixels = (unsigned int *) cur->pixels;
		} else {
			image.pixels = (unsigned int *) alloca(
				image.width * image.height * sizeof( unsigned int ) );
			for ( unsigned i = 0; i < image.width * image.height; ++i )
				image.pixels[ i ] = cur->pixels[ i ];
		}

		cursor = TC( XcursorImageLoadCursor( dst.dpy, &image ) );
		XFree( cur );

		TC( XDefineCursor( dst.dpy, dst_window.win, cursor ) );
		XFreeCursor( dst.dpy, cursor );

		TC( XFlush( dst.dpy ) );

		DBG( std::cout << "cursor changed" << std::endl );
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %r14
leaq 0x70(%rdi), %rbx
movq %rbx, %rdi
callq 0x2300
testl %eax, %eax
jne 0x5493
movb 0x68(%r14), %al
cmpb $0x1, %al
jne 0x547e
movq (%r14), %rdi
callq 0x2250
movq %rax, %r15
testq %rax, %rax
je 0x547e
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x30(%rbp)
movzwl 0x4(%r15), %eax
movl %eax, -0x48(%rbp)
movzwl 0x6(%r15), %ecx
movl %ecx, -0x44(%rbp)
cmpw %cx, %ax
movl %eax, %edx
cmovbl %ecx, %edx
movl %edx, -0x4c(%rbp)
movzwl 0x8(%r15), %edx
movl %edx, -0x40(%rbp)
movzwl 0xa(%r15), %edx
movl %edx, -0x3c(%rbp)
imull %eax, %ecx
leaq 0xf(,%rcx,4), %rcx
andq $-0x10, %rcx
movq %rsp, %rax
subq %rcx, %rax
movq %rax, %rsp
movq %rax, -0x30(%rbp)
movl -0x44(%rbp), %edx
imull -0x48(%rbp), %edx
testl %edx, %edx
je 0x5441
movq 0x18(%r15), %rcx
movl %edx, %edx
xorl %esi, %esi
movl (%rcx,%rsi,8), %edi
movl %edi, (%rax,%rsi,4)
incq %rsi
cmpq %rsi, %rdx
jne 0x5433
movq 0x18(%r14), %rdi
leaq -0x50(%rbp), %rsi
callq 0x2050
movq %rax, %r12
movq %r15, %rdi
callq 0x22c0
movq 0x18(%r14), %rdi
movq 0x50(%r14), %rsi
movq %r12, %rdx
callq 0x23c0
movq 0x18(%r14), %rdi
movq %r12, %rsi
callq 0x2260
movq 0x18(%r14), %rdi
callq 0x2340
movq %rbx, %rdi
callq 0x2140
leaq -0x20(%rbp), %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl %eax, %edi
callq 0x2100
movq %rax, %r14
movq %rbx, %rdi
callq 0x2140
movq %r14, %rdi
callq 0x23e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: image_replayer::copy_if_damaged()
void copy_if_damaged() {
		if ( !damaged )
			return;

		TC( XShmGetImage( src->dpy, src_window.win, src_image,
				src_screen->info.x_org, src_screen->info.y_org, AllPlanes) );
		TC( XShmPutImage( dst->dpy, dst_window.win, dst_gc, dst_image, 0, 0, 0, 0,
				dst_image->width, dst_image->height, False ) );
		TC( XFlush( dst->dpy ) );

		DBG( std::cout << "damaged" << std::endl );

		damaged = false;
	}

// Assembly:
cmpb $0x1, 0xa0(%rdi)
jne 0x553c
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
movq 0x10(%rdi), %r8
movq (%rax), %rdi
movq 0x20(%rbx), %rsi
movq 0x88(%rbx), %rdx
movswl 0xc(%r8), %ecx
movswl 0xe(%r8), %r8d
movq $-0x1, %r9
callq 0x2030
movq 0x8(%rbx), %rax
movq 0x38(%rbx), %rsi
movq (%rax), %rdi
movq 0x98(%rbx), %rdx
movq 0x90(%rbx), %rcx
movl (%rcx), %eax
movl 0x4(%rcx), %r10d
subq $0x8, %rsp
xorl %r11d, %r11d
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r11
pushq %r10
pushq %rax
pushq %r11
pushq %r11
callq 0x2320
addq $0x30, %rsp
movq 0x8(%rbx), %rax
movq (%rax), %rdi
callq 0x2340
movb $0x0, 0xa0(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: void record_thread<mouse_replayer>(display, mouse_replayer*)
void record_thread( display data, Fun *callback ) {
	int fd = ConnectionNumber( data.dpy );
	fd_set fds;
	FD_ZERO( &fds );

	for ( ;; ) {
		FD_SET( fd, &fds );
		select( fd + 1, &fds, NULL, NULL, NULL );
		XRecordProcessReplies( data.dpy );
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq 0xb0(%rsp), %rbx
movl 0x10(%rbx), %r14d
xorps %xmm0, %xmm0
movq %rsp, %r15
movaps %xmm0, 0x70(%r15)
movaps %xmm0, 0x60(%r15)
movaps %xmm0, 0x50(%r15)
movaps %xmm0, 0x40(%r15)
movaps %xmm0, 0x30(%r15)
movaps %xmm0, 0x20(%r15)
movaps %xmm0, 0x10(%r15)
leal 0x3f(%r14), %eax
testl %r14d, %r14d
cmovnsl %r14d, %eax
movl %eax, %edx
andl $-0x40, %edx
movl %r14d, %ecx
subl %edx, %ecx
movl $0x1, %r12d
shlq %cl, %r12
movaps %xmm0, (%r15)
sarl $0x6, %eax
movslq %eax, %r13
incl %r14d
orq %r12, (%rsp,%r13,8)
movl %r14d, %edi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x21e0
movq %rbx, %rdi
callq 0x2280
jmp 0x57d8
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: mouse_replayer::operator()(XRecordInterceptData*)
void operator() ( XRecordInterceptData *data ) {
		if ( data->category == XRecordFromServer ) {
			const xEvent &e = * (const xEvent *) data->data;

			if ( e.u.u.type == MotionNotify ) {
				mouse_moved( e.u.keyButtonPointer.rootX, e.u.keyButtonPointer.rootY );
			}
		}

		XRecordFreeData( data );
	}

// Assembly:
pushq %rbx
movq %rsi, %rbx
cmpl $0x0, 0x18(%rsi)
jne 0x58ba
movq 0x20(%rbx), %rax
cmpb $0x6, (%rax)
jne 0x58ba
movswl 0x14(%rax), %esi
movswl 0x16(%rax), %edx
callq 0x58c4
movq %rbx, %rdi
popq %rbx
jmp 0x2080
nop
// File: /workspace/github_cpp_makefile_star2_O1/liskin[P]hybrid-screenclone/screenclone.cc
// Function: mouse_replayer::mouse_moved(int, int)
void mouse_moved( int x, int y ) {
		std::lock_guard< std::recursive_mutex > guard( cursor_mutex );

		bool old_on = on;
		on = src_screen.in_screen( x, y );

		if ( on )
			dst_window.warp_pointer( x - src_screen.info.x_org, y - src_screen.info.y_org );
		else
			// wiggle the cursor a bit to keep screensaver away
			dst_window.warp_pointer( x % 50, y % 50 );

		if ( old_on != on ) {
			if ( on )
				cursor_changed();
			else
				dst_window.define_cursor( invisibleCursor );
		}

		TC( XFlush( dst.dpy ) );

		DBG( std::cout << "mouse moved" << std::endl );
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r12d
movl %esi, %r15d
movq %rdi, %r14
leaq 0x70(%rdi), %rbx
movq %rbx, %rdi
callq 0x2300
testl %eax, %eax
jne 0x59e7
movb 0x68(%r14), %bpl
movswl 0x3c(%r14), %eax
cmpl %r15d, %eax
jg 0x5911
movswl 0x40(%r14), %ecx
addl %eax, %ecx
cmpl %r15d, %ecx
jle 0x5911
movswl 0x3e(%r14), %eax
cmpl %r12d, %eax
jle 0x59d5
xorl %eax, %eax
movb %al, 0x68(%r14)
movb 0x68(%r14), %al
cmpb $0x1, %al
jne 0x592e
movswl 0x3c(%r14), %eax
subl %eax, %r15d
movswl 0x3e(%r14), %eax
jmp 0x5965
movslq %r15d, %rax
imulq $0x51eb851f, %rax, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x24, %rax
addl %ecx, %eax
imull $0x32, %eax, %eax
subl %eax, %r15d
movslq %r12d, %rax
imulq $0x51eb851f, %rax, %rax # imm = 0x51EB851F
movq %rax, %rcx
shrq $0x3f, %rcx
sarq $0x24, %rax
addl %ecx, %eax
imull $0x32, %eax, %eax
subl %eax, %r12d
movq 0x48(%r14), %rax
movq 0x50(%r14), %rdx
movq (%rax), %rdi
subq $0x8, %rsp
xorl %esi, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq %r12
pushq %r15
pushq $0x0
callq 0x2310
addq $0x20, %rsp
cmpb 0x68(%r14), %bpl
je 0x59bc
movb 0x68(%r14), %al
cmpb $0x1, %al
jne 0x59a8
movq %r14, %rdi
callq 0x5380
jmp 0x59bc
movq 0x60(%r14), %rdx
movq 0x48(%r14), %rax
movq 0x50(%r14), %rsi
movq (%rax), %rdi
callq 0x23c0
movq 0x18(%r14), %rdi
callq 0x2340
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x2140
movswl 0x42(%r14), %ecx
addl %eax, %ecx
cmpl %r12d, %ecx
setg %al
jmp 0x5913
movl %eax, %edi
callq 0x2100
movq %rax, %r14
movq %rbx, %rdi
callq 0x2140
movq %r14, %rdi
callq 0x23e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/LoginDetails.cpp
// Function: isRightUser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool isRightUser(string Username)
{
    for (int i = 0; i < Username.size(); i++)
    {
        Username[i] = tolower(Username[i]);
    }
    string Username_ = "tasnimanas";
    if (Username == Username_)
    {
        return true;
    }
    return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
cmpq $0x0, 0x8(%rdi)
je 0x272c
xorl %r14d, %r14d
movq (%rbx), %r15
movsbl (%r15,%r14), %edi
callq 0x2270
movb %al, (%r15,%r14)
incq %r14
cmpq %r14, 0x8(%rbx)
ja 0x2712
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x68c8(%rip), %rsi      # 0x9004
leaq 0x68cb(%rip), %rdx      # 0x900e
movq %rsp, %r14
movq %r14, %rdi
callq 0x2bbc
movq 0x8(%rbx), %rdx
cmpq 0x8(%r14), %rdx
jne 0x2770
testq %rdx, %rdx
je 0x2774
movq (%rsp), %rsi
movq (%rbx), %rdi
callq 0x21f0
testl %eax, %eax
sete %bl
jmp 0x2776
xorl %ebx, %ebx
jmp 0x2776
movb $0x1, %bl
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x278c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21e0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/LoginDetails.cpp
// Function: isRightPassword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool isRightPassword(string Password)
{
    string mypassword = "323443443487279223215223231";
    Password = encript(Password);
    if (mypassword == Password)
    {
        return true;
    }
    return false;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x6859(%rip), %rsi      # 0x900f
leaq 0x686d(%rip), %rdx      # 0x902a
leaq 0x8(%rsp), %rdi
callq 0x2bbc
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x2b2c
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x28c2
leaq 0x48(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2240
movq (%r14), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x281e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x2835
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x10(%rsp), %rdx
cmpq 0x8(%rbx), %rdx
jne 0x2859
testq %rdx, %rdx
je 0x285d
movq (%rbx), %rsi
movq 0x8(%rsp), %rdi
callq 0x21f0
testl %eax, %eax
sete %bl
jmp 0x285f
xorl %ebx, %ebx
jmp 0x285f
movb $0x1, %bl
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x2876
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21e0
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x28a3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21e0
jmp 0x28a3
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x28ba
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21e0
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/LoginDetails.cpp
// Function: encript(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
string encript(string input)
{
    string password_ = "";
    for (int i = 0; i < input.size(); i++)
    {
        int chk = (int(input[i]) * 4) + 23;
        password_ = password_ + to_string(chk);
    }
    return password_;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %r13
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
leaq 0x6bca(%rip), %rdx      # 0x94b2
movq %rdx, %rsi
callq 0x2bbc
cmpq $0x0, 0x8(%r14)
je 0x2a64
leaq 0x48(%rsp), %rbx
xorl %r15d, %r15d
leaq 0x10(%rsp), %r12
movl $0xd1b71759, %edx       # imm = 0xD1B71759
movq %r13, 0x8(%rsp)
movq %r14, 0x30(%rsp)
movq (%r14), %rax
movsbl (%rax,%r15), %eax
leal 0x17(,%rax,4), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r13d
cmpl $0xa, %ebp
jb 0x297c
movl $0x4, %r13d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x2973
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x2979
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x297c
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x2943
addl $-0x3, %r13d
jmp 0x297c
addl $-0x2, %r13d
jmp 0x297c
decl %r13d
shrl $0x1f, %r14d
leal (%r14,%r13), %esi
leaq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movl $0x2d, %edx
callq 0x2220
movl %r14d, %edi
addq 0x10(%rsp), %rdi
movl %r13d, %esi
movl %ebp, %edx
callq 0x2abf
movq 0x8(%rsp), %r13
movq (%r13), %rcx
movq 0x8(%r13), %r8
movq %r12, %rbp
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2200
movq %rbx, 0x38(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq 0x30(%rsp), %r14
je 0x29f1
movq %rdx, 0x38(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x48(%rsp)
jmp 0x29f7
movups (%rcx), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%rax), %rdx
movq %rdx, 0x40(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %r13, %rdi
leaq 0x38(%rsp), %rsi
callq 0x2240
movq 0x38(%rsp), %rdi
cmpq %rbx, %rdi
je 0x2a33
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x2a4f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21e0
incq %r15
cmpq %r15, 0x8(%r14)
movq %rbp, %r12
movl $0xd1b71759, %edx       # imm = 0xD1B71759
ja 0x2917
movq %r13, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x2a9a
movq %rax, %r14
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x2a9a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21e0
movq 0x8(%rsp), %rax
movq (%rax), %rdi
cmpq (%rsp), %rdi
je 0x2ab7
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x21e0
movq %r14, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/StudentAdd.cpp
// Function: add(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void add(int roll, string name)
{
    StudentClass std;
    std.setName(name);
    std.setRoll(roll);
    ::Student.push_back(std);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
movl %edi, %ebx
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movl $0x64757453, (%r14)     # imm = 0x64757453
movl $0x746e6564, 0x3(%r14)  # imm = 0x746E6564
movq $0x7, -0x8(%r14)
movb $0x0, 0x7(%r14)
xorl %eax, %eax
movl %eax, 0x10(%r14)
movq %rax, 0x18(%r14)
movl %eax, 0x20(%r14)
movq %rax, 0x28(%r14)
movl %eax, 0x30(%r14)
movq %rax, 0x38(%r14)
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
movq %rsp, %rdi
movq %rax, %rsi
callq 0x2b2c
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x41fa
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x37a9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21e0
leaq 0x20(%rsp), %rdi
movl %ebx, %esi
callq 0x41f2
leaq 0x9a34(%rip), %rdi      # 0xd1f0
leaq 0x20(%rsp), %rsi
callq 0x3b88
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x37f6
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x21e0
xorl %eax, %eax
movq %rax, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movl %eax, 0x60(%rsp)
movq %rax, 0x68(%rsp)
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x380d
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21e0
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x3835
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21e0
jmp 0x3835
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x3bb2
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/StudentAdd.cpp
// Function: writeSorted()
void writeSorted()
{
    char filename[] = "Output/Student.txt";
    char binfilename[] = ".Data/input.bin";
    char binfileAttendance[] = ".Data/Attendance.bin";
    int garbage = remove(filename);
    garbage = remove(binfilename);
    garbage = remove(binfileAttendance);

    writeHeader();
    for (int i = 0; i < ::Student.size(); i++)
    {
        writeSl(i + 1);
        writeRoll(Student[i].getRoll());
        writeName(Student[i].getName());
        writeAttendance(i);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x5892(%rip), %rdi      # 0x9320
callq 0x2340
leaq 0x58a6(%rip), %rdi      # 0x9340
callq 0x2340
leaq 0x58aa(%rip), %rdi      # 0x9350
callq 0x2340
callq 0x5034
leaq 0x9739(%rip), %r12      # 0xd1f0
movq 0x8(%r12), %rax
cmpq (%r12), %rax
je 0x3b51
xorl %ebp, %ebp
leaq 0x8(%rsp), %rbx
movabsq $-0x3333333333333333, %r13 # imm = 0xCCCCCCCCCCCCCCCD
xorl %r15d, %r15d
leaq 0x1(%r15), %r14
movl %r14d, %edi
callq 0x5195
movq (%r12), %rdi
addq %rbp, %rdi
callq 0x41f6
movl %eax, %edi
callq 0x523a
movq (%r12), %rsi
addq %rbp, %rsi
movq %rbx, %rdi
callq 0x4200
movq %rbx, %rdi
callq 0x539f
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3b2c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21e0
movl %r15d, %edi
callq 0x5502
movq 0x8(%r12), %rax
subq (%r12), %rax
sarq $0x4, %rax
imulq %r13, %rax
addq $0x50, %rbp
movq %r14, %r15
cmpq %r14, %rax
ja 0x3ada
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3b7f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21e0
movq %rbx, %rdi
callq 0x2320
nop
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/StudentClass.cpp
// Function: StudentClass::getTotalPresentDays()
int StudentClass::getTotalPresentDays()
{
    int present = 0;
    for (int i = 0; i < isPresent.size(); i++)
    {
        if (isPresent[i])
        {
            present++;
        }
    }
    return present;
}

// Assembly:
movq 0x28(%rdi), %rcx
movq 0x38(%rdi), %rdx
movl 0x40(%rdi), %eax
subq %rcx, %rdx
shlq $0x3, %rdx
addq %rax, %rdx
je 0x43f6
xorl %esi, %esi
xorl %eax, %eax
movq %rsi, %rdi
shrq $0x6, %rdi
movq (%rcx,%rdi,8), %rdi
btq %rsi, %rdi
adcl $0x0, %eax
incq %rsi
cmpq %rsi, %rdx
ja 0x43db
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/fileHandlers.cpp
// Function: writeHeader()
void writeHeader()
{
    ofstream writeStudent;
    writeStudent.open("Output/Student.txt", ios::app);
    writeStudent << setw(7) << "Serial";
    writeStudent << setw(14) << "Roll";
    writeStudent << setw(30) << "Name";
    writeStudent << setw(35) << "Attendance (Present/Total)" << endl
                 << endl;
    writeStudent.close();
}

// Assembly:
pushq %rbx
subq $0x200, %rsp            # imm = 0x200
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2300
leaq 0x42d2(%rip), %rsi      # 0x9320
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2040
movq %rsp, %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x7, 0x10(%rsp,%rax)
leaq 0x40c8(%rip), %rsi      # 0x913d
movl $0x6, %edx
callq 0x2210
movq %rsp, %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0xe, 0x10(%rsp,%rax)
leaq 0x40ab(%rip), %rsi      # 0x9144
movl $0x4, %edx
callq 0x2210
movq %rsp, %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x1e, 0x10(%rsp,%rax)
leaq 0x408c(%rip), %rsi      # 0x9149
movl $0x4, %edx
callq 0x2210
movq %rsp, %rbx
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x23, 0x10(%rsp,%rax)
leaq 0x406d(%rip), %rsi      # 0x914e
movl $0x1a, %edx
movq %rbx, %rdi
callq 0x2210
movq (%rsp), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %rsp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rsp, %rdi
callq 0x2260
movq 0x7e79(%rip), %rax      # 0xcfc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x8(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, (%rsp,%rcx)
callq 0x2180
leaq 0xf8(%rsp), %rdi
callq 0x20a0
addq $0x200, %rsp            # imm = 0x200
popq %rbx
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2290
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/fileHandlers.cpp
// Function: writeSl(int)
void writeSl(int sl)
{
    ofstream writeStudent;
    writeStudent.open("Output/Student.txt", ios::app);
    writeStudent << setw(7) << sl;
    writeStudent.close();
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movl %edi, %ebx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x2300
leaq 0x416b(%rip), %rsi      # 0x9320
movq %r14, %rdi
movl $0x1, %edx
callq 0x2040
leaq 0x8(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x7, 0x18(%rsp,%rax)
movl %ebx, %esi
callq 0x2310
leaq 0x8(%rsp), %rdi
callq 0x2260
movq 0x7dd9(%rip), %rax      # 0xcfc8
movq (%rax), %rcx
movq 0x18(%rax), %rax
leaq 0x10(%rsp), %rdi
movq %rcx, -0x8(%rdi)
movq -0x18(%rcx), %rcx
movq %rax, 0x8(%rsp,%rcx)
callq 0x2180
leaq 0x100(%rsp), %rdi
callq 0x20a0
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2290
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/fileHandlers.cpp
// Function: writeRoll(int)
void writeRoll(int roll)
{
    ofstream writeStudent;
    writeStudent.open("Output/Student.txt", ios::app);
    writeStudent << setw(14) << roll;
    writeStudent.close();

    ofstream writeStudentbin;
    writeStudentbin.open(".Data/input.bin", ios::app);
    writeStudentbin << roll << endl;
    writeStudentbin.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
movl %edi, %ebp
leaq 0x208(%rsp), %rbx
movq %rbx, %rdi
callq 0x2300
leaq 0x40bc(%rip), %rsi      # 0x9320
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2040
leaq 0x208(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0xe, 0x218(%rsp,%rax)
movl %ebp, %esi
callq 0x2310
leaq 0x208(%rsp), %rbx
movq %rbx, %rdi
callq 0x2260
leaq 0x8(%rsp), %rdi
callq 0x2300
leaq 0x408c(%rip), %rsi      # 0x9340
leaq 0x8(%rsp), %rdi
movl $0x1, %edx
callq 0x2040
leaq 0x8(%rsp), %rdi
movl %ebp, %esi
callq 0x2310
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x2260
movq 0x7cbb(%rip), %rax      # 0xcfc8
movq (%rax), %r15
movq 0x18(%rax), %r12
leaq 0x10(%rsp), %rdi
movq %r15, -0x8(%rdi)
movq -0x18(%r15), %rax
movq %r12, 0x8(%rsp,%rax)
callq 0x2180
movl $0xf8, %r13d
addq %r13, %r14
movq %r14, %rdi
callq 0x20a0
leaq 0x210(%rsp), %rdi
movq %r15, -0x8(%rdi)
movq -0x18(%r15), %rax
movq %r12, 0x208(%rsp,%rax)
callq 0x2180
addq %r13, %rbx
movq %rbx, %rdi
callq 0x20a0
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5378
movq %rax, %rbx
jmp 0x538a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2290
leaq 0x208(%rsp), %rdi
callq 0x2290
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/fileHandlers.cpp
// Function: writeName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void writeName(string name)
{
    ofstream writeStudent;
    writeStudent.open("Output/Student.txt", ios::app);
    writeStudent << setw(30) << name;
    writeStudent.close();

    ofstream writeStudentbin;
    writeStudentbin.open(".Data/input.bin", ios::app);
    writeStudentbin << name << endl;
    writeStudentbin.close();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movq %rdi, %r14
leaq 0x200(%rsp), %rbx
movq %rbx, %rdi
callq 0x2300
leaq 0x3f57(%rip), %rsi      # 0x9320
movq %rbx, %rdi
movl $0x1, %edx
callq 0x2040
leaq 0x200(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
movq $0x1e, 0x210(%rsp,%rax)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
callq 0x2210
leaq 0x200(%rsp), %rbx
movq %rbx, %rdi
callq 0x2260
movq %rsp, %rdi
callq 0x2300
leaq 0x3f24(%rip), %rsi      # 0x9340
movq %rsp, %rdi
movl $0x1, %edx
callq 0x2040
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rsp, %rdi
callq 0x2210
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rsp, %r14
movq %r14, %rdi
callq 0x2260
movq 0x7b54(%rip), %rax      # 0xcfc8
movq (%rax), %r15
movq 0x18(%rax), %r12
leaq 0x8(%rsp), %rdi
movq %r15, -0x8(%rdi)
movq -0x18(%r15), %rax
movq %r12, (%rsp,%rax)
callq 0x2180
movl $0xf8, %r13d
addq %r13, %r14
movq %r14, %rdi
callq 0x20a0
leaq 0x208(%rsp), %rdi
movq %r15, -0x8(%rdi)
movq -0x18(%r15), %rax
movq %r12, 0x200(%rsp,%rax)
callq 0x2180
addq %r13, %rbx
movq %rbx, %rdi
callq 0x20a0
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x54dd
movq %rax, %rbx
jmp 0x54ed
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2290
leaq 0x200(%rsp), %rdi
callq 0x2290
movq %rbx, %rdi
callq 0x2320
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/fileHandlers.cpp
// Function: AllReset()
void AllReset()
{
    char filename[] = "Output/Student.txt";
    char binfilename[] = ".Data/input.bin";
    char binfileAttendance[] = ".Data/Attendance.bin";
    int garbage = remove(filename);
    garbage = remove(binfilename);
    garbage = remove(binfileAttendance);
    for (int i = 0; i < Student.size(); i++)
    {
        Student.pop_back();
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x3731(%rip), %rdi      # 0x9320
callq 0x2340
leaq 0x3745(%rip), %rdi      # 0x9340
callq 0x2340
leaq 0x3749(%rip), %rdi      # 0x9350
callq 0x2340
leaq 0x75dd(%rip), %rbx      # 0xd1f0
movq 0x8(%rbx), %rsi
cmpq (%rbx), %rsi
je 0x5c53
xorl %r14d, %r14d
movabsq $-0x3333333333333333, %r15 # imm = 0xCCCCCCCCCCCCCCCD
addq $-0x50, %rsi
movq %rsi, 0x8(%rbx)
movq %rbx, %rdi
callq 0x413e
movq 0x8(%rbx), %rsi
movq %rsi, %rax
subq (%rbx), %rax
incq %r14
sarq $0x4, %rax
imulq %r15, %rax
cmpq %r14, %rax
ja 0x5c29
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/main.cpp
// Function: main
int main()
{
    system("CLS");
    welcomePageHeader();
    welcomePage();
    return 0;
}

// Assembly:
pushq %rax
leaq 0x2f3b(%rip), %rdi      # 0x91fb
callq 0x2190
callq 0x4e3e
callq 0x4dbc
xorl %eax, %eax
popq %rcx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/TasnimAnas[P]Attendance-Management-System/src/takeAttendance.cpp
// Function: monthName[abi:cxx11](int)
string monthName(int month)
{
    switch (month)
    {
    case 1:
        return "January";
    case 2:
        return "February";
    case 3:
        return "March";
    case 4:
        return "April";
    case 5:
        return "May";
    case 6:
        return "June";
    case 7:
        return "July";
    case 8:
        return "August";
    case 9:
        return "September";
    case 10:
        return "October";
    case 11:
        return "November";
    case 12:
        return "December";
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
decl %esi
leaq 0x1822(%rip), %rax      # 0x972c
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x194f(%rip), %rsi      # 0x9869
leaq 0x194f(%rip), %rdx      # 0x9870
jmp 0x7fda
leaq 0x1989(%rip), %rsi      # 0x98b6
leaq 0x198a(%rip), %rdx      # 0x98be
jmp 0x7fda
leaq 0x1946(%rip), %rsi      # 0x9886
leaq 0x1942(%rip), %rdx      # 0x9889
jmp 0x7fda
leaq 0x1952(%rip), %rsi      # 0x98a5
leaq 0x1952(%rip), %rdx      # 0x98ac
jmp 0x7fda
leaq 0x1917(%rip), %rsi      # 0x987a
leaq 0x1915(%rip), %rdx      # 0x987f
jmp 0x7fda
leaq 0x190d(%rip), %rsi      # 0x9880
leaq 0x190b(%rip), %rdx      # 0x9885
jmp 0x7fda
leaq 0x1911(%rip), %rsi      # 0x9894
leaq 0x1910(%rip), %rdx      # 0x989a
jmp 0x7fda
leaq 0x18de(%rip), %rsi      # 0x9871
leaq 0x18df(%rip), %rdx      # 0x9879
jmp 0x7fda
leaq 0x18e7(%rip), %rsi      # 0x988a
leaq 0x18e4(%rip), %rdx      # 0x988e
jmp 0x7fda
leaq 0x18dc(%rip), %rsi      # 0x988f
leaq 0x18d9(%rip), %rdx      # 0x9893
jmp 0x7fda
leaq 0x18ea(%rip), %rsi      # 0x98ad
leaq 0x18eb(%rip), %rdx      # 0x98b5
jmp 0x7fda
leaq 0x18c8(%rip), %rsi      # 0x989b
leaq 0x18ca(%rip), %rdx      # 0x98a4
movq %rbx, %rdi
callq 0x2bbc
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/neguse[P]no/lang.cc
// Function: main
int main(int argc, char **argv) {
  if (argc != 2) {
    printf("Usage: ./no <program>\n");
    return 1;
  }

  Input input(argv[1]);
  if (!input.ok()) {
    printf("failed to open file\n");
    return 2;
  }

  char c;
  int level = 0;
  Lang l;

  auto n = l.Parse(input);
  // l.Print(n);
  if (!l.Validate(n)) {
    return 3;
  }

  auto i = LangInterpreter();
  i.Exec(n);

  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x78, %rsp
cmpl $0x2, %edi
jne 0x2383
movq 0x8(%rsi), %rdi
leaq 0x5f90(%rip), %rsi      # 0x82b2
callq 0x2110
movq %rax, 0x38(%rsp)
movq $0x1, 0x40(%rsp)
testq %rax, %rax
je 0x2399
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
callq 0x2490
leaq 0x8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
movq %rbx, %rsi
callq 0x4126
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x28(%rsp)
movq %rax, 0x30(%rsp)
testq %rax, %rax
je 0x23b3
movq 0x8c57(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x23af
incl 0x8(%rax)
jmp 0x23b3
leaq 0x5f95(%rip), %rdi      # 0x831f
callq 0x2170
movl $0x1, %ebx
jmp 0x2444
leaq 0x5f6b(%rip), %rdi      # 0x830b
callq 0x2170
movl $0x2, %ebx
jmp 0x2444
lock
incl 0x8(%rax)
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x41aa
movl %eax, %ebp
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x23d3
callq 0x53ac
movl $0x3, %ebx
testb %bpl, %bpl
je 0x242b
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rsp)
movq %rax, 0x20(%rsp)
testq %rax, %rax
je 0x240b
movq 0x8bd3(%rip), %rcx      # 0xafd0
cmpb $0x0, (%rcx)
je 0x2407
incl 0x8(%rax)
jmp 0x240b
lock
incl 0x8(%rax)
leaq 0x7(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0x4264
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x2429
callq 0x53ac
xorl %ebx, %ebx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x243a
callq 0x53ac
leaq 0x48(%rsp), %rdi
callq 0x4fb4
movl %ebx, %eax
addq $0x78, %rsp
popq %rbx
popq %rbp
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
jmp 0x245f
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x2469
callq 0x53ac
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x247d
callq 0x53ac
jmp 0x247d
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4fb4
movq %rbx, %rdi
callq 0x21b0
nop