// File: /workspace/github_c_makefile_star2_O2/Paxa[P]fast_excel/libxlsxwriter/src/workbook.c
// Function: workbook_close
lxw_error
workbook_close(lxw_workbook *self)
{
    lxw_sheet *sheet = NULL;
    lxw_worksheet *worksheet = NULL;
    lxw_packager *packager = NULL;
    lxw_error error = LXW_NO_ERROR;
    char codename[LXW_MAX_SHEETNAME_LENGTH] = { 0 };

    /* Add a default worksheet if non have been added. */
    if (!self->num_sheets)
        workbook_add_worksheet(self, NULL);

    /* Ensure that at least one worksheet has been selected. */
    if (self->active_sheet == 0) {
        sheet = STAILQ_FIRST(self->sheets);
        if (!sheet->is_chartsheet) {
            worksheet = sheet->u.worksheet;
            worksheet->selected = LXW_TRUE;
            worksheet->hidden = 0;
        }
    }

    /* Set the active sheet and check if a metadata file is needed. */
    STAILQ_FOREACH(sheet, self->sheets, list_pointers) {
        if (sheet->is_chartsheet)
            continue;
        else
            worksheet = sheet->u.worksheet;

        if (worksheet->index == self->active_sheet)
            worksheet->active = LXW_TRUE;

        if (worksheet->has_dynamic_arrays)
            self->has_metadata = LXW_TRUE;
    }

    /* Set workbook and worksheet VBA codenames if a macro has been added. */
    if (self->vba_project) {
        if (!self->vba_codename)
            workbook_set_vba_name(self, "ThisWorkbook");

        STAILQ_FOREACH(sheet, self->sheets, list_pointers) {
            if (sheet->is_chartsheet)
                continue;
            else
                worksheet = sheet->u.worksheet;

            if (!worksheet->vba_codename) {
                lxw_snprintf(codename, LXW_MAX_SHEETNAME_LENGTH, "Sheet%d",
                             worksheet->index + 1);

                worksheet_set_vba_name(worksheet, codename);
            }
        }
    }

    /* Prepare the worksheet VML elements such as comments. */
    _prepare_vml(self);

    /* Set the defined names for the worksheets such as Print Titles. */
    _prepare_defined_names(self);

    /* Prepare the drawings, charts and images. */
    _prepare_drawings(self);

    /* Add cached data to charts. */
    _add_chart_cache_data(self);

    /* Set the table ids for the worksheet tables. */
    _prepare_tables(self);

    /* Create a packager object to assemble sub-elements into a zip file. */
    packager = lxw_packager_new(self->filename,
                                self->options.tmpdir,
                                self->options.use_zip64);

    /* If the packager fails it is generally due to a zip permission error. */
    if (packager == NULL) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Error creating '%s'. "
                   "System error = %s\n", self->filename, strerror(errno));

        error = LXW_ERROR_CREATING_XLSX_FILE;
        goto mem_error;
    }

    /* Set the workbook object in the packager. */
    packager->workbook = self;

    /* Assemble all the sub-files in the xlsx package. */
    error = lxw_create_package(packager);

    if (!self->filename) {
        *self->options.output_buffer = packager->output_buffer;
        *self->options.output_buffer_size = packager->output_buffer_size;
    }

    /* Error and non-error conditions fall through to the cleanup code. */
    if (error == LXW_ERROR_CREATING_TMPFILE) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Error creating tmpfile(s) to assemble '%s'. "
                   "System error = %s\n", self->filename, strerror(errno));
    }

    /* If LXW_ERROR_ZIP_FILE_OPERATION then errno is set by zip. */
    if (error == LXW_ERROR_ZIP_FILE_OPERATION) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Zip ZIP_ERRNO error while creating xlsx file '%s'. "
                   "System error = %s\n", self->filename, strerror(errno));
    }

    /* If LXW_ERROR_ZIP_PARAMETER_ERROR then errno is set by zip. */
    if (error == LXW_ERROR_ZIP_PARAMETER_ERROR) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Zip ZIP_PARAMERROR error while creating xlsx file '%s'. "
                   "System error = %s\n", self->filename, strerror(errno));
    }

    /* If LXW_ERROR_ZIP_BAD_ZIP_FILE then errno is set by zip. */
    if (error == LXW_ERROR_ZIP_BAD_ZIP_FILE) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Zip ZIP_BADZIPFILE error while creating xlsx file '%s'. "
                   "This may require the use_zip64 option for large files. "
                   "System error = %s\n", self->filename, strerror(errno));
    }

    /* If LXW_ERROR_ZIP_INTERNAL_ERROR then errno is set by zip. */
    if (error == LXW_ERROR_ZIP_INTERNAL_ERROR) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Zip ZIP_INTERNALERROR error while creating xlsx file '%s'. "
                   "System error = %s\n", self->filename, strerror(errno));
    }

    /* The next 2 error conditions don't set errno. */
    if (error == LXW_ERROR_ZIP_FILE_ADD) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Zip error adding file to xlsx file '%s'.\n",
                   self->filename);
    }

    if (error == LXW_ERROR_ZIP_CLOSE) {
        LXW_PRINTF(LXW_STDERR "[ERROR] workbook_close(): "
                   "Zip error closing xlsx file '%s'.\n", self->filename);
    }

mem_error:
    lxw_packager_free(packager);
    lxw_workbook_free(self);
    return error;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp            # imm = 0x1F8
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0xdf(%rsp)
movaps %xmm0, 0xd0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movaps %xmm0, 0xb0(%rsp)
movaps %xmm0, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
cmpw $0x0, 0xb0(%rdi)
jne 0x2886e
movq %rbx, %rdi
xorl %esi, %esi
callq 0xcbf0
movzwl 0xb8(%rbx), %eax
movq 0x8(%rbx), %r15
testw %ax, %ax
jne 0x28893
movq (%r15), %rcx
cmpb $0x0, (%rcx)
jne 0x28893
movq 0x8(%rcx), %rcx
movw $0x1, 0xd3(%rcx)
movq %r15, %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
je 0x288cd
cmpb $0x0, (%rcx)
jne 0x288c7
movq 0x8(%rcx), %rdx
cmpw %ax, 0xd0(%rdx)
jne 0x288b7
movb $0x1, 0xd2(%rdx)
cmpb $0x0, 0x151(%rdx)
je 0x288c7
movb $0x1, 0xd5(%rbx)
addq $0x10, %rcx
jmp 0x28896
cmpq $0x0, 0xe8(%rbx)
je 0x28953
cmpq $0x0, 0xf8(%rbx)
jne 0x288f8
leaq 0x1a116(%rip), %rdi     # 0x429fe
callq 0xcd50
movq %rax, 0xf8(%rbx)
movq 0x8(%rbx), %r15
leaq 0x1a05d(%rip), %r14     # 0x4295c
leaq 0x70(%rsp), %rbp
pushq $0x7f
popq %r12
movq (%r15), %r15
testq %r15, %r15
je 0x2894f
cmpb $0x0, (%r15)
jne 0x28949
movq 0x8(%r15), %r13
cmpq $0x0, 0x158(%r13)
jne 0x28949
movzwl 0xd0(%r13), %ecx
incl %ecx
movq %rbp, %rdi
movq %r12, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0xc5b0
movq %r13, %rdi
movq %rbp, %rsi
callq 0xd030
addq $0x10, %r15
jmp 0x28908
movq 0x8(%rbx), %r15
movl $0x400, %eax            # imm = 0x400
pushq $0x1
popq %rcx
xorl %r8d, %r8d
xorl %r14d, %r14d
movl $0x0, 0x8(%rsp)
movq (%r15), %r15
testq %r15, %r15
je 0x28a48
cmpb $0x0, (%r15)
jne 0x28a3f
movq 0x8(%r15), %rbp
cmpb $0x0, 0x2a0(%rbp)
je 0x28a01
movb $0x1, 0xd3(%rbx)
cmpb $0x0, 0x2a1(%rbp)
je 0x289ad
incw 0xc2(%rbx)
incl %r8d
movb $0x1, 0xd4(%rbx)
incl %r14d
movl %r14d, 0xc(%rsp)
movq %rbp, %rdi
movl %ecx, %r14d
movl %ecx, %esi
movl %eax, %edx
movl %eax, 0x10(%rsp)
movl 0xc(%rsp), %ecx
movl %r8d, 0x18(%rsp)
callq 0xc710
movl %eax, %r12d
addl $0x400, %r12d           # imm = 0x400
movl %r12d, %r13d
shrl $0xa, %r13d
addl %r14d, %r13d
andl $0xfffffc00, %r12d      # imm = 0xFFFFFC00
addl 0x10(%rsp), %r12d
movl 0xc(%rsp), %r14d
cmpb $0x0, 0x2a2(%rbp)
jne 0x28a15
jmp 0x28a34
movl %r8d, 0x18(%rsp)
cmpb $0x0, 0x2a2(%rbp)
movl %eax, %r12d
movl %ecx, %r13d
je 0x28a3a
movb $0x1, 0xd3(%rbx)
incl %r14d
movl 0x8(%rsp), %esi
incl %esi
movq %rbp, %rdi
movl %esi, 0x8(%rsp)
movl %r14d, %edx
callq 0xc630
movl %r13d, %ecx
movl %r12d, %eax
movl 0x18(%rsp), %r8d
addq $0x10, %r15
jmp 0x28969
movq 0x8(%rbx), %r12
leaq 0xf0(%rsp), %r15
leaq 0x170(%rsp), %rbp
leaq 0x40(%rsp), %r14
movq (%r12), %r12
testq %r12, %r12
je 0x28e12
cmpb $0x0, (%r12)
jne 0x28e09
movq 0x8(%r12), %r13
cmpb $0x0, 0x1e4(%r13)
je 0x28b22
movq 0xc0(%r13), %rcx
movl $0x80, %esi
movq %r15, %rdi
leaq 0x1aa2b(%rip), %rdx     # 0x434cd
xorl %eax, %eax
callq 0xc5b0
movzwl 0x1f0(%r13), %edx
movl 0x1e8(%r13), %esi
movl 0x1ec(%r13), %ecx
movzwl 0x1f2(%r13), %r8d
movq %r14, %rdi
callq 0xc460
movq 0xc0(%r13), %rcx
movl $0x80, %esi
leaq 0x170(%rsp), %rdi
leaq 0x1a9f6(%rip), %rdx     # 0x434e0
movq %r14, %r8
xorl %eax, %eax
callq 0xc5b0
movswl 0xd0(%r13), %r8d
movq %rbx, %rdi
leaq 0x1a9e0(%rip), %rsi     # 0x434e6
movq %r15, %rdx
leaq 0x170(%rsp), %rcx
pushq $0x1
popq %r9
callq 0x29527
leaq 0x170(%rsp), %rbp
cmpb $0x0, 0x1d4(%r13)
je 0x28c5e
movq 0xc0(%r13), %rcx
movl $0x80, %esi
movq %r15, %rdi
leaq 0x1a9b6(%rip), %rdx     # 0x434fc
xorl %eax, %eax
callq 0xc5b0
movl 0x1d8(%r13), %ecx
testl %ecx, %ecx
jne 0x28bb4
cmpl $0xfffff, 0x1dc(%r13) # imm = 0xFFFFF
jne 0x28bb4
movzwl 0x1e0(%r13), %esi
leaq 0x38(%rsp), %rbp
movq %rbp, %rdi
xorl %edx, %edx
callq 0xc5c0
movzwl 0x1e2(%r13), %esi
leaq 0x30(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0xc5c0
leaq 0x40(%rsp), %rdi
pushq $0x1b
popq %rsi
leaq 0x1a9b5(%rip), %rdx     # 0x43557
movq %rbp, %rcx
movq %r14, %r8
movq %rdi, %r14
xorl %eax, %eax
callq 0xc5b0
jmp 0x28c16
movzwl 0x1e0(%r13), %edx
movzwl 0x1e2(%r13), %esi
movl %esi, %eax
xorl $0x3fff, %eax           # imm = 0x3FFF
orw %dx, %ax
jne 0x28bf7
incl %ecx
movl 0x1dc(%r13), %r8d
incl %r8d
leaq 0x40(%rsp), %r14
movq %r14, %rdi
pushq $0x1b
popq %rsi
leaq 0x1a94b(%rip), %rdx     # 0x43539
xorl %eax, %eax
callq 0xc5b0
jmp 0x28c16
movl 0x1dc(%r13), %eax
movzwl %dx, %edx
movzwl %si, %r8d
leaq 0x40(%rsp), %r14
movq %r14, %rdi
movl %ecx, %esi
movl %eax, %ecx
callq 0xc460
movq 0xc0(%r13), %rcx
movl $0x80, %esi
leaq 0x170(%rsp), %rbp
movq %rbp, %rdi
leaq 0x1a8ac(%rip), %rdx     # 0x434e0
movq %r14, %r8
xorl %eax, %eax
callq 0xc5b0
movswl 0xd0(%r13), %r8d
movq %rbx, %rdi
leaq 0x1a8ba(%rip), %rsi     # 0x4350a
movq %r15, %rdx
movq %rbp, %rcx
xorl %r9d, %r9d
callq 0x29527
cmpb $0x0, 0x1c0(%r13)
movb 0x1cc(%r13), %r14b
je 0x28d20
movq 0xc0(%r13), %rcx
movl $0x80, %esi
movq %r15, %rdi
leaq 0x1a892(%rip), %rdx     # 0x4351b
xorl %eax, %eax
callq 0xc5b0
testb %r14b, %r14b
je 0x28dab
movzwl 0x1ce(%r13), %esi
leaq 0x38(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0xc5c0
movzwl 0x1d0(%r13), %esi
leaq 0x30(%rsp), %r15
movq %r15, %rdi
xorl %edx, %edx
callq 0xc5c0
movq 0xc0(%r13), %rcx
movl 0x1c4(%r13), %r10d
incl %r10d
movl 0x1c8(%r13), %r11d
incl %r11d
subq $0x8, %rsp
movl $0x80, %esi
leaq 0x178(%rsp), %rbp
movq %rbp, %rdi
leaq 0x1a82e(%rip), %rdx     # 0x4352b
movq %r14, %r8
movq %r15, %r9
leaq 0xf8(%rsp), %r15
xorl %eax, %eax
pushq %r11
pushq %r10
pushq %rcx
callq 0xc5b0
addq $0x20, %rsp
jmp 0x28de4
testb %r14b, %r14b
leaq 0x40(%rsp), %r14
je 0x28e09
movq 0xc0(%r13), %rcx
movl $0x80, %esi
movq %r15, %rdi
leaq 0x1a7d7(%rip), %rdx     # 0x4351b
xorl %eax, %eax
callq 0xc5b0
movzwl 0x1ce(%r13), %esi
leaq 0x38(%rsp), %r14
movq %r14, %rdi
xorl %edx, %edx
callq 0xc5c0
movzwl 0x1d0(%r13), %esi
leaq 0x30(%rsp), %r15
movq %r15, %rdi
xorl %edx, %edx
callq 0xc5c0
movq 0xc0(%r13), %rcx
movl $0x80, %esi
movq %rbp, %rdi
leaq 0x1a7c5(%rip), %rdx     # 0x43554
movq %r14, %r8
leaq 0x40(%rsp), %r14
movq %r15, %r9
leaq 0xf0(%rsp), %r15
xorl %eax, %eax
callq 0xc5b0
jmp 0x28de9
movq 0xc0(%r13), %rcx
movl 0x1c4(%r13), %r8d
incl %r8d
movl 0x1c8(%r13), %r9d
incl %r9d
movl $0x80, %esi
leaq 0x170(%rsp), %rbp
movq %rbp, %rdi
leaq 0x1a759(%rip), %rdx     # 0x43536
xorl %eax, %eax
callq 0xc5b0
leaq 0x40(%rsp), %r14
movswl 0xd0(%r13), %r8d
movq %rbx, %rdi
leaq 0x1a746(%rip), %rsi     # 0x43541
movq %r15, %rdx
movq %rbp, %rcx
xorl %r9d, %r9d
callq 0x29527
addq $0x10, %r12
jmp 0x28a61
movq 0x8(%rbx), %rcx
xorl %r15d, %r15d
movl $0x0, 0x8(%rsp)
xorl %r12d, %r12d
xorl %r13d, %r13d
movq (%rcx), %rcx
testq %rcx, %rcx
je 0x291a6
cmpb $0x0, (%rcx)
je 0x28e44
movq 0x8(%rcx), %rax
movb $0x1, %dl
movl %edx, 0xc(%rsp)
jmp 0x28e4f
movl $0x0, 0xc(%rsp)
movq %rcx, %rax
movq 0x8(%rax), %rbp
movq 0x60(%rbp), %r14
cmpq $0x0, (%r14)
jne 0x28e7d
movq 0x68(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x28e7d
cmpb $0x0, 0x2a2(%rbp)
jne 0x28e7d
cmpb $0x0, 0x2a3(%rbp)
je 0x2919d
cmpb $0x0, 0x2a3(%rbp)
movq %rcx, 0x68(%rsp)
movq %rbp, 0x18(%rsp)
movq %r15, 0x28(%rsp)
je 0x28f62
movq 0x3a8(%rbp), %r14
movzbl 0x50(%r14), %esi
movq %rbx, %rdi
callq 0x2a164
movq %r14, 0x20(%rsp)
movq 0xa0(%r14), %r14
testq %r14, %r14
je 0x28eda
movq %r14, 0xf8(%rsp)
movq 0x40(%rbx), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x2a19b
movq %rax, %r13
testq %r13, %r13
je 0x28ef1
movl (%r13), %esi
movq 0x20(%rsp), %rdx
movb $0x1, 0x98(%rdx)
jmp 0x28f56
movq %r13, 0x10(%rsp)
movl 0x8(%rsp), %r13d
testq %r14, %r14
sete %r15b
incl %r13d
pushq $0x1
popq %rdi
pushq $0x30
popq %rsi
callq 0xc850
movq %rax, %rbp
testq %rax, %rax
sete %al
orb %r15b, %al
movl %r13d, 0x8(%rsp)
jne 0x28f3f
movl %r13d, (%rbp)
movq %r14, %rdi
callq 0xcd50
movq %rax, 0x8(%rbp)
movq 0x40(%rbx), %rdi
movq %rbp, %rsi
callq 0x2a1e4
movl %r13d, %esi
movq 0x28(%rsp), %r15
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbp
movq 0x20(%rsp), %rdx
movq %rbp, %rdi
callq 0xcc30
movq 0x60(%rbp), %r14
incl %r12d
movl %r12d, 0x20(%rsp)
movq (%r14), %r14
testq %r14, %r14
je 0x2904c
cmpb $0x0, 0x99(%r14)
jne 0x29040
movzbl 0x50(%r14), %esi
movq %rbx, %rdi
callq 0x2a164
movq 0xa0(%r14), %rbp
testq %rbp, %rbp
je 0x28fb9
movq %rbp, 0xf8(%rsp)
movq 0x30(%rbx), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x2a19b
movq %rax, %r13
testq %r13, %r13
je 0x28fcc
movl (%r13), %esi
movb $0x1, 0x98(%r14)
jmp 0x2902d
movq %r13, 0x10(%rsp)
testq %rbp, %rbp
sete %r15b
movl 0x8(%rsp), %r13d
incl %r13d
pushq $0x1
popq %rdi
pushq $0x30
popq %rsi
callq 0xc850
movq %rax, %r12
testq %rax, %rax
sete %al
orb %r15b, %al
movl %r13d, 0x8(%rsp)
jne 0x2901b
movl %r13d, (%r12)
movq %rbp, %rdi
callq 0xcd50
movq %rax, 0x8(%r12)
movq 0x30(%rbx), %rdi
movq %r12, %rsi
callq 0x2a1e4
movl %r13d, %esi
movq 0x28(%rsp), %r15
movl 0x20(%rsp), %r12d
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbp
movq %rbp, %rdi
movl %r12d, %edx
movq %r14, %rcx
callq 0xc6e0
addq $0xb8, %r14
jmp 0x28f6a
movq 0x68(%rbp), %r14
movq (%r14), %r14
testq %r14, %r14
je 0x290b1
incl %r15d
movzbl 0xc(%rsp), %r8d
movq %rbp, %rdi
movl %r15d, %esi
movl %r12d, %edx
movq %r14, %rcx
callq 0xcf60
movq 0x90(%r14), %rax
testq %rax, %rax
je 0x290a8
andq $0x0, 0x170(%rax)
movq 0x50(%rbx), %rcx
movq 0x8(%rcx), %rcx
movq %rax, (%rcx)
movq 0x90(%r14), %rax
movl $0x170, %ecx            # imm = 0x170
addq %rcx, %rax
movq 0x50(%rbx), %rcx
movq %rax, 0x8(%rcx)
addq $0xb8, %r14
jmp 0x29050
movq %r15, 0x28(%rsp)
pushq $0x69
popq %r15
cmpq $0x6f, %r15
je 0x29193
movq (%rbp,%r15,8), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x2918b
movzbl 0x50(%r14), %esi
movq %rbx, %rdi
callq 0x2a164
movq 0xa0(%r14), %rbp
testq %rbp, %rbp
je 0x2910a
movq %rbp, 0xf8(%rsp)
movq 0x38(%rbx), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x2a19b
movq %rax, %r13
testq %r13, %r13
je 0x2911d
movl (%r13), %esi
movb $0x1, 0x98(%r14)
jmp 0x2917b
movq %r13, 0x10(%rsp)
testq %rbp, %rbp
sete 0xc(%rsp)
movl 0x8(%rsp), %r13d
incl %r13d
pushq $0x1
popq %rdi
pushq $0x30
popq %rsi
callq 0xc850
movq %rax, %r12
testq %rax, %rax
sete %al
orb 0xc(%rsp), %al
movl %r13d, 0x8(%rsp)
jne 0x2916e
movl %r13d, (%r12)
movq %rbp, %rdi
callq 0xcd50
movq %rax, 0x8(%r12)
movq 0x38(%rbx), %rdi
movq %r12, %rsi
callq 0x2a1e4
movl %r13d, %esi
movl 0x20(%rsp), %r12d
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rdx
callq 0xce10
incq %r15
jmp 0x290ba
movq 0x68(%rsp), %rcx
movq 0x28(%rsp), %r15
addq $0x10, %rcx
jmp 0x28e27
movw %r12w, 0xc0(%rbx)
movq 0x50(%rbx), %r14
movq (%r14), %r14
testq %r14, %r14
je 0x29266
movq 0x50(%r14), %rsi
movq %rbx, %rdi
callq 0x2a430
movq 0x20(%r14), %rax
movq 0x20(%rax), %rsi
movq %rbx, %rdi
callq 0x2a430
movq 0x28(%r14), %rax
movq 0x20(%rax), %rsi
movq %rbx, %rdi
callq 0x2a430
movq 0x128(%r14), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x2925a
testq %r15, %r15
je 0x2925a
movq (%r15), %rsi
movq %rbx, %rdi
callq 0x2a430
movq 0x8(%r15), %rsi
movq %rbx, %rdi
callq 0x2a430
movq 0x30(%r15), %rsi
movq %rbx, %rdi
callq 0x2a430
pushq $0x30
popq %r12
xorl %r13d, %r13d
movzwl 0x92(%r15), %eax
cmpq %rax, %r13
jae 0x29251
movq 0x88(%r15), %rax
movq (%rax,%r12), %rsi
movq %rbx, %rdi
callq 0x2a430
incq %r13
addq $0x60, %r12
jmp 0x29228
movq 0x110(%r15), %r15
jmp 0x291f9
addq $0x170, %r14            # imm = 0x170
jmp 0x291b2
movq 0x8(%rbx), %r14
xorl %r15d, %r15d
movq (%r14), %r14
testq %r14, %r14
je 0x2929f
cmpb $0x0, (%r14)
jne 0x29299
movq 0x8(%r14), %rdi
movzwl 0xa0(%rdi), %ebp
testl %ebp, %ebp
je 0x29299
leal 0x1(%r15), %esi
callq 0xc260
addl %r15d, %ebp
movl %ebp, %r15d
addq $0x10, %r14
jmp 0x2926d
movq 0x80(%rbx), %rdi
movq 0x90(%rbx), %rsi
movzbl 0x98(%rbx), %edx
callq 0xce00
movq %rax, %r14
testq %rax, %rax
je 0x29352
movq %rbx, 0x8(%r14)
movq %r14, %rdi
callq 0xc600
movl %eax, %ebp
cmpq $0x0, 0x80(%rbx)
jne 0x292f9
movq 0x68(%r14), %rax
movq 0xa0(%rbx), %rcx
movq %rax, (%rcx)
movq 0x18(%r14), %rax
movq 0xa8(%rbx), %rcx
movq %rax, (%rcx)
movl %ebp, %eax
addl $-0x3, %eax
cmpl $0x7, %eax
ja 0x294b8
leaq 0x1960a(%rip), %rcx     # 0x42918
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x29cda(%rip), %rax     # 0x52ff8
movq (%rax), %r15
movq 0x80(%rbx), %r12
callq 0xc170
movl (%rax), %edi
callq 0xd070
leaq 0x19712(%rip), %rsi     # 0x42a4d
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc8d0
pushq $0x3
jmp 0x294b7
movq 0x29c9f(%rip), %rax     # 0x52ff8
movq (%rax), %r15
movq 0x80(%rbx), %r12
callq 0xc170
movl (%rax), %edi
callq 0xd070
leaq 0x19695(%rip), %rsi     # 0x42a0b
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc8d0
pushq $0x2
jmp 0x294b7
movq 0x29c64(%rip), %rax     # 0x52ff8
movq (%rax), %r15
movq 0x80(%rbx), %r12
callq 0xc170
movl (%rax), %edi
callq 0xd070
leaq 0x197ba(%rip), %rsi     # 0x42b6b
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc8d0
pushq $0x7
jmp 0x294b7
movq 0x29c29(%rip), %rax     # 0x52ff8
movq (%rax), %r15
movq 0x80(%rbx), %r12
callq 0xc170
movl (%rax), %edi
callq 0xd070
leaq 0x1971a(%rip), %rsi     # 0x42b06
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc8d0
pushq $0x6
jmp 0x294b7
movq 0x29bee(%rip), %rax     # 0x52ff8
movq (%rax), %r15
movq 0x80(%rbx), %r12
callq 0xc170
movl (%rax), %edi
callq 0xd070
leaq 0x1967f(%rip), %rsi     # 0x42aa6
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc8d0
pushq $0x5
jmp 0x294b7
movq 0x29bb6(%rip), %rax     # 0x52ff8
movq (%rax), %rdi
movq 0x80(%rbx), %rdx
leaq 0x1981c(%rip), %rsi     # 0x42c6f
xorl %eax, %eax
callq 0xc8d0
pushq $0x9
jmp 0x294b7
movq 0x29b93(%rip), %rax     # 0x52ff8
movq (%rax), %rdi
movq 0x80(%rbx), %rdx
leaq 0x1983d(%rip), %rsi     # 0x42cb3
xorl %eax, %eax
callq 0xc8d0
pushq $0xa
jmp 0x294b7
movq 0x29b70(%rip), %rax     # 0x52ff8
movq (%rax), %r15
movq 0x80(%rbx), %r12
callq 0xc170
movl (%rax), %edi
callq 0xd070
leaq 0x19762(%rip), %rsi     # 0x42c07
movq %r15, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0xc8d0
pushq $0x8
popq %rbp
movq %r14, %rdi
callq 0xccc0
movq %rbx, %rdi
callq 0xcbc0
movl %ebp, %eax
addq $0x1f8, %rsp            # imm = 0x1F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq