// File: /workspace/github_c_makefile_star2_O3/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 0x263ee(%rip), %rsi     # 0x41770
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 0x263db(%rip), %rax     # 0x4177f
leaq 0x263e1(%rip), %rsi     # 0x4178c
cmoveq %rax, %rsi
leaq 0x26096(%rip), %rdi     # 0x4144c
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 0x263b9(%rip), %rsi     # 0x41797
movq %r14, %rdx
callq 0xcc00
movq (%r14), %rdi
testq %rdi, %rdi
je 0x1b40e
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1b403
movq %r14, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x1b3e9
movq 0x128(%rbx), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x1b573
leaq 0x25ccd(%rip), %r12     # 0x410f5
leaq 0x26377(%rip), %r13     # 0x417a6
leaq 0x26377(%rip), %rbp     # 0x417ad
cmpb $0xf, 0x8(%rbx)
jne 0x1b45a
cmpq $0x0, 0x60(%r14)
jne 0x1b45a
movups 0x2670a(%rip), %xmm0    # 0x41b54
movaps %xmm0, (%rsp)
movq %rsp, %rdi
callq 0x15988
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 0x177bc
movq %rbx, %rdi
movl %r15d, %esi
callq 0x17840
movq %rbx, %rdi
movq %r14, %rsi
callq 0x178c4
movq 0x60(%r14), %rsi
movq 0x68(%r14), %rdx
movq 0x70(%r14), %rcx
movq %rbx, %rdi
callq 0x1520f
movq 0x78(%r14), %rsi
movq %rbx, %rdi
callq 0x1792e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x17ab2
movq %rbx, %rdi
movq %r14, %rsi
callq 0x17ba6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x180f7
movq 0xc8(%r14), %rsi
movq %rbx, %rdi
callq 0x197ba
movq 0xd0(%r14), %rsi
movq %rbx, %rdi
callq 0x197ba
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 0x19ad4
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 0x19ad4
movq (%rbx), %rdi
movq %rbp, %rsi
callq 0xc060
movzbl 0x94(%r14), %esi
movq %rbx, %rdi
callq 0x185ef
movq (%rbx), %rdi
movq %r12, %rsi
callq 0xc060
movq 0x110(%r14), %r14
testq %r14, %r14
jne 0x1b436
movq %rbx, %rdi
callq 0x1777a
movq (%rbx), %rdi
leaq 0x261eb(%rip), %rsi     # 0x41770
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq