// File: /workspace/github_cpp_makefile_star2_O1/agorenst[P]trie/radixtree.cpp
// Function: main
int main(int argc, char* argv[]) {
    string line;
    radixtree<int> t;
    while (cin) {
        getline(cin, line);
        istringstream int_parser(line);
        int x;
        vector<int> int_stream;
        while (!int_parser.eof()) {
            int_parser >> x;
            int_stream.push_back(x);
        }
        if (!cin.eof()) {
            t.insert(int_stream.rbegin(), int_stream.rend());
        }
    }
    cout <<
"\\documentclass{standalone}\
\\usepackage{tikz}\
\\usetikzlibrary{graphdrawing,graphdrawing.trees}\
\\begin{document}\
\\begin{tikzpicture}\\begin{scope}[tree layout]";
    t.tikz_print(cout);
cout << "\\end{scope}\
\\end{tikzpicture}\
\\end{document}";
    cout << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp            # imm = 0x1E8
leaq -0x80(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movl $0x18, %edi
callq 0x2110
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq %rax, 0x8(%rax)
movq %rax, (%rax)
leaq -0x58(%rbp), %rdi
movq %rax, -0x8(%rdi)
movq %rax, %rsi
callq 0x265e
movq 0x3c67(%rip), %rbx      # 0x5fe0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
testb $0x5, 0x20(%rbx,%rdi)
jne 0x248f
addq %rbx, %rdi
leaq -0x90(%rbp), %r15
leaq -0x210(%rbp), %r12
leaq -0x2c(%rbp), %r13
leaq -0x50(%rbp), %r14
movl $0xa, %esi
callq 0x2100
movsbl %al, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x21c0
movq %r12, %rdi
movq %r15, %rsi
movl $0x8, %edx
callq 0x2190
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x210(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x1f0(%rbp,%rax)
jne 0x2421
movq %r12, %rdi
movq %r13, %rsi
callq 0x20a0
movq -0x48(%rbp), %rsi
cmpq -0x40(%rbp), %rsi
je 0x2414
movl -0x2c(%rbp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, -0x48(%rbp)
jmp 0x23db
movq %r14, %rdi
movq %r13, %rdx
callq 0x27e0
jmp 0x23db
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x2, 0x20(%rbx,%rax)
jne 0x2450
movq -0x50(%rbp), %rax
movq -0x48(%rbp), %rcx
movq -0x60(%rbp), %rdi
movq %rcx, -0x70(%rbp)
movq %rax, -0x68(%rbp)
leaq -0x70(%rbp), %rsi
leaq -0x68(%rbp), %rdx
callq 0x2918
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x245e
callq 0x20f0
movq %r12, %rdi
movq 0x3b58(%rip), %rsi      # 0x5fc0
callq 0x2130
leaq -0x198(%rbp), %rdi
callq 0x2060
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
testb $0x5, 0x20(%rbx,%rax)
je 0x23a4
movq 0x3b3a(%rip), %rdi      # 0x5fd0
leaq 0x1b83(%rip), %rsi      # 0x4020
movl $0x98, %edx
callq 0x2120
movq 0x3b22(%rip), %rsi      # 0x5fd0
leaq -0x60(%rbp), %rdi
callq 0x25a0
movq 0x3b12(%rip), %rbx      # 0x5fd0
leaq 0x1bf4(%rip), %rsi      # 0x40b9
movl $0x2a, %edx
movq %rbx, %rdi
callq 0x2120
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x2100
movsbl %al, %esi
movq 0x3ae0(%rip), %rdi      # 0x5fd0
callq 0x2030
movq %rax, %rdi
callq 0x20c0
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x250b
callq 0x25e4
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x2520
callq 0x20f0
xorl %eax, %eax
addq $0x1e8, %rsp            # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x2582
jmp 0x2544
jmp 0x253f
jmp 0x253f
movq %rax, %rbx
jmp 0x2574
movq %rax, %rbx
movq -0x50(%rbp), %rdi
testq %rdi, %rdi
je 0x2555
callq 0x20f0
movq 0x3a64(%rip), %rsi      # 0x5fc0
leaq -0x210(%rbp), %rdi
callq 0x2130
leaq -0x198(%rbp), %rdi
callq 0x2060
movq -0x58(%rbp), %rdi
testq %rdi, %rdi
je 0x2582
callq 0x25e4
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x2597
callq 0x20f0
movq %rbx, %rdi
callq 0x21b0
nop