// File: /workspace/github_c_makefile_star2_O0/barabo[P]advanced-shell-history/src/command.cpp
// Function: ash::Command::register_table()
void Command::register_table() {
  string name = "commands";
  stringstream ss;
  ss << "CREATE TABLE IF NOT EXISTS " << name << " (\n"
     << "  id integer primary key autoincrement,\n"
     << "  session_id integer not null,\n"
     << "  shell_level integer not null,\n"
     << "  command_no integer,\n"
     << "  tty varchar(20) not null,\n"
     << "  euid int(16) not null,\n"
     << "  cwd varchar(256) not null,\n"
     << "  rval int(5) not null,\n"
     << "  start_time integer not null,\n"
     << "  end_time integer not null,\n"
     << "  duration integer not null,\n"
     << "  pipe_cnt int(3),\n"
     << "  pipe_vals varchar(80),\n"
     << "  command varchar(1000) not null,\n"
     << "UNIQUE(session_id, command_no)\n"
     << ");";
  DBObject::register_table(name, ss.str());
}

// Assembly:
subq $0x278, %rsp            # imm = 0x278
leaq 0x257(%rsp), %rdi
movq %rdi, 0x90(%rsp)
callq 0x87f0
movq 0x90(%rsp), %rdx
leaq 0x24206(%rip), %rsi     # 0xb2191
leaq 0x258(%rsp), %rdi
callq 0x85b0
jmp 0x8df9a
leaq 0x257(%rsp), %rdi
callq 0x84a0
leaq 0xb8(%rsp), %rdi
callq 0x82a0
jmp 0x8dfb6
leaq 0xc8(%rsp), %rdi
leaq 0x241d5(%rip), %rsi     # 0xb219a
callq 0x8400
movq %rax, 0x88(%rsp)
jmp 0x8dfd4
movq 0x88(%rsp), %rdi
leaq 0x258(%rsp), %rsi
callq 0x8350
movq %rax, 0x80(%rsp)
jmp 0x8dff3
movq 0x80(%rsp), %rdi
leaq 0x241b4(%rip), %rsi     # 0xb21b6
callq 0x8400
movq %rax, 0x78(%rsp)
jmp 0x8e00e
movq 0x78(%rsp), %rdi
leaq 0x241a0(%rip), %rsi     # 0xb21ba
callq 0x8400
movq %rax, 0x70(%rsp)
jmp 0x8e026
movq 0x70(%rsp), %rdi
leaq 0x241b1(%rip), %rsi     # 0xb21e3
callq 0x8400
movq %rax, 0x68(%rsp)
jmp 0x8e03e
movq 0x68(%rsp), %rdi
leaq 0x241b9(%rip), %rsi     # 0xb2203
callq 0x8400
movq %rax, 0x60(%rsp)
jmp 0x8e056
movq 0x60(%rsp), %rdi
leaq 0x241c2(%rip), %rsi     # 0xb2224
callq 0x8400
movq %rax, 0x58(%rsp)
jmp 0x8e06e
movq 0x58(%rsp), %rdi
leaq 0x241c1(%rip), %rsi     # 0xb223b
callq 0x8400
movq %rax, 0x50(%rsp)
jmp 0x8e086
movq 0x50(%rsp), %rdi
leaq 0x241c6(%rip), %rsi     # 0xb2258
callq 0x8400
movq %rax, 0x48(%rsp)
jmp 0x8e09e
movq 0x48(%rsp), %rdi
leaq 0x241c8(%rip), %rsi     # 0xb2272
callq 0x8400
movq %rax, 0x40(%rsp)
jmp 0x8e0b6
movq 0x40(%rsp), %rdi
leaq 0x241ce(%rip), %rsi     # 0xb2290
callq 0x8400
movq %rax, 0x38(%rsp)
jmp 0x8e0ce
movq 0x38(%rsp), %rdi
leaq 0x241cf(%rip), %rsi     # 0xb22a9
callq 0x8400
movq %rax, 0x30(%rsp)
jmp 0x8e0e6
movq 0x30(%rsp), %rdi
leaq 0x241d7(%rip), %rsi     # 0xb22c9
callq 0x8400
movq %rax, 0x28(%rsp)
jmp 0x8e0fe
movq 0x28(%rsp), %rdi
leaq 0x241dd(%rip), %rsi     # 0xb22e7
callq 0x8400
movq %rax, 0x20(%rsp)
jmp 0x8e116
movq 0x20(%rsp), %rdi
leaq 0x241e3(%rip), %rsi     # 0xb2305
callq 0x8400
movq %rax, 0x18(%rsp)
jmp 0x8e12e
movq 0x18(%rsp), %rdi
leaq 0x241df(%rip), %rsi     # 0xb2319
callq 0x8400
movq %rax, 0x10(%rsp)
jmp 0x8e146
movq 0x10(%rsp), %rdi
leaq 0x241e1(%rip), %rsi     # 0xb2333
callq 0x8400
movq %rax, 0x8(%rsp)
jmp 0x8e15e
movq 0x8(%rsp), %rdi
leaq 0x241ec(%rip), %rsi     # 0xb2356
callq 0x8400
movq %rax, (%rsp)
jmp 0x8e175
movq (%rsp), %rdi
leaq 0x2340c(%rip), %rsi     # 0xb158c
callq 0x8400
jmp 0x8e187
leaq 0x98(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x83e0
jmp 0x8e19e
leaq 0x258(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x93df0
jmp 0x8e1b5
leaq 0x98(%rsp), %rdi
callq 0x88f8
jmp 0x8e1c4
leaq 0xb8(%rsp), %rdi
callq 0x8900
jmp 0x8e1d3
leaq 0x258(%rsp), %rdi
callq 0x88f8
addq $0x278, %rsp            # imm = 0x278
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x248(%rsp)
movl %eax, 0x244(%rsp)
leaq 0x257(%rsp), %rdi
callq 0x84a0
jmp 0x8e27e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x248(%rsp)
movl %eax, 0x244(%rsp)
jmp 0x8e26d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x248(%rsp)
movl %eax, 0x244(%rsp)
jmp 0x8e25c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x248(%rsp)
movl %eax, 0x244(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x88f8
jmp 0x8e25a
jmp 0x8e25c
leaq 0xb8(%rsp), %rdi
callq 0x8900
jmp 0x8e26b
jmp 0x8e26d
leaq 0x258(%rsp), %rdi
callq 0x88f8
jmp 0x8e27c
jmp 0x8e27e
movq 0x248(%rsp), %rdi
callq 0x87d0
movq %rax, %rdi
callq 0x8cf60
nopw %cs:(%rax,%rax)