// File: margual56[P]Markdown-CLI/src/HTML.cpp
// Function: HTML::HTML(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
HTML::HTML(std::string content,std::string cssFilePath):Component("html"){
    // Add the head and the body to the list of components
    this->head = new Component("head");
    this->head->setText("<link rel=\"stylesheet\" href=\"" + cssFilePath + "\">");
    this->children.push_back(this->head);

    this->body = new Component("body");
    this->children.push_back(this->body);

    this->setText(content);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp            # imm = 0x150
movq %rsi, -0x120(%rbp)
movq %rdx, -0x118(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq -0x39(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x5710
movq -0x108(%rbp), %rdx
leaq 0x2ba08(%rip), %rsi     # 0x33036
leaq -0x38(%rbp), %rdi
callq 0x61c0
jmp 0x7639
movq -0x110(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x5960
jmp 0x764b
leaq -0x38(%rbp), %rdi
callq 0x52b0
leaq -0x39(%rbp), %rdi
callq 0x5460
movl $0x68, %edi
callq 0x5400
movq %rax, -0x128(%rbp)
jmp 0x7670
movb $0x1, -0x72(%rbp)
leaq -0x71(%rbp), %rdi
movq %rdi, -0x130(%rbp)
callq 0x5710
movq -0x130(%rbp), %rdx
leaq 0x2b9a9(%rip), %rsi     # 0x3303b
leaq -0x70(%rbp), %rdi
callq 0x61c0
jmp 0x769d
movq -0x128(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x5960
jmp 0x76af
movq -0x110(%rbp), %rax
movq -0x128(%rbp), %rcx
movb $0x0, -0x72(%rbp)
movq %rcx, 0x68(%rax)
leaq -0x70(%rbp), %rdi
callq 0x52b0
leaq -0x71(%rbp), %rdi
callq 0x5460
movq -0x110(%rbp), %rax
movq -0x118(%rbp), %rdx
movq 0x68(%rax), %rax
movq %rax, -0x138(%rbp)
leaq 0x2b979(%rip), %rsi     # 0x33070
leaq -0xb8(%rbp), %rdi
callq 0x62c0
jmp 0x7705
leaq 0x2b95c(%rip), %rdx     # 0x33068
leaq -0x98(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x6270
jmp 0x7721
movq -0x138(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x5b30
jmp 0x7736
leaq -0x98(%rbp), %rdi
callq 0x52b0
leaq -0xb8(%rbp), %rdi
callq 0x52b0
movq -0x110(%rbp), %rsi
movq %rsi, %rdi
addq $0x50, %rdi
addq $0x68, %rsi
callq 0x6110
jmp 0x7767
movl $0x68, %edi
callq 0x5400
movq %rax, -0x140(%rbp)
jmp 0x777a
movb $0x1, -0xda(%rbp)
leaq -0xd9(%rbp), %rdi
movq %rdi, -0x148(%rbp)
callq 0x5710
movq -0x148(%rbp), %rdx
leaq 0x2b8c9(%rip), %rsi     # 0x3306b
leaq -0xd8(%rbp), %rdi
callq 0x61c0
jmp 0x77b0
movq -0x140(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0x5960
jmp 0x77c5
movq -0x110(%rbp), %rax
movq -0x140(%rbp), %rcx
movb $0x0, -0xda(%rbp)
movq %rax, %rdx
addq $0x70, %rdx
movq %rdx, -0x150(%rbp)
movq %rcx, 0x70(%rax)
leaq -0xd8(%rbp), %rdi
callq 0x52b0
leaq -0xd9(%rbp), %rdi
callq 0x5460
movq -0x110(%rbp), %rdi
movq -0x150(%rbp), %rsi
addq $0x50, %rdi
callq 0x6110
jmp 0x781d
movq -0x120(%rbp), %rsi
leaq -0x100(%rbp), %rdi
callq 0x51d0
jmp 0x7832
movq -0x110(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x7570
jmp 0x7847
leaq -0x100(%rbp), %rdi
callq 0x52b0
addq $0x150, %rsp            # imm = 0x150
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x787f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x52b0
leaq -0x39(%rbp), %rdi
callq 0x5460
jmp 0x7990
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x7984
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x78c1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x52b0
leaq -0x71(%rbp), %rdi
callq 0x5460
testb $0x1, -0x72(%rbp)
jne 0x78d2
jmp 0x78e3
movq -0x128(%rbp), %rdi
movl $0x68, %esi
callq 0x5410
jmp 0x7984
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x790e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x52b0
leaq -0xb8(%rbp), %rdi
callq 0x52b0
jmp 0x7984
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x7942
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x52b0
leaq -0xd9(%rbp), %rdi
callq 0x5460
testb $0x1, -0xda(%rbp)
jne 0x7959
jmp 0x796a
movq -0x140(%rbp), %rdi
movl $0x68, %esi
callq 0x5410
jmp 0x7984
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x100(%rbp), %rdi
callq 0x52b0
movq -0x110(%rbp), %rdi
callq 0x79d0
movq -0x48(%rbp), %rdi
callq 0x5700
nopl (%rax)