// File: /workspace/github_c_makefile_star2_O1/Paxa[P]fast_excel/libxlsxwriter/src/packager.c
// Function: lxw_create_package
lxw_error
lxw_create_package(lxw_packager *self)
{
    lxw_error error;
    int8_t zip_error;

    error = _write_content_types_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_root_rels_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_workbook_rels_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_worksheet_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_chartsheet_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_workbook_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_chart_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_drawing_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_vml_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_comment_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_table_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_shared_strings_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_custom_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_theme_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_styles_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_worksheet_rels_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_chartsheet_rels_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_drawing_rels_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_image_files(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _add_vba_project(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _add_vba_project_signature(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_vba_project_rels_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_core_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_metadata_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    error = _write_app_file(self);
    RETURN_AND_ZIPCLOSE_ON_ERROR(error);

    zip_error = zipClose(self->zipfile, NULL);
    if (zip_error) {
        RETURN_ON_ZIP_ERROR(zip_error, LXW_ERROR_ZIP_CLOSE);
    }

    return LXW_NO_ERROR;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x858, %rsp            # imm = 0x858
movq %rdi, %r12
callq 0xcc20
movq %rax, %r15
xorl %ebp, %ebp
movq %rbp, 0x8(%rsp)
movq %rbp, 0x18(%rsp)
movq 0x8(%r12), %rbx
leaq 0x30(%rsp), %rdi
movl $0x820, %edx            # imm = 0x820
xorl %esi, %esi
callq 0xc640
movq %r12, %rdi
callq 0xcab0
movl %eax, 0x28(%rsp)
movq %rbx, 0x10(%rsp)
movq 0x50(%rbx), %rax
movq (%rax), %rax
movl $0x0, %r13d
testq %rax, %rax
je 0x1ffe4
xorl %r13d, %r13d
incl %r13d
movq 0x170(%rax), %rax
testq %rax, %rax
jne 0x1ffd5
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
testq %rax, %rax
je 0x20019
xorl %ebp, %ebp
cmpb $0x0, (%rax)
movq %rax, %rcx
je 0x20003
movq 0x8(%rax), %rcx
movq 0x8(%rcx), %rcx
movzwl 0xa0(%rcx), %ecx
addl %ecx, %ebp
movq 0x10(%rax), %rax
testq %rax, %rax
jne 0x1fff7
testq %r15, %r15
je 0x2037b
movq 0x70(%r12), %rdx
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xce00
movq %rax, (%r15)
testq %rax, %rax
je 0x20383
movq 0x10(%rsp), %rax
cmpb $0x0, 0xcf(%rax)
je 0x20066
leaq 0x22c0a(%rip), %rsi     # 0x42c61
leaq 0x22bfd(%rip), %rdx     # 0x42c5b
movq %r15, %rdi
callq 0xc490
movq 0x10(%rsp), %rax
cmpb $0x0, 0xd0(%rax)
je 0x2008a
leaq 0x22bf0(%rip), %rsi     # 0x42c6b
leaq 0x22be3(%rip), %rdx     # 0x42c65
movq %r15, %rdi
callq 0xc490
movq 0x10(%rsp), %rax
cmpb $0x0, 0xd1(%rax)
je 0x200ae
leaq 0x22bd7(%rip), %rsi     # 0x42c76
leaq 0x22bca(%rip), %rdx     # 0x42c70
movq %r15, %rdi
callq 0xc490
movq 0x10(%rsp), %rax
cmpb $0x0, 0xd2(%rax)
je 0x200d2
leaq 0x22bbd(%rip), %rsi     # 0x42c80
leaq 0x22bb0(%rip), %rdx     # 0x42c7a
movq %r15, %rdi
callq 0xc490
movq 0x10(%rsp), %rax
cmpq $0x0, 0xe8(%rax)
je 0x200f7
leaq 0x22c6a(%rip), %rsi     # 0x42d52
leaq 0x22b95(%rip), %rdx     # 0x42c84
movq %r15, %rdi
callq 0xc490
movq %r12, (%rsp)
movq 0x10(%rsp), %rbx
cmpq $0x0, 0xe8(%rbx)
leaq 0x22be0(%rip), %rax     # 0x42cef
leaq 0x22ba4(%rip), %rdx     # 0x42cba
cmoveq %rax, %rdx
leaq 0x22b88(%rip), %rsi     # 0x42ca9
movq %r15, %rdi
callq 0xcca0
cmpq $0x0, 0xf0(%rbx)
je 0x20149
leaq 0x22c00(%rip), %rsi     # 0x42d3a
leaq 0x22c15(%rip), %rdx     # 0x42d56
movq %r15, %rdi
callq 0xcca0
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %r12
testq %r12, %r12
je 0x201ec
movl $0x1, %eax
movq %rax, 0x20(%rsp)
movl $0x1, %ecx
cmpb $0x0, (%r12)
je 0x201a1
leal 0x1(%rcx), %ebx
movl $0x80, %esi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0x22bf9(%rip), %rdx     # 0x42d84
xorl %eax, %eax
callq 0xc570
movq %r15, %rdi
movq %r14, %rsi
callq 0xc110
movl %ebx, %ecx
jmp 0x201e2
movq %rcx, %rbx
movq 0x20(%rsp), %rcx
leal 0x1(%rcx), %eax
movl %eax, 0x2c(%rsp)
movl $0x80, %esi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
leaq 0x22bdc(%rip), %rdx     # 0x42da0
xorl %eax, %eax
callq 0xc570
movq %r15, %rdi
movq %r14, %rsi
callq 0xcdd0
movq %rbx, %rcx
movl 0x2c(%rsp), %eax
movq %rax, 0x20(%rsp)
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x2016d
testl %r13d, %r13d
je 0x20228
movl $0x1, %ebx
leaq 0x22bbe(%rip), %r14     # 0x42dbb
leaq 0x30(%rsp), %r12
movl $0x80, %esi
movq %r12, %rdi
movq %r14, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq 0xc570
movq %r15, %rdi
movq %r12, %rsi
callq 0xc550
incl %ebx
cmpl %r13d, %ebx
jbe 0x20202
movl 0x28(%rsp), %r13d
testl %r13d, %r13d
je 0x20269
movl $0x1, %ebx
leaq 0x22b94(%rip), %r14     # 0x42dd2
leaq 0x30(%rsp), %r12
movl $0x80, %esi
movq %r12, %rdi
movq %r14, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq 0xc570
movq %r15, %rdi
movq %r12, %rsi
callq 0xc760
incl %ebx
cmpl %r13d, %ebx
jbe 0x20243
testl %ebp, %ebp
movq 0x10(%rsp), %r13
je 0x202a8
movl $0x1, %ebx
leaq 0x22b6f(%rip), %r14     # 0x42ded
leaq 0x30(%rsp), %r12
movl $0x80, %esi
movq %r12, %rdi
movq %r14, %rdx
movl %ebx, %ecx
xorl %eax, %eax
callq 0xc570
movq %r15, %rdi
movq %r12, %rsi
callq 0xc400
incl %ebx
cmpl %ebp, %ebx
jbe 0x20283
cmpb $0x0, 0xd3(%r13)
je 0x202ba
movq %r15, %rdi
callq 0xcfe0
cmpw $0x0, 0xc2(%r13)
movq (%rsp), %r12
je 0x20304
leaq 0x22b34(%rip), %rbx     # 0x42e04
leaq 0x30(%rsp), %r14
xorl %ebp, %ebp
incl %ebp
movl $0x80, %esi
movq %r14, %rdi
movq %rbx, %rdx
movl %ebp, %ecx
xorl %eax, %eax
callq 0xc570
movq %r15, %rdi
movq %r14, %rsi
callq 0xce30
movzwl 0xc2(%r13), %eax
cmpl %eax, %ebp
jb 0x202d7
movq 0x68(%r13), %rax
cmpl $0x0, 0x8(%rax)
je 0x20316
movq %r15, %rdi
callq 0xc3a0
movq 0x8(%r12), %rax
movq 0x78(%rax), %rax
cmpq $0x0, (%rax)
je 0x2032d
movq %r15, %rdi
callq 0xd050
cmpb $0x0, 0xd5(%r13)
je 0x2033f
movq %r15, %rdi
callq 0xca40
movq %r15, %rdi
callq 0xc4b0
movq (%r15), %rsi
leaq 0x22ac6(%rip), %r8      # 0x42e17
leaq 0x8(%rsp), %rbx
leaq 0x18(%rsp), %rcx
movq %r12, %rdi
movq %rbx, %rdx
callq 0x22482
movl %eax, %r14d
movq (%r15), %rdi
callq 0xc420
movq (%rbx), %rdi
callq 0xc0c0
jmp 0x20389
movl $0x1, %r14d
jmp 0x20389
movl $0x3, %r14d
movq %r15, %rdi
callq 0xcd60
testl %r14d, %r14d
jne 0x20686
callq 0xcf00
movq %rax, %r15
xorl %eax, %eax
movq %rax, 0x30(%rsp)
movq %rax, 0x8(%rsp)
testq %r15, %r15
je 0x2047a
movq 0x70(%r12), %rdx
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0xce00
movq %rax, (%r15)
testq %rax, %rax
je 0x20482
leaq 0x22b1d(%rip), %rsi     # 0x42efb
leaq 0x228c5(%rip), %rdx     # 0x42caa
movq %r15, %rdi
callq 0xc3e0
leaq 0x22040(%rip), %rsi     # 0x42434
leaq 0x21b3b(%rip), %rdx     # 0x41f36
movq %r15, %rdi
callq 0xc5d0
leaq 0x22b01(%rip), %rsi     # 0x42f0b
leaq 0x21acd(%rip), %rdx     # 0x41ede
movq %r15, %rdi
callq 0xc3e0
movq 0x8(%r12), %rax
movq 0x78(%rax), %rax
cmpq $0x0, (%rax)
je 0x2043e
leaq 0x22af1(%rip), %rsi     # 0x42f20
leaq 0x21e8a(%rip), %rdx     # 0x422c0
movq %r15, %rdi
callq 0xc3e0
movq %r15, %rdi
callq 0xc310
movq (%r15), %rsi
leaq 0x22ae3(%rip), %r8      # 0x42f33
leaq 0x30(%rsp), %rbx
leaq 0x8(%rsp), %rcx
movq %r12, %rdi
movq %rbx, %rdx
callq 0x22482
movl %eax, %r14d
movq (%r15), %rdi
callq 0xc420
movq (%rbx), %rdi
callq 0xc0c0
jmp 0x20488
movl $0x1, %r14d
jmp 0x20488
movl $0x3, %r14d
movq %r15, %rdi
callq 0xc290
testl %r14d, %r14d
jne 0x20686
callq 0xcf00
movq %rax, %r15
xorl %eax, %eax
movq %rax, 0x8(%rsp)
movq %rax, 0x18(%rsp)
movq 0x8(%r12), %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
testq %r15, %r15
je 0x2066b
movq 0x70(%r12), %rdx
leaq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xce00
movq %rax, (%r15)
testq %rax, %rax
je 0x20673
movq %r12, (%rsp)
movq %rbx, 0x20(%rsp)
movq 0x8(%rbx), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x2059b
movl $0x1, %ebp
leaq 0x30(%rsp), %r12
movl $0x1, %ebx
cmpb $0x0, (%r14)
je 0x20561
leal 0x1(%rbp), %r13d
movl $0x80, %esi
movq %r12, %rdi
leaq 0x2283c(%rip), %rdx     # 0x42d88
movl %ebp, %ecx
xorl %eax, %eax
callq 0xc570
leaq 0x229e3(%rip), %rsi     # 0x42f3f
movl %r13d, %ebp
jmp 0x20587
leal 0x1(%rbx), %r13d
movl $0x80, %esi
movq %r12, %rdi
leaq 0x22830(%rip), %rdx     # 0x42da4
movl %ebx, %ecx
xorl %eax, %eax
callq 0xc570
leaq 0x229c7(%rip), %rsi     # 0x42f4b
movl %r13d, %ebx
movq %r15, %rdi
movq %r12, %rdx
callq 0xc3e0
movq 0x10(%r14), %r14
testq %r14, %r14
jne 0x20533
leaq 0x229b4(%rip), %rsi     # 0x42f56
leaq 0x21a34(%rip), %rdx     # 0x41fdd
movq %r15, %rdi
callq 0xc3e0
leaq 0x229a5(%rip), %rsi     # 0x42f5d
leaq 0x219c8(%rip), %rdx     # 0x41f87
movq %r15, %rdi
callq 0xc3e0
movq 0x20(%rsp), %rbx
movq 0x68(%rbx), %rax
cmpl $0x0, 0x8(%rax)
je 0x205ec
leaq 0x22988(%rip), %rsi     # 0x42f65
leaq 0x21c1f(%rip), %rdx     # 0x42203
movq %r15, %rdi
callq 0xc3e0
cmpq $0x0, 0xe8(%rbx)
movq (%rsp), %r12
je 0x20610
leaq 0x22973(%rip), %rsi     # 0x42f74
leaq 0x22b27(%rip), %rdx     # 0x4312f
movq %r15, %rdi
callq 0xc450
cmpb $0x0, 0xd5(%rbx)
je 0x2062f
leaq 0x22960(%rip), %rsi     # 0x42f80
leaq 0x21cf5(%rip), %rdx     # 0x4231c
movq %r15, %rdi
callq 0xc3e0
movq %r15, %rdi
callq 0xc310
movq (%r15), %rsi
leaq 0x2294e(%rip), %r8      # 0x42f8f
leaq 0x8(%rsp), %rbx
leaq 0x18(%rsp), %rcx
movq %r12, %rdi
movq %rbx, %rdx
callq 0x22482
movl %eax, %r14d
movq (%r15), %rdi
callq 0xc420
movq (%rbx), %rdi
callq 0xc0c0
jmp 0x20679
movl $0x1, %r14d
jmp 0x20679
movl $0x3, %r14d
movq %r15, %rdi
callq 0xc290
testl %r14d, %r14d
je 0x206a7
movq 0x20(%r12), %rdi
xorl %esi, %esi
callq 0xc6a0
movl %r14d, %eax
addq $0x858, %rsp            # imm = 0x858
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, (%rsp)
movq 0x8(%r12), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
xorl %r14d, %r14d
movq %r14, 0x8(%rsp)
movq %r14, 0x18(%rsp)
movq 0x8(%rax), %rax
movq (%rax), %r12
testq %r12, %r12
je 0x207ba
movl $0x1, %ebp
leaq 0x8(%rsp), %r13
leaq 0x18(%rsp), %r15
cmpb $0x0, (%r12)
jne 0x207a1
movq 0x8(%r12), %rbx
movl $0x80, %esi
leaq 0x30(%rsp), %rdi
leaq 0x22670(%rip), %rdx     # 0x42da1
movl %ebp, %ecx
xorl %eax, %eax
callq 0xc570
cmpq $0x0, 0x120(%rbx)
je 0x2074c
movq %rbx, %rdi
callq 0xc3b0
movq (%rsp), %r14
movq 0x70(%r14), %rdx
movq %r13, %rdi
movq %r15, %rsi
callq 0xce00
movq %rax, (%rbx)
testq %rax, %rax
je 0x207b4
movq %rbx, %rdi
callq 0xc200
movq (%rbx), %rsi
movq %r14, %rdi
movq %r13, %rdx
movq %r15, %rcx
leaq 0x30(%rsp), %r8
callq 0x22482
movl %eax, %r14d
movq (%rbx), %rdi
callq 0xc420
movq 0x8(%rsp), %rdi
callq 0xc0c0
testl %r14d, %r14d
jne 0x207ba
incl %ebp
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x20710
xorl %r14d, %r14d
jmp 0x207ba
movl $0x3, %r14d
testl %r14d, %r14d
je 0x207cc
movq (%rsp), %rax
movq 0x20(%rax), %rdi
jmp 0x2068b
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x2097f
testl %eax, %eax
jne 0x20818
movq %rbx, %rdi
callq 0x20aba
testl %eax, %eax
jne 0x20818
movq %rbx, %rdi
callq 0x20b3b
testl %eax, %eax
jne 0x20818
movq %rbx, %rdi
callq 0x20c64
testl %eax, %eax
jne 0x20818
movq %rbx, %rdi
callq 0x20dae
testl %eax, %eax
jne 0x20818
movq %rbx, %rdi
callq 0x21157
testl %eax, %eax
je 0x20824
movl %eax, %r14d
movq 0x20(%rbx), %rdi
jmp 0x2068b
movq %rbx, %rdi
callq 0x212d1
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x21457
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x214ed
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x215af
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x2164c
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x2183f
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x21ad2
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x21c84
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x21df0
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x21f4d
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x21fb7
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x22021
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x220ed
testl %eax, %eax
jne 0x208e9
movq (%rsp), %rdi
callq 0x22196
testl %eax, %eax
je 0x208f1
movl %eax, %r14d
jmp 0x207bf
movq (%rsp), %rbx
movq %rbx, %rdi
callq 0x22248
movl %eax, %r14d
movq 0x20(%rbx), %rdi
xorl %esi, %esi
callq 0xc6a0
testl %r14d, %r14d
jne 0x20692
movl $0x0, %r14d
testb %al, %al
je 0x20692
movzbl %al, %eax
cmpl $0x99, %eax
jg 0x20945
cmpl $0x98, %eax
je 0x2095e
cmpl $0x99, %eax
jne 0x20974
movl $0x7, %r14d
jmp 0x20692
cmpl $0xff, %eax
je 0x20969
cmpl $0x9a, %eax
jne 0x20974
movl $0x6, %r14d
jmp 0x20692
movl $0x8, %r14d
jmp 0x20692
movl $0x5, %r14d
jmp 0x20692
movl $0xa, %r14d
jmp 0x20692