user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  lea    D39(%rip),%r14
  push   %r13
  lea    D25(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbp
  movq   $0x0,(%rsp)
  mov    %rbp,0x8(%rsp)
L29:
  mov    (%rsp),%eax
  mov    0x8(%rsp),%rbx
  xor    %r15d,%r15d
  lea    0x1(%rax),%r12d
L55:
  add    $0x1,%r15d
  mov    %r12d,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  mov    %r15d,%edx
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %r13,%rdi
  add    $0x4,%rbx
  call   <scanf@plt>
  cmp    $0x4,%r15d
  jne    L55
  addq   $0x1,(%rsp)
  mov    (%rsp),%rax
  addq   $0x10,0x8(%rsp)
  cmp    $0x4,%rax
  jne    L29
  lea    0x10(%rbp),%r12
  lea    0x50(%rbp),%r14
  lea    D3(%rip),%r13
L36:
  lea    -0x10(%r12),%rbx
L40:
  mov    (%rbx),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L40
  mov    $0xa,%edi
  lea    0x10(%rbx),%r12
  call   <putchar@plt>
  cmp    %r14,%r12
  jne    L36
  mov    %rbp,%r12
  xor    %r13d,%r13d
  lea    D9(%rip),%rbx
L66:
  add    $0x1,%r13d
  mov    0x4(%r12),%edx
  mov    %rbx,%rdi
  add    (%r12),%edx
  mov    %r13d,%esi
  add    0x8(%r12),%edx
  xor    %eax,%eax
  add    0xc(%r12),%edx
  call   <printf@plt>
  add    $0x10,%r12
  cmp    $0x4,%r13d
  jne    L66
  xor    %r12d,%r12d
  lea    D18(%rip),%rbx
L65:
  add    $0x1,%r12d
  mov    0x10(%rbp),%edx
  mov    %rbx,%rdi
  add    0x0(%rbp),%edx
  mov    %r12d,%esi
  add    0x20(%rbp),%edx
  xor    %eax,%eax
  add    0x30(%rbp),%edx
  call   <printf@plt>
  add    $0x4,%rbp
  cmp    $0x4,%r12d
  jne    L65
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L22
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L22:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D39
data_type: string
name: extract_symbolic_data
arguments: data_label: D25
data_type: string
name: extract_symbolic_data
arguments: data_label: D3
data_type: string
name: extract_symbolic_data
arguments: data_label: D9
data_type: string
name: extract_symbolic_data
arguments: data_label: D18
data_type: string

tool: D39: Informe os valores de [%d, %d]:


tool: D25: %d

tool: D3: %d	

tool: D9: Soma da linha %d: %d


tool: D18: Soma da coluna %d: %d


assistant: ```c
int main() {
  int valores[4][4];
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < 4; j++) {
      printf("Informe os valores de [%d, %d]:\n", i + 1, j + 1);
      scanf("%d", &valores[i][j]);
    }
  }
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < 4; j++)
      printf("%d\t", valores[i][j]);
    printf("\n");
  }
  for (int i = 0; i < 4; i++) {
    int soma = 0;
    for (int j = 0; j < 4; j++)
      soma += valores[i][j];
    printf("Soma da linha %d: %d\n", i + 1, soma);
  }
  for (int i = 0; i < 4; i++) {
    int soma = 0;
    for (int j = 0; j < 4; j++)
      soma += valores[j][i];
    printf("Soma da coluna %d: %d\n", i + 1, soma);
  }
}
```