// File: /workspace/github_c_makefile_star2_O3/Paxa[P]fast_excel/libxlsxwriter/src/chart.c
// Function: chart_write_rich
STATIC void
_chart_write_rich(lxw_chart *self, char *name, lxw_chart_font *font,
                  uint8_t is_horizontal, uint8_t ignore_rich_pr)
{
    int32_t rotation = 0;

    if (font)
        rotation = font->rotation;

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

    /* Write the a:bodyPr element. */
    _chart_write_a_body_pr(self, rotation, is_horizontal);

    /* Write the a:lstStyle element. */
    _chart_write_a_lst_style(self);

    /* Write the a:p element. */
    _chart_write_a_p_rich(self, name, font, ignore_rich_pr);

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movl %ecx, %r12d
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
testq %rdx, %rdx
je 0x18cee
movl 0x14(%r15), %r13d
jmp 0x18cf1
xorl %r13d, %r13d
movq (%rbx), %rdi
leaq 0x284da(%rip), %rsi     # 0x411d5
xorl %edx, %edx
callq 0xc350
movzbl %r12b, %edx
movq %rbx, %rdi
movl %r13d, %esi
callq 0x190ed
movq (%rbx), %rdi
leaq 0x284eb(%rip), %rsi     # 0x41206
xorl %edx, %edx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x284e5(%rip), %rsi     # 0x41211
xorl %edx, %edx
callq 0xc350
testb %bpl, %bpl
jne 0x18d43
movq %rbx, %rdi
movq %r15, %rsi
callq 0x19228
movq %r14, 0x10(%rsp)
movq (%rbx), %rdi
leaq 0x28525(%rip), %rsi     # 0x41277
xorl %ebp, %ebp
xorl %edx, %edx
callq 0xc350
movq %rsp, %r13
movq %rbp, (%r13)
movq %r13, 0x8(%r13)
leaq 0x28a82(%rip), %rdi     # 0x417ef
leaq 0x28507(%rip), %rsi     # 0x4127b
callq 0xc030
leaq 0x1040(%rax), %rcx
movq %rbp, 0x1040(%rax)
movq 0x8(%r13), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%r13)
testq %r15, %r15
je 0x18db9
movl 0x18(%r15), %eax
testl %eax, %eax
setne %bpl
movb $0x1, %r14b
cmpq $0x0, (%r15)
movb $0x1, %r12b
jne 0x18de2
cmpb $0x0, 0x1c(%r15)
je 0x18dc1
movb $0x1, %r14b
jmp 0x18de2
xorl %r14d, %r14d
jmp 0x18f35
testl %eax, %eax
setne %al
cmpb $0x0, 0x1d(%r15)
setne %r14b
orb %r14b, %al
testb $0x1, %al
jne 0x18de2
cmpb $-0x1, 0x1e(%r15)
sete %r12b
xorl %r14d, %r14d
movsd 0x8(%r15), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x18e1d
leaq 0x28422(%rip), %rdi     # 0x4121b
callq 0xcc80
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movzbl 0x10(%r15), %esi
testb %r12b, %r12b
je 0x18e64
testq %rsi, %rsi
je 0x18e5a
andl $0x1, %esi
leaq 0x271cf(%rip), %rdi     # 0x40005
callq 0xc180
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movb 0x11(%r15), %al
testb %al, %al
jne 0x18e96
jmp 0x18ec6
andl $0x1, %esi
leaq 0x27197(%rip), %rdi     # 0x40005
callq 0xc180
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movb 0x11(%r15), %al
andb $0x1, %al
movzbl %al, %esi
leaq 0x2fd1a(%rip), %rdi     # 0x48bbc
callq 0xc180
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
cmpb $0x0, 0x12(%r15)
je 0x18eff
leaq 0x29834(%rip), %rdi     # 0x42708
leaq 0x28343(%rip), %rsi     # 0x4121e
callq 0xc030
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movsbq 0x1e(%r15), %rsi
cmpq $-0x1, %rsi
je 0x18f35
leaq 0x28311(%rip), %rdi     # 0x41222
callq 0xc180
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movl %r14d, %eax
orb %bpl, %al
movq (%rbx), %rdi
leaq 0x2833c(%rip), %rsi     # 0x41281
testb $0x1, %al
je 0x18f9a
movq %rsp, %r12
movq %r12, %rdx
callq 0xc350
testb %bpl, %bpl
je 0x18f67
movl 0x18(%r15), %esi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x195a2
testb %r14b, %r14b
movq 0x10(%rsp), %r14
je 0x19069
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x18fac
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x18f93
movq %r12, 0x8(%rsp)
callq 0xc0c0
jmp 0x18f75
movq %rsp, %rdx
callq 0xcc00
movq 0x10(%rsp), %r14
jmp 0x19094
movq (%r15), %rsi
testq %rsi, %rsi
je 0x18fdf
leaq 0x28279(%rip), %rdi     # 0x41234
callq 0xc030
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movzbl 0x1c(%r15), %esi
testq %rsi, %rsi
je 0x19021
leaq 0x2824d(%rip), %rdi     # 0x4123d
callq 0xc180
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
cmpb $0x0, 0x1c(%r15)
je 0x19021
movb 0x1d(%r15), %al
jmp 0x19029
movb 0x1d(%r15), %al
testb %al, %al
je 0x19057
movzbl %al, %esi
leaq 0x28216(%rip), %rdi     # 0x41249
callq 0xc180
leaq 0x1040(%rax), %rcx
movq $0x0, 0x1040(%rax)
movq 0x8(%rsp), %rdx
movq %rax, (%rdx)
movq %rcx, 0x8(%rsp)
movq (%rbx), %rdi
leaq 0x281f0(%rip), %rsi     # 0x41251
movq %rsp, %rdx
callq 0xcc00
movq (%rbx), %rdi
leaq 0x2820e(%rip), %rsi     # 0x41281
callq 0xc060
jmp 0x19094
movq 0x1040(%rdi), %rax
movq %rax, (%rsp)
testq %rax, %rax
jne 0x1908f
movq %r13, 0x8(%rsp)
callq 0xc0c0
movq (%rsp), %rdi
testq %rdi, %rdi
jne 0x1907a
movq (%rbx), %rdi
leaq 0x281e0(%rip), %rsi     # 0x41287
movq %r14, %rdx
xorl %ecx, %ecx
callq 0xcb30
movq (%rbx), %rdi
leaq 0x281bc(%rip), %rsi     # 0x41277
callq 0xc060
movq (%rbx), %rdi
leaq 0x28147(%rip), %rsi     # 0x41211
callq 0xc060
movq (%rbx), %rdi
leaq 0x280fc(%rip), %rsi     # 0x411d5
callq 0xc060
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq