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

```asm
<wrap>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %r8,-0x58(%rbp)
  mov    %r9d,-0x5c(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0x68(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpl   $0x0,-0x5c(%rbp)
  je     L62
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x18(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x14(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  jne    L76
  cmpl   $0x0,-0x18(%rbp)
  je     L48
L76:
  movl   $0x0,-0x1c(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0x24(%rbp)
  movl   $0x0,-0x20(%rbp)
  mov    -0x14(%rbp),%edx
  mov    -0x18(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  cltd
  idivl  -0x5c(%rbp)
  mov    %eax,-0xc(%rbp)
  movl   $0x0,-0x1c(%rbp)
  jmp    L19
L59:
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%edi
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%esi
  lea    -0x24(%rbp),%rcx
  mov    -0x38(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x40(%rbp)
  push   -0x68(%rbp)
  push   $0x0
  mov    %edi,%r9d
  mov    %rcx,%r8
  mov    %edx,%ecx
  mov    0x10(%rbp),%edx
  mov    %rax,%rdi
  call   <print_line@plt>
  add    $0x20,%rsp
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%esi
  mov    -0x58(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x0
  push   -0x68(%rbp)
  push   $0x1
  mov    %ecx,%r9d
  mov    $0x0,%r8d
  mov    %edx,%ecx
  mov    $0x0,%edx
  mov    %rax,%rdi
  call   <print_line@plt>
  add    $0x20,%rsp
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%r8d
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%esi
  lea    -0x20(%rbp),%rdi
  mov    0x18(%rbp),%edx
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x50(%rbp)
  push   -0x68(%rbp)
  push   $0x0
  mov    %r8d,%r9d
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <print_line@plt>
  add    $0x20,%rsp
  mov    -0x68(%rbp),%rax
  lea    D3(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <fprintf@plt>
  addl   $0x1,-0x1c(%rbp)
L19:
  mov    -0x1c(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jl     L59
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x10(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jl     L57
  mov    -0x10(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jge    L11
L57:
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%edi
  mov    -0x14(%rbp),%edx
  mov    -0x18(%rbp),%eax
  cmp    %eax,%edx
  cmovg  %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%esi
  lea    -0x24(%rbp),%rcx
  mov    -0x38(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x40(%rbp)
  push   -0x68(%rbp)
  push   $0x0
  mov    %edi,%r9d
  mov    %rcx,%r8
  mov    %edx,%ecx
  mov    0x10(%rbp),%edx
  mov    %rax,%rdi
  call   <print_line@plt>
  add    $0x20,%rsp
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x14(%rbp),%edx
  mov    -0x18(%rbp),%eax
  cmp    %eax,%edx
  cmovg  %eax,%edx
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%esi
  mov    -0x58(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x0
  push   -0x68(%rbp)
  push   $0x1
  mov    %ecx,%r9d
  mov    $0x0,%r8d
  mov    %edx,%ecx
  mov    $0x0,%edx
  mov    %rax,%rdi
  call   <print_line@plt>
  add    $0x20,%rsp
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%r8d
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    %eax,%ecx
  mov    -0x1c(%rbp),%eax
  imul   -0x5c(%rbp),%eax
  mov    %eax,%esi
  lea    -0x20(%rbp),%rdi
  mov    0x18(%rbp),%edx
  mov    -0x48(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x50(%rbp)
  push   -0x68(%rbp)
  push   $0x0
  mov    %r8d,%r9d
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <print_line@plt>
  add    $0x20,%rsp
  jmp    L11
L62:
  nop
  jmp    L11
L48:
  nop
L11:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L96
  call   <__stack_chk_fail@plt>
L96:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D3
type_infered: string

tool: D3: 


assistant: ```c
void wrap(const char *s1, const char *s1_header, const char *s2, const char *s2_header, const char *diff, int len, int s1_offset, int s2_offset, FILE *output) {
  int m, n, i, j;
  int nr_gaps_a;
  int nr_gaps_b;
  int nr_lines;
  if (!len)
    return;
  m = strlen(s1);
  n = strlen(s2);
  if (!n && !m)
    return;
  i = 0;
  j = 0;
  nr_gaps_a = 0;
  nr_gaps_b = 0;
  nr_lines = (n > m ? m : n) / len;
  for (i = 0; i < nr_lines; ++i) {
    print_line(s1, i * len, s1_offset, (i + 1) * len, &nr_gaps_a, (i + 1) * len, 0, output, s1_header);
    print_line(diff, i * len, 0, (i + 1) * len, NULL, (i + 1) * len, 1, output, NULL);
    print_line(s2, i * len, s2_offset, (i + 1) * len, &nr_gaps_b, (i + 1) * len, 0, output, s2_header);
    fprintf(output, "\n");
  }
  j = i * len;
  if (j < m || j < n) {
    print_line(s1, i * len, s1_offset, ((m) < (n)) ? (m) : (n), &nr_gaps_a, (i + 1) * len, 0, output, s1_header);
    print_line(diff, i * len, 0, (m < n) ? m : n, NULL, (i + 1) * len, 1, output, NULL);
    print_line(s2, i * len, s2_offset, ((n) < (m)) ? (n) : (m), &nr_gaps_b, (i + 1) * len, 0, output, s2_header);
  }
}
```