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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  lea    -0x1d000(%rsp),%r11
L168:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L168
  sub    $0x4e0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1d4e0(%rbp),%rax
  mov    %rax,%rsi
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D126(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1d4dc(%rbp),%rax
  mov    %rax,%rsi
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x1d4d8(%rbp)
  jmp    L96
L52:
  movl   $0x0,-0x1d4d4(%rbp)
  jmp    L58
L26:
  mov    -0x1d4d4(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x1d4d8(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1d4d0(%rbp),%rcx
  mov    -0x1d4d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x1d4d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  addl   $0x1,-0x1d4d4(%rbp)
L58:
  mov    -0x1d4dc(%rbp),%eax
  cmp    %eax,-0x1d4d4(%rbp)
  jl     L26
  addl   $0x1,-0x1d4d8(%rbp)
L96:
  mov    -0x1d4e0(%rbp),%eax
  cmp    %eax,-0x1d4d8(%rbp)
  jl     L52
  lea    D71(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x1d4d8(%rbp)
  jmp    L25
L147:
  movl   $0x0,-0x1d4d4(%rbp)
  jmp    L1
L56:
  mov    -0x1d4d4(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x1d4d8(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,%esi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x13890(%rbp),%rcx
  mov    -0x1d4d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x1d4d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rsi
  lea    D86(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  addl   $0x1,-0x1d4d4(%rbp)
L1:
  mov    -0x1d4dc(%rbp),%eax
  cmp    %eax,-0x1d4d4(%rbp)
  jl     L56
  addl   $0x1,-0x1d4d8(%rbp)
L25:
  mov    -0x1d4e0(%rbp),%eax
  cmp    %eax,-0x1d4d8(%rbp)
  jl     L147
  movl   $0x0,-0x1d4d8(%rbp)
  jmp    L167
L45:
  movl   $0x0,-0x1d4d4(%rbp)
  jmp    L91
L123:
  mov    -0x1d4d4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x1d4d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x1d4d0(%rbp,%rax,4),%ecx
  mov    -0x1d4d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x1d4d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  mov    -0x13890(%rbp,%rax,4),%eax
  add    %eax,%ecx
  mov    -0x1d4d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x1d4d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  mov    %ecx,-0x9c50(%rbp,%rax,4)
  addl   $0x1,-0x1d4d4(%rbp)
L91:
  mov    -0x1d4dc(%rbp),%eax
  cmp    %eax,-0x1d4d4(%rbp)
  jl     L123
  addl   $0x1,-0x1d4d8(%rbp)
L167:
  mov    -0x1d4e0(%rbp),%eax
  cmp    %eax,-0x1d4d8(%rbp)
  jl     L45
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x0,-0x1d4d8(%rbp)
  jmp    L41
L93:
  movl   $0x0,-0x1d4d4(%rbp)
  jmp    L137
L15:
  mov    -0x1d4d4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x1d4d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    -0x9c50(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1d4dc(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1d4d4(%rbp)
  jne    L153
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L153:
  addl   $0x1,-0x1d4d4(%rbp)
L137:
  mov    -0x1d4dc(%rbp),%eax
  cmp    %eax,-0x1d4d4(%rbp)
  jl     L15
  addl   $0x1,-0x1d4d8(%rbp)
L41:
  mov    -0x1d4e0(%rbp),%eax
  cmp    %eax,-0x1d4d8(%rbp)
  jl     L93
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L22
  call   <__stack_chk_fail@plt>
L22:
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D75
data_type: string
name: parse_data
arguments: label: D86
data_type: string
name: parse_data
arguments: label: D126
data_type: string
name: parse_data
arguments: label: D17
data_type: string
name: parse_data
arguments: label: D20
data_type: string
name: parse_data
arguments: label: D71
data_type: string
name: parse_data
arguments: label: D25
data_type: string
name: parse_data
arguments: label: D48
data_type: string
name: parse_data
arguments: label: D30
data_type: string

tool: D75: Enter number of rows

tool: D86: %d

tool: D126: Enter number of columns

tool: D17: 
Enter elements of 1st matrix:

tool: D20: Enter element a%d%d: 

tool: D71: Enter elements of 2nd matrix:

tool: D25: 
Sum of two matrix is: 


tool: D48: %d   

tool: D30: 


assistant: ```c
int main() {
  int r, c, a[100][100], b[100][100], sum[100][100], i, j;
  printf("Enter number of rows");
  scanf("%d", &r);
  printf("Enter number of columns");
  scanf("%d", &c);
  printf("\nEnter elements of 1st matrix:\n");
  for (i = 0; i < r; ++i)
    for (j = 0; j < c; ++j) {
      printf("Enter element a%d%d: ", i + 1, j + 1);
      scanf("%d", &a[i][j]);
    }
  printf("Enter elements of 2nd matrix:\n");
  for (i = 0; i < r; ++i)
    for (j = 0; j < c; ++j) {
      printf("Enter element a%d%d: ", i + 1, j + 1);
      scanf("%d", &b[i][j]);
    }
  for (i = 0; i < r; ++i)
    for (j = 0; j < c; ++j) {
      sum[i][j] = a[i][j] + b[i][j];
    }
  printf("\nSum of two matrix is: \n\n");
  for (i = 0; i < r; ++i)
    for (j = 0; j < c; ++j) {
      printf("%d   ", sum[i][j]);
      if (j == c - 1) {
        printf("\n\n");
      }
    }
  return 0;
}
```