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
L75:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L75
  sub    $0xe08,%rsp
  mov    $0x32,%ecx
  mov    %fs:0x28,%rax
  mov    %rax,0x9df8(%rsp)
  xor    %eax,%eax
  lea    0x20(%rsp),%rdi
  lea    0x18(%rsp),%rdx
  mov    %rdi,0x8(%rsp)
  lea    0x1c(%rsp),%rsi
  rep stos %rax,%es:(%rdi)
  lea    D0(%rip),%rdi
  call   <scanf@plt>
  mov    0x1c(%rsp),%r8d
  mov    0x18(%rsp),%edi
  test   %r8d,%r8d
  jle    L175
  xor    %r14d,%r14d
  xor    %r13d,%r13d
  lea    D39(%rip),%r15
  lea    D32(%rip),%r12
  nopl   0x0(%rax,%rax,1)
L32:
  mov    0x18(%rsp),%edx
  test   %edx,%edx
  jle    L20
  lea    0x1b0(%rsp,%r14,4),%rbp
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L144:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    %ebx,0x18(%rsp)
  jg     L144
L20:
  mov    %r15,%rdi
  xor    %eax,%eax
  add    $0x1,%r13d
  add    $0x64,%r14
  call   <scanf@plt>
  mov    0x1c(%rsp),%r8d
  cmp    %r13d,%r8d
  jg     L32
  mov    0x18(%rsp),%edi
  test   %r8d,%r8d
  jg     L35
L175:
  lea    0x1b0(%rsp),%rcx
  lea    0x9df0(%rsp),%rsi
  nopl   0x0(%rax,%rax,1)
L41:
  mov    $0x1,%eax
  test   %edi,%edi
  jg     L21
  nopl   0x0(%rax)
L76:
  mov    %eax,%edx
  movl   $0x0,-0x4(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    $0x64,%edx
  jne    L76
L21:
  add    $0x190,%rcx
  cmp    %rcx,%rsi
  jne    L41
L39:
  mov    0x1b0(%rsp),%edi
  mov    %r8d,%esi
  xor    %ebx,%ebx
  lea    D32(%rip),%r13
  call   <max_sum@plt>
  mov    %eax,%r12d
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  jg     L120
  jmp    L148
  nopl   0x0(%rax)
L6:
  add    $0x1,%rbx
  cmp    %ebx,0x1c(%rsp)
  jle    L148
L120:
  mov    0x8(%rsp),%rax
  mov    %ebx,%esi
  cmp    %r12d,(%rax,%rbx,4)
  jne    L6
  mov    %r13,%rdi
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0x1c(%rsp)
  jg     L120
L148:
  mov    0x9df8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L37
  add    $0x9e08,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L35:
  lea    -0x1(%rdi),%eax
  lea    -0x1(%r8),%edx
  mov    0x8(%rsp),%rsi
  mov    $0xfffffffffffffffc,%r10
  shl    $0x2,%rax
  lea    0x24(%rsp,%rdx,4),%r9
  lea    0x1b4(%rsp,%rax,1),%rcx
  sub    %rax,%r10
  nop
L105:
  test   %edi,%edi
  jle    L50
  mov    (%rsi),%edx
  lea    (%r10,%rcx,1),%rax
  nopw   0x0(%rax,%rax,1)
L150:
  add    (%rax),%edx
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L150
  mov    %edx,(%rsi)
L50:
  add    $0x4,%rsi
  add    $0x190,%rcx
  cmp    %r9,%rsi
  jne    L105
  jmp    L39
L37:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D0
datatype: string
name: read_data
arguments: tag: D39
datatype: string
name: read_data
arguments: tag: D32
datatype: string

tool: D0: %d %d


tool: D39: 


tool: D32: %d 

assistant: ```c
int main() {
  int m, n, rsum[100] = {0}, max, mat[100][100];
  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 < 100); i++) {
    for (int j = 0; (j >= m) && (j < 100); j++) {
      mat[i][j] = 0;
    }
  }
  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[100], n);
  for (int k = 0; k < n; k++) {
    if (rsum[k] == max)
      printf("%d ", k);
  }
  return 0;
}
```