// File: /workspace/github_cpp_makefile_star2_O1/eiskalteschatten[P]developersnotebook/src/windows/ReleaseNotesWindow.cpp
// Function: ReleaseNotesWindow::fill_release_notes(_GtkTextBuffer*)
void ReleaseNotesWindow::fill_release_notes(GtkTextBuffer *buffer) {
    Resource release_notes_resource("release-notes", "html", path_to_exec_str);
    std::string path_to_release_notes = release_notes_resource.get_path();

    std::ifstream ifs(path_to_release_notes.c_str());
    std::string release_notes_str((std::istreambuf_iterator<char>(ifs)), (std::istreambuf_iterator<char>()));

    const gchar *release_notes = release_notes_str.c_str();

    GtkTextIter start;

    gtk_text_buffer_get_start_iter(buffer, &start);
    gtk_text_buffer_insert_markup(buffer, &start, release_notes, -1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3a0, %rsp            # imm = 0x3A0
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1467b(%rip), %rsi     # 0x296a0
leaq 0x14681(%rip), %rdx     # 0x296ad
leaq 0x88(%rsp), %rdi
callq 0xd5b4
leaq 0x78(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x14664(%rip), %rsi     # 0x296ae
leaq 0x14661(%rip), %rdx     # 0x296b2
leaq 0x68(%rsp), %rdi
callq 0xd5b4
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0xd524
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
leaq 0x68(%rsp), %rdx
leaq 0x48(%rsp), %rcx
callq 0xddec
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x150ae
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x8170
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x150c5
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x8170
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x150e2
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0x38(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x108(%rsp), %rsi
movq 0x110(%rsp), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0xd524
movq 0x28(%rsp), %rsi
leaq 0x198(%rsp), %rdi
movl $0x8, %edx
callq 0x8060
movq 0x198(%rsp), %rax
movq -0x18(%rax), %rax
movq 0x280(%rsp,%rax), %rsi
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8(%rsp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
xorl %ecx, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0xdaa2
movq 0x8(%rsp), %r14
leaq 0x148(%rsp), %rsi
movq %rbx, %rdi
callq 0x80d0
leaq 0x148(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x8960
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x15198
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0x198(%rsp), %rdi
callq 0x8050
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x151bc
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0xa8(%rsp), %rdi
callq 0xe320
addq $0x3a0, %rsp            # imm = 0x3A0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
jmp 0x15266
movq %rax, %rbx
jmp 0x15273
movq %rax, %rbx
jmp 0x1528a
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r13, %rdi
je 0x15211
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x8170
jmp 0x15211
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r12, %rdi
je 0x1522d
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x8170
jmp 0x1522d
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x15297
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x8170
jmp 0x15297
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0x15266
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0x198(%rsp), %rdi
callq 0x8050
movq 0x28(%rsp), %rdi
cmpq %r15, %rdi
je 0x1528a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x8170
leaq 0xa8(%rsp), %rdi
callq 0xe320
movq %rbx, %rdi
callq 0x87b0
nop