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

```asm
<main>:
  endbr64
  sub    $0x18,%rsp
  lea    D46(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%rdx
  mov    %rsp,%rsi
  call   <scanf@plt>
  mov    0x4(%rsp),%edx
  mov    (%rsp),%eax
  cmp    %eax,%edx
  mov    %eax,%ecx
  cmovle %edx,%ecx
  cmovge %edx,%eax
  cmp    %ecx,%eax
  jl     L15
  mov    %eax,%edi
  sub    %ecx,%eax
  lea    0x1(%rax),%r8d
  cmp    $0x2,%eax
  jbe    L82
  pxor   %xmm3,%xmm3
  movd   %ecx,%xmm7
  mov    %r8d,%eax
  xor    %edx,%edx
  movdqa D21(%rip),%xmm4
  movdqa %xmm3,%xmm6
  shr    $0x2,%eax
  pshufd $0x0,%xmm7,%xmm5
  movdqa D36(%rip),%xmm8
  paddd  D35(%rip),%xmm5
  movdqa %xmm3,%xmm7
  pcmpgtd %xmm4,%xmm6
L29:
  movdqa %xmm5,%xmm2
  movdqa %xmm7,%xmm9
  movdqa %xmm6,%xmm10
  add    $0x1,%edx
  movdqa %xmm2,%xmm1
  paddd  %xmm8,%xmm5
  punpckldq %xmm2,%xmm1
  pcmpgtd %xmm1,%xmm9
  pmuludq %xmm1,%xmm10
  movdqa %xmm1,%xmm0
  pmuludq %xmm4,%xmm0
  movdqa %xmm2,%xmm1
  punpckhdq %xmm2,%xmm1
  pmuludq %xmm4,%xmm9
  paddq  %xmm10,%xmm9
  movdqa %xmm6,%xmm10
  psllq  $0x20,%xmm9
  pmuludq %xmm1,%xmm10
  paddq  %xmm9,%xmm0
  movdqa %xmm7,%xmm9
  pcmpgtd %xmm1,%xmm9
  pmuludq %xmm4,%xmm1
  pmuludq %xmm4,%xmm9
  paddq  %xmm10,%xmm9
  psllq  $0x20,%xmm9
  paddq  %xmm9,%xmm1
  shufps $0xdd,%xmm1,%xmm0
  movdqa %xmm2,%xmm1
  psrad  $0x2,%xmm0
  psrad  $0x1f,%xmm1
  psubd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  pslld  $0x1,%xmm1
  paddd  %xmm0,%xmm1
  pslld  $0x2,%xmm1
  paddd  %xmm1,%xmm0
  pcmpeqd %xmm2,%xmm0
  pandn  %xmm2,%xmm0
  paddd  %xmm0,%xmm3
  cmp    %eax,%edx
  jne    L29
  movdqa %xmm3,%xmm0
  mov    %r8d,%eax
  psrldq $0x8,%xmm0
  and    $0xfffffffc,%eax
  paddd  %xmm0,%xmm3
  add    %eax,%ecx
  movdqa %xmm3,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm3
  movd   %xmm3,%esi
  cmp    %eax,%r8d
  je     L112
L76:
  imul   $0xc4ec4ec5,%ecx,%eax
  lea    (%rsi,%rcx,1),%edx
  lea    0x1(%rcx),%r8d
  add    $0x9d89d89,%eax
  cmp    $0x13b13b12,%eax
  cmova  %edx,%esi
  cmp    %r8d,%edi
  jl     L112
  mov    %r8d,%eax
  mov    $0xd,%r9d
  cltd
  idiv   %r9d
  test   %edx,%edx
  jne    L11
L58:
  add    $0x2,%ecx
  cmp    %ecx,%edi
  jl     L112
  mov    %ecx,%eax
  mov    $0xd,%edi
  cltd
  idiv   %edi
  test   %edx,%edx
  jne    L120
L112:
  lea    D32(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  xor    %eax,%eax
  add    $0x18,%rsp
  ret
L11:
  add    %r8d,%esi
  jmp    L58
L120:
  add    %ecx,%esi
  jmp    L112
L15:
  xor    %esi,%esi
  jmp    L112
L82:
  xor    %esi,%esi
  jmp    L76
L0:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D46
type_guessed: string
name: disassemble_data
arguments: data_label: D21
type_guessed: byte[16]
name: disassemble_data
arguments: data_label: D36
type_guessed: byte[16]
name: disassemble_data
arguments: data_label: D35
type_guessed: byte[16]
name: disassemble_data
arguments: data_label: D32
type_guessed: string

tool: D46: %d %d

tool: {"D21": [0x4f,0xec,0xc4,0x4e,0x4f,0xec,0xc4,0x4e,0x4f,0xec,0xc4,0x4e,0x4f,0xec,0xc4,0x4e]}

tool: {"D36": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D35": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: D32: %d


assistant: ```c
int main(void) {
  int a, b, min, max, i, soma = 0;
  scanf("%d %d", &a, &b);
  min = ((a) < (b) ? (a) : (b));
  max = ((a) > (b) ? (a) : (b)) + 1;
  for (i = min; i < max; i++) {
    if (i % 13 != 0) {
      soma += i;
    }
  }
  printf("%d\n", soma);
  return 0;
}
```