user: Translate the below assembly code into C programming language:

```asm
<adgold_lowpass_iir>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x34(%rbp)
  movss  %xmm0,-0x38(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movss  D129(%rip),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  D74(%rip),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D129(%rip),%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  D55(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  D100(%rip),%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  D127(%rip),%xmm0
  movss  %xmm0,-0xc(%rbp)
  movl   $0x2,-0x24(%rbp)
  jmp    L23
L35:
  mov    -0x24(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rcx
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  lea    D114(%rip),%rax
  movss  (%rdx,%rax,1),%xmm0
  mov    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  lea    D114(%rip),%rax
  movss  %xmm0,(%rdx,%rax,1)
  mov    -0x24(%rbp),%eax
  sub    $0x1,%eax
  movslq %eax,%rcx
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  lea    D104(%rip),%rax
  movss  (%rdx,%rax,1),%xmm0
  mov    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  lea    D104(%rip),%rax
  movss  %xmm0,(%rdx,%rax,1)
  subl   $0x1,-0x24(%rbp)
L23:
  cmpl   $0x0,-0x24(%rbp)
  jg     L35
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  lea    D114(%rip),%rax
  movss  -0x38(%rbp),%xmm0
  movss  %xmm0,(%rdx,%rax,1)
  movss  -0x20(%rbp),%xmm1
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  lea    D114(%rip),%rax
  movss  (%rdx,%rax,1),%xmm0
  mulss  %xmm1,%xmm0
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  lea    D104(%rip),%rax
  movss  %xmm0,(%rdx,%rax,1)
  movl   $0x1,-0x24(%rbp)
  jmp    L17
L48:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  lea    D104(%rip),%rax
  movss  (%rdx,%rax,1),%xmm1
  mov    -0x24(%rbp),%eax
  cltq
  movss  -0x20(%rbp,%rax,4),%xmm2
  mov    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  lea    D114(%rip),%rax
  movss  (%rdx,%rax,1),%xmm0
  mulss  %xmm2,%xmm0
  mov    -0x24(%rbp),%eax
  cltq
  movss  -0x14(%rbp,%rax,4),%xmm3
  mov    -0x24(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rdx
  lea    D104(%rip),%rax
  movss  (%rdx,%rax,1),%xmm2
  mulss  %xmm3,%xmm2
  subss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  lea    D104(%rip),%rax
  movss  %xmm0,(%rdx,%rax,1)
  addl   $0x1,-0x24(%rbp)
L17:
  cmpl   $0x2,-0x24(%rbp)
  jle    L48
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,%rdx
  lea    D104(%rip),%rax
  movss  (%rdx,%rax,1),%xmm0
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L11
  call   <__stack_chk_fail@plt>
L11:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D129
datatype: f32
name: disassemble_data
arguments: tag: D74
datatype: f32
name: disassemble_data
arguments: tag: D55
datatype: f32
name: disassemble_data
arguments: tag: D100
datatype: byte[4]
name: disassemble_data
arguments: tag: D127
datatype: f32

tool: D129: 9.159473951071446e-05

tool: D74: 0.0001831894790214289

tool: D55: 1

tool: {"D100": [0x28,0x72,0xfc,0xbf]}

tool: D127: 0.9726139693130628

assistant: ```c
float adgold_lowpass_iir(int i, float NewSample) {
  float ACoef[2 + 1] = {0.00009159473951071446, 0.00018318947902142891, 0.00009159473951071446};
  float BCoef[2 + 1] = {1.00000000000000000000, -1.97223372919526560000, 0.97261396931306277000};
  static float y[2][2 + 1];
  static float x[2][2 + 1];
  int n;
  for (n = 2; n > 0; n--) {
    x[i][n] = x[i][n - 1];
    y[i][n] = y[i][n - 1];
  }
  x[i][0] = NewSample;
  y[i][0] = ACoef[0] * x[i][0];
  for (n = 1; n <= 2; n++)
    y[i][0] += ACoef[n] * x[i][n] - BCoef[n] * y[i][n];
  return y[i][0];
}
```