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     L193
  lea    D119(%rip),%rcx
  movslq (%rcx,%rax,4),%rax
  add    %rcx,%rax
  notrack jmp *%rax
  nopl   0x0(%rax)
L188:
  cmp    $0x20,%edx
  je     L98
  cmp    $0x30,%edx
  je     L198
  lea    D114(%rip),%rax
  cmp    $0x10,%edx
  je     L217
L271:
  ret
  nopw   0x0(%rax,%rax,1)
L184:
  cmp    $0x30,%edx
  je     L4
L193:
  lea    D114(%rip),%rax
  ret
  nopl   0x0(%rax)
L198:
  lea    D140(%rip),%rax
  cmp    $0x40,%esi
  je     L271
  lea    D31(%rip),%rax
  cmp    $0x80,%esi
  je     L271
L34:
  test   %esi,%esi
  lea    D145(%rip),%rdx
  lea    D114(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax,%rax,1)
L217:
  test   %esi,%esi
  lea    D145(%rip),%rdx
  cmove  %rdx,%rax
  ret
  xchg   %ax,%ax
L98:
  test   %esi,%esi
  lea    D114(%rip),%rdx
  lea    D145(%rip),%rax
  cmovne %rdx,%rax
  ret
  nopl   (%rax)
  test   $0x100,%edi
  je     L188
  and    $0xc0,%edi
  cmp    $0x20,%edx
  je     L4
  jg     L184
  test   %edx,%edx
  je     L4
  cmp    $0x10,%edx
  jne    L193
L4:
  lea    D36(%rip),%rax
  cmp    $0x80,%edi
  je     L271
  jg     L80
  lea    D26(%rip),%rax
  test   %edi,%edi
  je     L271
  cmp    $0x40,%edi
  lea    D137(%rip),%rdx
  lea    D114(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax)
  cmp    $0x20,%edx
  je     L120
  jg     L115
  test   %edx,%edx
  je     L98
  cmp    $0x10,%edx
  jne    L193
  lea    D31(%rip),%rax
  cmp    $0x80,%esi
  je     L271
L7:
  lea    D26(%rip),%rax
  cmp    $0x100,%esi
  jne    L34
  jmp    L271
  nopw   0x0(%rax,%rax,1)
L80:
  cmp    $0xc0,%edi
  lea    D8(%rip),%rdx
  lea    D114(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax)
L115:
  cmp    $0x30,%edx
  jne    L193
  lea    D125(%rip),%rax
  cmp    $0xc0,%esi
  je     L271
  jle    L198
  lea    D137(%rip),%rax
  cmp    $0x140,%esi
  je     L271
  lea    D36(%rip),%rax
  cmp    $0x180,%esi
  je     L271
  cmp    $0x100,%esi
  lea    D26(%rip),%rdx
  lea    D114(%rip),%rax
  cmove  %rdx,%rax
  ret
  nopl   0x0(%rax)
L120:
  lea    D140(%rip),%rax
  cmp    $0x40,%esi
  jne    L7
  jmp    L271
```

tool_calls: name: parse_data
arguments: tag: D114
data_type: string
name: parse_data
arguments: tag: D140
data_type: string
name: parse_data
arguments: tag: D31
data_type: string
name: parse_data
arguments: tag: D145
data_type: string
name: parse_data
arguments: tag: D36
data_type: string
name: parse_data
arguments: tag: D26
data_type: string
name: parse_data
arguments: tag: D137
data_type: string
name: parse_data
arguments: tag: D8
data_type: string
name: parse_data
arguments: tag: D125
data_type: string

tool: D114: ??

tool: D140: n

tool: D31: M

tool: D145: m

tool: D36: iM

tool: D26: im

tool: D137: in

tool: D8: iN

tool: D125: 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;
}
```