// File: /workspace/github_cpp_makefile_star2_O1/alfanick[P]rest-cpp/src/rest/response.cpp
// Function: REST::Response::cache(unsigned long)
void Response::cache(unsigned long t) {
  if (t > 0) {
    headers["Cache-Control"] = "max-age=" + std::to_string(t) + ", public";
    headers["Expires"] = REST::Utils::rfc1123_datetime(time(0) + t);
  } else {
    headers["Cache-Control"] = "no-cache, no-store, must-revalidate";
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
testq %rsi, %rsi
je 0x3aa4c
movq %rsi, %r14
movl $0x1, %eax
cmpq $0xa, %rsi
jb 0x3aab3
movl $0x4, %eax
movabsq $0x346dc5d63886594b, %rcx # imm = 0x346DC5D63886594B
movq %r14, %rdx
cmpq $0x63, %rdx
jbe 0x3aaac
cmpq $0x3e7, %rdx            # imm = 0x3E7
jbe 0x3aab1
cmpq $0x2710, %rdx           # imm = 0x2710
jb 0x3aab3
mulxq %rcx, %rsi, %rsi
shrq $0xb, %rsi
addl $0x4, %eax
cmpq $0x1869f, %rdx          # imm = 0x1869F
movq %rsi, %rdx
ja 0x3aa0b
addl $-0x3, %eax
jmp 0x3aab3
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x5f9e(%rip), %rsi      # 0x409fa
leaq 0x5fa4(%rip), %rdx      # 0x40a07
leaq 0x8(%rsp), %rdi
callq 0x215e0
addq $0x48, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x23330
movq 0x8(%rax), %rdx
leaq 0x5f87(%rip), %rcx      # 0x40a10
movl $0x23, %r8d
movq %rax, %rdi
xorl %esi, %esi
callq 0x22ca0
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
jne 0x3ac77
jmp 0x3ac7c
addl $-0x2, %eax
jmp 0x3aab3
decl %eax
movl %eax, %esi
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x68(%rsp), %r15
movq %r15, %rdi
xorl %edx, %edx
callq 0x22520
movq (%r15), %rdi
movl 0x8(%r15), %esi
movq %r14, %rdx
callq 0x22110
leaq 0x5f04(%rip), %rcx      # 0x409e8
movl $0x8, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22460
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3ab1d
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x3ab26
vmovups (%rcx), %xmm0
vmovups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x5ea8(%rip), %rsi      # 0x409f1
callq 0x233d0
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3ab75
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x3ab7f
vmovups (%rcx), %xmm0
vmovups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x58(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x5e53(%rip), %rsi      # 0x409fa
leaq 0x5e59(%rip), %rdx      # 0x40a07
leaq 0x48(%rsp), %rdi
callq 0x215e0
addq $0x48, %rbx
leaq 0x48(%rsp), %rsi
movq %rbx, %rdi
callq 0x23330
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x22620
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3abe5
callq 0x22130
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3abf4
callq 0x22130
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ac03
callq 0x22130
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x3ac12
callq 0x22130
xorl %edi, %edi
callq 0x22090
addq %rax, %r14
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x220f0
leaq 0x28(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x5dd0(%rip), %rsi      # 0x40a08
leaq 0x5dd0(%rip), %rdx      # 0x40a0f
callq 0x215e0
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x23330
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x22620
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ac6d
callq 0x22130
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3ac7c
callq 0x22130
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x3ad04
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3acaa
callq 0x22130
jmp 0x3acaa
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
jne 0x3acff
jmp 0x3ad04
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3accd
callq 0x22130
jmp 0x3accd
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x3ace1
callq 0x22130
jmp 0x3ace1
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x3acf5
callq 0x22130
jmp 0x3acf5
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x3ad04
callq 0x22130
movq %rbx, %rdi
callq 0x23170
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
jne 0x3acff
jmp 0x3ad04
nop