// File: /workspace/github_c_makefile_star2_O2/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 0x26409(%rip), %rsi     # 0x3e770
xorl %edx, %edx
callq 0xc380
movq %rsp, %r14
andq $0x0, (%r14)
movq %r14, 0x8(%r14)
movb 0x8(%rbx), %al
andb $-0x2, %al
cmpb $0x12, %al
leaq 0x263f8(%rip), %rax     # 0x3e77f
leaq 0x263fe(%rip), %rsi     # 0x3e78c
cmoveq %rax, %rsi
leaq 0x260b3(%rip), %rdi     # 0x3e44c
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 0x263d5(%rip), %rsi     # 0x3e797
movq %r14, %rdx
callq 0xcc70
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x183ef
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x183e8
movq %r14, 0x8(%rsp)
callq 0xc0d0
jmp 0x183ca
movq 0x128(%rbx), %r14
leaq 0x25cf8(%rip), %r12     # 0x3e0f5
leaq 0x263a2(%rip), %r13     # 0x3e7a6
leaq 0x263a2(%rip), %rbp     # 0x3e7ad
movq (%r14), %r14
testq %r14, %r14
je 0x1853d
cmpb $0xf, 0x8(%rbx)
jne 0x1843b
cmpq $0x0, 0x60(%r14)
jne 0x1843b
movups 0x26729(%rip), %xmm0    # 0x3eb54
movaps %xmm0, (%rsp)
movq %rsp, %rdi
callq 0x127d2
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 0xc380
movq %rbx, %rdi
movl %r15d, %esi
callq 0x148f0
movq %rbx, %rdi
movl %r15d, %esi
callq 0x14970
movq %rbx, %rdi
movq %r14, %rsi
callq 0x149f0
movq 0x60(%r14), %rsi
movq 0x68(%r14), %rdx
movq 0x70(%r14), %rcx
movq %rbx, %rdi
callq 0x1201b
movq 0x78(%r14), %rsi
movq %rbx, %rdi
callq 0x14a51
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14bbd
movq %rbx, %rdi
movq %r14, %rsi
callq 0x14c9d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x151bc
movq %rbx, %rdi
movq %r14, %rsi
callq 0x156b9
movq (%r14), %rax
movzbl 0x1d(%rax), %r15d
movq (%rbx), %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0xc380
movq (%r14), %rsi
movq %rbx, %rdi
movl %r15d, %edx
callq 0x16b4a
movq (%rbx), %rdi
movq %r13, %rsi
callq 0xc060
movq (%rbx), %rdi
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc380
movq 0x8(%r14), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x16b4a
movq (%rbx), %rdi
movq %rbp, %rsi
callq 0xc060
movzbl 0x94(%r14), %esi
movq %rbx, %rdi
callq 0x156e5
movq (%rbx), %rdi
movq %r12, %rsi
callq 0xc060
addq $0x110, %r14            # imm = 0x110
jmp 0x1840b
movq %rbx, %rdi
callq 0x148ae
movq (%rbx), %rdi
leaq 0x26221(%rip), %rsi     # 0x3e770
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq