user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x88,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,-0xa8(%rbp)
  lea    -0x64(%rbp),%rdx
  lea    -0x68(%rbp),%rax
  mov    %rax,%rsi
  lea    D22(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x68(%rbp),%ecx
  mov    -0x64(%rbp),%esi
  movslq %ecx,%rax
  sub    $0x1,%rax
  mov    %rax,-0x50(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0xa0(%rbp)
  movq   $0x0,-0x98(%rbp)
  movslq %ecx,%rax
  lea    0x0(,%rax,4),%rbx
  movslq %esi,%rax
  sub    $0x1,%rax
  mov    %rax,-0x48(%rbp)
  movslq %ecx,%rax
  mov    %rax,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movslq %esi,%rax
  mov    %rax,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  mov    -0x80(%rbp),%r8
  mov    -0x78(%rbp),%r9
  mov    %r9,%rdx
  mov    -0x90(%rbp),%r10
  mov    -0x88(%rbp),%r11
  imul   %r10,%rdx
  mov    %r11,%rax
  imul   %r8,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r8,%rax
  mul    %r10
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rax
  mov    %rax,%r14
  mov    $0x0,%r15d
  movslq %esi,%rax
  mov    %rax,%r12
  mov    $0x0,%r13d
  mov    %r15,%rdx
  imul   %r12,%rdx
  mov    %r13,%rax
  imul   %r14,%rax
  lea    (%rdx,%rax,1),%rdi
  mov    %r14,%rax
  mul    %r12
  add    %rdx,%rdi
  mov    %rdi,%rdx
  movslq %ecx,%rdx
  movslq %esi,%rax
  imul   %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%edi
  mov    $0x0,%edx
  div    %rdi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L27:
  cmp    %rdx,%rsp
  je     L124
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L27
L124:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L77
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L77:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x40(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L43
L119:
  movl   $0x0,-0x5c(%rbp)
  jmp    L63
L126:
  mov    %rbx,%rdx
  shr    $0x2,%rdx
  mov    -0x5c(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x60(%rbp),%eax
  cltq
  imul   %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rsi
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  addl   $0x1,-0x5c(%rbp)
L63:
  mov    -0x68(%rbp),%eax
  cmp    %eax,-0x5c(%rbp)
  jl     L126
  addl   $0x1,-0x60(%rbp)
L43:
  mov    -0x64(%rbp),%eax
  cmp    %eax,-0x60(%rbp)
  jl     L119
  movl   $0x0,-0x58(%rbp)
  movl   $0x0,-0x54(%rbp)
  movl   $0x0,-0x60(%rbp)
  jmp    L80
L15:
  movl   $0x0,-0x5c(%rbp)
  jmp    L101
L51:
  mov    %rbx,%rcx
  shr    $0x2,%rcx
  mov    -0x40(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rsi
  mov    -0x5c(%rbp),%edx
  movslq %edx,%rdx
  imul   %rcx,%rdx
  add    %rsi,%rdx
  mov    (%rax,%rdx,4),%edx
  mov    %rbx,%rsi
  shr    $0x2,%rsi
  mov    -0x40(%rbp),%rax
  mov    -0x60(%rbp),%ecx
  movslq %ecx,%rdi
  mov    -0x58(%rbp),%ecx
  movslq %ecx,%rcx
  imul   %rsi,%rcx
  add    %rdi,%rcx
  mov    (%rax,%rcx,4),%eax
  cmp    %eax,%edx
  jge    L113
  mov    -0x5c(%rbp),%eax
  mov    %eax,-0x58(%rbp)
L113:
  addl   $0x1,-0x5c(%rbp)
L101:
  mov    -0x64(%rbp),%eax
  cmp    %eax,-0x5c(%rbp)
  jl     L51
  mov    %rbx,%rcx
  shr    $0x2,%rcx
  mov    -0x40(%rbp),%rax
  mov    -0x60(%rbp),%edx
  movslq %edx,%rsi
  mov    -0x58(%rbp),%edx
  movslq %edx,%rdx
  imul   %rcx,%rdx
  add    %rsi,%rdx
  mov    (%rax,%rdx,4),%eax
  add    %eax,-0x54(%rbp)
  addl   $0x1,-0x60(%rbp)
L80:
  mov    -0x68(%rbp),%eax
  cmp    %eax,-0x60(%rbp)
  jl     L15
  mov    -0x54(%rbp),%eax
  mov    %eax,%esi
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0xa8(%rbp),%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L84
  call   <__stack_chk_fail@plt>
L84:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D22
type_infered: string
name: extract_symbolic_data
arguments: label: D24
type_infered: string

tool: D22: %d %d

tool: D24: %d

assistant: ```c
int main() {
  int n, k, i, j;
  scanf("%d %d", &n, &k);
  int gang[k][n];
  for (i = 0; i < k; i++)
    for (j = 0; j < n; j++)
      scanf("%d", &gang[i][j]);
  int gangster = 0;
  int money = 0;
  for (i = 0; i < n; i++) {
    for (j = 0; j < k; j++) {
      if (gang[j][i] < gang[gangster][i])
        gangster = j;
    }
    money += gang[gangster][i];
  }
  printf("%d", money);
  return 0;
}
```