// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
cmpl $0x0, -0x14(%rbp)
ja 0x7168
cmpq $0x0, -0x20(%rbp)
je 0x7464
movq -0x8(%rbp), %rdi
leaq 0x19b8(%rip), %rsi      # 0x8b2b
movb $0x0, %al
callq 0x1100
cmpq $0x0, -0x20(%rbp)
je 0x71b1
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rdx
leaq 0x199d(%rip), %rsi      # 0x8b2d
movb $0x0, %al
callq 0x1100
cmpl $0x0, -0x14(%rbp)
jbe 0x71af
movq -0x8(%rbp), %rdi
leaq 0x1978(%rip), %rsi      # 0x8b20
movb $0x0, %al
callq 0x1100
jmp 0x71b1
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x14(%rbp), %eax
jae 0x7452
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
movl (%rax,%rcx), %eax
movl %eax, -0x28(%rbp)
subl $0x1, %eax
je 0x71f7
jmp 0x71dc
movl -0x28(%rbp), %eax
subl $0x2, %eax
je 0x723d
jmp 0x71e6
movl -0x28(%rbp), %eax
subl $0x3, %eax
je 0x727d
jmp 0x72d9
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
callq 0x70b0
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
cmpb $0x0, 0x18(%rax)
jne 0x7238
movq -0x8(%rbp), %rdi
leaq 0x18ff(%rip), %rsi      # 0x8b30
movb $0x0, %al
callq 0x1100
jmp 0x72eb
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
callq 0x70b0
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movl 0x18(%rax), %edx
leaq 0x18c4(%rip), %rsi      # 0x8b38
movb $0x0, %al
callq 0x1100
jmp 0x72eb
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
callq 0x70b0
movq -0x8(%rbp), %rdi
leaq 0x17f4(%rip), %rsi      # 0x8a97
movb $0x0, %al
callq 0x1100
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x18(%rax), %rsi
callq 0x70b0
movq -0x8(%rbp), %rdi
leaq 0x186d(%rip), %rsi      # 0x8b3d
movb $0x0, %al
callq 0x1100
jmp 0x72eb
movq -0x8(%rbp), %rdi
leaq 0x1270(%rip), %rsi      # 0x8554
movb $0x0, %al
callq 0x1100
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x7363
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
shrb %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x7363
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
shrb $0x2, %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x7363
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
shrb $0x3, %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
je 0x7423
movq -0x8(%rbp), %rdi
leaq 0x17d2(%rip), %rsi      # 0x8b40
movb $0x0, %al
callq 0x1100
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
andb $0x1, %al
cmpb $0x0, %al
je 0x739e
movq -0x8(%rbp), %rdi
leaq 0x17ac(%rip), %rsi      # 0x8b43
movb $0x0, %al
callq 0x1100
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
shrb %al
andb $0x1, %al
cmpb $0x0, %al
je 0x73c9
movq -0x8(%rbp), %rdi
leaq 0x178d(%rip), %rsi      # 0x8b4f
movb $0x0, %al
callq 0x1100
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
shrb $0x2, %al
andb $0x1, %al
cmpb $0x0, %al
je 0x73f5
movq -0x8(%rbp), %rdi
leaq 0x176d(%rip), %rsi      # 0x8b5b
movb $0x0, %al
callq 0x1100
movq -0x10(%rbp), %rax
movl -0x24(%rbp), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movb 0x10(%rax), %al
shrb $0x3, %al
andb $0x1, %al
cmpb $0x0, %al
je 0x7421
movq -0x8(%rbp), %rdi
leaq 0x1752(%rip), %rsi      # 0x8b6c
movb $0x0, %al
callq 0x1100
jmp 0x7423
movl -0x24(%rbp), %eax
movl -0x14(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
je 0x7442
movq -0x8(%rbp), %rdi
leaq 0x16e5(%rip), %rsi      # 0x8b20
movb $0x0, %al
callq 0x1100
jmp 0x7444
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x71b8
movq -0x8(%rbp), %rdi
leaq 0x1718(%rip), %rsi      # 0x8b75
movb $0x0, %al
callq 0x1100
addq $0x30, %rsp
popq %rbp
retq
nopw (%rax,%rax)