// File: /workspace/github_c_makefile_star2_O2/Paxa[P]fast_excel/libxlsxwriter/src/drawing.c
// Function: lxw_drawing_assemble_xml_file
void
lxw_drawing_assemble_xml_file(lxw_drawing *self)
{
    uint32_t index;
    lxw_drawing_object *drawing_object;

    /* Write the XML declaration. */
    _drawing_xml_declaration(self);

    /* Write the xdr:wsDr element. */
    _write_drawing_workspace(self);

    if (self->embedded) {
        index = 1;

        STAILQ_FOREACH(drawing_object, self->drawing_objects, list_pointers) {
            _drawing_write_two_cell_anchor(self, index, drawing_object);
            index++;
        }
    }
    else {
        /* Write the xdr:absoluteAnchor element. Mainly for chartsheets. */
        _drawing_write_absolute_anchor(self, 1);
    }

    lxw_xml_end_tag(self->file, "xdr:wsDr");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x8a8, %rsp            # imm = 0x8A8
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0xcfb0
leaq 0x24fa1(%rip), %rsi     # 0x3f980
pushq $0x44
popq %rcx
leaq 0x80(%rsp), %r14
movq %r14, %rdi
rep  movsb (%rsi), %es:(%rdi)
movaps 0x241da(%rip), %xmm0    # 0x3ebd0
leaq 0x30(%rsp), %r12
movaps %xmm0, 0x20(%r12)
movaps 0x241b8(%rip), %xmm0    # 0x3ebc0
movaps %xmm0, 0x10(%r12)
movaps 0x2419b(%rip), %xmm0    # 0x3ebb0
movaps %xmm0, (%r12)
movabsq $0x6e69616d2f3630, %rax # imm = 0x6E69616D2F3630
movq %rax, 0x2e(%r12)
leaq 0x10(%rsp), %r13
andq $0x0, (%r13)
movq %r13, 0x8(%r13)
leaq 0x24c8c(%rip), %rdi     # 0x3f6ca
movq %r14, %rsi
callq 0xc030
movl $0x1040, %r15d          # imm = 0x1040
andq $0x0, 0x1040(%rax)
leaq (%rax,%r15), %rcx
movq 0x8(%r13), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r13)
leaq 0x23d73(%rip), %rdi     # 0x3e7dd
movq %r12, %rsi
callq 0xc030
addq %rax, %r15
andq $0x0, 0x1040(%rax)
movq 0x8(%r13), %rcx
movq %rax, (%rcx)
movq %r15, 0x8(%r13)
movq (%rbx), %rdi
leaq 0x24c2f(%rip), %rsi     # 0x3f6c1
movq %r13, %rdx
callq 0xc380
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1aac1
movq 0x1040(%rdi), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x1aaba
movq %r13, 0x18(%rsp)
callq 0xc0d0
jmp 0x1aa9a
cmpb $0x0, 0x8(%rbx)
je 0x1b099
movq 0x10(%rbx), %r12
pushq $0x1
popq %rbp
leaq 0x20(%rsp), %r13
movq (%r12), %r12
testq %r12, %r12
je 0x1b10e
andq $0x0, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movzbl 0x1(%r12), %eax
leaq 0x24bdf(%rip), %rsi     # 0x3f6db
cmpl $0x2, %eax
je 0x1ab0d
cmpl $0x3, %eax
jne 0x1ab35
leaq 0x24bd6(%rip), %rsi     # 0x3f6e3
leaq 0x24bc0(%rip), %rdi     # 0x3f6d4
callq 0xc030
andq $0x0, 0x1040(%rax)
leaq 0x1040(%rax), %rcx
movq 0x28(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x28(%rsp)
movl %ebp, 0xc(%rsp)
movq (%rbx), %rdi
leaq 0x24ba9(%rip), %rsi     # 0x3f6ec
movq %r13, %rdx
callq 0xc380
leaq 0x8(%r12), %r15
movq (%rbx), %rdi
leaq 0x24ba4(%rip), %rbp     # 0x3f6fe
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc380
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1b652
movq (%rbx), %rdi
movq %rbp, %rsi
callq 0xc060
leaq 0x20(%r12), %r15
movq (%rbx), %rdi
leaq 0x24ba7(%rip), %rbp     # 0x3f730
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc380
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1b652
movq (%rbx), %rdi
movq %rbp, %rsi
callq 0xc060
movzbl (%r12), %eax
cmpl $0x1, %eax
je 0x1abd7
cmpl $0x2, %eax
movl 0xc(%rsp), %ebp
jne 0x1b050
movl 0x54(%r12), %edx
movq %rbx, %rdi
movl %ebp, %esi
movq %r12, %rcx
callq 0x1b12f
jmp 0x1b050
movq (%rbx), %rdi
leaq 0x24cd1(%rip), %rsi     # 0x3f8b2
xorl %edx, %edx
callq 0xc380
movq (%rbx), %rdi
leaq 0x24cc8(%rip), %rsi     # 0x3f8ba
xorl %edx, %edx
callq 0xc380
movq %rbx, %rdi
leaq 0x24cc3(%rip), %rsi     # 0x3f8c6
movl 0xc(%rsp), %edx
movq %r12, %rcx
callq 0x1b728
movq (%rbx), %rdi
leaq 0x24cb5(%rip), %rsi     # 0x3f8ce
xorl %edx, %edx
callq 0xc380
andq $0x0, 0x80(%rsp)
movq %r14, 0x88(%rsp)
leaq 0x24ca3(%rip), %rdi     # 0x3f8db
leaq 0x27b09(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x24c7a(%rip), %rsi     # 0x3f8ea
movq %r14, %rdx
callq 0xcc70
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1aca8
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1aca1
movq %r14, 0x88(%rsp)
callq 0xc0d0
jmp 0x1ac78
movq (%rbx), %rdi
leaq 0x24c1c(%rip), %rsi     # 0x3f8ce
callq 0xc060
movq (%rbx), %rdi
leaq 0x24bf9(%rip), %rsi     # 0x3f8ba
callq 0xc060
movl 0x54(%r12), %r15d
movq (%rbx), %rdi
leaq 0x24c20(%rip), %rsi     # 0x3f8f5
xorl %edx, %edx
callq 0xc380
pushq $0x44
popq %rcx
leaq 0x30(%rsp), %rbp
movq %rbp, %rdi
leaq 0x23f02(%rip), %rsi     # 0x3ebf0
rep  movsb (%rsi), %es:(%rdi)
movq %r14, %rdi
pushq $0x20
popq %rsi
leaq 0x24a7c(%rip), %rdx     # 0x3f779
movl %r15d, %ecx
xorl %eax, %eax
callq 0xc5b0
andq $0x0, 0x10(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, 0x18(%rsp)
leaq 0x23ac7(%rip), %rdi     # 0x3e7e5
movq %rbp, %rsi
callq 0xc030
andq $0x0, 0x1040(%rax)
movl $0x1040, %ebp           # imm = 0x1040
leaq (%rax,%rbp), %rcx
movq 0x18(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x18(%rsp)
leaq 0x24bb7(%rip), %rdi     # 0x3f902
movq %r14, %rsi
callq 0xc030
leaq (%rax,%rbp), %rcx
andq $0x0, 0x1040(%rax)
movq 0x18(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x18(%rsp)
movq (%rbx), %rdi
leaq 0x24b94(%rip), %rsi     # 0x3f90a
movq %r15, %rdx
callq 0xcc70
movl 0xc(%rsp), %ebp
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1ada9
movq 0x1040(%rdi), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x1ada2
movq %r15, 0x18(%rsp)
callq 0xc0d0
jmp 0x1ad82
movq (%rbx), %rdi
leaq 0x24b5e(%rip), %r15     # 0x3f911
movq %r15, %rsi
xorl %edx, %edx
callq 0xc380
movq (%rbx), %rdi
leaq 0x24b54(%rip), %rsi     # 0x3f91b
xorl %edx, %edx
callq 0xcc70
movq (%rbx), %rdi
movq %r15, %rsi
callq 0xc060
movq (%rbx), %rdi
leaq 0x24b12(%rip), %rsi     # 0x3f8f5
callq 0xc060
movq (%rbx), %rdi
leaq 0x24b34(%rip), %rsi     # 0x3f926
xorl %edx, %edx
callq 0xc380
movq (%rbx), %rdi
leaq 0x24b2c(%rip), %rsi     # 0x3f92f
xorl %edx, %edx
callq 0xc380
andq $0x0, 0x80(%rsp)
movq %r14, 0x88(%rsp)
movq 0x38(%r12), %rsi
leaq 0x2b8f2(%rip), %rdi     # 0x46719
callq 0xc1a0
movl $0x1040, %r15d          # imm = 0x1040
leaq (%rax,%r15), %rcx
andq $0x0, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq 0x40(%r12), %rsi
leaq 0x246fd(%rip), %rdi     # 0x3f55a
callq 0xc1a0
leaq (%rax,%r15), %rcx
andq $0x0, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x24a03(%rip), %rsi     # 0x3f88e
movq %r14, %rdx
callq 0xcc70
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1aec3
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1aebc
movq %r14, 0x88(%rsp)
callq 0xc0d0
jmp 0x1ae93
andq $0x0, 0x80(%rsp)
movq %r14, 0x88(%rsp)
movl 0x48(%r12), %esi
leaq 0x249b4(%rip), %rdi     # 0x3f894
callq 0xc1a0
movl $0x1040, %r15d          # imm = 0x1040
leaq (%rax,%r15), %rcx
andq $0x0, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movl 0x4c(%r12), %esi
leaq 0x24981(%rip), %rdi     # 0x3f897
callq 0xc1a0
leaq (%rax,%r15), %rcx
andq $0x0, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x24885(%rip), %rsi     # 0x3f7c9
movq %r14, %rdx
callq 0xcc70
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1af7c
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1af75
movq %r14, 0x88(%rsp)
callq 0xc0d0
jmp 0x1af4c
movq (%rbx), %rdi
leaq 0x249a9(%rip), %rsi     # 0x3f92f
callq 0xc060
andq $0x0, 0x80(%rsp)
movq %r14, 0x88(%rsp)
leaq 0x238e2(%rip), %rdi     # 0x3e885
leaq 0x2498c(%rip), %rsi     # 0x3f936
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x24960(%rip), %r15     # 0x3f93b
movq %r15, %rsi
movq %r14, %rdx
callq 0xc380
movq (%rbx), %rdi
leaq 0x24956(%rip), %rsi     # 0x3f946
xorl %edx, %edx
callq 0xcc70
movq (%rbx), %rdi
movq %r15, %rsi
callq 0xc060
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1b032
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1b02b
movq %r14, 0x88(%rsp)
callq 0xc0d0
jmp 0x1b002
movq (%rbx), %rdi
leaq 0x248ea(%rip), %rsi     # 0x3f926
callq 0xc060
movq (%rbx), %rdi
leaq 0x24867(%rip), %rsi     # 0x3f8b2
callq 0xc060
movq %rbx, %rdi
callq 0x1b641
movq (%rbx), %rdi
leaq 0x2468a(%rip), %rsi     # 0x3f6ec
callq 0xc060
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1b08e
movq 0x1040(%rdi), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
jne 0x1b087
movq %r13, 0x28(%rsp)
callq 0xc0d0
jmp 0x1b067
incl %ebp
addq $0x78, %r12
jmp 0x1aad7
movq (%rbx), %rdi
leaq 0x248ba(%rip), %rsi     # 0x3f95d
xorl %edx, %edx
callq 0xc380
cmpb $0x0, 0x9(%rbx)
je 0x1b0cc
movq %rbx, %rdi
movl $0xffff45f7, %esi       # imm = 0xFFFF45F7
callq 0x1bc13
movq %rbx, %rdi
movl $0x5e08f3, %esi         # imm = 0x5E08F3
movl $0x5d741f, %edx         # imm = 0x5D741F
jmp 0x1b0e3
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1bc13
movq %rbx, %rdi
movl $0x8e0b29, %esi         # imm = 0x8E0B29
movl $0x5cbf75, %edx         # imm = 0x5CBF75
callq 0x1bcc3
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl %edx, %esi
xorl %ecx, %ecx
callq 0x1b12f
movq %rbx, %rdi
callq 0x1b641
movq (%rbx), %rdi
leaq 0x24854(%rip), %rsi     # 0x3f95d
callq 0xc060
movq (%rbx), %rdi
leaq 0x245a9(%rip), %rsi     # 0x3f6c1
callq 0xc060
addq $0x8a8, %rsp            # imm = 0x8A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq