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

```asm
<target_theta>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0xe8,%rsp
  mov    %rdi,%rcx
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  movss  D356(%rip),%xmm0
  movss  %xmm0,0x50(%rsp)
  movss  %xmm0,0x54(%rsp)
  movl   $0xc1900000,0x58(%rsp)
  movl   $0xc19022d1,0x5c(%rsp)
  movl   $0x0,0x60(%rsp)
  movl   $0x0,0x64(%rsp)
  movl   $0x0,0x68(%rsp)
  movl   $0x0,0x6c(%rsp)
  movl   $0x0,0x70(%rsp)
  movl   $0x0,0x74(%rsp)
  movss  D155(%rip),%xmm0
  movss  %xmm0,0x80(%rsp)
  movss  %xmm0,0x84(%rsp)
  movl   $0x41900000,0x88(%rsp)
  movl   $0x418fe148,0x8c(%rsp)
  movl   $0x0,0x90(%rsp)
  movl   $0x0,0x94(%rsp)
  movl   $0x0,0x98(%rsp)
  movl   $0x0,0x9c(%rsp)
  movl   $0x0,0xa0(%rsp)
  movl   $0x0,0xa4(%rsp)
  movq   $0x0,0xb0(%rsp)
  movq   $0x0,0xb8(%rsp)
  movq   $0x0,0xc0(%rsp)
  movq   $0x0,0xc8(%rsp)
  movq   $0x0,0xd0(%rsp)
  test   %edx,%edx
  jle    L55
  mov    %edx,%edx
  movss  D153(%rip),%xmm2
  jmp    L26
L19:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xb0(%rsp,%rax,4)
L4:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L55
L26:
  movss  0x50(%rsp,%rax,4),%xmm1
  movss  0x80(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L19
  jne    L19
  jmp    L4
L55:
  movss  0xb0(%rsp),%xmm2
  movss  (%rcx),%xmm1
  movss  D155(%rip),%xmm5
  subss  %xmm5,%xmm1
  mulss  %xmm2,%xmm1
  movss  D393(%rip),%xmm0
  addss  %xmm0,%xmm1
  mulss  (%rbx),%xmm2
  movss  0xb4(%rsp),%xmm4
  movss  0x4(%rcx),%xmm3
  subss  %xmm5,%xmm3
  mulss  %xmm4,%xmm3
  movaps %xmm3,%xmm6
  addss  %xmm0,%xmm6
  movss  %xmm6,0x4(%rsp)
  mulss  0x4(%rbx),%xmm4
  movss  %xmm4,0xc(%rsp)
  movss  0xb8(%rsp),%xmm4
  movss  0x8(%rcx),%xmm3
  subss  D447(%rip),%xmm3
  mulss  %xmm4,%xmm3
  movaps %xmm3,%xmm9
  addss  %xmm0,%xmm9
  movss  %xmm9,0x18(%rsp)
  movaps %xmm4,%xmm7
  mulss  0x8(%rbx),%xmm7
  movss  %xmm7,0x10(%rsp)
  movss  0xbc(%rsp),%xmm4
  movss  0xc(%rcx),%xmm3
  subss  D16(%rip),%xmm3
  mulss  %xmm4,%xmm3
  movaps %xmm3,%xmm11
  addss  %xmm0,%xmm11
  movss  %xmm11,(%rsp)
  movaps %xmm4,%xmm5
  mulss  0xc(%rbx),%xmm5
  movss  %xmm5,0x14(%rsp)
  movaps %xmm1,%xmm12
  mulss  %xmm1,%xmm12
  movss  %xmm12,0x40(%rsp)
  movaps %xmm6,%xmm5
  movaps %xmm6,%xmm7
  mulss  %xmm6,%xmm5
  movaps %xmm5,%xmm6
  movss  %xmm5,0x44(%rsp)
  movaps %xmm9,%xmm8
  mulss  %xmm9,%xmm8
  movss  %xmm8,0x48(%rsp)
  movaps %xmm11,%xmm5
  mulss  %xmm11,%xmm5
  movaps %xmm5,%xmm10
  movss  %xmm5,0x1c(%rsp)
  movaps %xmm1,%xmm3
  mulss  D151(%rip),%xmm3
  movss  %xmm3,0x8(%rsp)
  movaps %xmm7,%xmm5
  mulss  D92(%rip),%xmm5
  movss  %xmm5,0x20(%rsp)
  movaps %xmm1,%xmm14
  mulss  D61(%rip),%xmm14
  movss  %xmm14,0x24(%rsp)
  mulss  %xmm7,%xmm14
  movss  %xmm14,0x28(%rsp)
  movaps %xmm12,%xmm13
  mulss  D47(%rip),%xmm13
  movss  %xmm13,0x2c(%rsp)
  movaps %xmm1,%xmm15
  mulss  D482(%rip),%xmm15
  movss  %xmm15,0x30(%rsp)
  mulss  %xmm9,%xmm15
  movss  %xmm15,0x34(%rsp)
  movaps %xmm8,%xmm4
  mulss  D474(%rip),%xmm4
  movss  %xmm4,0x38(%rsp)
  movaps %xmm7,%xmm0
  mulss  D11(%rip),%xmm0
  addss  D298(%rip),%xmm0
  movaps %xmm11,%xmm3
  mulss  D262(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm12,%xmm3
  mulss  D45(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm6,%xmm3
  mulss  D29(%rip),%xmm3
  addss  %xmm3,%xmm0
  movss  0x8(%rsp),%xmm3
  mulss  %xmm9,%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm11,%xmm5
  addss  %xmm5,%xmm0
  movaps %xmm8,%xmm3
  mulss  D431(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm10,%xmm3
  mulss  D320(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm1,%xmm3
  mulss  D141(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm9,%xmm3
  mulss  D260(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm14,%xmm3
  mulss  %xmm9,%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm7,%xmm3
  mulss  D465(%rip),%xmm3
  mulss  %xmm8,%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm13,%xmm3
  mulss  %xmm11,%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm15,%xmm3
  mulss  %xmm11,%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm11,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm7,%xmm3
  mulss  D172(%rip),%xmm3
  movaps %xmm3,%xmm4
  mulss  %xmm8,%xmm4
  movss  %xmm4,0x3c(%rsp)
  mulss  D145(%rip),%xmm6
  movaps %xmm6,%xmm3
  mulss  %xmm8,%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm11,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm12,%xmm3
  mulss  D90(%rip),%xmm3
  mulss  %xmm10,%xmm3
  addss  %xmm3,%xmm0
  mulss  D278(%rip),%xmm7
  movaps %xmm7,%xmm3
  mulss  %xmm10,%xmm3
  addss  %xmm0,%xmm3
  movd   %xmm3,%r14d
  pxor   %xmm3,%xmm3
  movaps %xmm2,%xmm0
  addss  %xmm3,%xmm0
  addss  0xc(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  ucomiss %xmm3,%xmm0
  jp     L0
  movaps %xmm3,%xmm0
  jne    L0
L46:
  movss  %xmm0,(%rbx)
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L84
  movd   %r14d,%xmm0
  add    $0xe8,%rsp
  pop    %rbx
  pop    %r14
  ret
L0:
  mulss  %xmm2,%xmm2
  movss  %xmm2,0x4c(%rsp)
  movaps %xmm1,%xmm0
  mulss  D259(%rip),%xmm0
  pxor   %xmm6,%xmm6
  addss  %xmm6,%xmm0
  movss  0x18(%rsp),%xmm4
  movaps %xmm4,%xmm2
  mulss  D151(%rip),%xmm2
  addss  %xmm2,%xmm0
  addss  D141(%rip),%xmm0
  movss  0x4(%rsp),%xmm2
  mulss  D61(%rip),%xmm2
  mulss  %xmm4,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm1,%xmm6
  mulss  D323(%rip),%xmm6
  movaps %xmm6,%xmm2
  movss  (%rsp),%xmm6
  mulss  %xmm6,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm4,%xmm2
  mulss  D482(%rip),%xmm2
  mulss  %xmm6,%xmm2
  addss  %xmm2,%xmm0
  mulss  D343(%rip),%xmm1
  mulss  0x1c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x4c(%rsp),%xmm0
  movss  %xmm0,0x4c(%rsp)
  movss  0xc(%rsp),%xmm3
  mulss  %xmm3,%xmm3
  movss  %xmm3,0xc(%rsp)
  movss  0x4(%rsp),%xmm7
  movaps %xmm7,%xmm0
  mulss  D380(%rip),%xmm0
  subss  D326(%rip),%xmm0
  movss  (%rsp),%xmm6
  movaps %xmm6,%xmm1
  mulss  D92(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x24(%rsp),%xmm1
  mulss  0x18(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x48(%rsp),%xmm5
  movaps %xmm5,%xmm1
  mulss  D465(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  D324(%rip),%xmm1
  mulss  %xmm7,%xmm1
  mulss  %xmm5,%xmm1
  addss  %xmm1,%xmm0
  mulss  D172(%rip),%xmm5
  movaps %xmm5,%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movss  0x1c(%rsp),%xmm1
  mulss  D278(%rip),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0xc(%rsp),%xmm0
  movaps %xmm0,%xmm1
  addss  0x4c(%rsp),%xmm1
  movss  %xmm1,0xc(%rsp)
  movss  0x10(%rsp),%xmm5
  mulss  %xmm5,%xmm5
  movss  %xmm5,0x10(%rsp)
  pxor   %xmm0,%xmm0
  addss  0x8(%rsp),%xmm0
  movss  0x18(%rsp),%xmm2
  movaps %xmm2,%xmm1
  mulss  D403(%rip),%xmm1
  addss  %xmm1,%xmm0
  subss  D34(%rip),%xmm0
  addss  0x28(%rsp),%xmm0
  movaps %xmm2,%xmm1
  mulss  D384(%rip),%xmm1
  movss  0x4(%rsp),%xmm7
  mulss  %xmm7,%xmm1
  addss  %xmm1,%xmm0
  movss  0x30(%rsp),%xmm4
  movss  (%rsp),%xmm6
  mulss  %xmm6,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm2,%xmm1
  mulss  D388(%rip),%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movss  D324(%rip),%xmm4
  mulss  %xmm2,%xmm4
  movaps %xmm4,%xmm1
  mulss  0x44(%rsp),%xmm1
  addss  %xmm1,%xmm0
  mulss  D244(%rip),%xmm2
  movaps %xmm2,%xmm1
  mulss  %xmm7,%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  movss  %xmm0,0x8(%rsp)
  movss  0x14(%rsp),%xmm2
  mulss  %xmm2,%xmm2
  movss  %xmm2,0xc(%rsp)
  movss  0x20(%rsp),%xmm4
  addss  D262(%rip),%xmm4
  movaps %xmm4,%xmm0
  movss  (%rsp),%xmm6
  movaps %xmm6,%xmm1
  mulss  D416(%rip),%xmm1
  addss  %xmm1,%xmm0
  addss  0x2c(%rsp),%xmm0
  addss  0x34(%rsp),%xmm0
  addss  0x38(%rsp),%xmm0
  addss  0x3c(%rsp),%xmm0
  movss  D343(%rip),%xmm1
  mulss  %xmm6,%xmm1
  mulss  0x40(%rsp),%xmm1
  addss  %xmm1,%xmm0
  mulss  D204(%rip),%xmm6
  movaps %xmm6,%xmm1
  mulss  0x4(%rsp),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0xc(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L46
L84:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D356
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D155
type_infered: f32
name: disassemble_data
arguments: data_label: D153
type_infered: f32
name: disassemble_data
arguments: data_label: D393
type_infered: f32
name: disassemble_data
arguments: data_label: D447
type_infered: f32
name: disassemble_data
arguments: data_label: D16
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D151
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D92
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D61
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D47
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D482
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D474
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D11
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D298
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D262
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D45
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D29
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D431
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D320
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D141
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D260
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D465
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D172
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D145
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D90
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D278
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D259
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D323
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D343
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D380
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D326
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D324
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D403
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D34
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D384
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D388
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D244
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D416
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D204
type_infered: byte[4]

tool: {"D356": [0x00,0x00,0x70,0xc1]}

tool: D155: 15

tool: D153: 2

tool: D393: 1

tool: D447: 18

tool: {"D16": [0x48,0xe1,0x8f,0x41]}

tool: {"D151": [0xd6,0x43,0x32,0x3c]}

tool: {"D92": [0x60,0x98,0x87,0xbb]}

tool: {"D61": [0xb1,0xfd,0x3c,0xb9]}

tool: {"D47": [0x67,0x39,0x9b,0xb8]}

tool: {"D482": [0x7e,0x7e,0xf8,0x39]}

tool: {"D474": [0x33,0x2a,0x0c,0xba]}

tool: {"D11": [0xf6,0xe1,0x5e,0xbd]}

tool: {"D298": [0x9f,0x88,0xb4,0x3d]}

tool: {"D262": [0x34,0x68,0x84,0x3d]}

tool: {"D45": [0x5d,0x38,0x5d,0xbb]}

tool: {"D29": [0x61,0xdf,0x80,0x3a]}

tool: {"D431": [0xed,0xbc,0x0e,0xbc]}

tool: {"D320": [0xa3,0xb8,0x84,0x3b]}

tool: {"D141": [0xa7,0x6b,0xde,0x38]}

tool: {"D260": [0x57,0x4e,0x31,0xb9]}

tool: {"D465": [0xb2,0x2f,0x88,0x39]}

tool: {"D172": [0xa0,0xe7,0x84,0xb9]}

tool: {"D145": [0x1e,0x11,0x22,0x39]}

tool: {"D90": [0x29,0x0c,0x44,0x38]}

tool: {"D278": [0x70,0x0e,0xf4,0x36]}

tool: {"D259": [0x5d,0x38,0xdd,0xbb]}

tool: {"D323": [0x67,0x39,0x1b,0xb9]}

tool: {"D343": [0x29,0x0c,0xc4,0x38]}

tool: {"D380": [0x61,0xdf,0x00,0x3b]}

tool: {"D326": [0xf6,0xe1,0x5e,0x3d]}

tool: {"D324": [0x1e,0x11,0xa2,0x39]}

tool: {"D403": [0xed,0xbc,0x8e,0xbc]}

tool: {"D34": [0x57,0x4e,0x31,0x39]}

tool: {"D384": [0xb2,0x2f,0x08,0x3a]}

tool: {"D388": [0x33,0x2a,0x8c,0xba]}

tool: {"D244": [0xa0,0xe7,0x04,0xba]}

tool: {"D416": [0xa3,0xb8,0x04,0x3c]}

tool: {"D204": [0x70,0x0e,0x74,0x37]}

assistant: ```c
float target_theta(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.8808760E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18017E+02, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00};
  float xmax[10] = {0.15000E+02, 0.15000E+02, 0.18000E+02, 0.17985E+02, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00};
  float scale[10] = {0};
  float coeff[21] = {0.63606152E-04, -0.54414712E-01, 0.64651877E-01, -0.33755519E-02, 0.98321971E-03, 0.10880431E-01, -0.41380376E-02, -0.87120356E-02, 0.40503307E-02, 0.10605837E-03, -0.16909219E-03, -0.18023585E-03, 0.25975477E-03, -0.74016680E-04, 0.47396490E-03, -0.53468643E-03, 0.15455901E-03, -0.25349576E-03, 0.46741367E-04, 0.72734474E-05, 0.};
  int ientry = 0;
  int i;
  if (ientry == 0) {
    ientry = 1;
    for (i = 0; i < m; i++) {
      if (xmin[i] == xmax[i])
        continue;
      scale[i] = 2. / (xmax[i] - xmin[i]);
    }
  }
  float x1 = 1. + (x[0] - xmax[0]) * scale[0];
  float dx1 = dx[0] * scale[0];
  float x2 = 1. + (x[1] - xmax[1]) * scale[1];
  float dx2 = dx[1] * scale[1];
  float x3 = 1. + (x[2] - xmax[2]) * scale[2];
  float dx3 = dx[2] * scale[2];
  float x4 = 1. + (x[3] - xmax[3]) * scale[3];
  float dx4 = dx[3] * scale[3];
  float x11 = x1;
  float x12 = x11 * x1;
  float x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float v_target_theta = avdat + coeff[0] + coeff[1] * x21 + coeff[2] * x41 + coeff[3] * x12 + coeff[4] * x22 + coeff[5] * x11 * x31 + coeff[6] * x21 * x41 + coeff[7] * x32;
  v_target_theta = v_target_theta + coeff[8] * x42 + coeff[9] * x11 + coeff[10] * x31 + coeff[11] * x11 * x21 * x31 + coeff[12] * x21 * x32 + coeff[13] * x12 * x41 + coeff[14] * x11 * x31 * x41 + coeff[15] * x32 * x41 + coeff[16] * x22 * x32;
  v_target_theta = v_target_theta + coeff[17] * x21 * x32 * x41 + coeff[18] * x12 * x42 + coeff[19] * x21 * x42;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_theta = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + 2 * coeff[3] * x11 + coeff[5] * x31 + coeff[9] + coeff[11] * x21 * x31 + 2 * coeff[13] * x11 * x41 + coeff[14] * x31 * x41 + 2 * coeff[18] * x11 * x42, 2) + dx2 * dx2 * pow(0 + coeff[1] + 2 * coeff[4] * x21 + coeff[6] * x41 + coeff[11] * x11 * x31 + coeff[12] * x32 + 2 * coeff[16] * x21 * x32 + coeff[17] * x32 * x41 + coeff[19] * x42, 2) + dx3 * dx3 * pow(0 + coeff[5] * x11 + 2 * coeff[7] * x31 + coeff[10] + coeff[11] * x11 * x21 + 2 * coeff[12] * x31 * x21 + coeff[14] * x11 * x41 + 2 * coeff[15] * x31 * x41 + 2 * coeff[16] * x31 * x22 + 2 * coeff[17] * x31 * x21 * x41, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[6] * x21 + 2 * coeff[8] * x41 + coeff[13] * x12 + coeff[14] * x11 * x31 + coeff[15] * x32 + coeff[17] * x21 * x32 + 2 * coeff[18] * x41 * x12 + 2 * coeff[19] * x41 * x21, 2));
  dx[0] = dv_target_theta;
  return v_target_theta;
}
```