user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x1d000(%rsp),%r11
L255:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L255
  sub    $0x4f8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1d4e8(%rsp)
  xor    %eax,%eax
  lea    D73(%rip),%rdi
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  lea    D45(%rip),%rbx
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D85(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D75(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%r15d
  mov    $0x1,%r12d
  lea    0x20(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    D68(%rip),%r14
  mov    %rbx,%r13
  cmpl   $0x0,0x18(%rsp)
  jg     L112
L19:
  lea    D70(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%r15d
  mov    $0x1,%r12d
  lea    0x9c60(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    D68(%rip),%r14
  lea    D45(%rip),%r13
  cmpl   $0x0,0x18(%rsp)
  jg     L8
L143:
  lea    D87(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,0x18(%rsp)
  jle    L38
  lea    0x138a0(%rsp),%rbp
  mov    $0x0,%r13d
  lea    D48(%rip),%r12
  lea    D78(%rip),%r14
  jmp    L77
L227:
  add    $0x1,%ebx
  mov    %ebx,%edx
  mov    %r12d,%esi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    0x1c(%rsp),%ebx
  jl     L227
L45:
  lea    0x1(%r12),%eax
  add    $0x64,%r15
  cmp    %r12d,0x18(%rsp)
  jle    L19
  mov    %eax,%r12d
L112:
  mov    0x8(%rsp),%rax
  lea    (%rax,%r15,4),%rbp
  mov    $0x0,%ebx
  cmpl   $0x0,0x1c(%rsp)
  jg     L227
  jmp    L45
L242:
  add    $0x1,%ebx
  mov    %ebx,%edx
  mov    %r12d,%esi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    0x1c(%rsp),%ebx
  jl     L242
L107:
  mov    0x18(%rsp),%eax
  lea    0x1(%r12),%edx
  add    $0x64,%r15
  cmp    %r12d,%eax
  jle    L186
  mov    %edx,%r12d
L8:
  mov    0x8(%rsp),%rax
  lea    (%rax,%r15,4),%rbp
  mov    $0x0,%ebx
  cmpl   $0x0,0x1c(%rsp)
  jg     L242
  jmp    L107
L186:
  test   %eax,%eax
  jle    L143
  mov    0x1c(%rsp),%r8d
  lea    -0x1(%r8),%esi
  lea    0x4(,%rsi,4),%rcx
  lea    -0x1(%rax),%eax
  lea    (%rax,%rax,4),%rax
  lea    (%rax,%rax,4),%rax
  lea    0x65(%rsi,%rax,4),%rdi
  shl    $0x2,%rdi
  not    %rsi
  shl    $0x2,%rsi
  jmp    L171
L159:
  mov    0x9c60(%rsp,%rax,1),%edx
  add    0x20(%rsp,%rax,1),%edx
  mov    %edx,0x138a0(%rsp,%rax,1)
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L159
L151:
  add    $0x190,%rcx
  cmp    %rdi,%rcx
  je     L143
L171:
  lea    (%rsi,%rcx,1),%rax
  test   %r8d,%r8d
  jg     L159
  jmp    L151
L258:
  mov    %r14,%rdi
  call   <puts@plt>
L43:
  add    $0x1,%rbx
  cmp    %ebx,0x1c(%rsp)
  jle    L158
L259:
  mov    0x0(%rbp,%rbx,4),%esi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x1c(%rsp),%eax
  sub    $0x1,%eax
  cmp    %ebx,%eax
  jne    L43
  jmp    L258
L158:
  add    $0x1,%r13d
  add    $0x190,%rbp
  cmp    %r13d,0x18(%rsp)
  jle    L38
L77:
  mov    $0x0,%ebx
  cmpl   $0x0,0x1c(%rsp)
  jg     L259
  jmp    L158
L38:
  mov    0x1d4e8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L146
  mov    $0x0,%eax
  add    $0x1d4f8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L146:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D73
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D45
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D85
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D75
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D68
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D70
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D87
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D48
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D78
type_guessed: string

tool: D73: Enter number of rows

tool: D45: %d

tool: D85: Enter number of columns

tool: D75: 
Enter elements of 1st matrix:

tool: D68: Enter element a%d%d: 

tool: D70: Enter elements of 2nd matrix:

tool: D87: 
Sum of two matrix is: 


tool: D48: %d   

tool: D78: 


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;
}
```