// File: /workspace/github_c_makefile_star2_O3/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 0xcf30
leaq 0x25011(%rip), %rsi     # 0x42980
leaq 0x80(%rsp), %r14
movl $0x8, %ecx
movq %r14, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl $0x676e69, 0x40(%r14)   # imm = 0x676E69
movaps 0x2423f(%rip), %xmm0    # 0x41bd0
leaq 0x30(%rsp), %r12
movaps %xmm0, 0x20(%r12)
movaps 0x2421d(%rip), %xmm0    # 0x41bc0
movaps %xmm0, 0x10(%r12)
movaps 0x24200(%rip), %xmm0    # 0x41bb0
movaps %xmm0, (%r12)
movabsq $0x6e69616d2f3630, %rax # imm = 0x6E69616D2F3630
movq %rax, 0x2e(%r12)
xorl %r15d, %r15d
leaq 0x10(%rsp), %rbp
movq %r15, (%rbp)
movq %rbp, 0x8(%rbp)
leaq 0x24cef(%rip), %rdi     # 0x426ca
movq %r14, %rsi
callq 0xc030
movl $0x1040, %r13d          # imm = 0x1040
leaq (%rax,%r13), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rbp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rbp)
leaq 0x23dd7(%rip), %rdi     # 0x417dd
movq %r12, %rsi
callq 0xc030
addq %rax, %r13
movq %r15, 0x1040(%rax)
movq 0x8(%rbp), %rcx
movq %rax, (%rcx)
movq %r13, 0x8(%rbp)
movq (%rbx), %rdi
leaq 0x24c94(%rip), %rsi     # 0x426c1
movq %rbp, %rdx
callq 0xc350
movq (%rbp), %rdi
testq %rdi, %rdi
je 0x1da60
movq 0x1040(%rdi), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x1da54
movq %rbp, 0x18(%rsp)
callq 0xc0c0
movq 0x10(%rsp), %rdi
jmp 0x1da39
cmpb $0x0, 0x8(%rbx)
je 0x1e080
movq 0x10(%rbx), %rax
movq (%rax), %r12
testq %r12, %r12
je 0x1e103
movl $0x1, %ebp
leaq 0x20(%rsp), %r13
movq $0x0, 0x20(%rsp)
movq %r13, 0x28(%rsp)
movzbl 0x1(%r12), %eax
leaq 0x24c3c(%rip), %rsi     # 0x426db
cmpl $0x2, %eax
je 0x1dab0
cmpl $0x3, %eax
jne 0x1dadb
leaq 0x24c33(%rip), %rsi     # 0x426e3
leaq 0x24c1d(%rip), %rdi     # 0x426d4
callq 0xc030
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x28(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x28(%rsp)
movl %ebp, 0xc(%rsp)
movq %r14, %rbp
movq %r13, %rdx
movq (%rbx), %rdi
leaq 0x24bfd(%rip), %rsi     # 0x426ec
callq 0xc350
leaq 0x8(%r12), %r15
movq (%rbx), %rdi
leaq 0x24bfb(%rip), %r14     # 0x426fe
movq %r14, %rsi
xorl %edx, %edx
callq 0xc350
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1e655
movq (%rbx), %rdi
movq %r14, %rsi
callq 0xc060
leaq 0x20(%r12), %r15
movq (%rbx), %rdi
leaq 0x24bfe(%rip), %r14     # 0x42730
movq %r14, %rsi
xorl %edx, %edx
callq 0xc350
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1e655
movq (%rbx), %rdi
movq %r14, %rsi
callq 0xc060
movzbl (%r12), %eax
cmpl $0x1, %eax
je 0x1db88
cmpl $0x2, %eax
leaq 0x20(%rsp), %r13
movq %rbp, %r14
movl 0xc(%rsp), %ebp
jne 0x1e024
movl 0x54(%r12), %edx
movq %rbx, %rdi
movl %ebp, %esi
movq %r12, %rcx
callq 0x1e124
jmp 0x1e024
movq (%rbx), %rdi
leaq 0x24d20(%rip), %rsi     # 0x428b2
xorl %edx, %edx
callq 0xc350
movq (%rbx), %rdi
leaq 0x24d17(%rip), %rsi     # 0x428ba
xorl %edx, %edx
callq 0xc350
movq %rbx, %rdi
leaq 0x24d12(%rip), %rsi     # 0x428c6
movl 0xc(%rsp), %edx
movq %r12, %rcx
callq 0x1e72b
movq (%rbx), %rdi
leaq 0x24d04(%rip), %rsi     # 0x428ce
xorl %edx, %edx
callq 0xc350
xorl %r15d, %r15d
movq %r15, 0x80(%rsp)
movq %rbp, %r14
movq %rbp, 0x88(%rsp)
leaq 0x24ced(%rip), %rdi     # 0x428db
leaq 0x27b53(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x24cc5(%rip), %rsi     # 0x428ea
movq %rbp, %rdx
callq 0xcc00
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1dc5d
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1dc56
movq %r14, 0x88(%rsp)
callq 0xc0c0
jmp 0x1dc2d
movq (%rbx), %rdi
leaq 0x24c67(%rip), %rsi     # 0x428ce
callq 0xc060
movq (%rbx), %rdi
leaq 0x24c44(%rip), %rsi     # 0x428ba
callq 0xc060
movl 0x54(%r12), %r15d
movq (%rbx), %rdi
leaq 0x24c6b(%rip), %rsi     # 0x428f5
xorl %edx, %edx
callq 0xc350
movl $0x8, %ecx
leaq 0x30(%rsp), %r13
movq %r13, %rdi
leaq 0x23f4b(%rip), %rsi     # 0x41bf0
rep  movsq (%rsi), %es:(%rdi)
movl $0x737069, 0x70(%rsp)   # imm = 0x737069
movl $0x20, %esi
movq %r14, %rdi
leaq 0x24aba(%rip), %rdx     # 0x42779
movl %r15d, %ecx
xorl %eax, %eax
callq 0xc570
xorl %ebp, %ebp
movq %rbp, 0x10(%rsp)
leaq 0x10(%rsp), %r15
movq %r15, 0x18(%rsp)
leaq 0x23b04(%rip), %rdi     # 0x417e5
movq %r13, %rsi
callq 0xc030
movl $0x1040, %r13d          # imm = 0x1040
leaq (%rax,%r13), %rcx
movq %rbp, 0x1040(%rax)
movq 0x18(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x18(%rsp)
leaq 0x24bf4(%rip), %rdi     # 0x42902
movq %r14, %rsi
callq 0xc030
leaq (%rax,%r13), %rcx
movq %rbp, 0x1040(%rax)
movq 0x18(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x18(%rsp)
movq (%rbx), %rdi
leaq 0x24bd2(%rip), %rsi     # 0x4290a
movq %r15, %rdx
callq 0xcc00
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
leaq 0x20(%rsp), %r13
movl 0xc(%rsp), %ebp
je 0x1dd78
movq 0x1040(%rdi), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x1dd69
movq %r15, 0x18(%rsp)
callq 0xc0c0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
jne 0x1dd53
movq (%rbx), %rdi
leaq 0x24b8f(%rip), %r15     # 0x42911
movq %r15, %rsi
xorl %edx, %edx
callq 0xc350
movq (%rbx), %rdi
leaq 0x24b85(%rip), %rsi     # 0x4291b
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
movq %r15, %rsi
callq 0xc060
movq (%rbx), %rdi
leaq 0x24b43(%rip), %rsi     # 0x428f5
callq 0xc060
movq (%rbx), %rdi
leaq 0x24b65(%rip), %rsi     # 0x42926
xorl %edx, %edx
callq 0xc350
movq (%rbx), %rdi
leaq 0x24b5d(%rip), %rsi     # 0x4292f
xorl %edx, %edx
callq 0xc350
xorl %r15d, %r15d
movq %r15, 0x80(%rsp)
movq %r14, 0x88(%rsp)
movq 0x38(%r12), %rsi
leaq 0x2b931(%rip), %rdi     # 0x49729
callq 0xc180
movl $0x1040, %ecx           # imm = 0x1040
addq %rax, %rcx
movq %r15, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq 0x40(%r12), %rsi
leaq 0x2472f(%rip), %rdi     # 0x4255a
callq 0xc180
movl $0x1040, %ecx           # imm = 0x1040
addq %rax, %rcx
movq %r15, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x24a32(%rip), %rsi     # 0x4288e
movq %r14, %rdx
callq 0xcc00
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1de94
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1de8d
movq %r14, 0x88(%rsp)
callq 0xc0c0
jmp 0x1de64
xorl %r15d, %r15d
movq %r15, 0x80(%rsp)
movq %r14, 0x88(%rsp)
movl 0x48(%r12), %esi
leaq 0x249e1(%rip), %rdi     # 0x42894
callq 0xc180
movl $0x1040, %ecx           # imm = 0x1040
addq %rax, %rcx
movq %r15, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movl 0x4c(%r12), %esi
leaq 0x249b1(%rip), %rdi     # 0x42897
callq 0xc180
movl $0x1040, %ecx           # imm = 0x1040
addq %rax, %rcx
movq %r15, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x248b2(%rip), %rsi     # 0x427c9
movq %r14, %rdx
callq 0xcc00
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1df4f
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1df48
movq %r14, 0x88(%rsp)
callq 0xc0c0
jmp 0x1df1f
movq (%rbx), %rdi
leaq 0x249d6(%rip), %rsi     # 0x4292f
callq 0xc060
xorl %r15d, %r15d
movq %r15, 0x80(%rsp)
movq %r14, 0x88(%rsp)
leaq 0x2390d(%rip), %rdi     # 0x41885
leaq 0x249b7(%rip), %rsi     # 0x42936
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x88(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x88(%rsp)
movq (%rbx), %rdi
leaq 0x2498c(%rip), %r15     # 0x4293b
movq %r15, %rsi
movq %r14, %rdx
callq 0xc350
movq (%rbx), %rdi
leaq 0x24982(%rip), %rsi     # 0x42946
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
movq %r15, %rsi
callq 0xc060
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x1e006
movq 0x1040(%rdi), %rax
movq %rax, 0x80(%rsp)
testq %rax, %rax
jne 0x1dfff
movq %r14, 0x88(%rsp)
callq 0xc0c0
jmp 0x1dfd6
movq (%rbx), %rdi
leaq 0x24916(%rip), %rsi     # 0x42926
callq 0xc060
movq (%rbx), %rdi
leaq 0x24893(%rip), %rsi     # 0x428b2
callq 0xc060
movq (%rbx), %rdi
leaq 0x24920(%rip), %rsi     # 0x4294e
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x246ad(%rip), %rsi     # 0x426ec
callq 0xc060
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1e06b
movq 0x1040(%rdi), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
jne 0x1e064
movq %r13, 0x28(%rsp)
callq 0xc0c0
jmp 0x1e044
incl %ebp
movq 0x78(%r12), %r12
testq %r12, %r12
jne 0x1da84
jmp 0x1e103
movq (%rbx), %rdi
leaq 0x248d3(%rip), %rsi     # 0x4295d
xorl %edx, %edx
callq 0xc350
cmpb $0x0, 0x9(%rbx)
je 0x1e0b3
movq %rbx, %rdi
movl $0xffff45f7, %esi       # imm = 0xFFFF45F7
callq 0x1ec48
movq %rbx, %rdi
movl $0x5e08f3, %esi         # imm = 0x5E08F3
movl $0x5d741f, %edx         # imm = 0x5D741F
jmp 0x1e0ca
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1ec48
movq %rbx, %rdi
movl $0x8e0b29, %esi         # imm = 0x8E0B29
movl $0x5cbf75, %edx         # imm = 0x5CBF75
callq 0x1ecfb
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x1e124
movq (%rbx), %rdi
leaq 0x24861(%rip), %rsi     # 0x4294e
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x2485f(%rip), %rsi     # 0x4295d
callq 0xc060
movq (%rbx), %rdi
leaq 0x245b4(%rip), %rsi     # 0x426c1
callq 0xc060
addq $0x8a8, %rsp            # imm = 0x8A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq