user: Please show me the C implementation that matches the assembly code listed below:

```asm
<soma>:
  endbr64
  push   %r15
  lea    D40(%rip),%rdi
  push   %r14
  lea    D19(%rip),%r14
  push   %r13
  lea    D43(%rip),%r13
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x20(%rsp)
  lea    0x28(%rsp),%rbp
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x0,0x30(%rsp)
  movl   $0x1,0x14(%rsp)
  call   <system@plt>
  mov    0x14(%rsp),%edx
  lea    0x14(%rsp),%rax
  mov    %rax,0x8(%rsp)
  test   %edx,%edx
  je     L59
L17:
  add    $0x1,%r12d
  cmp    $0x1,%r12d
  jne    L26
  mov    $0x1,%esi
  xor    %eax,%eax
  mov    %rbp,%rbx
  xor    %r15d,%r15d
  lea    D75(%rip),%rdi
  call   <printf@plt>
L27:
  mov    %r15d,%edi
  add    $0x1,%r15d
  call   <letraCoeficiente@plt>
  mov    %r14,%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r13,%rdi
  add    $0x4,%rbx
  call   <scanf@plt>
  cmp    $0x3,%r15d
  jne    L27
L38:
  lea    D40(%rip),%rdi
  call   <system@plt>
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jne    L17
L59:
  lea    D7(%rip),%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  call   <mostrarResultado@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L21
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L26:
  mov    %r12d,%esi
  lea    D76(%rip),%rdi
  xor    %eax,%eax
  xor    %ebx,%ebx
  call   <printf@plt>
  lea    0x18(%rsp),%r15
L29:
  mov    %ebx,%edi
  call   <letraCoeficiente@plt>
  mov    %r14,%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r15,%rsi
  mov    %r13,%rdi
  add    $0x4,%r15
  call   <scanf@plt>
  mov    -0x4(%r15),%eax
  add    %eax,0x0(%rbp,%rbx,4)
  add    $0x1,%rbx
  cmp    $0x3,%rbx
  jne    L29
  lea    D5(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  jmp    L38
L21:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D40
type_guessed: string
name: read_data
arguments: data_tag: D19
type_guessed: string
name: read_data
arguments: data_tag: D43
type_guessed: string
name: read_data
arguments: data_tag: D75
type_guessed: string
name: read_data
arguments: data_tag: D7
type_guessed: string
name: read_data
arguments: data_tag: D76
type_guessed: string
name: read_data
arguments: data_tag: D5
type_guessed: string

tool: D40: cls

tool: D19: Informe o coeficiente de %c: 

tool: D43: %d

tool: D75: --vetor %d---


tool: D7: ---Vetor resultante (soma)---

tool: D76: ---vetor %d---


tool: D5: Deseja informar outro vetor? (1 - Sim / 0 - Nao): 

assistant: ```c
void soma() {
  int i = 0, j, vet[3] = {0, 0, 0};
  int vetResult[3] = {0, 0, 0};
  int op = 1;
  system("cls");
  while (op) {
    if (i == 0) {
      printf("--vetor %d---\n", i + 1);
      for (j = 0; j < 3; j++) {
        printf("Informe o coeficiente de %c: ", letraCoeficiente(j));
        scanf("%d", &vetResult[j]);
      }
    } else {
      printf("---vetor %d---\n", i + 1);
      for (j = 0; j < 3; j++) {
        printf("Informe o coeficiente de %c: ", letraCoeficiente(j));
        scanf("%d", &vet[j]);
        vetResult[j] += vet[j];
      }
    }
    i++;
    if (i > 1) {
      printf("Deseja informar outro vetor? (1 - Sim / 0 - Nao): ");
      scanf("%d", &op);
    }
    system("cls");
  }
  printf("---Vetor resultante (soma)---\n");
  mostrarResultado(vetResult);
}
```