LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: term(TreeNode*)
TreeNode* term(TreeNode* k) {
    TreeNode* t = factor(k);
    k           = NULL;
    while (ptoken.type == "MDOP") {
        TreeNode* q = new TreeNode("MDOp");
        q->op       = ptoken.value;
        q->child[0] = t;
        match(ptoken.type);
        q->child[1] = term(k);
        t           = q;
    }
    return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
callq 0x70a1
movq %rax, %r14
leaq 0x13f8d(%rip), %rdi     # 0x1b4c0
leaq 0xdbed(%rip), %rsi      # 0x15127
callq 0x2090
testl %eax, %eax
je 0x754b
movq %r14, %rbx
jmp 0x7661
leaq 0x30(%rsp), %r15
leaq 0x10(%rsp), %r13
leaq 0x20(%rsp), %r12
movq %rsp, %rbp
movl $0xe0, %edi
callq 0x21b0
movq %rax, %rbx
movq %r15, 0x20(%rsp)
movq %r12, %rdi
leaq 0xdcf2(%rip), %rsi      # 0x1526b
leaq 0xdcef(%rip), %rdx      # 0x1526f
callq 0x312c
movq %rbx, %rdi
movq %r12, %rsi
callq 0x98d0
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x75a7
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
addq $0x98, %rdi
leaq 0x13f28(%rip), %rsi     # 0x1b4e0
callq 0x2100
movq %r14, (%rbx)
movq %r13, (%rsp)
movq 0x13ef5(%rip), %rsi     # 0x1b4c0
movq 0x13ef6(%rip), %rdx     # 0x1b4c8
addq %rsi, %rdx
movq %rbp, %rdi
callq 0x3c10
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
callq 0x4630
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x7606
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x7622
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21c0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x7638
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
xorl %edi, %edi
callq 0x7513
movq %rax, 0x8(%rbx)
leaq 0x13e76(%rip), %rdi     # 0x1b4c0
leaq 0xdad6(%rip), %rsi      # 0x15127
callq 0x2090
movq %rbx, %r14
testl %eax, %eax
je 0x755d
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x7695
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x7695
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21c0
movl $0xe0, %esi
movq %rbx, %rdi
jmp 0x76b3
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x76b8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %r14, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: additive_expression(TreeNode*)
TreeNode* additive_expression(TreeNode* k) {
    TreeNode* t = term(k);
    k           = NULL;
    while (ptoken.type == "PMOP") {  // 加减
        TreeNode* q = new TreeNode("PMOp");
        q->op       = ptoken.value;
        q->child[0] = t;
        match("PMOP");
        q->child[1] = term(k);
        t           = q;
    }
    return t;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
callq 0x7513
movq %rax, %r13
leaq 0x13de0(%rip), %rdi     # 0x1b4c0
leaq 0xda3b(%rip), %rsi      # 0x15122
callq 0x2090
testl %eax, %eax
je 0x76f8
movq %r13, %rbx
jmp 0x780f
leaq 0x30(%rsp), %r14
movq %rsp, %r12
leaq 0xda1b(%rip), %rbp      # 0x15122
leaq 0x20(%rsp), %r15
movl $0xe0, %edi
callq 0x21b0
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq %rax, (%rsp)
movq %r12, %rdi
leaq 0xdb44(%rip), %rsi      # 0x15270
leaq 0xdb41(%rip), %rdx      # 0x15274
callq 0x312c
movq %rbx, %rdi
movq %r12, %rsi
callq 0x98d0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x775e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
addq $0x98, %rdi
leaq 0x13d71(%rip), %rsi     # 0x1b4e0
callq 0x2100
movq %r13, (%rbx)
movq %r14, 0x20(%rsp)
movq %r15, %rdi
movq %rbp, %rsi
leaq 0xd99d(%rip), %rdx      # 0x15126
callq 0x312c
leaq 0x40(%rsp), %rdi
movq %r15, %rsi
callq 0x4630
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x77b7
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x77d3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x77ea
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21c0
xorl %edi, %edi
callq 0x7513
movq %rax, 0x8(%rbx)
leaq 0x13cc4(%rip), %rdi     # 0x1b4c0
movq %rbp, %rsi
callq 0x2090
movq %rbx, %r13
testl %eax, %eax
je 0x770c
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
jmp 0x7847
movq %rax, %r15
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x7847
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
movl $0xe0, %esi
movq %rbx, %rdi
jmp 0x7866
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x786b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %r15, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: simple_expression(TreeNode*)
TreeNode* simple_expression(TreeNode* k) {
    // 这里会处理只有一个整数的情况
    TreeNode* t = additive_expression(k);
    k           = NULL;
    if (ptoken.type == "CompareOp") {  // 比较
        TreeNode* q = new TreeNode("CompareOp");
        q->line     = ptoken.line;
        q->op       = ptoken.value;
        q->child[0] = t;
        t           = q;
        match(ptoken.type);
        t->child[1] = additive_expression(k);
        return t;
    }
    return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x90, %rsp
callq 0x76c0
movq %rax, %r14
leaq 0x13c32(%rip), %rdi     # 0x1b4c0
leaq 0xd878(%rip), %rsi      # 0x1510d
callq 0x2090
testl %eax, %eax
je 0x78a6
movq %r14, %rbx
jmp 0x79a6
movl $0xe0, %edi
callq 0x21b0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd84a(%rip), %rsi      # 0x1510d
leaq 0xd84c(%rip), %rdx      # 0x15116
leaq 0x8(%rsp), %rdi
callq 0x312c
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x98d0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x78f8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
movl 0x13c02(%rip), %eax     # 0x1b500
movl %eax, 0x50(%rbx)
movq %rbx, %rdi
addq $0x98, %rdi
leaq 0x13bce(%rip), %rsi     # 0x1b4e0
callq 0x2100
movq %r14, (%rbx)
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x13b96(%rip), %rsi     # 0x1b4c0
movq 0x13b97(%rip), %rdx     # 0x1b4c8
addq %rsi, %rdx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x3c10
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x4630
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7969
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7984
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x799b
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21c0
xorl %edi, %edi
callq 0x76c0
movq %rax, 0x8(%rbx)
movq %rbx, %rax
addq $0x90, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x79f9
movq 0x38(%rsp), %rsi
incq %rsi
jmp 0x79f4
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x79ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
jmp 0x79ec
movq %rax, %r14
movl $0xe0, %esi
movq %rbx, %rdi
callq 0x21c0
movq %r14, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: expression_stmt()
TreeNode* expression_stmt() {
    TreeNode* t = NULL;
    t           = expression();
    match("Semicolon");
    return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
callq 0x5eb0
movq %rax, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd483(%rip), %rsi      # 0x15145
leaq 0xd485(%rip), %rdx      # 0x1514e
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x312c
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x4630
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7cfe
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7d19
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x7d30
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x7d57
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: statement()
TreeNode* statement() {
    TreeNode* t = NULL;
    if (ptoken.type == "if") {
        t = selection_stmt();
    } else if (ptoken.type == "while") {
        t = iteration_stmt();
    } else if (ptoken.type == "return") {
        t = return_stmt();
    } else if (ptoken.type == "Id") {
        t = expression_stmt();
    } else if (ptoken.type == "intput" || ptoken.type == "output") {
        t = expression_stmt();
    }
    return t;
}

// Assembly:
pushq %rax
leaq 0x13759(%rip), %rdi     # 0x1b4c0
leaq 0xd4d1(%rip), %rsi      # 0x1523f
callq 0x2090
testl %eax, %eax
je 0x7dee
leaq 0x13742(%rip), %rdi     # 0x1b4c0
leaq 0xd3f3(%rip), %rsi      # 0x15178
callq 0x2090
testl %eax, %eax
je 0x7df4
leaq 0x1372b(%rip), %rdi     # 0x1b4c0
leaq 0xd3e2(%rip), %rsi      # 0x1517e
callq 0x2090
testl %eax, %eax
je 0x7e00
leaq 0x13714(%rip), %rdi     # 0x1b4c0
leaq 0xd46d(%rip), %rsi      # 0x15220
callq 0x2090
testl %eax, %eax
je 0x7dfa
leaq 0x136fd(%rip), %rdi     # 0x1b4c0
leaq 0xd4c3(%rip), %rsi      # 0x1528d
callq 0x2090
testl %eax, %eax
je 0x7dfa
leaq 0x136e6(%rip), %rdi     # 0x1b4c0
leaq 0xd3aa(%rip), %rsi      # 0x1518b
callq 0x2090
testl %eax, %eax
je 0x7dfa
xorl %eax, %eax
popq %rcx
retq
popq %rax
jmp 0x5813
popq %rax
jmp 0x669f
popq %rax
jmp 0x7ca1
popq %rax
jmp 0x7a01
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: compound_stmt()
TreeNode* compound_stmt() {                  // * 解析函数体
    TreeNode* t = new TreeNode("Compound");  // 函数体
    match("LeftBigBkt");
    t->child[0] = local_declaration();  // 声明都在前面, 以sibling连接
    t->child[1] = statement_list();     // 下面是各种语句, 以sibling连接
    if (t->child[0] == NULL) {
        t->child[0] = t->child[1];
        t->child[1] = NULL;
    }
    t->child_cnt = 2;
    match("RightBigBkt");
    return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xf0, %rsp
movl $0xe0, %edi
callq 0x21b0
movq %rax, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd46f(%rip), %rsi      # 0x1529e
leaq 0xd470(%rip), %rdx      # 0x152a6
movq %rsp, %rdi
callq 0x312c
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x98d0
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x7e5f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd2e8(%rip), %rsi      # 0x15157
leaq 0xd2eb(%rip), %rdx      # 0x15161
leaq 0x40(%rsp), %r14
movq %r14, %rdi
callq 0x312c
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x4630
leaq 0xd8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7eb4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7ed5
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x7eec
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21c0
callq 0x4f2c
movq %rax, (%rbx)
callq 0x65af
movq %rax, 0x8(%rbx)
cmpq $0x0, (%rbx)
jne 0x7f0e
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
movl $0x2, 0x28(%rbx)
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xd23d(%rip), %rsi      # 0x15162
leaq 0xd241(%rip), %rdx      # 0x1516d
leaq 0x20(%rsp), %r14
movq %r14, %rdi
callq 0x312c
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
callq 0x4630
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f67
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7f82
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x7f99
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rax
addq $0xf0, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x7fff
movq 0x30(%rsp), %rsi
jmp 0x7fcf
movq %rax, %r14
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x7fff
movq 0x50(%rsp), %rsi
incq %rsi
jmp 0x7ffa
movq %rax, %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x7ff2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
jmp 0x7ff2
movq %rax, %r14
movl $0xe0, %esi
movq %rbx, %rdi
callq 0x21c0
movq %r14, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: declaration_list()
TreeNode* declaration_list() {
    /**
     * 不断检测声明
     * 包括函数声明和变量声明.
     */
    TreeNode* t = declaration();  // 检测一个声明
    TreeNode* p = t;
    // while (ptoken.type != "int" && ptoken.type != "void" && ptoken.type != "EndFile") {
    //     ptoken = getToken();
    //     if (ptoken.type == "EndFile") break;
    // }
    while (ptoken.type == "int" || ptoken.type == "void") {  // 检测到int整形, void函数
        // cout << "声明的类型 ................... : " << ptoken.type << endl;
        TreeNode* q;
        q = declaration();
        if (q != NULL) {
            if (t == NULL) {  // ! 似乎不正常, 前面t为NULL说明没有检测到decl, 可以报错
                t = p = q;
            } else {
                p->sibling = q;  // *每个声明是并列的, 用兄弟结点连接.
                p          = q;
            }
        }
    }
    match("EndFile");
    // cout << "hehe\n";
    return t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
callq 0x8007
movq %rax, %rbx
leaq 0x1297a(%rip), %r14     # 0x1b4c0
leaq 0xc627(%rip), %r15      # 0x15174
leaq 0xc6c2(%rip), %r12      # 0x15216
movq %rax, %r13
movq %r14, %rdi
movq %r15, %rsi
callq 0x2090
testl %eax, %eax
je 0x8b75
movq %r14, %rdi
movq %r12, %rsi
callq 0x2090
testl %eax, %eax
jne 0x8b80
callq 0x8007
movq %rax, 0x20(%r13)
jmp 0x8b54
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xc571(%rip), %rsi      # 0x15101
leaq 0xc571(%rip), %rdx      # 0x15108
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x312c
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x4630
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8bcc
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8be7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21c0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8bfe
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x8c29
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: printParse(TreeNode*)
void printParse(TreeNode* t) {
    out << "Program:{\n"
        << "  type: program,\n"
        << "  body: [\n";
    string indent = "    ";
    preOrder(t, indent);
    out << "  ]\n"
        << "}\n";
    out.close();
    // ifstream in("parse.txt", ios::in);
    // 输出到控制台
    // string s;
    // while (getline(in, s)) {
    //     cout << s << endl;
    // }
    cout << "error cnt: " << error_cnt << endl;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x11ea2(%rip), %r14     # 0x1b508
leaq 0xbcfa(%rip), %rsi      # 0x15367
movl $0xa, %edx
movq %r14, %rdi
callq 0x2220
leaq 0xbcf1(%rip), %rsi      # 0x15372
movl $0x11, %edx
movq %r14, %rdi
callq 0x2220
leaq 0xbca8(%rip), %rsi      # 0x1533d
movl $0xa, %edx
movq %r14, %rdi
callq 0x2220
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0xbc98(%rip), %rsi      # 0x1534a
leaq 0xbc95(%rip), %rdx      # 0x1534e
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x312c
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x3c10
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8c31
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x9708
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x11df9(%rip), %rdi     # 0x1b508
leaq 0xbc3b(%rip), %rsi      # 0x15351
movl $0x4, %edx
callq 0x2220
leaq 0x11de1(%rip), %rdi     # 0x1b508
leaq 0xbc2a(%rip), %rsi      # 0x15358
movl $0x2, %edx
callq 0x2220
leaq 0x11dc9(%rip), %rdi     # 0x1b508
callq 0x2270
movq 0x11885(%rip), %rdi     # 0x1afd0
leaq 0xbc32(%rip), %rsi      # 0x15384
movl $0xb, %edx
callq 0x2220
movl 0x11fa6(%rip), %esi     # 0x1b708
movq 0x11867(%rip), %rdi     # 0x1afd0
callq 0x2300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x97af
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21c0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x97da
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21c0
jmp 0x97da
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x97f1
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21c0
movq %rbx, %rdi
callq 0x2310
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/parse.cpp
// Function: parse(bool)
TreeNode* parse(bool print) {
    TreeNode* t;
    ptoken = getToken();          // 获取第一个token, 开始语法分析
    t      = declaration_list();  // 获取声明列表, c-由一系列整数/函数声明组成
    if (print) {
        printParse(t);
        cout << "parse print over !" << endl;
    }
    return t;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl %edi, %ebx
movq %rsp, %r14
movq %r14, %rdi
callq 0x3382
leaq 0x11cac(%rip), %rdi     # 0x1b4c0
movq %r14, %rsi
callq 0x2240
leaq 0x20(%rsp), %r14
leaq 0x11cb8(%rip), %rdi     # 0x1b4e0
movq %r14, %rsi
callq 0x2240
movl 0x20(%r14), %eax
movl %eax, 0x11cc6(%rip)     # 0x1b500
movq (%r14), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x9854
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21c0
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x986f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21c0
callq 0x8b2a
movq %rax, %r14
testb %bl, %bl
je 0x98c5
movq %r14, %rdi
callq 0x9651
movq 0x11746(%rip), %rbx     # 0x1afd0
leaq 0xbaff(%rip), %rsi      # 0x15390
movl $0x12, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/analyze.cpp
// Function: buildSymtab(TreeNode*)
void buildSymtab(TreeNode *syntaxTree) {
    traverse(syntaxTree, insertNode, nullProc);
    if (not isError) {
        cout << "\nprinting symtab ..." << endl;
        printSymtab();
        cout << "print over !\n"
                  << endl;
        cout << "symtab build over, everything is ok! congratulations!" << endl
                  << endl;
    } else {
        cout << "you have " << isError << " errors in symtab, please check!" << endl
                  << endl;
    }
}

// Assembly:
pushq %rbx
leaq 0x18e(%rip), %rsi       # 0x9afe
leaq 0xa50(%rip), %rdx       # 0xa3c7
callq 0x9aad
cmpl $0x0, 0x11f95(%rip)     # 0x1b918
je 0x99c5
movq 0x11644(%rip), %rbx     # 0x1afd0
leaq 0xba80(%rip), %rsi      # 0x15413
movl $0x9, %edx
movq %rbx, %rdi
callq 0x2220
movl 0x11f72(%rip), %esi     # 0x1b918
movq %rbx, %rdi
callq 0x2300
movq %rax, %rbx
leaq 0xba65(%rip), %rsi      # 0x1541d
movl $0x20, %edx
movq %rax, %rdi
jmp 0x9a56
movq 0x11604(%rip), %rbx     # 0x1afd0
leaq 0xb9e7(%rip), %rsi      # 0x153ba
movl $0x14, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
callq 0xb2fb
leaq 0xb9bc(%rip), %rsi      # 0x153cf
movl $0xd, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
leaq 0xb98f(%rip), %rsi      # 0x153dd
movl $0x35, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %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 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
jmp 0x2120
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/analyze.cpp
// Function: traverse(TreeNode*, void (*)(TreeNode*), void (*)(TreeNode*))
static void traverse(TreeNode *t, void (*preProc)(TreeNode *), void (*postProc)(TreeNode *)) {
    if (t != NULL) {
        preProc(t);
        for (int i = 0; i < MAX_CHILDREN; ++i) {
            traverse(t->child[i], preProc, postProc);
        }
        postProc(t);
        traverse(t->sibling, preProc, postProc);
    }
}

// Assembly:
testq %rdi, %rdi
je 0x9afd
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %r15, %rdi
callq *%r14
xorl %r12d, %r12d
movq (%r15,%r12,8), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x9aad
incq %r12
cmpq $0x4, %r12
jne 0x9acc
movq %r15, %rdi
callq *%rbx
movq 0x20(%r15), %r15
testq %r15, %r15
jne 0x9ac3
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/analyze.cpp
// Function: typeCheck(TreeNode*)
void typeCheck(TreeNode *syntaxTree) {
    traverse(syntaxTree, nullProc, checkNode);
    if (typeError) {
        cout << "type check over, your have " << typeError << " errors, please check!" << endl
             << endl;
    } else {
        cout << "type check over, everything is ok! congratulations!" << endl
             << endl;
    }
}

// Assembly:
pushq %rbx
leaq -0x9(%rip), %rsi        # 0xa3c7
leaq 0xb8(%rip), %rdx        # 0xa48f
callq 0x9aad
cmpl $0x0, 0x11539(%rip)     # 0x1b91c
je 0xa422
movq 0x10be4(%rip), %rbx     # 0x1afd0
leaq 0xb04b(%rip), %rsi      # 0x1543e
movl $0x1b, %edx
movq %rbx, %rdi
callq 0x2220
movl 0x11516(%rip), %esi     # 0x1b91c
movq %rbx, %rdi
callq 0x2300
movq %rax, %rbx
leaq 0xb042(%rip), %rsi      # 0x1545a
movl $0x16, %edx
movq %rax, %rdi
jmp 0xa438
movq 0x10ba7(%rip), %rbx     # 0x1afd0
leaq 0xb041(%rip), %rsi      # 0x15471
movl $0x33, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %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 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
popq %rbx
jmp 0x2120
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/symtab.cpp
// Function: st_lookup(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int st_lookup(string name) {
    if (symtabs.count(name) == 0) {
        return -1;
    } else {
        return symtabs[name].addr;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x1087b(%rip), %rdi     # 0x1b990
movq %rbx, %rsi
callq 0xbfcc
leaq 0x10874(%rip), %rcx     # 0x1b998
cmpq %rcx, %rax
je 0xb13d
leaq 0x10860(%rip), %rdi     # 0x1b990
movq %rbx, %rsi
callq 0xb6fa
movl 0x20(%rax), %eax
jmp 0xb142
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/JameyWoo[P]csmile/assembly.cpp
// Function: genInput(TreeNode*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void genInput(TreeNode* input, string left_loc) {
    // debug(input->nodekind);
    assout << "\tmovl\t$.LC1, %eax" << endl
           << "\tleal\t" << left_loc << ", %edx" << endl
           << "\tmovl\t"
           << "%edx, 4(%esp)" << endl
           << "\tmovl\t%eax, (%esp)" << endl
           << "\tcall\t__isoc99_scanf" << endl;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
leaq 0xbf59(%rip), %r14      # 0x1bbe0
leaq 0x5aec(%rip), %rsi      # 0x1577a
movl $0x11, %edx
movq %r14, %rdi
callq 0x2220
movq 0xbf3e(%rip), %rax      # 0x1bbe0
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rax, %r14
leaq 0x5abc(%rip), %rsi      # 0x1578c
movl $0x6, %edx
movq %rax, %rdi
callq 0x2220
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r14, %rdi
callq 0x2220
movq %rax, %rbx
leaq 0x5b79(%rip), %rsi      # 0x1586f
movl $0x6, %edx
movq %rax, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rax, %rbx
leaq 0x59f9(%rip), %rsi      # 0x1572d
movl $0x6, %edx
movq %rax, %rdi
callq 0x2220
leaq 0x5a4b(%rip), %rsi      # 0x15793
movl $0xd, %edx
movq %rbx, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rax, %rbx
leaq 0x59d4(%rip), %rsi      # 0x1575a
movl $0x12, %edx
movq %rax, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2120
movq %rax, %rbx
leaq 0x59dd(%rip), %rsi      # 0x157a1
movl $0x14, %edx
movq %rax, %rdi
callq 0x2220
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2120
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: pathSplit(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
std::vector<std::string>& pathSplit(const std::string& s, const std::string& delim, std::vector<std::string> &elems)
{

	std::string::size_type start = 0;
	while (true)
	{
		if (start == s.size())
		{
			elems.push_back("");
			return elems;
		}

		std::string::size_type pos = s.find_first_of(delim, start);
		if (pos == start)
		{
			elems.push_back("");
			start += 1;
		}
		else if (pos != std::string::npos)
		{
			std::string tmp = s.substr(start, pos - start);
			elems.push_back(tmp);
			start = pos + 1;
		}
		else
		{
			std::string tmp = s.substr(start);
			elems.push_back(tmp);
			return elems;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
cmpq $0x0, 0x8(%rdi)
je 0x174e3
movq %rsi, %r15
movq %rdi, %r14
xorl %ebp, %ebp
leaq 0x8(%rsp), %r13
movq (%r15), %rsi
movq 0x8(%r15), %rcx
movq %r14, %rdi
movq %rbp, %rdx
callq 0xb2f0
movq %rax, %rcx
subq %rbp, %rcx
jne 0x17491
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rdi
leaq 0x9014(%rip), %rdx      # 0x20474
movq %rdx, %rsi
callq 0x16fe4
movq %rbx, %rdi
movq %r13, %rsi
callq 0x1cd0e
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x174d6
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb260
jmp 0x174d6
movq %rax, %r12
cmpq $-0x1, %rax
je 0x17536
movq %r13, %rdi
movq %r14, %rsi
movq %rbp, %rdx
callq 0xb270
movq %rbx, %rdi
movq %r13, %rsi
callq 0x1c400
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x174d3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb260
movq %r12, %rbp
incq %rbp
cmpq 0x8(%r14), %rbp
jne 0x17432
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x8f81(%rip), %rdx      # 0x20474
leaq 0x8(%rsp), %rdi
movq %rdx, %rsi
callq 0x16fe4
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x1cd0e
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x17524
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb260
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rbp, %rdx
movq $-0x1, %rcx
callq 0xb270
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1c400
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x17517
jmp 0x17524
jmp 0x17586
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
jne 0x17598
jmp 0x175a5
jmp 0x17581
jmp 0x17586
movq %rax, %rbx
jmp 0x175a5
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x175a5
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb260
movq %rbx, %rdi
callq 0xb3b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::getNodeByKey(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
JsonPtr Json::getNodeByKey(const std::string& key)
{
	if (_type != JSON_Object)
		return nullptr;

	std::map<std::string, JsonPtr>* data = (std::map<std::string, JsonPtr>*)_data;
	auto it = data->find(key);
	if (it != data->end())
		return it->second;
	else
		return nullptr;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, (%rsi)
je 0x175cb
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x8(%rsi), %r14
movq %r14, %rdi
movq %rdx, %rsi
callq 0x1d12a
addq $0x8, %r14
cmpq %r14, %rax
je 0x175ba
movq 0x40(%rax), %rcx
movq %rcx, (%rbx)
movq 0x48(%rax), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x175c0
movq 0x109d2(%rip), %rcx     # 0x27fd0
cmpb $0x0, (%rcx)
je 0x17608
incl 0x8(%rax)
jmp 0x175c0
lock
incl 0x8(%rax)
jmp 0x175c0
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::getNodeByIndex(int)
JsonPtr Json::getNodeByIndex(int index)
{
	if (_type != JSON_Array)
		return nullptr;

	std::list<JsonPtr>* data = (std::list<JsonPtr>*)_data;
	auto it = data->begin();
	int i = 0;
	for (; it != data->end(); it++, i++)
	{
		if (i == index)
			return *it;
	}

	return nullptr;
}

// Assembly:
movq %rdi, %rax
cmpl $0x1, (%rsi)
jne 0x17630
movq 0x8(%rsi), %rsi
movq (%rsi), %rcx
cmpq %rsi, %rcx
je 0x17630
incl %edx
decl %edx
je 0x17637
movq (%rcx), %rcx
cmpq %rsi, %rcx
jne 0x17624
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
retq
movq 0x10(%rcx), %rdx
movq %rdx, (%rax)
movq 0x18(%rcx), %rcx
movq %rcx, 0x8(%rax)
testq %rcx, %rcx
je 0x1765f
movq 0x1097e(%rip), %rdx     # 0x27fd0
cmpb $0x0, (%rdx)
je 0x1765b
incl 0x8(%rcx)
retq
lock
incl 0x8(%rcx)
retq
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::getNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
JsonPtr Json::getNode(const std::string& path, const std::string& delim)
{
	std::vector<std::string> sections;
	pathSplit(path, delim, sections);

	if (sections.empty())
		return getNodeByKey("");

	JsonPtr node = getNodeByKey(sections[0]);
	for (size_t i = 1; i < sections.size() && node != nullptr; i++)
		node = node->getNodeByKey(sections[i]);

	return node;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %rax
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
movq %rax, %rdi
movq %rcx, %rsi
callq 0x17409
movq (%rsp), %rdx
cmpq 0x8(%rsp), %rdx
je 0x17727
movq %rbx, %rdi
movq %r14, %rsi
callq 0x175ae
movq (%rbx), %r14
movq (%rsp), %rdx
movq 0x8(%rsp), %rax
subq %rdx, %rax
cmpq $0x21, %rax
jb 0x17771
movl $0x1, %r12d
movl $0x20, %r13d
leaq 0x20(%rsp), %r15
testq %r14, %r14
je 0x1776e
addq %r13, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x175ae
movq 0x20(%rsp), %r14
movq 0x28(%rsp), %rax
movq 0x8(%rbx), %rdi
movq %rax, 0x8(%rbx)
testq %rdi, %rdi
je 0x17709
callq 0x16c72
movq (%rsp), %rdx
movq 0x8(%rsp), %rax
incq %r12
subq %rdx, %rax
sarq $0x5, %rax
addq $0x20, %r13
cmpq %rax, %r12
jb 0x176d6
jmp 0x17771
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8d3c(%rip), %rdx      # 0x20474
leaq 0x20(%rsp), %rdi
movq %rdx, %rsi
callq 0x16fe4
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x175ae
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x17774
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb260
jmp 0x17774
xorl %r14d, %r14d
movq %r14, (%rbx)
movq %rsp, %rdi
callq 0x161bc
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r15
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x177c4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xb260
jmp 0x177c4
jmp 0x177ab
movq %rax, %r15
jmp 0x177c4
movq %rax, %r15
movq %r14, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x177c4
callq 0x16c72
movq %rsp, %rdi
callq 0x161bc
movq %r15, %rdi
callq 0xb3b0
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setDict()
void Json::setDict()
{
	if (_type != JSON_Object)
	{
		clean();
		_type = JSON_Object;
		_data = new std::map<std::string, JsonPtr>();
	}
	else
	{
		std::map<std::string, JsonPtr>* data = (std::map<std::string, JsonPtr>*)_data;
		data->clear();
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, (%rdi)
je 0x17ead
movq %rbx, %rdi
callq 0x1803a
movl $0x0, (%rbx)
movl $0x30, %edi
callq 0xb250
leaq 0x8(%rax), %rcx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rcx, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq $0x0, 0x28(%rax)
movq %rax, 0x8(%rbx)
popq %rbx
retq
movq 0x8(%rbx), %rdi
popq %rbx
jmp 0x1d1b4
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::addNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::shared_ptr<swxJson::Json>)
bool Json::addNode(const std::string& key, JsonPtr node)
{
	if (_type != JSON_Object)
	{
		if (_type == JSON_Uninit)
			setDict();
		else
			return false;
	}

	std::map<std::string, JsonPtr>* data = (std::map<std::string, JsonPtr>*)_data;
	auto it = data->find(key);
	if (it != data->end())
		return false;

	(*data)[key] = node;
	return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl (%rdi), %eax
testl %eax, %eax
je 0x17ff5
cmpl $0x8, %eax
jne 0x1800d
movq %r15, %rdi
callq 0x17e68
movq 0x8(%r15), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x1d12a
leaq 0x8(%r15), %rcx
cmpq %rcx, %rax
je 0x18011
xorl %eax, %eax
jmp 0x18034
movq %r15, %rdi
movq %r14, %rsi
callq 0x1c522
movq (%rbx), %rcx
movq %rcx, (%rax)
leaq 0x8(%rax), %rdi
addq $0x8, %rbx
movq %rbx, %rsi
callq 0x1cb6c
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setBool(bool)
void Json::setBool(bool value)
{
	if (_type != JSON_Boolean)
	{
		clean();
		_type = JSON_Boolean;
	}

	_data = (value ? (void*)1 : 0);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
cmpl $0x6, (%rdi)
je 0x18109
movq %rbx, %rdi
callq 0x1803a
movl $0x6, (%rbx)
movzbl %bpl, %eax
movq %rax, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setInt(long)
void Json::setInt(intmax_t value)
{
	if (_type != JSON_Integer)
	{
		clean();
		_type = JSON_Integer;
		_data = new intmax_t(value);
	}
	else
	{
		intmax_t *data = (intmax_t*)_data;
		*data = value;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x3, (%rdi)
jne 0x18130
movq 0x8(%r14), %rax
movq %rbx, (%rax)
jmp 0x18150
movq %r14, %rdi
callq 0x1803a
movl $0x3, (%r14)
movl $0x8, %edi
callq 0xb250
movq %rbx, (%rax)
movq %rax, 0x8(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setUInt(unsigned long)
void Json::setUInt(uintmax_t value)
{
	if (_type != JSON_UInteger)
	{
		clean();
		_type = JSON_UInteger;
		_data = new uintmax_t(value);
	}
	else
	{
		uintmax_t *data = (uintmax_t*)_data;
		*data = value;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x4, (%rdi)
jne 0x18170
movq 0x8(%r14), %rax
movq %rbx, (%rax)
jmp 0x18190
movq %r14, %rdi
callq 0x1803a
movl $0x4, (%r14)
movl $0x8, %edi
callq 0xb250
movq %rbx, (%rax)
movq %rax, 0x8(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setReal(double)
void Json::setReal(double value)
{
	if (_type != JSON_Real)
	{
		clean();
		_type = JSON_Real;
		_data = new double(value);
	}
	else
	{
		double * data = (double*)_data;
		*data = value;
	}
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x5, (%rdi)
jne 0x181af
movq 0x8(%rbx), %rax
movsd %xmm0, (%rax)
jmp 0x181db
movq %rbx, %rdi
movsd %xmm0, 0x8(%rsp)
callq 0x1803a
movl $0x5, (%rbx)
movl $0x8, %edi
callq 0xb250
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rax)
movq %rax, 0x8(%rbx)
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setString(char const*)
void Json::setString(const char* value)
{
	if (_type != JSON_String)
	{
		clean();
		_type = JSON_String;
		if (value)
			_data = new std::string(value);
		else
			_data = new std::string("");
	}
	else
	{
		std::string * data = (std::string*)_data;
		if (value)
			data->assign(value);
		else
			data->assign("");
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
cmpl $0x2, (%rdi)
jne 0x18217
movq 0x8(%r14), %r14
movq 0x8(%r14), %rbx
testq %r15, %r15
je 0x18258
movq %r15, %rdi
callq 0xb0d0
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r15, %rcx
movq %rax, %r8
jmp 0x1826a
movq %r14, %rdi
callq 0x1803a
movl $0x2, (%r14)
movl $0x20, %edi
callq 0xb250
movq %rax, %rbx
addq $0x10, %rax
movq %rax, (%rbx)
testq %r15, %r15
je 0x18274
movq %r15, %rdi
callq 0xb0d0
leaq (%rax,%r15), %rdx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x16fe4
jmp 0x18286
leaq 0x8215(%rip), %rcx      # 0x20474
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
xorl %r8d, %r8d
popq %rbx
popq %r14
popq %r15
jmp 0xb310
leaq 0x81f9(%rip), %rdx      # 0x20474
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x16fe4
movq %rbx, 0x8(%r14)
popq %rbx
popq %r14
popq %r15
retq
jmp 0x18292
movq %rax, %r14
movl $0x20, %esi
movq %rbx, %rdi
callq 0xb260
movq %r14, %rdi
callq 0xb3b0
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Json::setString(const std::string& value)
{
	if (_type != JSON_String)
	{
		clean();
		_type = JSON_String;
		_data = new std::string(value);
	}
	else
	{
		std::string * data = (std::string*)_data;
		data->assign(value);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
cmpl $0x2, (%rdi)
jne 0x182cb
movq 0x8(%rbx), %rdi
movq %r15, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0xb130
movq %rbx, %rdi
callq 0x1803a
movl $0x2, (%rbx)
movl $0x20, %edi
callq 0xb250
movq %rax, %r14
addq $0x10, %rax
movq %rax, (%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x16f4e
movq %r14, 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movl $0x20, %esi
movq %r14, %rdi
callq 0xb260
movq %rbx, %rdi
callq 0xb3b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::setArray()
void Json::setArray()
{
	if (_type != JSON_Array)
	{
		clean();
		_type = JSON_Array;
		_data = new std::list<JsonPtr>();
	}
	else
	{
		std::list<JsonPtr>* data = (std::list<JsonPtr>*)_data;
		data->clear();
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x1, (%rdi)
jne 0x18348
movq 0x8(%rbx), %rbx
movq %rbx, %rdi
callq 0x1cc74
movq %rbx, 0x8(%rbx)
movq %rbx, (%rbx)
movq $0x0, 0x10(%rbx)
jmp 0x18373
movq %rbx, %rdi
callq 0x1803a
movl $0x1, (%rbx)
movl $0x18, %edi
callq 0xb250
movq %rax, 0x8(%rax)
movq %rax, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x8(%rbx)
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::pushNode(std::shared_ptr<swxJson::Json>)
bool Json::pushNode(JsonPtr node)
{
	if (_type != JSON_Array)
	{
		if (_type == JSON_Uninit)
			setArray();
		else
			return false;
	}

	std::list<JsonPtr>* data = (std::list<JsonPtr>*)_data;
	data->push_back(node);
	return true;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %eax
cmpl $0x1, %eax
je 0x18394
cmpl $0x8, %eax
jne 0x183b6
movq %r14, %rdi
callq 0x18322
movq 0x8(%r14), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1d1e2
movq %rax, %rdi
movq %r14, %rsi
callq 0xb050
incq 0x10(%r14)
movb $0x1, %al
jmp 0x183b8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::pushNull(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Json::pushNull(const std::string& path, const std::string& delim)
{
	JsonPtr node = createNode(path, delim, true);
	if (node->pushNull())
		return;

	throw JSON_ERROR_MSG(JsonNodeTypeMissMatchError, "Target node is not array.");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rcx
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x179da
movq (%rbx), %rdi
callq 0x183c0
testb %al, %al
je 0x18706
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x186fb
callq 0x16c72
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0xb0f0
movq %rax, %rbx
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7fd6(%rip), %rsi      # 0x206f9
leaq 0x7fe8(%rip), %rdx      # 0x20712
leaq 0x18(%rsp), %rdi
callq 0x16fe4
movb $0x1, %bpl
leaq 0x7f6c(%rip), %rsi      # 0x206aa
leaq 0x7fab(%rip), %rdx      # 0x206f0
leaq 0x18(%rsp), %r8
movq %rbx, %rdi
movl $0x29d, %ecx            # imm = 0x29D
callq 0x1eb2c
leaq 0xf5a2(%rip), %rax      # 0x27d00
addq $0x10, %rax
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0xf54a(%rip), %rsi      # 0x27cb8
leaq 0x3e29(%rip), %rdx      # 0x1c59e
movq %rbx, %rdi
callq 0xb390
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x18797
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb260
testb %bpl, %bpl
jne 0x187a1
jmp 0x187ae
movq %rax, %r14
movq %rbx, %rdi
callq 0xb1c0
jmp 0x187ae
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x187bd
callq 0x16c72
movq %r14, %rdi
callq 0xb3b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::pushBool(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Json::pushBool(const std::string& path, bool value, const std::string& delim)
{
	JsonPtr node = createNode(path, delim, true);
	if (node->pushBool(value))
		return;

	throw JSON_ERROR_MSG(JsonNodeTypeMissMatchError, "Target node is not array.");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %edx, %ebx
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl $0x1, %r8d
callq 0x179da
movq (%r14), %rdi
movl %ebx, %esi
callq 0x16a80
testb %al, %al
je 0x18813
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x18808
callq 0x16c72
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0xb0f0
movq %rax, %rbx
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7ec9(%rip), %rsi      # 0x206f9
leaq 0x7edb(%rip), %rdx      # 0x20712
leaq 0x18(%rsp), %rdi
callq 0x16fe4
movb $0x1, %bpl
leaq 0x7e5f(%rip), %rsi      # 0x206aa
leaq 0x7ec1(%rip), %rdx      # 0x20713
leaq 0x18(%rsp), %r8
movq %rbx, %rdi
movl $0x2a6, %ecx            # imm = 0x2A6
callq 0x1eb2c
leaq 0xf495(%rip), %rax      # 0x27d00
addq $0x10, %rax
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0xf43d(%rip), %rsi      # 0x27cb8
leaq 0x3d1c(%rip), %rdx      # 0x1c59e
movq %rbx, %rdi
callq 0xb390
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x188a4
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb260
testb %bpl, %bpl
jne 0x188ae
jmp 0x188bb
movq %rax, %r14
movq %rbx, %rdi
callq 0xb1c0
jmp 0x188bb
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x188ca
callq 0x16c72
movq %r14, %rdi
callq 0xb3b0
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::pushReal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, double, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Json::pushReal(const std::string& path, double value, const std::string& delim)
{
	JsonPtr node = createNode(path, delim, true);
	if (node->pushReal(value))
		return;

	throw JSON_ERROR_MSG(JsonNodeTypeMissMatchError, "Target node is not array.");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rcx
movsd %xmm0, (%rsp)
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %r8d
callq 0x179da
movq (%rbx), %rdi
movsd (%rsp), %xmm0
callq 0x16842
testb %al, %al
je 0x18928
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1891d
callq 0x16c72
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0xb0f0
movq %rax, %rbx
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7db4(%rip), %rsi      # 0x206f9
leaq 0x7dc6(%rip), %rdx      # 0x20712
leaq 0x18(%rsp), %rdi
callq 0x16fe4
movb $0x1, %bpl
leaq 0x7d4a(%rip), %rsi      # 0x206aa
leaq 0x7db5(%rip), %rdx      # 0x2071c
leaq 0x18(%rsp), %r8
movq %rbx, %rdi
movl $0x2af, %ecx            # imm = 0x2AF
callq 0x1eb2c
leaq 0xf380(%rip), %rax      # 0x27d00
addq $0x10, %rax
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0xf328(%rip), %rsi      # 0x27cb8
leaq 0x3c07(%rip), %rdx      # 0x1c59e
movq %rbx, %rdi
callq 0xb390
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x189b9
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb260
testb %bpl, %bpl
jne 0x189c3
jmp 0x189d0
movq %rax, %r14
movq %rbx, %rdi
callq 0xb1c0
jmp 0x189d0
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x189df
callq 0x16c72
movq %r14, %rdi
callq 0xb3b0
nop
// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJson.cpp
// Function: swxJson::Json::pushInt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Json::pushInt(const std::string& path, intmax_t value, const std::string& delim)
{
	JsonPtr node = createNode(path, delim, true);
	if (node->pushInt(value))
		return;

	throw JSON_ERROR_MSG(JsonNodeTypeMissMatchError, "Target node is not array.");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movl $0x1, %r8d
callq 0x179da
movq (%r14), %rdi
movq %rbx, %rsi
callq 0x16694
testb %al, %al
je 0x18a37
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x18a2c
callq 0x16c72
addq $0x38, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x60, %edi
callq 0xb0f0
movq %rax, %rbx
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x7ca5(%rip), %rsi      # 0x206f9
leaq 0x7cb7(%rip), %rdx      # 0x20712
leaq 0x18(%rsp), %rdi
callq 0x16fe4
movb $0x1, %bpl
leaq 0x7c3b(%rip), %rsi      # 0x206aa
leaq 0x7caf(%rip), %rdx      # 0x20725
leaq 0x18(%rsp), %r8
movq %rbx, %rdi
movl $0x2b8, %ecx            # imm = 0x2B8
callq 0x1eb2c
leaq 0xf271(%rip), %rax      # 0x27d00
addq $0x10, %rax
movq %rax, (%rbx)
xorl %ebp, %ebp
leaq 0xf219(%rip), %rsi      # 0x27cb8
leaq 0x3af8(%rip), %rdx      # 0x1c59e
movq %rbx, %rdi
callq 0xb390
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x18ac8
movq 0x28(%rsp), %rsi
incq %rsi
callq 0xb260
testb %bpl, %bpl
jne 0x18ad2
jmp 0x18adf
movq %rax, %r14
movq %rbx, %rdi
callq 0xb1c0
jmp 0x18adf
movq %rax, %r14
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x18aee
callq 0x16c72
movq %r14, %rdi
callq 0xb3b0