// File: /workspace/github_cpp_makefile_star2_O1/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 0xdc87(%rip), %rsi      # 0x19463
leaq 0xdc86(%rip), %rdx      # 0x19469
leaq -0x140(%rbp), %r14
movq %r14, %rdi
callq 0x6f6c
addq $0x28, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa8fe
leaq -0xe0(%rbp), %rdi
movq %rax, %rsi
callq 0xf5cf
movq -0x140(%rbp), %rdi
cmpq %r15, %rdi
je 0xb821
callq 0x4310
leaq 0xddac(%rip), %rsi      # 0x195d4
leaq -0xe0(%rbp), %rdi
callq 0x4120
testl %eax, %eax
je 0xb9e8
leaq -0x110(%rbp), %r14
movq %r14, -0x10(%r14)
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdx
addq %rsi, %rdx
leaq -0x120(%rbp), %rdi
callq 0x7e12
leaq -0xf0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0xe029(%rip), %rsi      # 0x1989f
leaq 0xe023(%rip), %rdx      # 0x198a0
leaq -0x100(%rbp), %rdi
callq 0x6f6c
leaq -0xc0(%rbp), %rdi
leaq -0x120(%rbp), %rsi
leaq -0x100(%rbp), %rdx
movl $0x1, %ecx
callq 0xf303
movq -0x100(%rbp), %rdi
cmpq %r15, %rdi
je 0xb8b9
callq 0x4310
movq %r12, -0x30(%rbp)
movq -0x120(%rbp), %rdi
cmpq %r14, %rdi
je 0xb8ce
callq 0x4310
movq -0xc0(%rbp), %r13
movq -0xb8(%rbp), %r12
cmpq %r12, %r13
je 0xb9c7
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 0x7e12
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
movq %r15, %rdi
callq 0x7e12
leaq -0x60(%rbp), %rax
movq %rax, -0x70(%rbp)
movq %rbx, %rdi
leaq 0xdb30(%rip), %rsi      # 0x19473
leaq 0xdb2a(%rip), %rdx      # 0x19474
callq 0x6f6c
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
movl $0x1, %ecx
callq 0xf303
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xb974
callq 0x4310
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xb989
callq 0x4310
movq -0xa8(%rbp), %rdi
leaq 0xdbf4(%rip), %rsi      # 0x1958b
callq 0x4120
testl %eax, %eax
je 0xba05
movq %r14, %rdi
callq 0xe998
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xb9ba
callq 0x4310
addq $0x20, %r13
cmpq %r12, %r13
jne 0xb8f7
movq -0x30(%rbp), %r12
leaq 0x10(%r12), %rax
movq %rax, (%r12)
leaq 0xdbf9(%rip), %rdx      # 0x195d4
movq %r12, %rdi
movq %rdx, %rsi
callq 0x6f6c
jmp 0xba4a
leaq 0x10(%r12), %rax
movq %rax, (%r12)
leaq 0xdbdc(%rip), %rdx      # 0x195d4
movq %r12, %rdi
movq %rdx, %rsi
callq 0x6f6c
jmp 0xba56
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 0x7e12
leaq -0xa8(%rbp), %rdi
callq 0xe998
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xba4a
callq 0x4310
leaq -0xc0(%rbp), %rdi
callq 0xe998
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xba6b
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 0xe998
jmp 0xbb10
jmp 0xbac1
jmp 0xbadc
movq %rax, %rbx
movq -0x100(%rbp), %rdi
cmpq %r15, %rdi
je 0xbaae
callq 0x4310
jmp 0xbaae
movq %rax, %rbx
movq -0x120(%rbp), %rdi
cmpq %r14, %rdi
je 0xbb2e
callq 0x4310
jmp 0xbb2e
movq %rax, %rbx
jmp 0xbb2e
movq %rax, %rbx
movq -0x140(%rbp), %rdi
cmpq %r15, %rdi
jne 0xbb3e
jmp 0xbb43
movq %rax, %rbx
jmp 0xbaf6
movq %rax, %rbx
jmp 0xbb22
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0xbaf6
callq 0x4310
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xbb10
callq 0x4310
jmp 0xbb10
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xbb22
callq 0x4310
leaq -0xc0(%rbp), %rdi
callq 0xe998
leaq -0xd0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xbb43
callq 0x4310
movq %rbx, %rdi
callq 0x45a0
nop