user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<videoSequence>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbp
  mov    %esi,0x1c(%rsp)
  mov    %edx,0x18(%rsp)
  mov    %ecx,0x14(%rsp)
  mov    %r8,0x8(%rsp)
  imul   %edx,%esi
  mov    %esi,%ebx
  imul   %ecx,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  D11(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <roundDouble@plt>
  mov    %rax,%r12
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x1c(%rsp),%xmm0
  mulsd  D11(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <roundDouble@plt>
  mov    %rax,%rdx
  mov    0x18(%rsp),%edi
  mov    0x14(%rsp),%esi
  mov    %edi,%eax
  imul   %r12d,%eax
  lea    (%rax,%rdx,1),%eax
  imul   %esi,%eax
  cltq
  movl   $0x1,0x0(%rbp,%rax,4)
  cmp    $0x1,%esi
  jle    L16
  mov    $0x1,%ecx
  sub    $0x1,%r12d
  mov    $0x0,%r8d
L71:
  lea    (%r12,%rcx,1),%eax
  mov    %eax,%r9d
  neg    %r9d
  cmovs  %eax,%r9d
  mov    %edx,%eax
  neg    %eax
  cmovs  %edx,%eax
  imul   %edi,%eax
  lea    (%rax,%r9,1),%eax
  imul   %esi,%eax
  add    %ecx,%eax
  cmp    %eax,%ebx
  cmovle %r8d,%eax
  cltq
  movl   $0x1,0x0(%rbp,%rax,4)
  add    $0x1,%ecx
  sub    $0x2,%edx
  cmp    %ecx,%esi
  jne    L71
L16:
  imul   0x1c(%rsp),%edi
  imul   %esi,%edi
  shl    $0x2,%edi
  call   <malloc@plt>
  mov    %rax,%rbx
  mov    %rax,%r9
  mov    $0x5,%r8d
  mov    0x14(%rsp),%ecx
  mov    0x18(%rsp),%edx
  mov    0x1c(%rsp),%esi
  mov    %rbp,%rdi
  call   <imdilate_disk@plt>
  mov    0x1c(%rsp),%r14d
  test   %r14d,%r14d
  jle    L86
  mov    0x18(%rsp),%r9d
  mov    0x14(%rsp),%r8d
  mov    %r9d,%r15d
  imul   %r8d,%r15d
  mov    $0x0,%r13d
  mov    $0x0,%r12d
  lea    -0x1(%r8),%r11d
  lea    0x4(%rbx),%r10
  mov    %rbp,%rcx
  sub    %rbx,%rcx
  jmp    L20
L22:
  movslq %edi,%rdx
  lea    (%rbx,%rdx,4),%rax
  add    %r11,%rdx
  lea    (%r10,%rdx,4),%rdx
  mov    %esi,0x10(%rsp)
L33:
  mov    (%rax),%esi
  mov    %esi,(%rcx,%rax,1)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L33
  mov    0x10(%rsp),%esi
L14:
  add    $0x1,%esi
  add    %r8d,%edi
  cmp    %r9d,%esi
  je     L19
L94:
  test   %r8d,%r8d
  jg     L22
  jmp    L14
L19:
  add    $0x1,%r12d
  add    %r15d,%r13d
  cmp    %r14d,%r12d
  je     L86
L20:
  mov    %r13d,%edi
  mov    $0x0,%esi
  test   %r9d,%r9d
  jg     L94
  jmp    L19
L86:
  mov    %rbx,%rdi
  call   <free@plt>
  lea    0x14(%rsp),%r13
  lea    0x18(%rsp),%r12
  lea    0x1c(%rsp),%rbx
  mov    %r13,%r9
  mov    %r12,%r8
  mov    %rbx,%rcx
  mov    %rbp,%rdx
  mov    $0x64,%esi
  mov    $0x0,%edi
  call   <setIf@plt>
  mov    %r13,%r9
  mov    %r12,%r8
  mov    %rbx,%rcx
  mov    %rbp,%rdx
  mov    $0xe4,%esi
  mov    $0x1,%edi
  call   <setIf@plt>
  mov    0x8(%rsp),%r8
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    %rbx,%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: parse_data
arguments: data_tag: D11
datatype: byte[8]

tool: {"D11": [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);
}
```