// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/raytracer.cpp
// Function: image_name(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string image_name(int frame_number, std::string save_folder){
    std::string padded_frame_num = std::to_string(frame_number);
    while (padded_frame_num.size() < 4){
        padded_frame_num = "0" + padded_frame_num;
    }
    std::string result = save_folder + "/output" + padded_frame_num + ".ppm";
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
movl %esi, %ebp
negl %ebp
cmovsl %esi, %ebp
movl $0x1, %r12d
cmpl $0xa, %ebp
jb 0x6279
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x6270
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x6276
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x6279
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x623d
addl $-0x3, %r12d
jmp 0x6279
addl $-0x2, %r12d
jmp 0x6279
decl %r12d
shrl $0x1f, %r15d
leal (%r12,%r15), %esi
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x3310
addq (%r13), %r15
movq %r15, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x6b8c
cmpq $0x3, 0x8(%r13)
leaq 0x18(%rsp), %rbp
ja 0x6302
leaq 0x10abd(%rip), %r15     # 0x16d7d
leaq 0x8(%rsp), %r12
leaq 0x28(%rsp), %r13
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x6953
movq %r13, %rdi
movq %r12, %rsi
callq 0x3330
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x62fa
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32d0
cmpq $0x4, 0x30(%rsp)
jb 0x62ca
leaq 0x58(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x5760
leaq 0x10a59(%rip), %rsi     # 0x16d7f
leaq 0x48(%rsp), %rdi
callq 0x3500
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
leaq 0x48(%rsp), %rdi
callq 0x30d0
movq %rbp, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6367
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x636e
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x109f6(%rip), %rsi     # 0x16d87
callq 0x3500
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x63b8
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x63be
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x63ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x6403
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x641f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x32d0
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x6452
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x6452
jmp 0x644f
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x6470
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x6470
jmp 0x646d
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x648c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x32d0
movq %rbx, %rdi
callq 0x34b0