user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<neuralops_batchnorm2d_fwd_output>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,0x18(%rsp)
  mov    0x98(%rsp),%r13
  mov    %r9,0x20(%rsp)
  test   %rdi,%rdi
  je     L66
  test   %rcx,%rcx
  je     L66
  mov    %rsi,%rbp
  lea    (%r9,%rcx,4),%rax
  mov    %rdx,%rsi
  mov    %r8,%r12
  mov    %rbp,%r14
  mov    %rax,0x8(%rsp)
  mov    %rbp,%r15
  movaps %xmm0,%xmm6
  shr    $0x2,%r14
  lea    -0x1(%rbp),%r9
  and    $0xfffffffffffffffc,%r15
  xor    %ebx,%ebx
  movq   $0x0,0x10(%rsp)
  shl    $0x4,%r14
  pxor   %xmm8,%xmm8
  movss  D7(%rip),%xmm7
L33:
  mov    0x90(%rsp),%rax
  mov    %rbp,%rdi
  mov    0x20(%rsp),%r8
  sub    %r15,%rdi
  mov    %rax,(%rsp)
L122:
  mov    (%rsp),%rax
  movss  (%r8),%xmm2
  movss  (%rax),%xmm0
  addss  %xmm6,%xmm0
  ucomiss %xmm0,%xmm8
  ja     L127
  sqrtss %xmm0,%xmm0
L178:
  movaps %xmm7,%xmm1
  xor    %ecx,%ecx
  divss  %xmm0,%xmm1
  test   %rsi,%rsi
  je     L14
  movaps %xmm2,%xmm9
  movaps %xmm1,%xmm5
  movaps %xmm2,%xmm4
  movaps %xmm1,%xmm3
  shufps $0xe0,%xmm9,%xmm9
  shufps $0xe0,%xmm5,%xmm5
  shufps $0x0,%xmm4,%xmm4
  shufps $0x0,%xmm3,%xmm3
  nop
L138:
  test   %rbp,%rbp
  je     L89
  lea    0x0(,%rbx,4),%rdx
  lea    0x0(%r13,%rdx,1),%r10
  lea    0x4(%r12,%rdx,1),%r11
  mov    %r10,%rax
  sub    %r11,%rax
  cmp    $0x8,%rax
  jbe    L104
  cmp    $0x1,%rbp
  je     L104
  cmp    $0x2,%r9
  jbe    L30
  add    %r12,%rdx
  xor    %eax,%eax
  nopl   0x0(%rax)
L107:
  movups (%rdx,%rax,1),%xmm0
  subps  %xmm4,%xmm0
  mulps  %xmm3,%xmm0
  movups %xmm0,(%r10,%rax,1)
  add    $0x10,%rax
  cmp    %r14,%rax
  jne    L107
  lea    (%rbx,%r15,1),%rax
  lea    0x0(%rbp,%rbx,1),%rdx
  cmp    %r15,%rbp
  je     L137
  mov    %rdi,%r10
  cmp    $0x1,%rdi
  je     L4
  mov    %r15,%rdx
L111:
  add    %rbx,%rdx
  mov    %r10,%r11
  movq   (%r12,%rdx,4),%xmm0
  and    $0xfffffffffffffffe,%r11
  add    %r11,%rax
  subps  %xmm9,%xmm0
  mulps  %xmm5,%xmm0
  movlps %xmm0,0x0(%r13,%rdx,4)
  lea    0x0(%rbp,%rbx,1),%rdx
  cmp    %r11,%r10
  je     L137
L4:
  movss  (%r12,%rax,4),%xmm0
  lea    0x0(%rbp,%rbx,1),%rdx
  subss  %xmm2,%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,0x0(%r13,%rax,4)
L137:
  mov    %rdx,%rbx
L89:
  add    $0x1,%rcx
  cmp    %rcx,%rsi
  jne    L138
L14:
  addq   $0x4,(%rsp)
  add    $0x4,%r8
  cmp    0x8(%rsp),%r8
  jne    L122
  addq   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%rax
  cmp    %rax,0x18(%rsp)
  jne    L33
L66:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L104:
  lea    0x0(%rbp,%rbx,1),%rdx
  nopl   (%rax)
L124:
  movss  (%r12,%rbx,4),%xmm0
  subss  %xmm2,%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,0x0(%r13,%rbx,4)
  add    $0x1,%rbx
  cmp    %rdx,%rbx
  jne    L124
  jmp    L137
L30:
  mov    %rbp,%r10
  mov    %rbx,%rax
  xor    %edx,%edx
  jmp    L111
L127:
  mov    %rdi,0x48(%rsp)
  mov    %rsi,0x38(%rsp)
  mov    %r8,0x30(%rsp)
  mov    %r9,0x28(%rsp)
  movss  %xmm6,0x44(%rsp)
  movss  %xmm2,0x40(%rsp)
  call   <sqrtf@plt>
  mov    0x48(%rsp),%rdi
  movss  0x44(%rsp),%xmm6
  pxor   %xmm8,%xmm8
  mov    0x38(%rsp),%rsi
  mov    0x30(%rsp),%r8
  mov    0x28(%rsp),%r9
  movss  D7(%rip),%xmm7
  movss  0x40(%rsp),%xmm2
  jmp    L178
```

tool_calls: name: disassemble_data
arguments: label: D7
data_type: byte[4]

tool: {"D7": [0x00,0x00,0x80,0x3f]}

assistant: ```c
void neuralops_batchnorm2d_fwd_output(size_t batch_sz, size_t width, size_t height, size_t chan, const float *in_buf, const float *mean, const float *var, float *out_buf, float epsilon) {
  size_t p = 0;
  for (size_t idx = 0; idx < batch_sz; idx += 1) {
    for (size_t a = 0; a < chan; a += 1) {
      float m = mean[a];
      float v = var[a];
      float rs = 1.0f / sqrtf(v + epsilon);
      for (size_t y = 0; y < height; y += 1) {
        for (size_t x = 0; x < width; x += 1) {
          out_buf[p] = (in_buf[p] - m) * rs;
          p += 1;
        }
      }
    }
  }
}
```