// File: /workspace/github_cpp_makefile_star2_O3/UTAP[P]APHTTP/utils/request.cpp
// Function: Request::getSessionId[abi:cxx11]()
string Request::getSessionId() {
  string cookie = getHeader("cookie");
  if (cookie == "")
    return "";
  vector<string> v = split(cookie, ";");
  for (string kv : v) {
    vector<string> k = split(kv, "=");
    if (k[0] == "sessionId")
      return k[1];
  }
  return "";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rsi, %rbx
movq %rdi, %r12
leaq -0x130(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xdcd7(%rip), %rsi      # 0x19463
leaq 0xdcd6(%rip), %rdx      # 0x19469
leaq -0x140(%rbp), %r14
movq %r14, %rdi
callq 0x6f56
addq $0x28, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa8c0
leaq -0xe0(%rbp), %rdi
movq %rax, %rsi
callq 0xf513
movq -0x140(%rbp), %rdi
cmpq %r15, %rdi
je 0xb7d1
callq 0x4310
leaq 0xddfc(%rip), %rsi      # 0x195d4
leaq -0xe0(%rbp), %rdi
callq 0x4120
testl %eax, %eax
je 0xb998
leaq -0x110(%rbp), %r14
movq %r14, -0x10(%r14)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x120(%rbp), %rdi
callq 0x7dfa
leaq -0xf0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xe079(%rip), %rsi      # 0x1989f
leaq 0xe073(%rip), %rdx      # 0x198a0
leaq -0x100(%rbp), %rdi
callq 0x6f56
leaq -0xc0(%rbp), %rdi
leaq -0x120(%rbp), %rsi
leaq -0x100(%rbp), %rdx
movl $0x1, %ecx
callq 0xf247
movq -0x100(%rbp), %rdi
cmpq %r15, %rdi
je 0xb869
callq 0x4310
movq %r12, -0x30(%rbp)
movq -0x120(%rbp), %rdi
cmpq %r14, %rdi
je 0xb87e
callq 0x4310
movq -0xc0(%rbp), %r13
movq -0xb8(%rbp), %r12
cmpq %r12, %r13
je 0xb977
leaq -0x90(%rbp), %r15
leaq -0x70(%rbp), %rbx
leaq -0xa8(%rbp), %r14
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %rdi
callq 0x7dfa
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x7dfa
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq %rbx, %rdi
leaq 0xdb80(%rip), %rsi      # 0x19473
leaq 0xdb7a(%rip), %rdx      # 0x19474
callq 0x6f56
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0xf247
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xb924
callq 0x4310
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xb939
callq 0x4310
movq -0xa8(%rbp), %rdi
leaq 0xdc44(%rip), %rsi      # 0x1958b
callq 0x4120
testl %eax, %eax
je 0xb9b5
movq %r14, %rdi
callq 0xe90a
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xb96a
callq 0x4310
addq $0x20, %r13
cmpq %r12, %r13
jne 0xb8a7
movq -0x30(%rbp), %r12
leaq 0x10(%r12), %rax
movq %rax, (%r12)
leaq 0xdc49(%rip), %rdx      # 0x195d4
movq %r12, %rdi
movq %rdx, %rsi
callq 0x6f56
jmp 0xb9fa
leaq 0x10(%r12), %rax
movq %rax, (%r12)
leaq 0xdc2c(%rip), %rdx      # 0x195d4
movq %r12, %rdi
movq %rdx, %rsi
callq 0x6f56
jmp 0xba06
movq -0xa8(%rbp), %rax
movq -0x30(%rbp), %r12
leaq 0x10(%r12), %rcx
movq %rcx, (%r12)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x7dfa
leaq -0xa8(%rbp), %rdi
callq 0xe90a
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xb9fa
callq 0x4310
leaq -0xc0(%rbp), %rdi
callq 0xe90a
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xba1b
callq 0x4310
movq %r12, %rax
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0xa8(%rbp), %rdi
callq 0xe90a
jmp 0xbac0
jmp 0xba71
jmp 0xba8c
movq %rax, %rbx
movq -0x100(%rbp), %rdi
cmpq %r15, %rdi
je 0xba5e
callq 0x4310
jmp 0xba5e
movq %rax, %rbx
movq -0x120(%rbp), %rdi
cmpq %r14, %rdi
je 0xbade
callq 0x4310
jmp 0xbade
movq %rax, %rbx
jmp 0xbade
movq %rax, %rbx
movq -0x140(%rbp), %rdi
cmpq %r15, %rdi
jne 0xbaee
jmp 0xbaf3
movq %rax, %rbx
jmp 0xbaa6
movq %rax, %rbx
jmp 0xbad2
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xbaa6
callq 0x4310
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xbac0
callq 0x4310
jmp 0xbac0
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xbad2
callq 0x4310
leaq -0xc0(%rbp), %rdi
callq 0xe90a
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xbaf3
callq 0x4310
movq %rbx, %rdi
callq 0x45a0
nop