// File: /workspace/github_c_makefile_star2_O3/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 0x5e17
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 0x1900(%rip), %r12      # 0x754a
xorl %r8d, %r8d
movq %rbp, %rdi
leaq 0x1d4f(%rip), %rsi      # 0x79a6
movl %ebx, %edx
movq %r12, %rcx
movq %r8, 0x10(%rsp)
xorl %eax, %eax
callq 0x10f0
movq -0x10(%r14), %r8
movq %rbp, %rdi
leaq 0x1d43(%rip), %rsi      # 0x79b9
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movq %rbp, %rdi
leaq 0x1d3c(%rip), %rsi      # 0x79c8
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
testb $0x1, -0x8(%r14)
leaq 0x1d4b(%rip), %r13      # 0x79ef
movq %r13, %r8
movl %ebx, %r15d
movq %r12, %rbx
leaq 0x1d40(%rip), %r12      # 0x79f4
cmoveq %r12, %r8
movq %rbp, %rdi
leaq 0x1d16(%rip), %rsi      # 0x79d8
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 0x1d15(%rip), %rsi      # 0x79fa
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 0x1d09(%rip), %rsi      # 0x7a11
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 0x1cff(%rip), %rsi      # 0x7a2d
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 0x5db1
cmpl $0x2, %eax
je 0x5d83
cmpl $0x1, %eax
jne 0x5ddf
leaq 0x1ce2(%rip), %rsi      # 0x7a41
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
cmpb $0x0, (%r14)
leaq 0x1c79(%rip), %r8       # 0x79ef
leaq 0x1c77(%rip), %rax      # 0x79f4
cmoveq %rax, %r8
jmp 0x5dc7
leaq 0x1cdb(%rip), %rsi      # 0x7a65
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movl (%r14), %r8d
movq %rbp, %rdi
leaq 0x1cd6(%rip), %rsi      # 0x7a79
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
jmp 0x5df2
leaq 0x1cd1(%rip), %rsi      # 0x7a89
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
movq (%r14), %r8
movq %rbp, %rdi
leaq 0x1c84(%rip), %rsi      # 0x7a55
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x10f0
jmp 0x5df2
leaq 0x1cb6(%rip), %rsi      # 0x7a9c
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 0x5c4d
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq