// File: /workspace/github_c_makefile_star2_O1/pali[P]bmfdec/bmfparse.c
// Function: print_qualifiers
static void print_qualifiers(FILE *fout, struct mof_qualifier *qualifiers, uint32_t count, int indent) {
  uint32_t i;
  for (i = 0; i < count; ++i) {
    fprintf(fout, "%*.sQualifier %u:\n", indent, "", i);
    fprintf(fout, "%*.s  Name=%s\n", indent, "", qualifiers[i].name);
    fprintf(fout, "%*.s  Flavors:\n", indent, "");
    fprintf(fout, "%*.s    ToInstance=%s\n", indent, "", qualifiers[i].toinstance ? "TRUE" : "FALSE");
    fprintf(fout, "%*.s    ToSubclass=%s\n", indent, "", qualifiers[i].tosubclass ? "TRUE" : "FALSE");
    fprintf(fout, "%*.s    DisableOverride=%s\n", indent, "", qualifiers[i].disableoverride ? "TRUE" : "FALSE");
    fprintf(fout, "%*.s    Amended=%s\n", indent, "", qualifiers[i].amended ? "TRUE" : "FALSE");
    switch (qualifiers[i].type) {
    case MOF_QUALIFIER_BOOLEAN:
      fprintf(fout, "%*.s  Type=Boolean\n", indent, "");
      fprintf(fout, "%*.s  Value=%s\n", indent, "", qualifiers[i].value.boolean ? "TRUE" : "FALSE");
      break;
    case MOF_QUALIFIER_SINT32:
      fprintf(fout, "%*.s  Type=Numeric\n", indent, "");
      fprintf(fout, "%*.s  Value=%d\n", indent, "", qualifiers[i].value.sint32);
      break;
    case MOF_QUALIFIER_STRING:
      fprintf(fout, "%*.s  Type=String\n", indent, "");
      fprintf(fout, "%*.s  Value=%s\n", indent, "", qualifiers[i].value.string);
      break;
    default:
      fprintf(fout, "%*.s  Type=Unknown\n", indent, "");
      break;
    }
  }
}

// Assembly:
testl %edx, %edx
je 0x5e4b
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
movl %edx, %eax
movq %rax, 0x8(%rsp)
addq $0x18, %r14
leaq 0x189f(%rip), %r12      # 0x751d
xorl %r8d, %r8d
movq %rbp, %rdi
leaq 0x1cee(%rip), %rsi      # 0x7979
movl %ebx, %edx
movq %r12, %rcx
movq %r8, 0x10(%rsp)
xorl %eax, %eax
callq 0x10f0
movq -0x10(%r14), %r8
movq %rbp, %rdi
leaq 0x1ce2(%rip), %rsi      # 0x798c
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movq %rbp, %rdi
leaq 0x1cdb(%rip), %rsi      # 0x799b
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
testb $0x1, -0x8(%r14)
leaq 0x1cea(%rip), %r13      # 0x79c2
movq %r13, %r8
movl %ebx, %r15d
movq %r12, %rbx
leaq 0x1cdf(%rip), %r12      # 0x79c7
cmoveq %r12, %r8
movq %rbp, %rdi
leaq 0x1cb5(%rip), %rsi      # 0x79ab
movl %r15d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x10f0
testb $0x2, -0x8(%r14)
movq %r13, %r8
cmoveq %r12, %r8
movq %rbp, %rdi
leaq 0x1cb4(%rip), %rsi      # 0x79cd
movl %r15d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x10f0
testb $0x4, -0x8(%r14)
movq %r13, %r8
cmoveq %r12, %r8
movq %rbp, %rdi
leaq 0x1ca8(%rip), %rsi      # 0x79e4
movl %r15d, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x10f0
testb $0x8, -0x8(%r14)
cmoveq %r12, %r13
movq %rbx, %r12
movl %r15d, %ebx
movq %rbp, %rdi
leaq 0x1c9e(%rip), %rsi      # 0x7a00
movl %r15d, %edx
movq %r12, %rcx
movq %r13, %r8
xorl %eax, %eax
callq 0x10f0
movl -0x18(%r14), %eax
movq %rbp, %rdi
cmpl $0x3, %eax
je 0x5de5
cmpl $0x2, %eax
je 0x5db7
cmpl $0x1, %eax
jne 0x5e13
leaq 0x1c81(%rip), %rsi      # 0x7a14
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
cmpb $0x0, (%r14)
leaq 0x1c18(%rip), %r8       # 0x79c2
leaq 0x1c16(%rip), %rax      # 0x79c7
cmoveq %rax, %r8
jmp 0x5dfb
leaq 0x1c7a(%rip), %rsi      # 0x7a38
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movl (%r14), %r8d
movq %rbp, %rdi
leaq 0x1c75(%rip), %rsi      # 0x7a4c
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
jmp 0x5e26
leaq 0x1c70(%rip), %rsi      # 0x7a5c
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movq (%r14), %r8
movq %rbp, %rdi
leaq 0x1c23(%rip), %rsi      # 0x7a28
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
jmp 0x5e26
leaq 0x1c55(%rip), %rsi      # 0x7a6f
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movq 0x10(%rsp), %r8
incq %r8
addq $0x20, %r14
cmpq %r8, 0x8(%rsp)
jne 0x5c81
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq