// File: /workspace/github_c_makefile_star2_O0/Paxa[P]fast_excel/libxlsxwriter/src/styles.c
// Function: write_dxfs
STATIC void
_write_dxfs(lxw_styles *self)
{
    struct xml_attribute_list attributes;
    struct xml_attribute *attribute;
    lxw_format *format;
    uint32_t count = self->dxf_count;

    LXW_INIT_ATTRIBUTES();
    LXW_PUSH_ATTRIBUTES_INT("count", count);

    if (count) {
        lxw_xml_start_tag(self->file, "dxfs", &attributes);

        STAILQ_FOREACH(format, self->dxf_formats, list_pointers) {
            lxw_xml_start_tag(self->file, "dxf", NULL);

            if (format->has_dxf_font)
                _write_font(self, format, LXW_TRUE, LXW_FALSE);

            if (format->num_format_index)
                _write_num_fmt(self, format->num_format_index,
                               format->num_format);

            if (format->has_dxf_fill)
                _write_fill(self, format, LXW_TRUE);

            if (format->has_dxf_border)
                _write_border(self, format, LXW_TRUE);

            lxw_xml_end_tag(self->file, "dxf");
        }

        lxw_xml_end_tag(self->file, "dxfs");
    }
    else {
        lxw_xml_empty_tag(self->file, "dxfs", &attributes);
    }
    LXW_FREE_ATTRIBUTES();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x10(%rax), %eax
movl %eax, -0x2c(%rbp)
movq $0x0, -0x18(%rbp)
leaq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x32cb8
movl -0x2c(%rbp), %eax
movl %eax, %esi
leaq 0x35c51(%rip), %rdi     # 0x68915
callq 0xc1b0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq $0x0, 0x1040(%rax)
movq -0x20(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
addq $0x1040, %rax           # imm = 0x1040
movq %rax, -0x10(%rbp)
jmp 0x32cf7
cmpl $0x0, -0x2c(%rbp)
je 0x32e11
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0x36a22(%rip), %rsi     # 0x69731
leaq -0x18(%rbp), %rdx
callq 0xc390
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
je 0x32dfc
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0x369f6(%rip), %rsi     # 0x69736
xorl %eax, %eax
movl %eax, %edx
callq 0xc390
movq -0x28(%rbp), %rax
cmpb $0x0, 0x1b9(%rax)
je 0x32d6a
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x31e80
movq -0x28(%rbp), %rax
cmpw $0x0, 0x1b4(%rax)
je 0x32d97
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rax
movw 0x1b4(%rax), %ax
movq -0x28(%rbp), %rdx
addq $0x34, %rdx
movzwl %ax, %esi
callq 0x33a50
movq -0x28(%rbp), %rax
cmpb $0x0, 0x1f6(%rax)
je 0x32db6
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x1, %edx
callq 0x33da0
movq -0x28(%rbp), %rax
cmpb $0x0, 0x205(%rax)
je 0x32dd5
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
movl $0x1, %edx
callq 0x34210
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0x36953(%rip), %rsi     # 0x69736
callq 0xc060
movq -0x28(%rbp), %rax
movq 0x230(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x32d27
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0x36927(%rip), %rsi     # 0x69731
callq 0xc060
jmp 0x32e28
movq -0x8(%rbp), %rax
movq (%rax), %rdi
leaq 0x36912(%rip), %rsi     # 0x69731
leaq -0x18(%rbp), %rdx
callq 0xcca0
jmp 0x32e2a
jmp 0x32e2c
cmpq $0x0, -0x18(%rbp)
sete %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x32e3c
jmp 0x32e6e
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x1040(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, %rax
jne 0x32e61
leaq -0x18(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x32e63
movq -0x20(%rbp), %rdi
callq 0xc0d0
jmp 0x32e2c
jmp 0x32e70
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)