// File: /workspace/github_cpp_makefile_star2_O1/cqbqdd11519[P]DockerClient/docker.cpp
// Function: Docker::attach_to_container(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, bool, bool, bool, bool)
JSON_DOCUMENT Docker::attach_to_container(const std::string& container_id, bool logs, bool stream, bool o_stdin, bool o_stdout, bool o_stderr){
    std::string path = "/containers/" + container_id + "/attach?";
    path += param("logs", logs);
    path += param("stream", stream);
    path += param("stdin", o_stdin);
    path += param("stdout", o_stdout);
    path += param("stderr", o_stderr);

    return requestAndParse(POST,path,101);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movl %r9d, %r15d
movl %r8d, %r12d
movl %ecx, %r13d
movq %rsi, -0x98(%rbp)
movq %rdi, %rbx
leaq 0x59d7(%rip), %rsi      # 0x1010a
leaq -0x48(%rbp), %r14
movq %r14, %rdi
callq 0x7370
leaq 0x5a6a(%rip), %rsi      # 0x101b0
movq %r14, %rdi
callq 0x7870
leaq -0x78(%rbp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
movq %rbx, -0x90(%rbp)
je 0xa77c
movq %rdx, -0x88(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x78(%rbp)
jmp 0xa782
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x80(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x38(%rbp), %rbx
movq -0x10(%rbx), %rdi
cmpq %rbx, %rdi
je 0xa7ab
callq 0x73b0
leaq -0x58(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x59ff(%rip), %rsi      # 0x101b9
leaq 0x59fc(%rip), %rdx      # 0x101bd
leaq -0x68(%rbp), %rdi
callq 0x7190
movzbl %r13b, %edx
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x7380
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x7130
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa7fd
callq 0x73b0
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0xa80b
callq 0x73b0
leaq -0x68(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x59a5(%rip), %rsi      # 0x101be
leaq 0x59a4(%rip), %rdx      # 0x101c4
callq 0x7190
movzbl %r12b, %edx
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x7380
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x7130
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa858
callq 0x73b0
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0xa866
callq 0x73b0
leaq -0x68(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x5951(%rip), %rsi      # 0x101c5
leaq 0x594f(%rip), %rdx      # 0x101ca
callq 0x7190
movzbl %r15b, %edx
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x7380
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x7130
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa8b3
callq 0x73b0
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0xa8c1
callq 0x73b0
leaq -0x68(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x585b(%rip), %rsi      # 0x1012a
leaq 0x585a(%rip), %rdx      # 0x10130
callq 0x7190
movzbl 0x10(%rbp), %edx
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x7380
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x7130
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa90e
callq 0x73b0
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0xa91c
callq 0x73b0
leaq -0x68(%rbp), %rdi
movq %r14, (%rdi)
leaq 0x5807(%rip), %rsi      # 0x10131
leaq 0x5806(%rip), %rdx      # 0x10137
callq 0x7190
movzbl 0x18(%rbp), %edx
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x7380
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x7130
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xa969
callq 0x73b0
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
movq -0x90(%rbp), %rbx
je 0xa97e
callq 0x73b0
movl $0x0, (%rsp)
movq 0xd5dc(%rip), %r9       # 0x17f68
leaq -0x88(%rbp), %rcx
movq %rbx, %rdi
movq -0x98(%rbp), %rsi
movl $0x1, %edx
movl $0x65, %r8d
callq 0x7660
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0xa9c2
callq 0x73b0
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xaa14
jmp 0xa9ee
jmp 0xaa01
jmp 0xaa14
jmp 0xa9ee
jmp 0xaa01
jmp 0xaa14
jmp 0xa9ee
jmp 0xaa01
jmp 0xaa14
jmp 0xa9ee
jmp 0xaa01
jmp 0xaa14
movq %rax, %r15
movq -0x48(%rbp), %rdi
cmpq %rbx, %rdi
je 0xaa04
callq 0x73b0
jmp 0xaa04
movq %rax, %r15
movq -0x68(%rbp), %rdi
cmpq %r14, %rdi
je 0xaa17
callq 0x73b0
jmp 0xaa17
movq %rax, %r15
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0xaa2c
callq 0x73b0
movq %r15, %rdi
callq 0x77e0
movq %rax, %r15
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0xaa22