// File: /workspace/github_c_makefile_star2_O1/Paxa[P]fast_excel/libxlsxwriter/src/chart.c
// Function: chart_write_scatter_chart
STATIC void
_chart_write_scatter_chart(lxw_chart *self)
{
    lxw_chart_series *series;

    lxw_xml_start_tag(self->file, "c:scatterChart", NULL);

    /* Write the c:scatterStyle element. */
    _chart_write_scatter_style(self);

    STAILQ_FOREACH(series, self->series_list, list_pointers) {

        /* Add default scatter chart formatting to the series data unless
         * it has already been specified by the user.*/
        if (self->type == LXW_CHART_SCATTER && !series->line) {
            lxw_chart_line line = {
                0x000000,
                LXW_TRUE,
                2.25,
                LXW_CHART_LINE_DASH_SOLID,
                0
            };
            series->line = _chart_convert_line_args(&line);
        }

        /* Write the c:ser element. */
        _chart_write_xval_ser(self, series);
    }

    /* Write the c:axId elements. */
    _chart_write_axis_ids(self);

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x2667e(%rip), %rsi     # 0x41778
xorl %r15d, %r15d
xorl %edx, %edx
callq 0xc350
movq %rsp, %r14
movq %r15, (%r14)
movq %r14, 0x8(%r14)
movb 0x8(%rbx), %al
andb $-0x2, %al
cmpb $0x12, %al
leaq 0x2666b(%rip), %rax     # 0x41787
leaq 0x26671(%rip), %rsi     # 0x41794
cmoveq %rax, %rsi
leaq 0x26326(%rip), %rdi     # 0x41454
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 0x26649(%rip), %rsi     # 0x4179f
movq %r14, %rdx
callq 0xcc00
movq (%r14), %rdi
testq %rdi, %rdi
je 0x1b186
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1b17b
movq %r14, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x1b161
movq 0x128(%rbx), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x1b2eb
leaq 0x25f5d(%rip), %r12     # 0x410fd
leaq 0x26607(%rip), %r13     # 0x417ae
leaq 0x26607(%rip), %rbp     # 0x417b5
cmpb $0xf, 0x8(%rbx)
jne 0x1b1d2
cmpq $0x0, 0x60(%r14)
jne 0x1b1d2
movups 0x2699a(%rip), %xmm0    # 0x41b5c
movaps %xmm0, (%rsp)
movq %rsp, %rdi
callq 0x1572d
movq %rax, 0x60(%r14)
movzwl 0xa(%rbx), %r15d
leal 0x1(%r15), %eax
movw %ax, 0xa(%rbx)
movq (%rbx), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0xc350
movq %rbx, %rdi
movl %r15d, %esi
callq 0x1759c
movq %rbx, %rdi
movl %r15d, %esi
callq 0x17620
movq %rbx, %rdi
movq %r14, %rsi
callq 0x176a4
movq 0x60(%r14), %rsi
movq 0x68(%r14), %rdx
movq 0x70(%r14), %rcx
movq %rbx, %rdi
callq 0x14fbe
movq 0x78(%r14), %rsi
movq %rbx, %rdi
callq 0x1770e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x17892
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1797d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x17ed7
movq 0xc8(%r14), %rsi
movq %rbx, %rdi
callq 0x19529
movq 0xd0(%r14), %rsi
movq %rbx, %rdi
callq 0x19529
movq (%r14), %rax
movzbl 0x1d(%rax), %r15d
movq (%rbx), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0xc350
movq (%r14), %rsi
movq %rbx, %rdi
movl %r15d, %edx
callq 0x19843
movq (%rbx), %rdi
movq %r13, %rsi
callq 0xc060
movq (%rbx), %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc350
movq 0x8(%r14), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x19843
movq (%rbx), %rdi
movq %rbp, %rsi
callq 0xc060
movzbl 0x94(%r14), %esi
movq %rbx, %rdi
callq 0x183c9
movq (%rbx), %rdi
movq %r12, %rsi
callq 0xc060
movq 0x110(%r14), %r14
testq %r14, %r14
jne 0x1b1ae
movq %rbx, %rdi
callq 0x17555
movq (%rbx), %rdi
leaq 0x2647b(%rip), %rsi     # 0x41778
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq