// File: /workspace/github_c_makefile_star2_O3/Paxa[P]fast_excel/libxlsxwriter/src/chart.c
// Function: chart_write_d_lbls
STATIC void
_chart_write_d_lbls(lxw_chart *self, lxw_chart_series *series)
{
    if (!series->has_labels)
        return;

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

    if (series->data_labels)
        _chart_write_custom_labels(self, series);

    /* Write the c:numFmt element. */
    if (series->label_num_format)
        _chart_write_label_num_fmt(self, series->label_num_format);

    /* Write the c:spPr element. */
    _chart_write_sp_pr(self, series->label_line, series->label_fill,
                       series->label_pattern);

    if (series->label_font)
        _chart_write_tx_pr(self, LXW_FALSE, series->label_font);

    /* Write the c:dLblPos element. */
    if (series->label_position)
        _chart_write_d_lbl_pos(self, series->label_position);

    /* Write the c:showLegendKey element. */
    if (series->show_labels_legend)
        _chart_write_show_legend_key(self);

    /* Write the c:showVal element. */
    if (series->show_labels_value)
        _chart_write_show_val(self);

    /* Write the c:showCatName element. */
    if (series->show_labels_category)
        _chart_write_show_cat_name(self);

    /* Write the c:showSerName element. */
    if (series->show_labels_name)
        _chart_write_show_ser_name(self);

    /* Write the c:showPercent element. */
    if (series->show_labels_percent)
        _chart_write_show_percent(self);

    /* Write the c:separator element. */
    if (series->label_separator)
        _chart_write_separator(self, series->label_separator);

    /* Write the c:showLeaderLines element. */
    if (series->show_labels_leader)
        _chart_write_show_leader_lines(self);

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

// Assembly:
cmpb $0x0, 0x96(%rsi)
je 0x180f6
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
leaq 0x295e3(%rip), %rsi     # 0x411b4
xorl %edx, %edx
callq 0xc350
cmpq $0x0, 0x88(%r14)
movq %r14, (%rsp)
je 0x17de6
movzwl 0x92(%r14), %eax
testw %ax, %ax
je 0x17de6
xorl %r12d, %r12d
leaq 0x295b7(%rip), %rbp     # 0x411bc
xorl %r13d, %r13d
movq 0x88(%r14), %r15
cmpq $0x0, (%r15,%r12)
jne 0x17c32
cmpq $0x0, 0x30(%r15,%r12)
jne 0x17c32
cmpb $0x0, 0x8(%r15,%r12)
jne 0x17c32
cmpq $0x0, 0x10(%r15,%r12)
je 0x17dac
movq (%rbx), %rdi
movq %rbp, %r14
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc350
movzwl %r13w, %esi
movq %rbx, %rdi
callq 0x177bc
cmpb $0x0, 0x8(%r15,%r12)
je 0x17c67
movq %rbx, %rdi
callq 0x18bd7
movq (%rsp), %r15
jmp 0x17d96
leaq (%r15,%r12), %rbp
cmpq $0x0, (%rbp)
je 0x17cf1
cmpq $0x0, 0x18(%r15,%r12)
jne 0x17c8e
cmpq $0x0, 0x20(%r15,%r12)
jne 0x17c8e
cmpq $0x0, 0x28(%r15,%r12)
je 0x17dde
xorl %ebp, %ebp
movq (%rbx), %rdi
leaq 0x29532(%rip), %rsi     # 0x411cc
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x2945e(%rip), %rsi     # 0x41109
xorl %edx, %edx
callq 0xc350
movq (%r15,%r12), %rsi
movq 0x10(%r15,%r12), %rdx
movzbl %bpl, %r8d
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x18cc6
movq (%rbx), %rdi
leaq 0x29436(%rip), %rsi     # 0x41109
callq 0xc060
movq 0x18(%r15,%r12), %rsi
movq 0x20(%r15,%r12), %rdx
movq 0x28(%r15,%r12), %rcx
movq %rbx, %rdi
callq 0x1520f
jmp 0x17d46
cmpq $0x0, 0x30(%r15,%r12)
je 0x17dc5
movq (%rbx), %rdi
leaq 0x294c5(%rip), %rsi     # 0x411cc
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x293f1(%rip), %rsi     # 0x41109
xorl %edx, %edx
callq 0xc350
movq 0x30(%r15,%r12), %rsi
movq %rbx, %rdi
callq 0x186bb
movq (%rbx), %rdi
leaq 0x293d3(%rip), %rsi     # 0x41109
callq 0xc060
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x18c60
movq (%rsp), %r15
movb 0x9d(%r15), %al
testb %al, %al
je 0x17d60
movzbl %al, %esi
movq %rbx, %rdi
callq 0x1898b
cmpb $0x0, 0x97(%r15)
je 0x17d72
movq %rbx, %rdi
callq 0x18a3c
cmpb $0x0, 0x98(%r15)
je 0x17d84
movq %rbx, %rdi
callq 0x18ac5
cmpb $0x0, 0x99(%r15)
je 0x17d96
movq %rbx, %rdi
callq 0x18b4e
movq (%rbx), %rdi
movq %r14, %rbp
movq %r14, %rsi
callq 0xc060
movzwl 0x92(%r15), %eax
incq %r13
movzwl %ax, %ecx
addq $0x60, %r12
cmpq %rcx, %r13
movq (%rsp), %r14
jb 0x17c08
jmp 0x17de6
cmpq $0x0, 0x10(%r15,%r12)
movq (%rsp), %r15
je 0x17d96
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x18c60
jmp 0x17d96
movb $0x1, %bpl
jmp 0x17c90
movq 0xa0(%r14), %rsi
testq %rsi, %rsi
je 0x17e95
xorl %r12d, %r12d
leaq 0x8(%rsp), %r15
movq %r12, (%r15)
movq %r15, 0x8(%r15)
leaq 0x29660(%rip), %rdi     # 0x4146c
callq 0xc030
movl $0x1040, %r13d          # imm = 0x1040
leaq (%rax,%r13), %rcx
movq %r12, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
leaq 0x2945e(%rip), %rdi     # 0x41292
leaq 0x2d96b(%rip), %rsi     # 0x457a6
callq 0xc030
addq %rax, %r13
movq %r12, 0x1040(%rax)
movq 0x8(%r15), %rcx
movq %rax, (%rcx)
movq %r13, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x29440(%rip), %rsi     # 0x4129f
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x17e91
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x17e85
movq %r15, 0x10(%rsp)
callq 0xc0c0
movq 0x8(%rsp), %rdi
jmp 0x17e6a
movq (%rsp), %r14
movq 0xb0(%r14), %rsi
movq 0xb8(%r14), %rdx
movq 0xc0(%r14), %rcx
movq %rbx, %rdi
callq 0x1520f
movq 0xa8(%r14), %rdx
testq %rdx, %rdx
je 0x17ec8
movq %rbx, %rdi
xorl %esi, %esi
callq 0x188cc
movb 0x9d(%r14), %al
testb %al, %al
je 0x17ede
movzbl %al, %esi
movq %rbx, %rdi
callq 0x1898b
cmpb $0x0, 0x9b(%r14)
je 0x17f63
xorl %r12d, %r12d
leaq 0x8(%rsp), %r15
movq %r12, (%r15)
movq %r15, 0x8(%r15)
leaq 0x2954e(%rip), %rdi     # 0x4144c
leaq 0x2d843(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r12, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x293b9(%rip), %rsi     # 0x412e6
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x17f5f
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x17f53
movq %r15, 0x10(%rsp)
callq 0xc0c0
movq 0x8(%rsp), %rdi
jmp 0x17f38
movq (%rsp), %r14
cmpb $0x0, 0x97(%r14)
je 0x17f75
movq %rbx, %rdi
callq 0x18a3c
cmpb $0x0, 0x98(%r14)
je 0x17f87
movq %rbx, %rdi
callq 0x18ac5
cmpb $0x0, 0x99(%r14)
je 0x17f99
movq %rbx, %rdi
callq 0x18b4e
cmpb $0x0, 0x9c(%r14)
je 0x1801e
xorl %r12d, %r12d
leaq 0x8(%rsp), %r15
movq %r12, (%r15)
movq %r15, 0x8(%r15)
leaq 0x29493(%rip), %rdi     # 0x4144c
leaq 0x2d788(%rip), %rsi     # 0x45748
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %r12, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x29334(%rip), %rsi     # 0x4131c
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x1801a
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x1800e
movq %r15, 0x10(%rsp)
callq 0xc0c0
movq 0x8(%rsp), %rdi
jmp 0x17ff3
movq (%rsp), %r14
movsbq 0x9e(%r14), %rax
testq %rax, %rax
je 0x18058
movq (%rbx), %rdi
cmpb $0x4, %al
ja 0x18043
leaq 0x283ef(%rip), %rcx     # 0x40428
movslq -0x4(%rcx,%rax,4), %rdx
addq %rcx, %rdx
jmp 0x1804a
leaq 0x292f2(%rip), %rdx     # 0x4133c
leaq 0x292d9(%rip), %rsi     # 0x4132a
xorl %ecx, %ecx
callq 0xcb30
cmpb $0x0, 0x9a(%r14)
je 0x180d9
xorl %r15d, %r15d
leaq 0x8(%rsp), %r14
movq %r15, (%r14)
movq %r14, 0x8(%r14)
leaq 0x293d4(%rip), %rdi     # 0x4144c
leaq 0x2d6c9(%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 0x29298(%rip), %rsi     # 0x4133f
movq %r14, %rdx
callq 0xcc00
movq (%r14), %rdi
testq %rdi, %rdi
je 0x180d9
movq 0x1040(%rdi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
jne 0x180cd
movq %r14, 0x10(%rsp)
callq 0xc0c0
movq 0x8(%rsp), %rdi
jmp 0x180b2
movq (%rbx), %rdi
leaq 0x290d1(%rip), %rsi     # 0x411b4
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq