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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x9000(%rsp),%r11
L38:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L38
  sub    $0xdf8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x9de8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rdi
  mov    $0x32,%ecx
  rep stos %rax,%es:(%rdi)
  lea    0x1a0(%rsp),%r15
  lea    0x330(%rsp),%rdx
  lea    0x9f70(%rsp),%rcx
L74:
  lea    -0x190(%rdx),%rax
L53:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L53
  add    $0x190,%rdx
  cmp    %rcx,%rdx
  jne    L74
  lea    0x8(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  lea    D23(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%esi
  mov    $0x0,%r14d
  mov    $0x0,%r13d
  lea    D33(%rip),%r12
  test   %esi,%esi
  jg     L116
L44:
  lea    0x10(%rsp),%rdi
  call   <max_sum@plt>
  mov    %eax,%ebp
  cmpl   $0x0,0xc(%rsp)
  jle    L179
  mov    $0x0,%ebx
  lea    D33(%rip),%r12
  jmp    L92
L129:
  lea    D15(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%r13d
  mov    0xc(%rsp),%esi
  add    $0x64,%r14
  cmp    %r13d,%esi
  jle    L97
L116:
  lea    (%r15,%r14,4),%rbp
  mov    $0x0,%ebx
  cmpl   $0x0,0x8(%rsp)
  jle    L129
L5:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x1,%ebx
  add    $0x4,%rbp
  cmp    %ebx,0x8(%rsp)
  jg     L5
  jmp    L129
L97:
  test   %esi,%esi
  jle    L44
  mov    0x8(%rsp),%r9d
  lea    0x10(%rsp),%r8
  lea    -0x1(%r9),%eax
  lea    0x4(%r15,%rax,4),%rcx
  lea    -0x1(%rsi),%edx
  lea    0x14(%rsp,%rdx,4),%r10
  not    %rax
  lea    0x0(,%rax,4),%rdi
  jmp    L56
L184:
  add    $0x4,%r8
  add    $0x190,%rcx
  cmp    %r10,%r8
  je     L44
L56:
  test   %r9d,%r9d
  jle    L184
  mov    %r8,%r11
  mov    (%r8),%edx
  lea    (%rdi,%rcx,1),%rax
L181:
  add    (%rax),%edx
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L181
  mov    %edx,(%r11)
  jmp    L184
L158:
  add    $0x1,%rbx
  cmp    %ebx,0xc(%rsp)
  jle    L179
L92:
  mov    %ebx,%esi
  cmp    %ebp,0x10(%rsp,%rbx,4)
  jne    L158
  mov    %r12,%rdi
  call   <printf@plt>
  jmp    L158
L179:
  mov    0x9de8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L128
  mov    $0x0,%eax
  add    $0x9df8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L128:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D23
type_guessed: string
name: parse_data
arguments: data_tag: D33
type_guessed: string
name: parse_data
arguments: data_tag: D15
type_guessed: string

tool: D23: %d %d


tool: D33: %d 

tool: D15: 


assistant: ```c
int main() {
  int m, n, max;
  int mat[100][100];
  int rsum[100] = {0};
  for (int i = 0; i < 100; i++) {
    for (int j = 0; j < 100; j++) {
      mat[i][j] = 0;
    }
  }
  scanf("%d %d\n", &n, &m);
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      scanf("%d ", &mat[i][j]);
    }
    scanf("\n");
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      rsum[i] = rsum[i] + mat[i][j];
    }
  }
  max = max_sum(rsum, n);
  for (int k = 0; k < n; k++) {
    if (rsum[k] == max)
      printf("%d ", k);
  }
  return 0;
}
```