// File: /workspace/github_cpp_makefile_star2_O1/MarkOates[P]file-downloader/test_file_downloader.cpp
// Function: FileDownloader_will_set_DOWNLOADED_status_on_a_successful_download_invoker()
BOOST_AUTO_TEST_CASE(FileDownloader_will_set_DOWNLOADED_status_on_a_successful_download)
{
   std::string file_url = "https://www.allegro.cc/theme/default/image/logo.png";
   std::string local_filename = "logo.png";
   FileDownloader::FileHandle handle = FileDownloader::download_file(file_url, local_filename);

   BOOST_CHECK_EQUAL(FileDownloader::DOWNLOADED, handle.get_status());

   remove(local_filename.c_str());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x82dd(%rip), %rbx      # 0xf1d8
leaq 0x427a(%rip), %rax      # 0xb17c
movq %rax, -0x98(%rbp)
leaq 0x4284(%rip), %r13      # 0xb194
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x4478(%rip), %rsi      # 0xb3df
leaq -0x230(%rbp), %rdi
movl $0x42, %edx
callq 0x32c0
leaq 0x466f(%rip), %rsi      # 0xb5ee
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x6fcb
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x45, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7016
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7fcb(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x819c(%rip), %rbx      # 0xf1d8
leaq 0x4139(%rip), %rax      # 0xb17c
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x433e(%rip), %rsi      # 0xb3df
leaq -0x230(%rbp), %rdi
movl $0x42, %edx
callq 0x32c0
leaq 0x4544(%rip), %rsi      # 0xb5fd
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7101
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x45, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x714c
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7e95(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x8066(%rip), %rbx      # 0xf1d8
leaq 0x4003(%rip), %rax      # 0xb17c
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x420b(%rip), %rsi      # 0xb3df
leaq -0x230(%rbp), %rdi
movl $0x42, %edx
callq 0x32c0
leaq 0x4421(%rip), %rsi      # 0xb60d
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7234
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x45, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x727c
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7d65(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
callq 0x7532
movq 0x7f31(%rip), %rbx      # 0xf1d8
leaq 0x3ece(%rip), %rax      # 0xb17c
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x40d6(%rip), %rsi      # 0xb3df
leaq -0x230(%rbp), %rdi
movl $0x42, %edx
callq 0x32c0
leaq 0x42f9(%rip), %rsi      # 0xb61a
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7369
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x45, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x73b1
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7c30(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x7e01(%rip), %rbx      # 0xf1d8
leaq 0x3d9e(%rip), %rax      # 0xb17c
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3fa6(%rip), %rsi      # 0xb3df
leaq -0x230(%rbp), %rdi
movl $0x42, %edx
callq 0x32c0
leaq 0x41dc(%rip), %rsi      # 0xb62d
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x7499
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x45, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x74e1
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x7b00(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x751a
jmp 0x751a
jmp 0x751a
jmp 0x751a
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x9eb8
movq %rbx, %rdi
callq 0x31d0
nop