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

```asm
<get_region_name_BR>:
  endbr64
  cmp    $0x1f,%edi
  ja     L8
  lea    D188(%rip),%rdx
  mov    %edi,%edi
  movslq (%rdx,%rdi,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  nopl   0x0(%rax)
L8:
  xor    %eax,%eax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D136(%rip),%rax
  ret
  lea    D43(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D221(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D215(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D70(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D214(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D194(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D115(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D176(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D196(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D60(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D199(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D184(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D154(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D171(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D260(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D34(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D153(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D26(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D14(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D9(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D217(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D150(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D7(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D80(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D55(%rip),%rax
  ret
  nopl   0x0(%rax,%rax,1)
  lea    D229(%rip),%rax
  ret
```

tool_calls: name: read_data
arguments: label: D136
type_guessed: string
name: read_data
arguments: label: D43
type_guessed: string
name: read_data
arguments: label: D221
type_guessed: string
name: read_data
arguments: label: D215
type_guessed: string
name: read_data
arguments: label: D70
type_guessed: string
name: read_data
arguments: label: D214
type_guessed: string
name: read_data
arguments: label: D194
type_guessed: string
name: read_data
arguments: label: D115
type_guessed: string
name: read_data
arguments: label: D176
type_guessed: string
name: read_data
arguments: label: D196
type_guessed: string
name: read_data
arguments: label: D60
type_guessed: string
name: read_data
arguments: label: D199
type_guessed: string
name: read_data
arguments: label: D184
type_guessed: string
name: read_data
arguments: label: D154
type_guessed: string
name: read_data
arguments: label: D171
type_guessed: string
name: read_data
arguments: label: D260
type_guessed: string
name: read_data
arguments: label: D34
type_guessed: string
name: read_data
arguments: label: D153
type_guessed: string
name: read_data
arguments: label: D26
type_guessed: string
name: read_data
arguments: label: D14
type_guessed: string
name: read_data
arguments: label: D9
type_guessed: string
name: read_data
arguments: label: D217
type_guessed: string
name: read_data
arguments: label: D150
type_guessed: string
name: read_data
arguments: label: D7
type_guessed: string
name: read_data
arguments: label: D80
type_guessed: string
name: read_data
arguments: label: D55
type_guessed: string
name: read_data
arguments: label: D229
type_guessed: string

tool: D136: Tocantins

tool: D43: Pernambuco

tool: D221: Goias

tool: D215: Sergipe

tool: D70: Sao Paulo

tool: D214: Santa Catarina

tool: D194: Roraima

tool: D115: Rondonia

tool: D176: Rio Grande do Sul

tool: D196: Rio Grande do Norte

tool: D60: Rio de Janeiro

tool: D199: Piaui

tool: D184: Parana

tool: D154: Paraiba

tool: D171: Para

tool: D260: Minas Gerais

tool: D34: Mato Grosso

tool: D153: Maranhao

tool: D26: Mato Grosso do Sul

tool: D14: Espirito Santo

tool: D9: Distrito Federal

tool: D217: Ceara

tool: D150: Bahia

tool: D7: Amazonas

tool: D80: Amapa

tool: D55: Acre

tool: D229: Alagoas

assistant: ```c
const char *get_region_name_BR(int region_code) {
  switch (region_code) {
  case 1:
    return "Acre";
  case 2:
    return "Alagoas";
  case 3:
    return "Amapa";
  case 4:
    return "Amazonas";
  case 5:
    return "Bahia";
  case 6:
    return "Ceara";
  case 7:
    return "Distrito Federal";
  case 8:
    return "Espirito Santo";
  case 11:
    return "Mato Grosso do Sul";
  case 13:
    return "Maranhao";
  case 14:
    return "Mato Grosso";
  case 15:
    return "Minas Gerais";
  case 16:
    return "Para";
  case 17:
    return "Paraiba";
  case 18:
    return "Parana";
  case 20:
    return "Piaui";
  case 21:
    return "Rio de Janeiro";
  case 22:
    return "Rio Grande do Norte";
  case 23:
    return "Rio Grande do Sul";
  case 24:
    return "Rondonia";
  case 25:
    return "Roraima";
  case 26:
    return "Santa Catarina";
  case 27:
    return "Sao Paulo";
  case 28:
    return "Sergipe";
  case 29:
    return "Goias";
  case 30:
    return "Pernambuco";
  case 31:
    return "Tocantins";
  default:
    return NULL;
  }
}
```