// File: /workspace/github_c_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x2a770(%rip), %rsi     # 0x41493
xorl %edx, %edx
callq 0xc350
movq (%rbx), %rdi
leaq 0x2a498(%rip), %rsi     # 0x411cc
xorl %edx, %edx
callq 0xcc00
movq %rbx, %rdi
callq *0x10(%rbx)
movq 0x20(%rbx), %rax
movq 0x28(%rbx), %rcx
cmpb $0x0, 0xfa(%rax)
je 0x16d59
xorb $0x1, 0xab(%rcx)
cmpb $0x0, 0xfa(%rcx)
je 0x16d69
xorb $0x1, 0xab(%rax)
movq (%rbx), %rdi
leaq 0x2a72b(%rip), %rsi     # 0x4149e
xorl %edx, %edx
callq 0xc350
movl 0x84(%rbx), %esi
movq %rbx, %rdi
callq 0x19c7e
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 0x19ebf
movq 0x20(%rbx), %rax
cmpb $0x0, 0xaf(%rax)
je 0x16dc1
movq %rbx, %rdi
callq 0x18bd7
movq 0x20(%rbx), %rax
movzbl 0xab(%rax), %esi
movq 0x28(%rbx), %rax
movzbl 0xb0(%rax), %edx
movq %rbx, %rdi
callq 0x1a105
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x1a1b2
movq 0x20(%rbx), %rsi
movq %rbx, %rdi
callq 0x1a217
movb 0x98(%rbx), %al
movq 0x20(%rbx), %rsi
movb %al, 0x19(%rsi)
movq %rbx, %rdi
callq 0x1a282
movq 0x20(%rbx), %r14
movq 0x50(%r14), %r15
movq 0x58(%r14), %rsi
testq %r15, %r15
cmoveq %rsi, %r15
movq %r15, %rdi
callq 0xc800
testl %eax, %eax
jne 0x173c1
cmpb $0x0, 0x96(%rbx)
jne 0x173c1
movq 0x20(%rbx), %rax
movzbl 0x61(%rax), %esi
movq %rbx, %rdi
callq 0x1a360
movq 0x20(%rbx), %rax
movzbl 0x62(%rax), %esi
movq %rbx, %rdi
callq 0x1a414
movq 0x20(%rbx), %rax
movzbl 0xad(%rax), %esi
movq %rbx, %rdi
callq 0x1a4c8
movq 0x20(%rbx), %rax
movq 0x90(%rax), %rsi
movq 0x98(%rax), %rdx
movq 0xa0(%rax), %rcx
movq %rbx, %rdi
callq 0x1520f
movq 0x20(%rbx), %rax
movq 0x88(%rax), %rsi
movq %rbx, %rdi
callq 0x1a578
movl 0x88(%rbx), %esi
movq %rbx, %rdi
callq 0x1a60b
movq 0x28(%rbx), %rsi
cmpb $0x0, 0xf8(%rsi)
je 0x16ed0
cmpb $0x0, 0xf9(%rsi)
jne 0x16ed0
cmpb $0x0, 0xfa(%rsi)
je 0x1746e
movq %rbx, %rdi
callq 0x1a68f
xorl %r15d, %r15d
movq %rsp, %r14
movq %r15, (%r14)
movq %r14, 0x8(%r14)
leaq 0x2a560(%rip), %rdi     # 0x4144c
leaq 0x2e855(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%r14), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r14)
movq (%rbx), %rdi
leaq 0x2a659(%rip), %rsi     # 0x41574
movq %r14, %rdx
callq 0xcc00
movq (%r14), %rdi
testq %rdi, %rdi
je 0x16f4b
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x16f40
movq %r14, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x16f26
movq 0x20(%rbx), %rax
movb 0xae(%rax), %al
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
cmpb $0x2, %al
leaq 0x2a30f(%rip), %rcx     # 0x41279
leaq 0x2a367(%rip), %rdx     # 0x412d8
cmoveq %rcx, %rdx
cmpb $0x1, %al
leaq 0x2a499(%rip), %rsi     # 0x41417
cmovneq %rdx, %rsi
leaq 0x2a4c3(%rip), %rdi     # 0x4144c
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a5c8(%rip), %rsi     # 0x4157b
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x16fe0
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x16fd9
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x16fbb
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a459(%rip), %rdi     # 0x4144c
leaq 0x2a58b(%rip), %rsi     # 0x41585
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a565(%rip), %rsi     # 0x41589
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x17051
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1704a
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x1702c
movq 0x20(%rbx), %rax
movzwl 0xf0(%rax), %esi
testq %rsi, %rsi
je 0x170cb
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a3d8(%rip), %rdi     # 0x4144c
callq 0xc180
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a4f7(%rip), %rsi     # 0x41595
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x170cb
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x170c4
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x170a6
movq 0x20(%rbx), %rax
movzwl 0xf2(%rax), %esi
testq %rsi, %rsi
je 0x17145
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a35e(%rip), %rdi     # 0x4144c
callq 0xc180
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a48b(%rip), %rsi     # 0x415a3
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x17145
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1713e
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x17120
movq (%rbx), %rdi
leaq 0x2a34f(%rip), %rsi     # 0x4149e
callq 0xc060
movq %rbx, %rdi
callq 0x19d02
cmpb $0x0, 0x130(%rbx)
je 0x17387
movq (%rbx), %rdi
leaq 0x2a50f(%rip), %rsi     # 0x41682
xorl %edx, %edx
callq 0xc350
cmpb $0x0, 0x132(%rbx)
je 0x171f4
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a2b6(%rip), %rdi     # 0x4144c
leaq 0x2e5ab(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a4c4(%rip), %rsi     # 0x4168b
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x171f4
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x171ed
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x171cf
cmpb $0x0, 0x131(%rbx)
je 0x1726e
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a23c(%rip), %rdi     # 0x4144c
leaq 0x2e531(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a45b(%rip), %rsi     # 0x4169c
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1726e
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x17267
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x17249
cmpb $0x0, 0x133(%rbx)
je 0x172e8
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a1c2(%rip), %rdi     # 0x4144c
leaq 0x2e4b7(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a3f2(%rip), %rsi     # 0x416ad
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x172e8
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x172e1
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x172c3
cmpb $0x0, 0x134(%rbx)
je 0x17362
xorl %r15d, %r15d
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
leaq 0x2a148(%rip), %rdi     # 0x4144c
leaq 0x2e43d(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r15, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x2a386(%rip), %rsi     # 0x416bb
movq %r14, %rdx
callq 0xcc00
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x17362
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1735b
movq %r14, 0x8(%rsp)
callq 0xc0c0
jmp 0x1733d
movq 0x138(%rbx), %rdx
testq %rdx, %rdx
je 0x17378
movq %rbx, %rdi
xorl %esi, %esi
callq 0x188cc
movq (%rbx), %rdi
leaq 0x2a300(%rip), %rsi     # 0x41682
callq 0xc060
movq 0xf0(%rbx), %rsi
movq 0xf8(%rbx), %rdx
movq 0x100(%rbx), %rcx
movq %rbx, %rdi
callq 0x1520f
movq (%rbx), %rdi
leaq 0x2a0e5(%rip), %rsi     # 0x41493
callq 0xc060
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
testl %eax, %eax
sete %al
cmpb $0x0, 0x60(%r14)
setne %cl
orb %al, %cl
movzbl %cl, %r12d
xorl %r13d, %r13d
movq %rsp, %r14
movq %r13, (%r14)
movq %r14, 0x8(%r14)
leaq 0x2a084(%rip), %rdi     # 0x4146c
movq %r15, %rsi
callq 0xc030
movl $0x1040, %r15d          # imm = 0x1040
leaq (%rax,%r15), %rcx
movq %r13, 0x1040(%rax)
movq 0x8(%r14), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r14)
leaq 0x29e7f(%rip), %rdi     # 0x41292
movq %r12, %rsi
callq 0xc180
addq %rax, %r15
movq %r13, 0x1040(%rax)
movq 0x8(%r14), %rcx
movq %rax, (%rcx)
movq %r15, 0x8(%r14)
movq (%rbx), %rdi
leaq 0x29e65(%rip), %rsi     # 0x4129f
movq %r14, %rdx
callq 0xcc00
movq (%r14), %rdi
testq %rdi, %rdi
je 0x16e38
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x17463
movq %r14, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x17445
movsd 0x100(%rsi), %xmm0
movq %rbx, %rdi
callq 0x1a746
jmp 0x16ed8