// File: /workspace/github_c_makefile_star2_O1/pali[P]bmfdec/bmf2mof.c
// Function: print_qualifiers
static void print_qualifiers(FILE *fout, struct mof_qualifier *qualifiers, uint32_t count, char *prefix) {
  uint32_t i;
  if (count > 0 || prefix) {
    fprintf(fout, "[");
    if (prefix) {
      fprintf(fout, "%s", prefix);
      if (count > 0)
        fprintf(fout, ", ");
    }
    for (i = 0; i < count; ++i) {
      switch (qualifiers[i].type) {
      case MOF_QUALIFIER_BOOLEAN:
        print_string(fout, qualifiers[i].name);
        if (!qualifiers[i].value.boolean)
          fprintf(fout, "(FALSE)");
        break;
      case MOF_QUALIFIER_SINT32:
        print_string(fout, qualifiers[i].name);
        fprintf(fout, "(%d)", qualifiers[i].value.sint32);
        break;
      case MOF_QUALIFIER_STRING:
        print_string(fout, qualifiers[i].name);
        fprintf(fout, "(\"");
        print_string(fout, qualifiers[i].value.string);
        fprintf(fout, "\")");
        break;
      default:
        fprintf(fout, "unknown");
        break;
      }
      if (qualifiers[i].toinstance || qualifiers[i].tosubclass || qualifiers[i].disableoverride || qualifiers[i].amended) {
        fprintf(fout, " :");
        if (qualifiers[i].toinstance)
          fprintf(fout, " ToInstance");
        if (qualifiers[i].tosubclass)
          fprintf(fout, " ToSubclass");
        if (qualifiers[i].disableoverride)
          fprintf(fout, " DisableOverride");
        if (qualifiers[i].amended)
          fprintf(fout, " Amended");
      }
      if (i != count-1)
        fprintf(fout, ", ");
    }
    fprintf(fout, "]");
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
testl %edx, %edx
sete %al
testq %rcx, %rcx
sete %cl
testb %cl, %al
jne 0x60c7
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
movl $0x5b, %edi
movq %rbx, %rsi
callq 0x10d0
testq %r12, %r12
je 0x5ef3
movq %r12, %rdi
movq %rbx, %rsi
callq 0x10c0
testl %r15d, %r15d
je 0x5ef3
leaq 0x1abf(%rip), %rdi      # 0x79a0
movl $0x2, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x1180
testl %r15d, %r15d
je 0x60ac
leal -0x1(%r15), %r12d
movl %r15d, %r15d
shlq $0x5, %r12
shlq $0x5, %r15
leaq 0x1aa9(%rip), %rbp      # 0x79bb
xorl %r13d, %r13d
movl (%r14,%r13), %eax
cmpl $0x3, %eax
je 0x5f7d
cmpl $0x2, %eax
je 0x5f58
cmpl $0x1, %eax
jne 0x5fc3
movq 0x8(%r14,%r13), %rsi
movq %rbx, %rdi
callq 0x5e29
cmpb $0x0, 0x18(%r14,%r13)
jne 0x5fdc
movl $0x7, %esi
movl $0x1, %edx
leaq 0x1a55(%rip), %rdi      # 0x79ab
jmp 0x5fd4
movq 0x8(%r14,%r13), %rsi
movq %rbx, %rdi
callq 0x5e29
movl 0x18(%r14,%r13), %edx
movq %rbx, %rdi
leaq 0x1a3f(%rip), %rsi      # 0x79b3
xorl %eax, %eax
callq 0x1100
jmp 0x5fdc
movq 0x8(%r14,%r13), %rsi
movq %rbx, %rdi
callq 0x5e29
movl $0x2, %esi
movl $0x1, %edx
leaq 0x197c(%rip), %rdi      # 0x7917
movq %rbx, %rcx
callq 0x1180
movq 0x18(%r14,%r13), %rsi
movq %rbx, %rdi
callq 0x5e29
movl $0x2, %esi
movl $0x1, %edx
leaq 0x19f7(%rip), %rdi      # 0x79b8
jmp 0x5fd4
movl $0x7, %esi
movl $0x1, %edx
leaq 0x1400(%rip), %rdi      # 0x73d4
movq %rbx, %rcx
callq 0x1180
testb $0xf, 0x10(%r14,%r13)
je 0x6081
movl $0x2, %esi
movl $0x1, %edx
movq %rbp, %rdi
movq %rbx, %rcx
callq 0x1180
testb $0x1, 0x10(%r14,%r13)
je 0x601e
movl $0xb, %esi
movl $0x1, %edx
leaq 0x19a8(%rip), %rdi      # 0x79be
movq %rbx, %rcx
callq 0x1180
testb $0x2, 0x10(%r14,%r13)
je 0x603f
movl $0xb, %esi
movl $0x1, %edx
leaq 0x1993(%rip), %rdi      # 0x79ca
movq %rbx, %rcx
callq 0x1180
testb $0x4, 0x10(%r14,%r13)
je 0x6060
movl $0x10, %esi
movl $0x1, %edx
leaq 0x197e(%rip), %rdi      # 0x79d6
movq %rbx, %rcx
callq 0x1180
testb $0x8, 0x10(%r14,%r13)
je 0x6081
movl $0x8, %esi
movl $0x1, %edx
leaq 0x196e(%rip), %rdi      # 0x79e7
movq %rbx, %rcx
callq 0x1180
cmpq %r13, %r12
je 0x609f
movl $0x2, %esi
movl $0x1, %edx
leaq 0x1909(%rip), %rdi      # 0x79a0
movq %rbx, %rcx
callq 0x1180
addq $0x20, %r13
cmpq %r13, %r15
jne 0x5f15
movl $0x5d, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x10d0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq