// File: /workspace/github_cpp_makefile_star2_O3/eiskalteschatten[P]developersnotebook/src/models/ProjectsModel.cpp
// Function: ProjectsModel::get_projects_ending_soon()
void ProjectsModel::get_projects_ending_soon() {
    std::string sql = "SELECT * FROM " + table_schema->table_name +
                        " WHERE end_date IS NOT NULL" +
                        " AND end_date != \"\"" +
                        " AND is_complete = 0;";
    select_query(sql);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rdx
leaq 0x1d42(%rip), %rsi      # 0x298b6
leaq 0x88(%rsp), %r14
movq %r14, %rdi
callq 0xd469
leaq 0x2b59(%rip), %rsi      # 0x2a6e4
movq %r14, %rdi
callq 0x87f0
leaq 0x38(%rsp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x27bba
movq %rdx, 0x28(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x38(%rsp)
jmp 0x27bc1
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq 0x8(%rax), %rdx
leaq 0x28(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2b1c(%rip), %rsi      # 0x2a700
callq 0x87f0
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x27c11
movq %rdx, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0x27c19
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
leaq 0x48(%rsp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x2ad8(%rip), %rsi      # 0x2a714
callq 0x87f0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x27c68
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x27c6f
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x27c9e
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x8170
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x27cb5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27cd6
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0x78(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0xd4f2
leaq 0x68(%rsp), %rsi
movq %rbx, %rdi
callq 0x1717e
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x27d1a
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x8170
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x27d31
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x8170
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x27d5f
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x8170
jmp 0x27d5f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x27dcc
movq 0x18(%rsp), %rsi
jmp 0x27dc4
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x27d8f
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x8170
jmp 0x27d8f
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0x27dab
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8170
jmp 0x27dab
movq %rax, %rbx
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x27dcc
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8170
movq %rbx, %rdi
callq 0x87b0