// File: /workspace/github_c_makefile_star2_O2/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 0x151bb
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 0x294ec(%rip), %rsi     # 0x3e1b4
xorl %edx, %edx
callq 0xc380
cmpq $0x0, 0x88(%r14)
movq %r14, 0x10(%rsp)
je 0x14ec7
xorl %r12d, %r12d
leaq 0x294d0(%rip), %rbp     # 0x3e1bc
xorl %r13d, %r13d
movzwl 0x92(%r14), %eax
cmpq %rax, %r13
jae 0x14ec7
movq 0x88(%r14), %r15
cmpq $0x0, (%r15,%r12)
jne 0x14d2a
cmpq $0x0, 0x30(%r15,%r12)
jne 0x14d2a
cmpb $0x0, 0x8(%r15,%r12)
jne 0x14d2a
cmpq $0x0, 0x10(%r15,%r12)
je 0x14e99
movq (%rbx), %rdi
movq %rbp, %r14
movq %rbp, %rsi
xorl %edx, %edx
callq 0xc380
movzwl %r13w, %esi
movq %rbx, %rdi
callq 0x148f0
cmpb $0x0, 0x8(%r15,%r12)
je 0x14d5b
movq %rbx, %rdi
callq 0x15cd8
jmp 0x14e8b
leaq (%r15,%r12), %rbp
cmpq $0x0, (%rbp)
je 0x14de5
cmpq $0x0, 0x18(%r15,%r12)
jne 0x14d82
cmpq $0x0, 0x20(%r15,%r12)
jne 0x14d82
cmpq $0x0, 0x28(%r15,%r12)
je 0x14ebf
xorl %ebp, %ebp
movq (%rbx), %rdi
leaq 0x2943e(%rip), %rsi     # 0x3e1cc
xorl %edx, %edx
callq 0xcc70
movq (%rbx), %rdi
leaq 0x2936a(%rip), %rsi     # 0x3e109
xorl %edx, %edx
callq 0xc380
movq (%r15,%r12), %rsi
movq 0x10(%r15,%r12), %rdx
movzbl %bpl, %r8d
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x15dc3
movq (%rbx), %rdi
leaq 0x29342(%rip), %rsi     # 0x3e109
callq 0xc060
movq 0x18(%r15,%r12), %rsi
movq 0x20(%r15,%r12), %rdx
movq 0x28(%r15,%r12), %rcx
movq %rbx, %rdi
callq 0x1201b
jmp 0x14e3a
cmpq $0x0, 0x30(%r15,%r12)
je 0x14eaa
movq (%rbx), %rdi
leaq 0x293d1(%rip), %rsi     # 0x3e1cc
xorl %edx, %edx
callq 0xcc70
movq (%rbx), %rdi
leaq 0x292fd(%rip), %rsi     # 0x3e109
xorl %edx, %edx
callq 0xc380
movq 0x30(%r15,%r12), %rsi
movq %rbx, %rdi
callq 0x157c1
movq (%rbx), %rdi
leaq 0x292df(%rip), %rsi     # 0x3e109
callq 0xc060
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x15d5d
movq 0x10(%rsp), %r15
movb 0x9d(%r15), %al
testb %al, %al
je 0x14e55
movzbl %al, %esi
movq %rbx, %rdi
callq 0x15aa4
cmpb $0x0, 0x97(%r15)
je 0x14e67
movq %rbx, %rdi
callq 0x15b49
cmpb $0x0, 0x98(%r15)
je 0x14e79
movq %rbx, %rdi
callq 0x15bce
cmpb $0x0, 0x99(%r15)
je 0x14e8b
movq %rbx, %rdi
callq 0x15c53
movq (%rbx), %rdi
movq %r14, %rbp
movq %r14, %rsi
callq 0xc060
incq %r13
addq $0x60, %r12
movq 0x10(%rsp), %r14
jmp 0x14cef
cmpq $0x0, 0x10(%r15,%r12)
je 0x14e8b
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x15d5d
jmp 0x14e8b
movb $0x1, %bpl
jmp 0x14d84
movq 0xa0(%r14), %rsi
testq %rsi, %rsi
je 0x14f70
movq %rsp, %r15
andq $0x0, (%r15)
movq %r15, 0x8(%r15)
leaq 0x29583(%rip), %rdi     # 0x3e46c
callq 0xc030
movl $0x1040, %r12d          # imm = 0x1040
andq $0x0, 0x1040(%rax)
leaq (%rax,%r12), %rcx
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
leaq 0x29380(%rip), %rdi     # 0x3e292
leaq 0x2d88d(%rip), %rsi     # 0x427a6
callq 0xc030
addq %rax, %r12
andq $0x0, 0x1040(%rax)
movq 0x8(%r15), %rcx
movq %rax, (%rcx)
movq %r12, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x29361(%rip), %rsi     # 0x3e29f
movq %r15, %rdx
callq 0xcc70
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x14f6b
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x14f64
movq %r15, 0x8(%rsp)
callq 0xc0d0
jmp 0x14f46
movq 0x10(%rsp), %r14
movq 0xb0(%r14), %rsi
movq 0xb8(%r14), %rdx
movq 0xc0(%r14), %rcx
movq %rbx, %rdi
callq 0x1201b
movq 0xa8(%r14), %rdx
testq %rdx, %rdx
je 0x14fa3
movq %rbx, %rdi
xorl %esi, %esi
callq 0x159ee
movb 0x9d(%r14), %al
testb %al, %al
je 0x14fb9
movzbl %al, %esi
movq %rbx, %rdi
callq 0x15aa4
cmpb $0x0, 0x9b(%r14)
je 0x15037
movq %rsp, %r15
andq $0x0, (%r15)
movq %r15, 0x8(%r15)
leaq 0x29477(%rip), %rdi     # 0x3e44c
leaq 0x2d76c(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x292e1(%rip), %rsi     # 0x3e2e6
movq %r15, %rdx
callq 0xcc70
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x15032
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1502b
movq %r15, 0x8(%rsp)
callq 0xc0d0
jmp 0x1500d
movq 0x10(%rsp), %r14
cmpb $0x0, 0x97(%r14)
je 0x15049
movq %rbx, %rdi
callq 0x15b49
cmpb $0x0, 0x98(%r14)
je 0x1505b
movq %rbx, %rdi
callq 0x15bce
cmpb $0x0, 0x99(%r14)
je 0x1506d
movq %rbx, %rdi
callq 0x15c53
cmpb $0x0, 0x9c(%r14)
je 0x150eb
movq %rsp, %r15
andq $0x0, (%r15)
movq %r15, 0x8(%r15)
leaq 0x293c3(%rip), %rdi     # 0x3e44c
leaq 0x2d6b8(%rip), %rsi     # 0x42748
callq 0xc030
leaq 0x1040(%rax), %rcx
andq $0x0, 0x1040(%rax)
movq 0x8(%r15), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r15)
movq (%rbx), %rdi
leaq 0x29263(%rip), %rsi     # 0x3e31c
movq %r15, %rdx
callq 0xcc70
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x150e6
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x150df
movq %r15, 0x8(%rsp)
callq 0xc0d0
jmp 0x150c1
movq 0x10(%rsp), %r14
movsbq 0x9e(%r14), %rax
testq %rax, %rax
je 0x15125
movq (%rbx), %rdi
cmpb $0x4, %al
ja 0x15110
leaq 0x28322(%rip), %rcx     # 0x3d428
movslq -0x4(%rcx,%rax,4), %rdx
addq %rcx, %rdx
jmp 0x15117
leaq 0x29225(%rip), %rdx     # 0x3e33c
leaq 0x2920c(%rip), %rsi     # 0x3e32a
xorl %ecx, %ecx
callq 0xcba0
cmpb $0x0, 0x9a(%r14)
je 0x1519e
movq %rsp, %r14
andq $0x0, (%r14)
movq %r14, 0x8(%r14)
leaq 0x2930b(%rip), %rdi     # 0x3e44c
leaq 0x2d600(%rip), %rsi     # 0x42748
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 0x291ce(%rip), %rsi     # 0x3e33f
movq %r14, %rdx
callq 0xcc70
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1519e
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x15197
movq %r14, 0x8(%rsp)
callq 0xc0d0
jmp 0x15179
movq (%rbx), %rdi
leaq 0x2900c(%rip), %rsi     # 0x3e1b4
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq