// File: cyamonide[P]md2html/./src/main.cpp
// Function: main
int main(int argc, char const *argv[])
{
    Md2html m;

    if (argc >= 3)
    {
        m.setInputPath(argv[1]);
        m.setOutputPath(argv[2]);
    }
    else if (argc == 2)
    {
        m.setInputPath(argv[1]);
        m.setOutputPath("out.html");
    }
    else
    {
        return 1;
    }

    m.start();

    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x5e0, %rsp            # imm = 0x5E0
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x4f8(%rbp), %rdi
callq 0x32040
cmpl $0x3, -0x8(%rbp)
jl 0x6c00
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x5b8(%rbp)
leaq -0x519(%rbp), %rdi
movq %rdi, -0x5b0(%rbp)
callq 0x56d0
movq -0x5b8(%rbp), %rsi
movq -0x5b0(%rbp), %rdx
leaq -0x518(%rbp), %rdi
callq 0x6eb0
jmp 0x6add
leaq -0x4f8(%rbp), %rdi
leaq -0x518(%rbp), %rsi
callq 0x32250
jmp 0x6af2
leaq -0x518(%rbp), %rdi
callq 0x5798
leaq -0x519(%rbp), %rdi
callq 0x5440
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x5c8(%rbp)
leaq -0x551(%rbp), %rdi
movq %rdi, -0x5c0(%rbp)
callq 0x56d0
movq -0x5c8(%rbp), %rsi
movq -0x5c0(%rbp), %rdx
leaq -0x550(%rbp), %rdi
callq 0x6eb0
jmp 0x6b48
leaq -0x4f8(%rbp), %rdi
leaq -0x550(%rbp), %rsi
callq 0x322a0
jmp 0x6b5d
leaq -0x550(%rbp), %rdi
callq 0x5798
leaq -0x551(%rbp), %rdi
callq 0x5440
jmp 0x6d6e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
jmp 0x6bac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
leaq -0x518(%rbp), %rdi
callq 0x5798
leaq -0x519(%rbp), %rdi
callq 0x5440
jmp 0x6dbb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
jmp 0x6bef
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
leaq -0x550(%rbp), %rdi
callq 0x5798
leaq -0x551(%rbp), %rdi
callq 0x5440
jmp 0x6dbb
cmpl $0x2, -0x8(%rbp)
jne 0x6d59
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x5d8(%rbp)
leaq -0x579(%rbp), %rdi
movq %rdi, -0x5d0(%rbp)
callq 0x56d0
movq -0x5d8(%rbp), %rsi
movq -0x5d0(%rbp), %rdx
leaq -0x578(%rbp), %rdi
callq 0x6eb0
jmp 0x6c48
leaq -0x4f8(%rbp), %rdi
leaq -0x578(%rbp), %rsi
callq 0x32250
jmp 0x6c5d
leaq -0x578(%rbp), %rdi
callq 0x5798
leaq -0x579(%rbp), %rdi
callq 0x5440
leaq -0x5a1(%rbp), %rdi
movq %rdi, -0x5e0(%rbp)
callq 0x56d0
movq -0x5e0(%rbp), %rdx
leaq 0x325fc(%rip), %rsi     # 0x39292
leaq -0x5a0(%rbp), %rdi
callq 0x6eb0
jmp 0x6ca4
leaq -0x4f8(%rbp), %rdi
leaq -0x5a0(%rbp), %rsi
callq 0x322a0
jmp 0x6cb9
leaq -0x5a0(%rbp), %rdi
callq 0x5798
leaq -0x5a1(%rbp), %rdi
callq 0x5440
jmp 0x6d6c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
jmp 0x6d08
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
leaq -0x578(%rbp), %rdi
callq 0x5798
leaq -0x579(%rbp), %rdi
callq 0x5440
jmp 0x6dbb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
jmp 0x6d4b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
leaq -0x5a0(%rbp), %rdi
callq 0x5798
leaq -0x5a1(%rbp), %rdi
callq 0x5440
jmp 0x6dbb
movl $0x1, -0x4(%rbp)
movl $0x1, -0x5a8(%rbp)
jmp 0x6da3
jmp 0x6d6e
leaq -0x4f8(%rbp), %rdi
callq 0x32650
jmp 0x6d7c
movl $0x0, -0x4(%rbp)
movl $0x1, -0x5a8(%rbp)
jmp 0x6da3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x528(%rbp)
movl %eax, -0x52c(%rbp)
jmp 0x6dbb
leaq -0x4f8(%rbp), %rdi
callq 0x324b0
movl -0x4(%rbp), %eax
addq $0x5e0, %rsp            # imm = 0x5E0
popq %rbp
retq
leaq -0x4f8(%rbp), %rdi
callq 0x324b0
movq -0x528(%rbp), %rdi
callq 0x56c0
nopw %cs:(%rax,%rax)
nopl (%rax)