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

```asm
<videoSequence>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  cvtsi2sd %edx,%xmm0
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x28,%rsp
  mulsd  D2(%rip),%xmm0
  mov    %esi,0x1c(%rsp)
  imul   %edx,%esi
  mov    %ecx,0x14(%rsp)
  mov    %r8,0x8(%rsp)
  mov    %esi,%ebx
  mov    %edx,0x18(%rsp)
  imul   %ecx,%ebx
  cvttsd2si %xmm0,%edi
  call   <roundDouble@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x1c(%rsp),%xmm0
  mulsd  D2(%rip),%xmm0
  mov    %rax,%r12
  cvttsd2si %xmm0,%edi
  call   <roundDouble@plt>
  mov    0x18(%rsp),%r8d
  mov    0x14(%rsp),%edi
  mov    $0x1,%esi
  mov    %rax,%rcx
  lea    -0x1(%r12),%r9d
  mov    %r8d,%eax
  imul   %r12d,%eax
  add    %ecx,%eax
  imul   %edi,%eax
  cltq
  movl   $0x1,0x0(%rbp,%rax,4)
  cmp    $0x1,%edi
  jle    L9
  cs nopw 0x0(%rax,%rax,1)
L23:
  lea    (%r9,%rsi,1),%edx
  mov    %edx,%eax
  neg    %eax
  cmovs  %edx,%eax
  mov    %ecx,%edx
  neg    %edx
  cmovs  %ecx,%edx
  imul   %r8d,%edx
  add    %edx,%eax
  mov    %rbp,%rdx
  imul   %edi,%eax
  add    %esi,%eax
  cmp    %eax,%ebx
  jle    L50
  cltq
  lea    0x0(%rbp,%rax,4),%rdx
L50:
  add    $0x1,%esi
  movl   $0x1,(%rdx)
  sub    $0x2,%ecx
  cmp    %esi,%edi
  jne    L23
L9:
  imul   0x1c(%rsp),%edi
  imul   %r8d,%edi
  shl    $0x2,%edi
  call   <malloc@plt>
  mov    0x14(%rsp),%ecx
  mov    0x18(%rsp),%edx
  mov    %rbp,%rdi
  mov    0x1c(%rsp),%esi
  mov    %rax,%r9
  mov    $0x5,%r8d
  mov    %rax,(%rsp)
  call   <imdilate_disk@plt>
  mov    0x1c(%rsp),%r14d
  mov    (%rsp),%r9
  test   %r14d,%r14d
  jle    L89
  mov    0x18(%rsp),%r10d
  mov    0x14(%rsp),%r8d
  mov    %rbp,%rcx
  xor    %r13d,%r13d
  xor    %r12d,%r12d
  lea    0x4(%r9),%r11
  sub    %r9,%rcx
  mov    %r10d,%r15d
  lea    -0x1(%r8),%ebx
  imul   %r8d,%r15d
L27:
  mov    %r13d,%edi
  xor    %esi,%esi
  test   %r10d,%r10d
  jle    L71
  nopw   0x0(%rax,%rax,1)
L53:
  test   %r8d,%r8d
  jle    L51
  movslq %edi,%rdx
  mov    %esi,(%rsp)
  lea    (%r9,%rdx,4),%rax
  add    %rbx,%rdx
  lea    (%r11,%rdx,4),%rdx
  cs nopw 0x0(%rax,%rax,1)
L49:
  mov    (%rax),%esi
  mov    %esi,(%rcx,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%rdx
  jne    L49
  mov    (%rsp),%esi
L51:
  add    $0x1,%esi
  add    %r8d,%edi
  cmp    %r10d,%esi
  jne    L53
L71:
  add    $0x1,%r12d
  add    %r15d,%r13d
  cmp    %r12d,%r14d
  jne    L27
L89:
  lea    0x14(%rsp),%r14
  lea    0x18(%rsp),%r13
  mov    %r9,%rdi
  call   <free@plt>
  lea    0x1c(%rsp),%r12
  mov    %r14,%r9
  mov    %r13,%r8
  mov    %r12,%rcx
  mov    %rbp,%rdx
  mov    $0x64,%esi
  xor    %edi,%edi
  call   <setIf@plt>
  mov    %r14,%r9
  mov    %r13,%r8
  mov    %r12,%rcx
  mov    %rbp,%rdx
  mov    $0xe4,%esi
  mov    $0x1,%edi
  call   <setIf@plt>
  mov    0x8(%rsp),%r8
  mov    %r14,%rcx
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <addNoise@plt>
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D2
datatype: byte[8]

tool: {"D2": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

assistant: ```c
void videoSequence(int *I, int IszX, int IszY, int Nfr, int *seed) {
  int k;
  int max_size = IszX * IszY * Nfr;
  int x0 = (int)roundDouble(IszY / 2.0);
  int y0 = (int)roundDouble(IszX / 2.0);
  I[x0 * IszY * Nfr + y0 * Nfr + 0] = 1;
  int xk, yk, pos;
  for (k = 1; k < Nfr; k++) {
    xk = abs(x0 + (k - 1));
    yk = abs(y0 - 2 * (k - 1));
    pos = yk * IszY * Nfr + xk * Nfr + k;
    if (pos >= max_size)
      pos = 0;
    I[pos] = 1;
  }
  int *newMatrix = (int *)malloc(sizeof(int) * IszX * IszY * Nfr);
  imdilate_disk(I, IszX, IszY, Nfr, 5, newMatrix);
  int x, y;
  for (x = 0; x < IszX; x++) {
    for (y = 0; y < IszY; y++) {
      for (k = 0; k < Nfr; k++) {
        I[x * IszY * Nfr + y * Nfr + k] = newMatrix[x * IszY * Nfr + y * Nfr + k];
      }
    }
  }
  free(newMatrix);
  setIf(0, 100, I, &IszX, &IszY, &Nfr);
  setIf(1, 228, I, &IszX, &IszY, &Nfr);
  addNoise(I, &IszX, &IszY, &Nfr, seed);
}
```