user: What is the c source code of the assembly code below:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x360,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x0,%eax
  call   <init_platform@plt>
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <target_timer_initialize@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,%edi
  call   <srand@plt>
  movl   $0x0,-0x35c(%rbp)
  jmp    L29
L5:
  mov    -0x35c(%rbp),%eax
  cltq
  mov    -0x35c(%rbp),%edx
  mov    %edx,-0x340(%rbp,%rax,4)
  addl   $0x1,-0x35c(%rbp)
L29:
  cmpl   $0x31,-0x35c(%rbp)
  jle    L5
  mov    $0x0,%eax
  call   <target_timer_initialize@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,-0x358(%rbp)
  lea    -0x270(%rbp),%rdx
  lea    -0x340(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <arrayadd_interrupt@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,-0x354(%rbp)
  mov    $0x0,%eax
  call   <target_timer_initialize@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,-0x350(%rbp)
  lea    -0x1a0(%rbp),%rdx
  lea    -0x340(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <arrayadd@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,-0x34c(%rbp)
  mov    $0x0,%eax
  call   <Xil_DCacheEnable@plt>
  mov    $0x0,%eax
  call   <target_timer_initialize@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,-0x348(%rbp)
  lea    -0xd0(%rbp),%rdx
  lea    -0x340(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <arrayadd_soft@plt>
  mov    $0x0,%eax
  call   <target_timer_get_current@plt>
  mov    %eax,-0x344(%rbp)
  mov    -0x354(%rbp),%eax
  sub    -0x358(%rbp),%eax
  mov    %eax,%esi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x34c(%rbp),%eax
  sub    -0x350(%rbp),%eax
  mov    %eax,%esi
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x344(%rbp),%eax
  sub    -0x348(%rbp),%eax
  mov    %eax,%esi
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D35(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <cleanup_platform@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L15
  call   <__stack_chk_fail@plt>
L15:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D5
type: string
name: parse_data
arguments: data_label: D21
type: string
name: parse_data
arguments: data_label: D36
type: string
name: parse_data
arguments: data_label: D14
type: string
name: parse_data
arguments: data_label: D35
type: string

tool: D5: Hello! matrixmul


tool: D21: hard interr time:%d


tool: D36: hard poling time:%d


tool: D14: soft time:%d


tool: D35: end matrixmul


assistant: ```c
int main() {
  int tmp1, tmp2, tmp3, tmp4, tmp5, tmp6;
  init_platform();
  printf("Hello! matrixmul\n\r");
  int i, j;
  target_timer_initialize();
  srand(target_timer_get_current());
  int a[50], b[50], c[50], d[50];
  for (i = 0; i < 50; i++) {
    a[i] = i;
  }
  target_timer_initialize();
  tmp1 = target_timer_get_current();
  arrayadd_interrupt(a, b);
  tmp2 = target_timer_get_current();
  target_timer_initialize();
  tmp3 = target_timer_get_current();
  arrayadd(a, c);
  tmp4 = target_timer_get_current();
  Xil_DCacheEnable();
  target_timer_initialize();
  tmp5 = target_timer_get_current();
  arrayadd_soft(a, d);
  tmp6 = target_timer_get_current();
  printf("hard interr time:%d\n", tmp2 - tmp1);
  printf("hard poling time:%d\n", tmp4 - tmp3);
  printf("soft time:%d\n", tmp6 - tmp5);
  printf("end matrixmul\n\r");
  cleanup_platform();
  return 0;
}
```