user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r14
  mov    $0xc,%ecx
  lea    D33(%rip),%r14
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  lea    D10(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0xb0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  lea    0x40(%rsp),%rdi
  lea    0x54(%rsp),%rbp
  rep stos %rax,%es:(%rdi)
  movl   $0x0,(%rdi)
L23:
  add    $0x1,%r13d
  mov    %r14,%rdi
  lea    -0x14(%rbp),%rbx
  xor    %eax,%eax
  mov    %r13d,%esi
  call   <printf@plt>
L42:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  add    $0x4,%rbx
  call   <scanf@plt>
  cmp    %rbx,%rbp
  jne    L42
  add    $0x14,%rbp
  cmp    $0x5,%r13d
  jne    L23
  movd   0x58(%rsp),%xmm4
  movd   0x6c(%rsp),%xmm1
  mov    %rsp,%rbx
  lea    D38(%rip),%rdi
  movd   0x80(%rsp),%xmm3
  movd   0x44(%rsp),%xmm0
  lea    0x14(%rsp),%r12
  lea    D32(%rip),%rbp
  movd   0x7c(%rsp),%xmm5
  movd   0x54(%rsp),%xmm6
  punpckldq %xmm3,%xmm1
  punpckldq %xmm4,%xmm0
  movd   0x68(%rsp),%xmm2
  movd   0x84(%rsp),%xmm7
  punpcklqdq %xmm1,%xmm0
  movd   0x40(%rsp),%xmm1
  movd   0x5c(%rsp),%xmm3
  punpckldq %xmm5,%xmm2
  movd   0x60(%rsp),%xmm5
  movd   0x88(%rsp),%xmm4
  punpckldq %xmm6,%xmm1
  mov    0x94(%rsp),%eax
  movd   0x8c(%rsp),%xmm6
  punpcklqdq %xmm2,%xmm1
  movd   0x70(%rsp),%xmm2
  add    0x90(%rsp),%eax
  paddd  %xmm1,%xmm0
  movd   0x48(%rsp),%xmm1
  add    0x98(%rsp),%eax
  punpckldq %xmm7,%xmm2
  movd   0x64(%rsp),%xmm7
  add    0x9c(%rsp),%eax
  punpckldq %xmm3,%xmm1
  movdqu 0x68(%rsp),%xmm3
  add    0xa0(%rsp),%eax
  punpcklqdq %xmm2,%xmm1
  movd   0x74(%rsp),%xmm2
  mov    %eax,0x10(%rsp)
  paddd  %xmm1,%xmm0
  movd   0x4c(%rsp),%xmm1
  punpckldq %xmm4,%xmm2
  movdqu 0x7c(%rsp),%xmm4
  punpckldq %xmm5,%xmm1
  punpcklqdq %xmm2,%xmm1
  movd   0x78(%rsp),%xmm2
  paddd  %xmm1,%xmm0
  movd   0x50(%rsp),%xmm1
  punpckldq %xmm6,%xmm2
  punpckldq %xmm7,%xmm1
  punpcklqdq %xmm2,%xmm1
  paddd  %xmm1,%xmm0
  movaps %xmm0,(%rsp)
  movdqu 0x54(%rsp),%xmm0
  paddd  0x40(%rsp),%xmm0
  paddd  %xmm3,%xmm0
  paddd  %xmm4,%xmm0
  paddd  0x90(%rsp),%xmm0
  movaps %xmm0,0x20(%rsp)
  mov    0x50(%rsp),%eax
  add    0x64(%rsp),%eax
  add    0x78(%rsp),%eax
  add    0x8c(%rsp),%eax
  add    0xa0(%rsp),%eax
  mov    %eax,0x30(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
L46:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L46
  mov    $0xa,%edi
  lea    0x20(%rsp),%rbx
  lea    0x34(%rsp),%r12
  call   <putchar@plt>
  lea    D43(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L32:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L32
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0xb0,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D33
type: string
name: disassemble_data
arguments: label: D10
type: string
name: disassemble_data
arguments: label: D38
type: string
name: disassemble_data
arguments: label: D32
type: string
name: disassemble_data
arguments: label: D43
type: string

tool: D33: enter a row %d


tool: D10: %d

tool: D38: row totals:

tool: D32: %d 

tool: D43: column totals:

assistant: ```c
int main(void) {
  int array[5][5] = {{0}};
  int row_totals[5] = {0}, column_totals[5] = {0};
  for (int i = 0; i < 5; i++) {
    printf("enter a row %d\n", i + 1);
    for (int j = 0; j < 5; j++) {
      scanf("%d", &array[i][j]);
    }
  }
  for (int i = 0; i < 5; i++) {
    for (int j = 0; j < 5; j++) {
      row_totals[i] += array[i][j];
    }
  }
  for (int i = 0; i < 5; i++) {
    for (int j = 0; j < 5; j++) {
      column_totals[i] += array[j][i];
    }
  }
  printf("row totals:");
  for (int i = 0; i < 5; i++) {
    printf("%d ", row_totals[i]);
  }
  printf("\n");
  printf("column totals:");
  for (int i = 0; i < 5; i++) {
    printf("%d ", column_totals[i]);
  }
  printf("\n");
  return 0;
}
```