user: 这段汇编代码用C语言表示是什么样的？

```asm
<sift_extract_feature_vector>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  movss  %xmm0,-0x84(%rbp)
  movss  %xmm1,-0x88(%rbp)
  movss  %xmm2,-0x8c(%rbp)
  movss  %xmm3,-0x90(%rbp)
  mov    %rdi,-0x98(%rbp)
  mov    %rsi,-0xa0(%rbp)
  mov    %edx,-0xa4(%rbp)
  mov    %ecx,-0xa8(%rbp)
  mov    %r8d,-0xac(%rbp)
  mov    %r9d,-0xb0(%rbp)
  movss  %xmm4,-0xb4(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0xc0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x70(%rbp)
  jmp    L233
L279:
  mov    -0x70(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x70(%rbp)
L233:
  mov    -0xac(%rbp),%eax
  imul   %eax,%eax
  imul   -0xb0(%rbp),%eax
  cmp    %eax,-0x70(%rbp)
  jl     L279
  pxor   %xmm2,%xmm2
  cvtsi2ssl -0xac(%rbp),%xmm2
  movss  D138(%rip),%xmm0
  movaps %xmm0,%xmm1
  divss  %xmm2,%xmm1
  movss  D138(%rip),%xmm0
  addss  %xmm1,%xmm0
  mulss  -0xb4(%rbp),%xmm0
  movss  -0x8c(%rbp),%xmm1
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x5c(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0x5c(%rbp),%xmm1
  movsd  D143(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x58(%rbp)
  movss  -0x84(%rbp),%xmm0
  subss  -0x58(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D201(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    $0x0,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  mov    %eax,-0x54(%rbp)
  movss  -0x88(%rbp),%xmm0
  subss  -0x58(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D201(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    $0x0,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  mov    %eax,-0x50(%rbp)
  mov    -0xa8(%rbp),%eax
  lea    -0x1(%rax),%edx
  movss  -0x84(%rbp),%xmm0
  addss  -0x58(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D201(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0xa4(%rbp),%eax
  lea    -0x1(%rax),%edx
  movss  -0x88(%rbp),%xmm0
  addss  -0x58(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D201(%rip),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  mov    %eax,-0x48(%rbp)
  mov    -0x54(%rbp),%eax
  mov    %eax,-0x6c(%rbp)
  jmp    L201
L205:
  mov    -0x50(%rbp),%eax
  mov    %eax,-0x68(%rbp)
  jmp    L67
L219:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x6c(%rbp),%xmm0
  subss  -0x84(%rbp),%xmm0
  movss  %xmm0,-0x78(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x68(%rbp),%xmm0
  subss  -0x88(%rbp),%xmm0
  movss  %xmm0,-0x74(%rbp)
  movss  -0x90(%rbp),%xmm0
  movss  D15(%rip),%xmm1
  xorps  %xmm0,%xmm1
  movss  -0x74(%rbp),%xmm0
  mov    -0x78(%rbp),%eax
  lea    -0x74(%rbp),%rcx
  lea    -0x78(%rbp),%rdx
  movaps %xmm1,%xmm2
  mov    %rcx,%rsi
  mov    %rdx,%rdi
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <apply_rotation@plt>
  movss  -0x78(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  comiss %xmm1,%xmm0
  jbe    L95
  movss  -0x78(%rbp),%xmm0
  movss  D15(%rip),%xmm1
  xorps  %xmm0,%xmm1
  jmp    L44
L95:
  movss  -0x78(%rbp),%xmm1
L44:
  movss  -0x74(%rbp),%xmm2
  pxor   %xmm0,%xmm0
  comiss %xmm2,%xmm0
  jbe    L293
  movss  -0x74(%rbp),%xmm0
  movss  D15(%rip),%xmm2
  xorps  %xmm2,%xmm0
  jmp    L111
L293:
  movss  -0x74(%rbp),%xmm0
L111:
  comiss %xmm1,%xmm0
  jbe    L91
  movss  -0x74(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  comiss %xmm1,%xmm0
  jbe    L93
  movss  -0x74(%rbp),%xmm0
  movss  D15(%rip),%xmm1
  xorps  %xmm1,%xmm0
  jmp    L260
L93:
  movss  -0x74(%rbp),%xmm0
  jmp    L260
L91:
  movss  -0x78(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  comiss %xmm1,%xmm0
  jbe    L222
  movss  -0x78(%rbp),%xmm0
  movss  D15(%rip),%xmm1
  xorps  %xmm1,%xmm0
  jmp    L260
L222:
  movss  -0x78(%rbp),%xmm0
L260:
  movss  -0x5c(%rbp),%xmm1
  comiss %xmm0,%xmm1
  jbe    L120
  mov    -0x6c(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x6c(%rbp),%eax
  imul   -0xa4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x68(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mov    -0x20(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  subss  -0x90(%rbp),%xmm0
  movss  %xmm0,-0x44(%rbp)
  mov    -0x44(%rbp),%eax
  mov    $0x6,%edi
  movd   %eax,%xmm0
  call   <modulus@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x44(%rbp)
  movss  -0xb4(%rbp),%xmm0
  mulss  -0x8c(%rbp),%xmm0
  cvtss2sd %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x20(%rbp),%xmm0
  mov    -0x28(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <hypot@plt>
  movsd  %xmm0,-0xc8(%rbp)
  movss  -0x78(%rbp),%xmm1
  movss  -0x78(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x74(%rbp),%xmm2
  movss  -0x74(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  D15(%rip),%xmm1
  xorps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  -0x18(%rbp),%xmm0
  divsd  %xmm0,%xmm1
  pxor   %xmm5,%xmm5
  cvtsd2ss %xmm1,%xmm5
  movd   %xmm5,%eax
  movd   %eax,%xmm0
  call   <exp@plt>
  mulsd  -0xc8(%rbp),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movss  -0x78(%rbp),%xmm1
  movss  -0xb4(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x8c(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2ssl -0xac(%rbp),%xmm2
  divss  %xmm2,%xmm0
  divss  %xmm0,%xmm1
  cvtss2sd %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0xac(%rbp),%xmm0
  movsd  D272(%rip),%xmm2
  subsd  %xmm2,%xmm0
  movsd  D245(%rip),%xmm2
  divsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  -0x74(%rbp),%xmm1
  movss  -0xb4(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x8c(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2ssl -0xac(%rbp),%xmm2
  divss  %xmm2,%xmm0
  divss  %xmm0,%xmm1
  cvtss2sd %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0xac(%rbp),%xmm0
  movsd  D272(%rip),%xmm2
  subsd  %xmm2,%xmm0
  movsd  D245(%rip),%xmm2
  divsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x3c(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x44(%rbp),%xmm0
  movsd  D232(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0xb0(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x38(%rbp)
  mov    -0x40(%rbp),%eax
  movd   %eax,%xmm0
  call   <floor@plt>
  mov    %eax,-0x34(%rbp)
  mov    -0x3c(%rbp),%eax
  movd   %eax,%xmm0
  call   <floor@plt>
  mov    %eax,-0x30(%rbp)
  mov    -0x34(%rbp),%eax
  mov    $0x0,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  mov    %eax,-0x64(%rbp)
  jmp    L186
L239:
  mov    -0x30(%rbp),%eax
  mov    $0x0,%edx
  test   %eax,%eax
  cmovs  %edx,%eax
  mov    %eax,-0x60(%rbp)
  jmp    L124
L84:
  movss  -0x38(%rbp),%xmm0
  cvttss2si %xmm0,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltd
  idivl  -0xb0(%rbp)
  mov    %edx,-0x2c(%rbp)
  mov    -0x38(%rbp),%eax
  movd   %eax,%xmm0
  call   <floor@plt>
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  -0x38(%rbp),%xmm0
  subss  %xmm1,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D272(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x64(%rbp),%xmm0
  movaps %xmm0,%xmm2
  subss  -0x40(%rbp),%xmm2
  pxor   %xmm0,%xmm0
  comiss %xmm2,%xmm0
  jbe    L50
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x64(%rbp),%xmm0
  subss  -0x40(%rbp),%xmm0
  movss  D15(%rip),%xmm2
  xorps  %xmm2,%xmm0
  jmp    L295
L50:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x64(%rbp),%xmm0
  subss  -0x40(%rbp),%xmm0
L295:
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D272(%rip),%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x60(%rbp),%xmm0
  movaps %xmm0,%xmm2
  subss  -0x3c(%rbp),%xmm2
  pxor   %xmm0,%xmm0
  comiss %xmm2,%xmm0
  jbe    L145
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x60(%rbp),%xmm0
  subss  -0x3c(%rbp),%xmm0
  movss  D15(%rip),%xmm2
  xorps  %xmm2,%xmm0
  jmp    L112
L145:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x60(%rbp),%xmm0
  subss  -0x3c(%rbp),%xmm0
L112:
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D272(%rip),%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x10(%rbp),%xmm1
  mov    -0x64(%rbp),%eax
  imul   -0xac(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  add    %eax,%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x64(%rbp),%eax
  imul   -0xac(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  add    %eax,%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  movss  -0x38(%rbp),%xmm0
  cvttss2si %xmm0,%eax
  lea    0x1(%rax),%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltd
  idivl  -0xb0(%rbp)
  mov    %edx,-0x2c(%rbp)
  mov    -0x38(%rbp),%eax
  movd   %eax,%xmm0
  call   <floor@plt>
  add    $0x1,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  subss  -0x38(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D272(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x64(%rbp),%xmm0
  movaps %xmm0,%xmm2
  subss  -0x40(%rbp),%xmm2
  pxor   %xmm0,%xmm0
  comiss %xmm2,%xmm0
  jbe    L158
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x64(%rbp),%xmm0
  subss  -0x40(%rbp),%xmm0
  movss  D15(%rip),%xmm2
  xorps  %xmm2,%xmm0
  jmp    L61
L158:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x64(%rbp),%xmm0
  subss  -0x40(%rbp),%xmm0
L61:
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D272(%rip),%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x60(%rbp),%xmm0
  movaps %xmm0,%xmm2
  subss  -0x3c(%rbp),%xmm2
  pxor   %xmm0,%xmm0
  comiss %xmm2,%xmm0
  jbe    L54
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x60(%rbp),%xmm0
  subss  -0x3c(%rbp),%xmm0
  movss  D15(%rip),%xmm2
  xorps  %xmm2,%xmm0
  jmp    L210
L54:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0x60(%rbp),%xmm0
  subss  -0x3c(%rbp),%xmm0
L210:
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movsd  D272(%rip),%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x10(%rbp),%xmm1
  mov    -0x64(%rbp),%eax
  imul   -0xac(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  add    %eax,%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x64(%rbp),%eax
  imul   -0xac(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x60(%rbp),%eax
  imul   -0xb0(%rbp),%eax
  add    %eax,%edx
  mov    -0x2c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x60(%rbp)
L124:
  mov    -0xac(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x30(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  cmp    %eax,-0x60(%rbp)
  jle    L84
  addl   $0x1,-0x64(%rbp)
L186:
  mov    -0xac(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x34(%rbp),%eax
  add    $0x1,%eax
  cmp    %eax,%edx
  cmovle %edx,%eax
  cmp    %eax,-0x64(%rbp)
  jle    L239
L120:
  addl   $0x1,-0x68(%rbp)
L67:
  mov    -0x68(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  jl     L219
  addl   $0x1,-0x6c(%rbp)
L201:
  mov    -0x6c(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jl     L205
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L28
  call   <__stack_chk_fail@plt>
L28:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D138
data_type: f32
name: extract_symbolic_data
arguments: data_tag: D143
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D201
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D15
data_type: byte[4]
name: extract_symbolic_data
arguments: data_tag: D272
data_type: f32[2]
name: extract_symbolic_data
arguments: data_tag: D245
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D232
data_type: byte[8]

tool: D138: 1

tool: D143: 1.4142135623730951

tool: D201: 0.5

tool: {"D15": [0x00,0x00,0x00,0x80]}

tool: {"D272": [0.0,1.875]}

tool: D245: 2

tool: {"D232": [0x18,0x2d,0x44,0x54,0xfb,0x21,0x19,0x40]}

assistant: ```c
void sift_extract_feature_vector(float x_key, float y_key, float sigma_key, float theta_key, const float *imX, const float *imY, int w, int h, int Nhist, int Nbins, float lambda_descr, float *descr) {
  for (int i = 0; i < Nhist * Nhist * Nbins; i++) {
    descr[i] = 0.0;
  }
  float R = (1 + 1 / (float)Nhist) * lambda_descr * sigma_key;
  float Rp = 1.41421356237309504880 * R;
  int siMin = ((0) < ((int)(x_key - Rp + 0.5)) ? ((int)(x_key - Rp + 0.5)) : (0));
  int sjMin = ((0) < ((int)(y_key - Rp + 0.5)) ? ((int)(y_key - Rp + 0.5)) : (0));
  int siMax = (((int)(x_key + Rp + 0.5)) < (h - 1) ? ((int)(x_key + Rp + 0.5)) : (h - 1));
  int sjMax = (((int)(y_key + Rp + 0.5)) < (w - 1) ? ((int)(y_key + Rp + 0.5)) : (w - 1));
  for (int si = siMin; si < siMax; si++) {
    for (int sj = sjMin; sj < sjMax; sj++) {
      float X = si - x_key;
      float Y = sj - y_key;
      apply_rotation(X, Y, &X, &Y, -theta_key);
      if (((((X) < 0 ? -(X) : (X))) < (((Y) < 0 ? -(Y) : (Y))) ? (((Y) < 0 ? -(Y) : (Y))) : (((X) < 0 ? -(X) : (X)))) < R) {
        double dx = imX[si * w + sj];
        double dy = imY[si * w + sj];
        float ori = atan2(dy, dx) - theta_key;
        ori = modulus(ori, 2 * 3.14159265358979323846);
        double t = lambda_descr * sigma_key;
        double M = hypot(dx, dy) * exp(-(X * X + Y * Y) / (2 * t * t));
        float alpha = X / (2 * lambda_descr * sigma_key / Nhist) + (Nhist - 1.0) / 2.0;
        float beta = Y / (2 * lambda_descr * sigma_key / Nhist) + (Nhist - 1.0) / 2.0;
        float gamma = ori / (2 * 3.14159265358979323846) * Nbins;
        int i0 = floor(alpha);
        int j0 = floor(beta);
        for (int i = ((0) < (i0) ? (i0) : (0)); i <= ((i0 + 1) < (Nhist - 1) ? (i0 + 1) : (Nhist - 1)); i++) {
          for (int j = ((0) < (j0) ? (j0) : (0)); j <= ((j0 + 1) < (Nhist - 1) ? (j0 + 1) : (Nhist - 1)); j++) {
            int k;
            k = ((int)gamma + Nbins) % Nbins;
            descr[i * Nhist * Nbins + j * Nbins + k] += (1. - (gamma - floor(gamma))) * (1.0 - (((float)i - alpha) < 0 ? -((float)i - alpha) : ((float)i - alpha))) * (1.0 - (((float)j - beta) < 0 ? -((float)j - beta) : ((float)j - beta))) * M;
            k = ((int)gamma + 1 + Nbins) % Nbins;
            descr[i * Nhist * Nbins + j * Nbins + k] += (1.0 - (floor(gamma) + 1 - gamma)) * (1.0 - (((float)i - alpha) < 0 ? -((float)i - alpha) : ((float)i - alpha))) * (1.0 - (((float)j - beta) < 0 ? -((float)j - beta) : ((float)j - beta))) * M;
          }
        }
      }
    }
  }
}
```