// File: /workspace/github_c_makefile_star2_O1/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 0x17ed6
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 0x29814(%rip), %rsi     # 0x411bc
xorl %edx, %edx
callq 0xc350
cmpq $0x0, 0x88(%r14)
movq %r14, 0x10(%rsp)
je 0x17bb3
cmpw $0x0, 0x92(%r14)
je 0x17bb3
xorl %r12d, %r12d
leaq 0x297e9(%rip), %rbp     # 0x411c4
xorl %r13d, %r13d
movq 0x88(%r14), %r15
cmpq $0x0, (%r15,%r12)
jne 0x17a08
cmpq $0x0, 0x30(%r15,%r12)
jne 0x17a08
cmpb $0x0, 0x8(%r15,%r12)
jne 0x17a08
cmpq $0x0, 0x10(%r15,%r12)
je 0x17b77
movq (%rbx), %rdi
movq %rbp, %r14
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc350
movzwl %r13w, %esi
movq %rbx, %rdi
callq 0x1759c
cmpb $0x0, 0x8(%r15,%r12)
je 0x17a39
movq %rbx, %rdi
callq 0x189b1
jmp 0x17b69
leaq (%r15,%r12), %rbp
cmpq $0x0, (%rbp)
je 0x17ac3
cmpq $0x0, 0x18(%r15,%r12)
jne 0x17a60
cmpq $0x0, 0x20(%r15,%r12)
jne 0x17a60
cmpq $0x0, 0x28(%r15,%r12)
je 0x17bab
xorl %ebp, %ebp
movq (%rbx), %rdi
leaq 0x29768(%rip), %rsi     # 0x411d4
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x29694(%rip), %rsi     # 0x41111
xorl %edx, %edx
callq 0xc350
movq (%r15,%r12), %rsi
movq 0x10(%r15,%r12), %rdx
movzbl %bpl, %r8d
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x18aa2
movq (%rbx), %rdi
leaq 0x2966c(%rip), %rsi     # 0x41111
callq 0xc060
movq 0x18(%r15,%r12), %rsi
movq 0x20(%r15,%r12), %rdx
movq 0x28(%r15,%r12), %rcx
movq %rbx, %rdi
callq 0x14fbe
jmp 0x17b18
cmpq $0x0, 0x30(%r15,%r12)
je 0x17b96
movq (%rbx), %rdi
leaq 0x296fb(%rip), %rsi     # 0x411d4
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x29627(%rip), %rsi     # 0x41111
xorl %edx, %edx
callq 0xc350
movq 0x30(%r15,%r12), %rsi
movq %rbx, %rdi
callq 0x18495
movq (%rbx), %rdi
leaq 0x29609(%rip), %rsi     # 0x41111
callq 0xc060
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x18a3a
movq 0x10(%rsp), %r15
movb 0x9d(%r15), %al
testb %al, %al
je 0x17b33
movzbl %al, %esi
movq %rbx, %rdi
callq 0x18765
cmpb $0x0, 0x97(%r15)
je 0x17b45
movq %rbx, %rdi
callq 0x18816
cmpb $0x0, 0x98(%r15)
je 0x17b57
movq %rbx, %rdi
callq 0x1889f
cmpb $0x0, 0x99(%r15)
je 0x17b69
movq %rbx, %rdi
callq 0x18928
movq (%rbx), %rdi
movq %r14, %rbp
movq %r14, %rsi
callq 0xc060
incq %r13
movq 0x10(%rsp), %r14
movzwl 0x92(%r14), %eax
addq $0x60, %r12
cmpq %rax, %r13
jb 0x179de
jmp 0x17bb3
cmpq $0x0, 0x10(%r15,%r12)
je 0x17b69
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x18a3a
jmp 0x17b69
movb $0x1, %bpl
jmp 0x17a62
movq 0xa0(%r14), %rsi
testq %rsi, %rsi
je 0x17c5f
xorl %r12d, %r12d
movq %rsp, %r15
movq %r12, (%r15)
movq %r15, 0x8(%r15)
leaq 0x2989d(%rip), %rdi     # 0x41474
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 0x2969b(%rip), %rdi     # 0x4129a
leaq 0x2db90(%rip), %rsi     # 0x45796
callq 0xc030
addq %rax, %r13
movq %r12, 0x1040(%rax)
movq 0x8(%r15), %rcx
movq %rax, (%rcx)
movq %r13, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x2967d(%rip), %rsi     # 0x412a7
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x17c5a
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x17c4f
movq %r15, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x17c35
movq 0x10(%rsp), %r14
movq 0xb0(%r14), %rsi
movq 0xb8(%r14), %rdx
movq 0xc0(%r14), %rcx
movq %rbx, %rdi
callq 0x14fbe
movq 0xa8(%r14), %rdx
testq %rdx, %rdx
je 0x17c92
movq %rbx, %rdi
xorl %esi, %esi
callq 0x186a6
movb 0x9d(%r14), %al
testb %al, %al
je 0x17ca8
movzbl %al, %esi
movq %rbx, %rdi
callq 0x18765
cmpb $0x0, 0x9b(%r14)
je 0x17d2a
xorl %r12d, %r12d
movq %rsp, %r15
movq %r12, (%r15)
movq %r15, 0x8(%r15)
leaq 0x2978e(%rip), %rdi     # 0x41454
leaq 0x2da6b(%rip), %rsi     # 0x45738
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 0x295f9(%rip), %rsi     # 0x412ee
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x17d25
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x17d1a
movq %r15, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x17d00
movq 0x10(%rsp), %r14
cmpb $0x0, 0x97(%r14)
je 0x17d3c
movq %rbx, %rdi
callq 0x18816
cmpb $0x0, 0x98(%r14)
je 0x17d4e
movq %rbx, %rdi
callq 0x1889f
cmpb $0x0, 0x99(%r14)
je 0x17d60
movq %rbx, %rdi
callq 0x18928
cmpb $0x0, 0x9c(%r14)
je 0x17de2
xorl %r12d, %r12d
movq %rsp, %r15
movq %r12, (%r15)
movq %r15, 0x8(%r15)
leaq 0x296d6(%rip), %rdi     # 0x41454
leaq 0x2d9b3(%rip), %rsi     # 0x45738
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 0x29577(%rip), %rsi     # 0x41324
movq %r15, %rdx
callq 0xcc00
movq (%r15), %rdi
testq %rdi, %rdi
je 0x17ddd
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x17dd2
movq %r15, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x17db8
movq 0x10(%rsp), %r14
movzbl 0x9e(%r14), %eax
cmpq $0x4, %rax
ja 0x17e24
leaq 0x28515(%rip), %rcx     # 0x4030c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x29537(%rip), %rdx     # 0x4133e
jmp 0x17e2b
leaq 0x2cb43(%rip), %rdx     # 0x44953
jmp 0x17e2b
leaq 0x29528(%rip), %rdx     # 0x41341
jmp 0x17e2b
leaq 0x31836(%rip), %rdx     # 0x49658
jmp 0x17e2b
leaq 0x29519(%rip), %rdx     # 0x41344
movq (%rbx), %rdi
leaq 0x294fd(%rip), %rsi     # 0x41332
xorl %ecx, %ecx
callq 0xcb30
cmpb $0x0, 0x9a(%r14)
je 0x17eb9
xorl %r15d, %r15d
movq %rsp, %r14
movq %r15, (%r14)
movq %r14, 0x8(%r14)
leaq 0x295fa(%rip), %rdi     # 0x41454
leaq 0x2d8d7(%rip), %rsi     # 0x45738
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 0x294be(%rip), %rsi     # 0x41347
movq %r14, %rdx
callq 0xcc00
movq (%r14), %rdi
testq %rdi, %rdi
je 0x17eb9
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x17eae
movq %r14, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
jmp 0x17e94
movq (%rbx), %rdi
leaq 0x292f9(%rip), %rsi     # 0x411bc
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq