// File: /workspace/github_cpp_makefile_star2_O3/Neotoxic-off[P]Abstrakt/src/abstract/scan/scan_header.cpp
// Function: abstrakt::scan_header()
bool abstrakt::scan_header()
{
    std::size_t size = this->current_line.length();
    std::array<std::string, 6> header = {
        "/*",
        "** EPITECH PROJECT, ",
        "** ",
        "** File description:",
        "** ",
        "*/"
    };

    if (size > 0) {
        if (this->line_number <= header.size()) {
            if (this->current_line.find(header[this->line_number]) == std::string::npos) {
                abstrakt::report_error(
                    this->logs.map[0x04]
                );
                return (true);
            }
        }
    }

    return (false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq 0x138(%rdi), %r13
leaq -0x100(%rbp), %rax
leaq 0x4382(%rip), %rsi      # 0x702f
leaq 0x437d(%rip), %rdx      # 0x7031
leaq -0x110(%rbp), %r14
movq %rdi, %rbx
movq %r14, %rdi
movq %rax, -0x10(%rax)
callq 0x2edc
leaq -0xe0(%rbp), %rax
leaq -0xf0(%rbp), %r15
movq %rax, -0x10(%rax)
leaq 0x434f(%rip), %rsi      # 0x7032
leaq 0x435c(%rip), %rdx      # 0x7046
movq %r15, %rdi
callq 0x2edc
leaq -0xc0(%rbp), %rax
leaq -0xd0(%rbp), %r15
movq %rax, -0x10(%rax)
leaq 0x433c(%rip), %rsi      # 0x7047
leaq 0x4338(%rip), %rdx      # 0x704a
movq %r15, %rdi
callq 0x2edc
leaq -0xa0(%rbp), %rax
leaq -0xb0(%rbp), %r15
movq %rax, -0x10(%rax)
leaq 0x4318(%rip), %rsi      # 0x704b
leaq 0x4325(%rip), %rdx      # 0x705f
movq %r15, %rdi
callq 0x2edc
leaq -0x80(%rbp), %rax
leaq -0x90(%rbp), %r15
movq %rax, -0x10(%rax)
leaq 0x42ef(%rip), %rsi      # 0x7047
leaq 0x42eb(%rip), %rdx      # 0x704a
movq %r15, %rdi
callq 0x2edc
leaq -0x60(%rbp), %r12
leaq -0x70(%rbp), %r15
movq %r12, -0x10(%r12)
leaq 0x42e5(%rip), %rsi      # 0x7060
leaq 0x42e0(%rip), %rdx      # 0x7062
movq %r15, %rdi
callq 0x2edc
testq %r13, %r13
je 0x2d9c
movq 0x120(%rbx), %rax
cmpq $0x6, %rax
jbe 0x2da1
xorl %r14d, %r14d
jmp 0x2e1d
shlq $0x5, %rax
leaq 0x130(%rbx), %rdi
xorl %r14d, %r14d
xorl %edx, %edx
movq -0x110(%rbp,%rax), %rsi
movq -0x108(%rbp,%rax), %rcx
callq 0x2260
cmpq $-0x1, %rax
jne 0x2e1d
leaq -0x2c(%rbp), %rsi
movl $0x4, (%rsi)
movq %rbx, %rdi
callq 0x27a4
leaq -0x40(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x50(%rbp), %rdi
callq 0x281a
leaq -0x50(%rbp), %rsi
movq %rbx, %rdi
callq 0x4e76
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0x2e1a
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2190
movb $0x1, %r14b
movq $-0xc0, %rbx
movq -0x10(%r12), %rdi
cmpq %rdi, %r12
je 0x2e3a
movq (%r12), %rsi
incq %rsi
callq 0x2190
addq $-0x20, %r12
addq $0x20, %rbx
jne 0x2e24
movl %r14d, %eax
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq -0x50(%rbp), %rdi
movq %rax, %rbx
cmpq %r14, %rdi
je 0x2e76
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2190
jmp 0x2e76
movq %rax, %rbx
xorl %r14d, %r14d
movq -0x70(%rbp,%r14), %rdi
leaq (%r12,%r14), %rax
cmpq %rdi, %rax
je 0x2e92
movq (%rax), %rsi
incq %rsi
callq 0x2190
addq $-0x20, %r14
cmpq $-0xc0, %r14
jne 0x2e79
jmp 0x2ed4
jmp 0x2ea9
jmp 0x2ea9
jmp 0x2ea9
jmp 0x2ea9
addq $-0x10, %r15
movq %rax, %rbx
movq -0x10(%r15), %rdi
cmpq %rdi, %r15
je 0x2ec4
movq (%r15), %rsi
incq %rsi
callq 0x2190
leaq -0x20(%r15), %rax
addq $-0x10, %r15
cmpq %r14, %r15
movq %rax, %r15
jne 0x2eb0
movq %rbx, %rdi
callq 0x2270