// File: /workspace/github_c_makefile_star2_O2/Paxa[P]fast_excel/libxlsxwriter/src/chart.c
// Function: chart_write_plot_area
STATIC void
_chart_write_plot_area(lxw_chart *self)
{
    lxw_xml_start_tag(self->file, "c:plotArea", NULL);

    /* Write the c:layout element. */
    _chart_write_layout(self);

    /* Write subclass chart type elements for primary and secondary axes. */
    self->write_chart_type(self);

    /* Reverse the opposite axis position if crossing position is "max". */
    _chart_adjust_max_crossing(self);

    /* Write the c:catAx element. */
    _chart_write_cat_axis(self);

    /* Write the c:valAx element. */
    _chart_write_val_axis(self);

    /* Write the c:dTable element. */
    _chart_write_d_table(self);

    /* Write the c:spPr element for the plotarea formatting. */
    _chart_write_sp_pr(self, self->plotarea_line, self->plotarea_fill,
                       self->plotarea_pattern);

    lxw_xml_end_tag(self->file, "c:plotArea");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x2a5e3(%rip), %rsi     # 0x3e493
xorl %edx, %edx
callq 0xc380
movq %rbx, %rdi
callq 0x16d3e
movq %rbx, %rdi
callq *0x10(%rbx)
movq %rbx, %rdi
callq 0x16d4f
movq (%rbx), %rdi
leaq 0x2a5c7(%rip), %rsi     # 0x3e49e
xorl %edx, %edx
callq 0xc380
movl 0x84(%rbx), %esi
movq %rbx, %rdi
callq 0x16cbe
movq 0x20(%rbx), %rax
movzbl 0xb0(%rax), %esi
xorps %xmm0, %xmm0
xorps %xmm1, %xmm1
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x16f1e
movq 0x20(%rbx), %rax
cmpb $0x0, 0xaf(%rax)
je 0x13f25
movq %rbx, %rdi
callq 0x15cd8
movq 0x20(%rbx), %rax
movzbl 0xab(%rax), %esi
movq 0x28(%rbx), %rax
movzbl 0xb0(%rax), %edx
movq %rbx, %rdi
callq 0x17159
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x17202
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x17267
movb 0x98(%rbx), %al
movq 0x20(%rbx), %rsi
movb %al, 0x19(%rsi)
movq %rbx, %rdi
callq 0x172d2
movq 0x20(%rbx), %r14
movq 0x50(%r14), %r15
movq 0x58(%r14), %rsi
testq %r15, %r15
cmoveq %rsi, %r15
movq %r15, %rdi
callq 0xc860
testl %eax, %eax
jne 0x13f98
cmpb $0x0, 0x96(%rbx)
je 0x14046
testl %eax, %eax
sete %al
cmpb $0x0, 0x60(%r14)
setne %cl
orb %al, %cl
movzbl %cl, %r12d
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
movq %r14, 0x8(%r14)
leaq 0x2a4ad(%rip), %rdi     # 0x3e46c
movq %r15, %rsi
callq 0xc030
movl $0x1040, %r15d          # imm = 0x1040
andq $0x0, 0x1040(%rax)
leaq (%rax,%r15), %rcx
movq 0x8(%r14), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r14)
leaq 0x2a2a7(%rip), %rdi     # 0x3e292
movq %r12, %rsi
callq 0xc1a0
addq %rax, %r15
andq $0x0, 0x1040(%rax)
movq 0x8(%r14), %rcx
movq %rax, (%rcx)
movq %r15, 0x8(%r14)
movq (%rbx), %rdi
leaq 0x2a28c(%rip), %rsi     # 0x3e29f
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14042
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x1403b
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x1401b
movq 0x20(%rbx), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1739e
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x17445
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x174ec
movq 0x20(%rbx), %rax
movq 0x90(%rax), %rsi
movq 0x98(%rax), %rdx
movq 0xa0(%rax), %rcx
movq %rbx, %rdi
callq 0x1201b
movq 0x20(%rbx), %rax
movq 0x88(%rax), %rsi
movq %rbx, %rdi
callq 0x17592
movl 0x88(%rbx), %esi
movq %rbx, %rdi
callq 0x1761c
movq 0x28(%rbx), %rsi
cmpb $0x0, 0xf8(%rsi)
je 0x140ce
cmpb $0x0, 0xf9(%rsi)
jne 0x140ce
cmpb $0x0, 0xfa(%rsi)
je 0x145cd
movq %rbx, %rdi
callq 0x1769c
leaq 0x8(%rsp), %r14
andq $0x0, (%r14)
movq %r14, 0x8(%r14)
leaq 0x2a362(%rip), %rdi     # 0x3e44c
leaq 0x2e657(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x8(%r14), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r14)
movq (%rbx), %rdi
leaq 0x2a45a(%rip), %rsi     # 0x3e574
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14149
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x14142
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x14122
movq 0x20(%rbx), %rax
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movb 0xae(%rax), %al
cmpb $0x2, %al
leaq 0x2a112(%rip), %rcx     # 0x3e279
leaq 0x2a16a(%rip), %rdx     # 0x3e2d8
cmoveq %rcx, %rdx
cmpb $0x1, %al
leaq 0x2a29c(%rip), %rsi     # 0x3e417
cmovneq %rdx, %rsi
leaq 0x2a2c6(%rip), %rdi     # 0x3e44c
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a3ca(%rip), %rsi     # 0x3e57b
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x141e0
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x141d9
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x141b9
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x2a25a(%rip), %rdi     # 0x3e44c
leaq 0x2a38c(%rip), %rsi     # 0x3e585
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a365(%rip), %rsi     # 0x3e589
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14253
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x1424c
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x1422c
movq 0x20(%rbx), %rax
movzwl 0xf0(%rax), %esi
testq %rsi, %rsi
je 0x142d3
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x2a1d7(%rip), %rdi     # 0x3e44c
callq 0xc1a0
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a2f5(%rip), %rsi     # 0x3e595
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x142cf
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x142c8
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x142a8
movq 0x20(%rbx), %rax
movzwl 0xf2(%rax), %esi
testq %rsi, %rsi
je 0x1434b
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x2a15b(%rip), %rdi     # 0x3e44c
callq 0xc1a0
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a287(%rip), %rsi     # 0x3e5a3
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x1434b
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x14344
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x14324
movq (%rbx), %rdi
leaq 0x2a149(%rip), %rsi     # 0x3e49e
callq 0xc060
movq %rbx, %rdi
callq 0x16d78
cmpb $0x0, 0x130(%rbx)
je 0x14595
movq (%rbx), %rdi
leaq 0x2a309(%rip), %rsi     # 0x3e682
xorl %edx, %edx
callq 0xc380
cmpb $0x0, 0x132(%rbx)
je 0x143fc
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x2a0b1(%rip), %rdi     # 0x3e44c
leaq 0x2e3a6(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a2be(%rip), %rsi     # 0x3e68b
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x143fc
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x143f5
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x143d5
cmpb $0x0, 0x131(%rbx)
je 0x14478
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x2a035(%rip), %rdi     # 0x3e44c
leaq 0x2e32a(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a253(%rip), %rsi     # 0x3e69c
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14478
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x14471
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x14451
cmpb $0x0, 0x133(%rbx)
je 0x144f4
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x29fb9(%rip), %rdi     # 0x3e44c
leaq 0x2e2ae(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a1e8(%rip), %rsi     # 0x3e6ad
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x144f4
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x144ed
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x144cd
cmpb $0x0, 0x134(%rbx)
je 0x14570
andq $0x0, 0x8(%rsp)
movq %r14, 0x10(%rsp)
leaq 0x29f3d(%rip), %rdi     # 0x3e44c
leaq 0x2e232(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x2a17a(%rip), %rsi     # 0x3e6bb
movq %r14, %rdx
callq 0xcc70
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x14570
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x14569
movq %r14, 0x10(%rsp)
callq 0xc0d0
jmp 0x14549
movq 0x138(%rbx), %rdx
testq %rdx, %rdx
je 0x14586
movq %rbx, %rdi
xorl %esi, %esi
callq 0x159ee
movq (%rbx), %rdi
leaq 0x2a0f2(%rip), %rsi     # 0x3e682
callq 0xc060
movq 0xf0(%rbx), %rsi
movq 0xf8(%rbx), %rdx
movq 0x100(%rbx), %rcx
movq %rbx, %rdi
callq 0x1201b
movq (%rbx), %rdi
leaq 0x29ed7(%rip), %rsi     # 0x3e493
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
callq 0x17747
jmp 0x140d6