// File: /workspace/github_cpp_makefile_star2_O2/eschwabe[P]interview-practice/src/convert.cpp
// Function: main
int main()
{
    cout << StringToInt("-100") << endl;
    cout << StringToInt("101") << endl;
    cout << StringToInt("3") << endl;
    cout << StringToInt("32340357") << endl;
    cout << StringToInt("0") << endl;
    cout << StringToInt("-1") << endl;

    cout << IntToString(100) << endl;
    cout << IntToString(-101) << endl;
    cout << IntToString(1287234) << endl;
    cout << IntToString(-19467) << endl;
    cout << IntToString(0) << endl;
    cout << IntToString(-1) << endl;
    return 0;
}

// Assembly:
pushq %rbx
subq $0x30, %rsp
leaq 0xd13(%rip), %rsi       # 0x2004
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x15fc
leaq 0x10(%rsp), %rdi
callq 0x121c
movq 0x2cc7(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10b0
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xcd8(%rip), %rsi       # 0x2009
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x15fc
leaq 0x10(%rsp), %rdi
callq 0x121c
movq 0x2c87(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10b0
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc9c(%rip), %rsi       # 0x200d
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x15fc
leaq 0x10(%rsp), %rdi
callq 0x121c
movq 0x2c47(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10b0
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc5e(%rip), %rsi       # 0x200f
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x15fc
leaq 0x10(%rsp), %rdi
callq 0x121c
movq 0x2c07(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10b0
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc16(%rip), %rsi       # 0x2007
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x15fc
leaq 0x10(%rsp), %rdi
callq 0x121c
movq 0x2bc7(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10b0
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xbe7(%rip), %rsi       # 0x2018
leaq 0x10(%rsp), %rdi
leaq 0xc(%rsp), %rdx
callq 0x15fc
leaq 0x10(%rsp), %rdi
callq 0x121c
movq 0x2b87(%rip), %rdi      # 0x3fd8
movl %eax, %esi
callq 0x10b0
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc(%rsp), %rsi
movl $0x64, (%rsi)
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x1253
movq 0x2b4f(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
callq 0x1090
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc(%rsp), %rsi
movl $0xffffff9b, (%rsi)     # imm = 0xFFFFFF9B
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x1253
movq 0x2b16(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
callq 0x1090
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc(%rsp), %rsi
movl $0x13a442, (%rsi)       # imm = 0x13A442
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x1253
movq 0x2add(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
callq 0x1090
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc(%rsp), %rsi
movl $0xffffb3f5, (%rsi)     # imm = 0xFFFFB3F5
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x1253
movq 0x2aa4(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
callq 0x1090
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc(%rsp), %rsi
andl $0x0, (%rsi)
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x1253
movq 0x2a6e(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
callq 0x1090
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
leaq 0xc(%rsp), %rsi
orl $-0x1, (%rsi)
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x1253
movq 0x2a38(%rip), %rdi      # 0x3fd8
movq %rbx, %rsi
callq 0x1090
movq %rax, %rdi
callq 0x1050
leaq 0x10(%rsp), %rdi
callq 0x1040
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
retq
jmp 0x15cc
jmp 0x15cc
jmp 0x15cc
jmp 0x15cc
jmp 0x15cc
movq %rax, %rbx
jmp 0x15f4
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
jmp 0x15e7
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x1040
movq %rbx, %rdi
callq 0x10c0