// File: /workspace/github_c_makefile_star2_O0/Paxa[P]fast_excel/libxlsxwriter/src/worksheet.c
// Function: worksheet_write_worksheet
STATIC void
_worksheet_write_worksheet(lxw_worksheet *self)
{
    struct xml_attribute_list attributes;
    struct xml_attribute *attribute;
    char xmlns[] = "http://schemas.openxmlformats.org/"
        "spreadsheetml/2006/main";
    char xmlns_r[] = "http://schemas.openxmlformats.org/"
        "officeDocument/2006/relationships";
    char xmlns_mc[] = "http://schemas.openxmlformats.org/"
        "markup-compatibility/2006";
    char xmlns_x14ac[] = "http://schemas.microsoft.com/"
        "office/spreadsheetml/2009/9/ac";

    LXW_INIT_ATTRIBUTES();
    LXW_PUSH_ATTRIBUTES_STR("xmlns", xmlns);
    LXW_PUSH_ATTRIBUTES_STR("xmlns:r", xmlns_r);

    if (self->excel_version == 2010) {
        LXW_PUSH_ATTRIBUTES_STR("xmlns:mc", xmlns_mc);
        LXW_PUSH_ATTRIBUTES_STR("xmlns:x14ac", xmlns_x14ac);
        LXW_PUSH_ATTRIBUTES_STR("mc:Ignorable", "x14ac");
    }

    lxw_xml_start_tag(self->file, "worksheet", &attributes);
    LXW_FREE_ATTRIBUTES();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp            # imm = 0x130
movq %rdi, -0x8(%rbp)
leaq -0x60(%rbp), %rdi
leaq 0x198e6(%rip), %rsi     # 0x67c50
movl $0x3a, %edx
callq 0xc980
leaq -0xb0(%rbp), %rdi
leaq 0x196be(%rip), %rsi     # 0x67a40
movl $0x44, %edx
callq 0xc980
leaq -0xf0(%rbp), %rdi
leaq 0x20c96(%rip), %rsi     # 0x6f030
movl $0x3c, %edx
callq 0xc980
leaq -0x130(%rbp), %rdi
leaq 0x20cbe(%rip), %rsi     # 0x6f070
movl $0x3c, %edx
callq 0xc980
movq $0x0, -0x18(%rbp)
leaq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x4e3ce
leaq -0x60(%rbp), %rsi
leaq 0x17d28(%rip), %rdi     # 0x66101
callq 0xc030
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x10(%rbp)
jmp 0x4e40c
jmp 0x4e40e
leaq -0xb0(%rbp), %rsi
leaq 0x19219(%rip), %rdi     # 0x67635
callq 0xc030
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x10(%rbp)
jmp 0x4e44f
movq -0x8(%rbp), %rax
movzwl 0x340(%rax), %eax
cmpl $0x7da, %eax            # imm = 0x7DA
jne 0x4e530
jmp 0x4e467
leaq -0xf0(%rbp), %rsi
leaq 0x20169(%rip), %rdi     # 0x6e5de
callq 0xc030
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x10(%rbp)
jmp 0x4e4a8
jmp 0x4e4aa
leaq -0x130(%rbp), %rsi
leaq 0x2012f(%rip), %rdi     # 0x6e5e7
callq 0xc030
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x10(%rbp)
jmp 0x4e4eb
jmp 0x4e4ed
leaq 0x200ff(%rip), %rdi     # 0x6e5f3
leaq 0x200f2(%rip), %rsi     # 0x6e5ed
callq 0xc030
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x10(%rbp)
jmp 0x4e52e
jmp 0x4e530
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0x1a842(%rip), %rsi     # 0x68d80
leaq -0x18(%rbp), %rdx
callq 0xc390
jmp 0x4e549
cmpq $0x0, -0x18(%rbp)
sete %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x4e559
jmp 0x4e58b
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x1040(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x4e57e
leaq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x4e580
movq -0x20(%rbp), %rdi
callq 0xc0d0
jmp 0x4e549
jmp 0x4e58d
addq $0x130, %rsp            # imm = 0x130
popq %rbp
retq
nopw %cs:(%rax,%rax)