user: Converte this assembly snippet into its equivalent C code:

```asm
<EquString>:
  endbr64
  mov    %edi,%eax
  mov    %edi,%edx
  mov    %edi,%esi
  and    $0xf,%eax
  and    $0x30,%edx
  and    $0x1c0,%esi
  cmp    $0x8,%eax
  ja     L166
  lea    D112(%rip),%rcx
  movslq (%rcx,%rax,4),%rax
  add    %rcx,%rax
  notrack jmp *%rax
  nopl   0x0(%rax)
L73:
  cmp    $0x20,%edx
  je     L91
  cmp    $0x30,%edx
  je     L48
  lea    D6(%rip),%rax
  cmp    $0x10,%edx
  je     L130
L277:
  ret
  nopw   0x0(%rax,%rax,1)
L245:
  cmp    $0x30,%edx
  je     L105
L166:
  lea    D6(%rip),%rax
  ret
  nopl   0x0(%rax)
L48:
  lea    D7(%rip),%rax
  cmp    $0x40,%esi
  je     L277
  lea    D126(%rip),%rax
  cmp    $0x80,%esi
  je     L277
L216:
  test   %esi,%esi
  lea    D232(%rip),%rdx
  lea    D6(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax,%rax,1)
L130:
  test   %esi,%esi
  lea    D232(%rip),%rdx
  cmove  %rdx,%rax
  ret
  xchg   %ax,%ax
L91:
  test   %esi,%esi
  lea    D6(%rip),%rdx
  lea    D232(%rip),%rax
  cmovne %rdx,%rax
  ret
  nopl   (%rax)
  test   $0x100,%edi
  je     L73
  and    $0xc0,%edi
  cmp    $0x20,%edx
  je     L105
  jg     L245
  test   %edx,%edx
  je     L105
  cmp    $0x10,%edx
  jne    L166
L105:
  lea    D235(%rip),%rax
  cmp    $0x80,%edi
  je     L277
  jg     L97
  lea    D29(%rip),%rax
  test   %edi,%edi
  je     L277
  cmp    $0x40,%edi
  lea    D188(%rip),%rdx
  lea    D6(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax)
  cmp    $0x20,%edx
  je     L115
  jg     L26
  test   %edx,%edx
  je     L91
  cmp    $0x10,%edx
  jne    L166
  lea    D126(%rip),%rax
  cmp    $0x80,%esi
  je     L277
L42:
  lea    D29(%rip),%rax
  cmp    $0x100,%esi
  jne    L216
  jmp    L277
  nopw   0x0(%rax,%rax,1)
L97:
  cmp    $0xc0,%edi
  lea    D50(%rip),%rdx
  lea    D6(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax)
L26:
  cmp    $0x30,%edx
  jne    L166
  lea    D137(%rip),%rax
  cmp    $0xc0,%esi
  je     L277
  jle    L48
  lea    D188(%rip),%rax
  cmp    $0x140,%esi
  je     L277
  lea    D235(%rip),%rax
  cmp    $0x180,%esi
  je     L277
  cmp    $0x100,%esi
  lea    D29(%rip),%rdx
  lea    D6(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax)
L115:
  lea    D7(%rip),%rax
  cmp    $0x40,%esi
  jne    L42
  jmp    L277
```

tool_calls: name: disassemble_data
arguments: data_label: D6
type: string
name: disassemble_data
arguments: data_label: D7
type: string
name: disassemble_data
arguments: data_label: D126
type: string
name: disassemble_data
arguments: data_label: D232
type: string
name: disassemble_data
arguments: data_label: D235
type: string
name: disassemble_data
arguments: data_label: D29
type: string
name: disassemble_data
arguments: data_label: D188
type: string
name: disassemble_data
arguments: data_label: D50
type: string
name: disassemble_data
arguments: data_label: D137
type: string

tool: D6: ??

tool: D7: n

tool: D126: M

tool: D232: m

tool: D235: iM

tool: D29: im

tool: D188: in

tool: D50: iN

tool: D137: N

assistant: ```c
const char *EquString(int EquVal) {
  int bFrom = EquVal & (0x0001 | 0x0002 | 0x0004 | 0x0008);
  int bType = EquVal & (0x0010 | 0x0020);
  int bEq2 = EquVal & (0x0040 | 0x0080 | 0x0100);
  const char *r = "";
  switch (bFrom) {
  case 0x0001:
    switch (bType) {
    case 0x0010:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case 0x0020:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case (0x0020 | 0x0010):
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      case 0x0080:
        r = "M";
        break;
      case 0x0040:
        r = "n";
        break;
      default:
        r = "??";
        break;
      }
      break;
    default:
      r = "??";
      break;
    }
    break;
  case 0x0002:
    if (bEq2 & 0x0100) {
      bEq2 &= ~0x0100;
      switch (bType) {
      case 0:
        switch (bEq2) {
        case 0:
          r = "im";
          break;
        case 0x0080:
          r = "iM";
          break;
        case 0x0040:
          r = "in";
          break;
        case (0x0040 | 0x0080):
          r = "iN";
          break;
        default:
          r = "??";
          break;
        }
        break;
      case 0x0010:
        switch (bEq2) {
        case 0:
          r = "im";
          break;
        case 0x0080:
          r = "iM";
          break;
        case 0x0040:
          r = "in";
          break;
        case (0x0040 | 0x0080):
          r = "iN";
          break;
        default:
          r = "??";
          break;
        }
        break;
      case 0x0020:
        switch (bEq2) {
        case 0:
          r = "im";
          break;
        case 0x0080:
          r = "iM";
          break;
        case 0x0040:
          r = "in";
          break;
        case (0x0040 | 0x0080):
          r = "iN";
          break;
        default:
          r = "??";
          break;
        }
        break;
      case (0x0020 | 0x0010):
        switch (bEq2) {
        case 0:
          r = "im";
          break;
        case 0x0080:
          r = "iM";
          break;
        case 0x0040:
          r = "in";
          break;
        case (0x0040 | 0x0080):
          r = "iN";
          break;
        default:
          r = "??";
        }
        break;
      default:
        r = "??";
        break;
      }
    } else {
      switch (bType) {
      case 0x0010:
        switch (bEq2) {
        case 0:
          r = "m";
          break;
        default:
          r = "??";
          break;
        }
        break;
      case 0x0020:
        switch (bEq2) {
        case 0:
          r = "m";
          break;
        default:
          r = "??";
          break;
        }
        break;
      case (0x0020 | 0x0010):
        switch (bEq2) {
        case 0:
          r = "m";
          break;
        case 0x0080:
          r = "M";
          break;
        case 0x0040:
          r = "n";
          break;
        default:
          r = "??";
          break;
        }
        break;
      default:
        r = "??";
        break;
      }
    }
    break;
  case (0x0004 | 0x0002):
    switch (bType) {
    case 0:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case 0x0010:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      case 0x0100:
        r = "im";
        break;
      case 0x0080:
        r = "M";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case 0x0020:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      case 0x0040:
        r = "n";
        break;
      case 0x0100:
        r = "im";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case (0x0020 | 0x0010):
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      case 0x0080:
        r = "M";
        break;
      case (0x0080 | 0x0100):
        r = "iM";
        break;
      case 0x0040:
        r = "n";
        break;
      case (0x0040 | 0x0080):
        r = "N";
        break;
      case 0x0100:
        r = "im";
        break;
      case (0x0040 | 0x0100):
        r = "in";
        break;
      default:
        r = "??";
        break;
      }
      break;
    default:
      r = "??";
      break;
    }
    break;
  case 0x0004:
    switch (bType) {
    case 0:
      r = "??";
      break;
    case 0x0010:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
      }
      break;
    case 0x0020:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
      }
      break;
    case (0x0020 | 0x0010):
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      case 0x0080:
        r = "M";
        break;
      case 0x0040:
        r = "n";
        break;
      default:
        r = "??";
        break;
      }
      break;
    default:
      r = "??";
      break;
    }
    break;
  case 0x0008:
    switch (bType) {
    case 0:
      r = "??";
      break;
    case 0x0010:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case 0x0020:
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      default:
        r = "??";
        break;
      }
      break;
    case (0x0020 | 0x0010):
      switch (bEq2) {
      case 0:
        r = "m";
        break;
      case 0x0080:
        r = "M";
        break;
      case 0x0040:
        r = "n";
        break;
      default:
        r = "??";
        break;
      }
      break;
    default:
      r = "??";
      break;
    }
    break;
  default:
    r = "??";
    break;
  }
  return r;
}
```