// File: /workspace/github_c_makefile_star2_O0/Paxa[P]fast_excel/libxlsxwriter/src/worksheet.c
// Function: worksheet_write_cf_rule
STATIC void
_worksheet_write_cf_rule(lxw_worksheet *self,
                         lxw_cond_format_obj *cond_format)
{
    if (cond_format->type == LXW_CONDITIONAL_TYPE_CELL) {

        _worksheet_write_cf_rule_cell(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_TEXT) {

        _worksheet_write_cf_rule_text(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_TIME_PERIOD) {

        _worksheet_write_cf_rule_time_period(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_DUPLICATE
             || cond_format->type == LXW_CONDITIONAL_TYPE_UNIQUE) {

        _worksheet_write_cf_rule_duplicate(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_AVERAGE) {

        _worksheet_write_cf_rule_average(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_TOP
             || cond_format->type == LXW_CONDITIONAL_TYPE_BOTTOM) {

        _worksheet_write_cf_rule_top(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_BLANKS
             || cond_format->type == LXW_CONDITIONAL_TYPE_NO_BLANKS
             || cond_format->type == LXW_CONDITIONAL_TYPE_ERRORS
             || cond_format->type == LXW_CONDITIONAL_TYPE_NO_ERRORS) {

        _worksheet_write_cf_rule_blanks(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_FORMULA) {

        _worksheet_write_cf_rule_formula(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_2_COLOR_SCALE
             || cond_format->type == LXW_CONDITIONAL_3_COLOR_SCALE) {

        _worksheet_write_cf_rule_color_scale(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_DATA_BAR) {

        _worksheet_write_cf_rule_data_bar(self, cond_format);
    }
    else if (cond_format->type == LXW_CONDITIONAL_TYPE_ICON_SETS) {

        _worksheet_write_cf_rule_icons(self, cond_format);
    }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x5ec8e
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x5ee10
jmp 0x5ee05
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x2, %eax
jne 0x5ecac
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x5f0a0
jmp 0x5ee03
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x3, %eax
jne 0x5ecca
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x5f5d0
jmp 0x5ee01
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x5, %eax
je 0x5ece2
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x6, %eax
jne 0x5ecf4
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x5fb20
jmp 0x5edff
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x4, %eax
jne 0x5ed12
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x5fc90
jmp 0x5edfd
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x7, %eax
je 0x5ed2a
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x8, %eax
jne 0x5ed3c
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x60010
jmp 0x5edfb
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x9, %eax
je 0x5ed6c
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xa, %eax
je 0x5ed6c
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xb, %eax
je 0x5ed6c
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xc, %eax
jne 0x5ed7b
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x60320
jmp 0x5edf9
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xd, %eax
jne 0x5ed96
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x605e0
jmp 0x5edf7
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xe, %eax
je 0x5edae
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0xf, %eax
jne 0x5edbd
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x607c0
jmp 0x5edf5
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x10, %eax
jne 0x5edd8
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x60a30
jmp 0x5edf3
movq -0x10(%rbp), %rax
movzbl (%rax), %eax
cmpl $0x11, %eax
jne 0x5edf1
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x60c50
jmp 0x5edf3
jmp 0x5edf5
jmp 0x5edf7
jmp 0x5edf9
jmp 0x5edfb
jmp 0x5edfd
jmp 0x5edff
jmp 0x5ee01
jmp 0x5ee03
jmp 0x5ee05
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)