// File: /workspace/github_c_makefile_star2_O1/Paxa[P]fast_excel/libxlsxwriter/src/drawing.c
// Function: drawing_write_graphic_frame
STATIC void
_drawing_write_graphic_frame(lxw_drawing *self, uint32_t index,
                             uint32_t rel_index,
                             lxw_drawing_object *drawing_object)
{
    struct xml_attribute_list attributes;
    struct xml_attribute *attribute;

    LXW_INIT_ATTRIBUTES();
    LXW_PUSH_ATTRIBUTES_STR("macro", "");

    lxw_xml_start_tag(self->file, "xdr:graphicFrame", &attributes);

    /* Write the xdr:nvGraphicFramePr element. */
    _drawing_write_nv_graphic_frame_pr(self, index, drawing_object);

    /* Write the xdr:xfrm element. */
    _drawing_write_xfrm(self);

    /* Write the a:graphic element. */
    _drawing_write_a_graphic(self, rel_index);

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

    LXW_FREE_ATTRIBUTES();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x938, %rsp            # imm = 0x938
movq %rcx, %r15
movl %edx, 0xc(%rsp)
movl %esi, %r12d
movq %rdi, %r14
xorl %ebx, %ebx
leaq 0x10(%rsp), %r13
movq %rbx, (%r13)
movq %r13, 0x8(%r13)
leaq 0x247d1(%rip), %rdi     # 0x42727
leaq 0x2b6fc(%rip), %rsi     # 0x49659
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %rbx, 0x1040(%rax)
movq 0x8(%r13), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r13)
movq (%r14), %rdi
leaq 0x247a8(%rip), %rsi     # 0x4272d
movq %r13, %rdx
callq 0xc350
movq (%r14), %rdi
leaq 0x247a7(%rip), %rsi     # 0x4273e
xorl %edx, %edx
callq 0xc350
leaq 0x2311d(%rip), %rsi     # 0x410c2
movq %r14, %rdi
movl %r12d, %edx
movq %r15, %rcx
callq 0x1e529
cmpb $0x0, 0x8(%r14)
movq (%r14), %rdi
leaq 0x24883(%rip), %rsi     # 0x42845
je 0x1dfd0
xorl %edx, %edx
callq 0xcc00
jmp 0x1e066
xorl %ebx, %ebx
xorl %edx, %edx
callq 0xc350
leaq 0x110(%rsp), %r15
movq %rbx, (%r15)
movq %r15, 0x8(%r15)
leaq 0x2486c(%rip), %rdi     # 0x4285b
movl $0x1, %esi
callq 0xc180
leaq 0x1040(%rax), %rcx
movq %rbx, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%r14), %rdi
leaq 0x24845(%rip), %rsi     # 0x42861
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x1e057
movq 0x1040(%rdi), %rax
movq %rax, 0x110(%rsp)
testq %rax, %rax
jne 0x1e048
movq %r15, 0x118(%rsp)
callq 0xc0c0
movq 0x110(%rsp), %rdi
jmp 0x1e027
movq (%r14), %rdi
leaq 0x247e4(%rip), %rsi     # 0x42845
callq 0xc060
movq (%r14), %rdi
leaq 0x246ce(%rip), %rsi     # 0x4273e
callq 0xc060
movq (%r14), %rdi
leaq 0x247f6(%rip), %rsi     # 0x42875
xorl %r13d, %r13d
xorl %edx, %edx
callq 0xc350
leaq 0x110(%rsp), %r15
movq %r13, (%r15)
movq %r15, 0x8(%r15)
leaq 0x2b5aa(%rip), %rdi     # 0x49649
leaq 0x276f0(%rip), %r12     # 0x45796
movq %r12, %rsi
callq 0xc030
movl $0x1040, %ebx           # imm = 0x1040
leaq (%rax,%rbx), %rcx
movq %r13, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
leaq 0x2447a(%rip), %rdi     # 0x4254a
movq %r12, %rsi
callq 0xc030
leaq (%rax,%rbx), %rcx
movq %r13, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%r14), %rdi
leaq 0x24786(%rip), %rsi     # 0x4287e
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x1e133
movq 0x1040(%rdi), %rax
movq %rax, 0x110(%rsp)
testq %rax, %rax
jne 0x1e124
movq %r15, 0x118(%rsp)
callq 0xc0c0
movq 0x110(%rsp), %rdi
jmp 0x1e103
xorl %r13d, %r13d
movq %r13, 0x110(%rsp)
movq %r15, 0x118(%rsp)
leaq 0x24737(%rip), %rdi     # 0x42884
leaq 0x27642(%rip), %r12     # 0x45796
movq %r12, %rsi
callq 0xc030
leaq (%rax,%rbx), %rcx
movq %r13, 0x1040(%rax)
movq 0x118(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x118(%rsp)
leaq 0x24706(%rip), %rdi     # 0x42887
movq %r12, %rsi
callq 0xc030
addq %rax, %rbx
movq %r13, 0x1040(%rax)
movq 0x118(%rsp), %rcx
movq %rax, (%rcx)
movq %rbx, 0x118(%rsp)
movq (%r14), %rdi
leaq 0x24609(%rip), %rsi     # 0x427b9
movq %r15, %rdx
callq 0xcc00
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x1e1e8
movq 0x1040(%rdi), %rax
movq %rax, 0x110(%rsp)
testq %rax, %rax
jne 0x1e1e1
movq %r15, 0x118(%rsp)
callq 0xc0c0
jmp 0x1e1b8
movq (%r14), %rdi
leaq 0x24683(%rip), %rsi     # 0x42875
callq 0xc060
movq (%r14), %rdi
leaq 0x24689(%rip), %rsi     # 0x4288a
xorl %ebx, %ebx
xorl %edx, %edx
callq 0xc350
movaps 0x2397f(%rip), %xmm0    # 0x41b90
leaq 0x90(%rsp), %rsi
movaps %xmm0, 0x20(%rsi)
movaps 0x2395c(%rip), %xmm0    # 0x41b80
movaps %xmm0, 0x10(%rsi)
movaps 0x23941(%rip), %xmm0    # 0x41b70
movaps %xmm0, (%rsi)
movabsq $0x74726168632f36, %r12 # imm = 0x74726168632F36
movq %r12, 0x2f(%rsi)
leaq 0x20(%rsp), %r15
movq %rbx, (%r15)
movq %r15, 0x8(%r15)
leaq 0x24593(%rip), %rdi     # 0x427e6
callq 0xc030
movl $0x1040, %r13d          # imm = 0x1040
leaq (%rax,%r13), %rcx
movq %rbx, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%r14), %rdi
leaq 0x24616(%rip), %rsi     # 0x42894
movq %r15, %rdx
callq 0xc350
leaq 0xd0(%rsp), %rbx
movaps 0x238fb(%rip), %xmm0    # 0x41b90
movaps %xmm0, 0x20(%rbx)
movaps 0x238e0(%rip), %xmm0    # 0x41b80
movaps %xmm0, 0x10(%rbx)
movaps 0x238c5(%rip), %xmm0    # 0x41b70
movaps %xmm0, (%rbx)
movq %r12, 0x2f(%rbx)
leaq 0x23937(%rip), %rsi     # 0x41bf0
leaq 0x40(%rsp), %rax
movl $0x8, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movl $0x737069, 0x40(%rax)   # imm = 0x737069
leaq 0x24492(%rip), %rdx     # 0x42769
leaq 0x110(%rsp), %rdi
movl $0x20, %esi
movl 0xc(%rsp), %ecx
xorl %eax, %eax
callq 0xc570
leaq 0x30(%rsp), %r12
xorl %ebp, %ebp
movq %rbp, (%r12)
movq %r12, 0x8(%r12)
leaq 0x234d7(%rip), %rdi     # 0x417dd
movq %rbx, %rsi
callq 0xc030
leaq (%rax,%r13), %rcx
movq %rbp, 0x1040(%rax)
xorl %ebx, %ebx
movq 0x8(%r12), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r12)
leaq 0x234be(%rip), %rdi     # 0x417ed
leaq 0x40(%rsp), %rsi
callq 0xc030
leaq (%rax,%r13), %rcx
movq %rbx, 0x1040(%rax)
movq 0x8(%r12), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r12)
leaq 0x24417(%rip), %rdi     # 0x4276f
leaq 0x110(%rsp), %rsi
callq 0xc030
addq %rax, %r13
movq %rbx, 0x1040(%rax)
movq 0x8(%r12), %rcx
movq %rax, (%rcx)
movq %r13, 0x8(%r12)
movq (%r14), %rdi
leaq 0x2348b(%rip), %rsi     # 0x41811
movq %r12, %rdx
callq 0xcc00
movq (%r12), %rdi
testq %rdi, %rdi
je 0x1e3b9
movq 0x1040(%rdi), %rax
movq %rax, 0x30(%rsp)
testq %rax, %rax
jne 0x1e3ad
movq %r12, 0x38(%rsp)
callq 0xc0c0
movq 0x30(%rsp), %rdi
jmp 0x1e392
movq (%r14), %rdi
leaq 0x244d1(%rip), %rsi     # 0x42894
callq 0xc060
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1e3ef
movq 0x1040(%rdi), %rax
movq %rax, 0x20(%rsp)
testq %rax, %rax
jne 0x1e3e8
movq %r15, 0x28(%rsp)
callq 0xc0c0
jmp 0x1e3c8
movq (%r14), %rdi
leaq 0x24491(%rip), %rsi     # 0x4288a
callq 0xc060
movq (%r14), %rdi
leaq 0x24325(%rip), %rsi     # 0x4272d
callq 0xc060
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
leaq 0x10(%rsp), %rbx
je 0x1e441
movq 0x1040(%rdi), %rax
movq %rax, 0x10(%rsp)
testq %rax, %rax
jne 0x1e432
movq %rbx, 0x18(%rsp)
callq 0xc0c0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
jne 0x1e41c
addq $0x938, %rsp            # imm = 0x938
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq