user: What is the c source code of the assembly code below?

```asm
<target_theta>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0xf8,%rsp
  mov    %rdi,%rcx
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xe8(%rsp)
  xor    %eax,%eax
  movss  D457(%rip),%xmm0
  movss  %xmm0,0x60(%rsp)
  movss  %xmm0,0x64(%rsp)
  movl   $0xc1900000,0x68(%rsp)
  movl   $0xc1901aa0,0x6c(%rsp)
  movl   $0x0,0x70(%rsp)
  movl   $0x0,0x74(%rsp)
  movl   $0x0,0x78(%rsp)
  movl   $0x0,0x7c(%rsp)
  movl   $0x0,0x80(%rsp)
  movl   $0x0,0x84(%rsp)
  movss  D499(%rip),%xmm0
  movss  %xmm0,0x90(%rsp)
  movss  %xmm0,0x94(%rsp)
  movl   $0x41900000,0x98(%rsp)
  movl   $0x418fe979,0x9c(%rsp)
  movl   $0x0,0xa0(%rsp)
  movl   $0x0,0xa4(%rsp)
  movl   $0x0,0xa8(%rsp)
  movl   $0x0,0xac(%rsp)
  movl   $0x0,0xb0(%rsp)
  movl   $0x0,0xb4(%rsp)
  movq   $0x0,0xc0(%rsp)
  movq   $0x0,0xc8(%rsp)
  movq   $0x0,0xd0(%rsp)
  movq   $0x0,0xd8(%rsp)
  movq   $0x0,0xe0(%rsp)
  test   %edx,%edx
  jle    L66
  mov    %edx,%edx
  movss  D469(%rip),%xmm2
  jmp    L34
L72:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xc0(%rsp,%rax,4)
L46:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L66
L34:
  movss  0x60(%rsp,%rax,4),%xmm1
  movss  0x90(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L72
  jne    L72
  jmp    L46
L66:
  movss  0xc0(%rsp),%xmm2
  movss  (%rcx),%xmm1
  movss  D499(%rip),%xmm5
  subss  %xmm5,%xmm1
  mulss  %xmm2,%xmm1
  movss  D407(%rip),%xmm0
  addss  %xmm0,%xmm1
  mulss  (%rbx),%xmm2
  movss  0xc4(%rsp),%xmm4
  movss  0x4(%rcx),%xmm3
  subss  %xmm5,%xmm3
  mulss  %xmm4,%xmm3
  movaps %xmm3,%xmm8
  addss  %xmm0,%xmm8
  movaps %xmm8,%xmm5
  movss  %xmm8,0x10(%rsp)
  mulss  0x4(%rbx),%xmm4
  movss  %xmm4,0x14(%rsp)
  movss  0xc8(%rsp),%xmm4
  movss  0x8(%rcx),%xmm3
  subss  D316(%rip),%xmm3
  mulss  %xmm4,%xmm3
  movaps %xmm3,%xmm7
  addss  %xmm0,%xmm7
  movss  %xmm7,0x20(%rsp)
  movaps %xmm4,%xmm3
  mulss  0x8(%rbx),%xmm3
  movss  %xmm3,0x18(%rsp)
  movss  0xcc(%rsp),%xmm4
  movss  0xc(%rcx),%xmm3
  subss  D66(%rip),%xmm3
  mulss  %xmm4,%xmm3
  movaps %xmm3,%xmm10
  addss  %xmm0,%xmm10
  movss  %xmm10,0xc(%rsp)
  movaps %xmm4,%xmm6
  mulss  0xc(%rbx),%xmm6
  movss  %xmm6,0x1c(%rsp)
  movaps %xmm1,%xmm12
  mulss  %xmm1,%xmm12
  movss  %xmm12,0x54(%rsp)
  movaps %xmm8,%xmm3
  mulss  %xmm8,%xmm3
  movaps %xmm7,%xmm6
  mulss  %xmm7,%xmm6
  movss  %xmm6,0x24(%rsp)
  movaps %xmm10,%xmm9
  mulss  %xmm10,%xmm9
  movss  %xmm9,0x58(%rsp)
  movaps %xmm1,%xmm14
  mulss  D424(%rip),%xmm14
  movss  %xmm14,0x28(%rsp)
  mulss  D128(%rip),%xmm8
  movss  %xmm8,0x2c(%rsp)
  movaps %xmm1,%xmm13
  mulss  D14(%rip),%xmm13
  movss  %xmm13,0x30(%rsp)
  mulss  %xmm5,%xmm13
  movss  %xmm13,0x34(%rsp)
  movaps %xmm5,%xmm0
  mulss  D98(%rip),%xmm0
  mulss  %xmm6,%xmm0
  movaps %xmm0,%xmm15
  movss  %xmm0,0x38(%rsp)
  movaps %xmm12,%xmm11
  mulss  D345(%rip),%xmm11
  movss  %xmm11,0x3c(%rsp)
  movaps %xmm5,%xmm0
  mulss  D71(%rip),%xmm0
  addss  D171(%rip),%xmm0
  movaps %xmm10,%xmm4
  mulss  D9(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm14,%xmm4
  mulss  %xmm7,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm6,%xmm4
  mulss  D312(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm8,%xmm4
  mulss  %xmm10,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm3,%xmm4
  mulss  D137(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm1,%xmm4
  mulss  D175(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm7,%xmm4
  mulss  D473(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm12,%xmm4
  mulss  D303(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm9,%xmm4
  mulss  D295(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm13,%xmm4
  mulss  %xmm7,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm5,%xmm4
  mulss  D276(%rip),%xmm4
  mulss  %xmm6,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm15,%xmm4
  mulss  %xmm10,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm6,%xmm4
  mulss  D465(%rip),%xmm4
  mulss  %xmm9,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm11,%xmm4
  mulss  %xmm10,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm1,%xmm4
  mulss  D144(%rip),%xmm4
  movss  %xmm4,0x40(%rsp)
  mulss  %xmm7,%xmm4
  movaps %xmm4,%xmm7
  movss  %xmm4,0x44(%rsp)
  mulss  D490(%rip),%xmm6
  movss  %xmm6,0x48(%rsp)
  mulss  %xmm10,%xmm7
  addss  %xmm7,%xmm0
  mulss  %xmm10,%xmm6
  addss  %xmm6,%xmm0
  movaps %xmm12,%xmm4
  mulss  D153(%rip),%xmm4
  mulss  %xmm3,%xmm4
  addss  %xmm4,%xmm0
  mulss  D273(%rip),%xmm12
  movss  %xmm12,0x4c(%rsp)
  mulss  %xmm5,%xmm12
  movss  %xmm12,0x50(%rsp)
  movaps %xmm12,%xmm4
  mulss  %xmm10,%xmm4
  movaps %xmm4,%xmm7
  addss  %xmm0,%xmm7
  movd   %xmm7,%r14d
  pxor   %xmm4,%xmm4
  movaps %xmm2,%xmm0
  addss  %xmm4,%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x18(%rsp),%xmm0
  addss  0x1c(%rsp),%xmm0
  ucomiss %xmm4,%xmm0
  jp     L42
  movaps %xmm4,%xmm0
  jne    L42
L38:
  movss  %xmm0,(%rbx)
  mov    0xe8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L61
  movd   %r14d,%xmm0
  add    $0xf8,%rsp
  pop    %rbx
  pop    %r14
  ret
L42:
  mulss  %xmm2,%xmm2
  movss  %xmm2,0x5c(%rsp)
  movss  0x20(%rsp),%xmm5
  movaps %xmm5,%xmm0
  mulss  D424(%rip),%xmm0
  pxor   %xmm6,%xmm6
  addss  %xmm6,%xmm0
  addss  D175(%rip),%xmm0
  movaps %xmm1,%xmm2
  mulss  D484(%rip),%xmm2
  addss  %xmm2,%xmm0
  movss  0x10(%rsp),%xmm7
  movaps %xmm7,%xmm2
  mulss  D14(%rip),%xmm2
  mulss  %xmm5,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm1,%xmm2
  mulss  D112(%rip),%xmm2
  movss  0xc(%rsp),%xmm6
  mulss  %xmm6,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm5,%xmm2
  mulss  D144(%rip),%xmm2
  mulss  %xmm6,%xmm2
  addss  %xmm2,%xmm0
  movss  D267(%rip),%xmm4
  mulss  %xmm1,%xmm4
  movaps %xmm4,%xmm2
  mulss  %xmm3,%xmm2
  addss  %xmm2,%xmm0
  mulss  D155(%rip),%xmm1
  mulss  %xmm7,%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x5c(%rsp),%xmm0
  movss  %xmm0,0x5c(%rsp)
  movss  0x14(%rsp),%xmm1
  mulss  %xmm1,%xmm1
  movss  %xmm1,0x14(%rsp)
  movss  0xc(%rsp),%xmm3
  movaps %xmm3,%xmm0
  mulss  D128(%rip),%xmm0
  subss  D214(%rip),%xmm0
  movss  0x10(%rsp),%xmm7
  movaps %xmm7,%xmm1
  mulss  D441(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x30(%rsp),%xmm6
  mulss  0x20(%rsp),%xmm6
  addss  %xmm6,%xmm0
  movss  0x24(%rsp),%xmm6
  movaps %xmm6,%xmm1
  mulss  D276(%rip),%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm6,%xmm1
  mulss  D98(%rip),%xmm1
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  movss  D267(%rip),%xmm15
  mulss  %xmm7,%xmm15
  movaps %xmm15,%xmm1
  mulss  0x54(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x4c(%rsp),%xmm15
  mulss  %xmm3,%xmm15
  addss  %xmm15,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x5c(%rsp),%xmm0
  movss  %xmm0,0x14(%rsp)
  movss  0x18(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x18(%rsp)
  pxor   %xmm0,%xmm0
  addss  0x28(%rsp),%xmm0
  movss  0x20(%rsp),%xmm2
  movaps %xmm2,%xmm1
  mulss  D344(%rip),%xmm1
  addss  %xmm1,%xmm0
  subss  D482(%rip),%xmm0
  addss  0x34(%rsp),%xmm0
  movaps %xmm2,%xmm1
  mulss  D411(%rip),%xmm1
  movss  0x10(%rsp),%xmm7
  mulss  %xmm7,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  mulss  D412(%rip),%xmm1
  mulss  %xmm7,%xmm1
  movss  0xc(%rsp),%xmm3
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  movss  D458(%rip),%xmm7
  mulss  %xmm2,%xmm7
  movaps %xmm7,%xmm1
  mulss  0x58(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x40(%rsp),%xmm7
  mulss  %xmm3,%xmm7
  addss  %xmm7,%xmm0
  mulss  D483(%rip),%xmm2
  movaps %xmm2,%xmm1
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x18(%rsp),%xmm0
  movaps %xmm0,%xmm2
  addss  0x14(%rsp),%xmm2
  movss  %xmm2,0x10(%rsp)
  movss  0x1c(%rsp),%xmm2
  mulss  %xmm2,%xmm2
  movss  %xmm2,0x14(%rsp)
  movss  0x2c(%rsp),%xmm0
  addss  D9(%rip),%xmm0
  movss  0xc(%rsp),%xmm3
  movaps %xmm3,%xmm1
  mulss  D110(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x38(%rsp),%xmm5
  addss  %xmm0,%xmm5
  movss  D458(%rip),%xmm0
  mulss  %xmm3,%xmm0
  mulss  0x24(%rsp),%xmm0
  addss  %xmm5,%xmm0
  addss  0x3c(%rsp),%xmm0
  addss  0x44(%rsp),%xmm0
  addss  0x48(%rsp),%xmm0
  addss  0x50(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L38
L61:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D457
type_infered: byte[4]
name: read_data
arguments: label: D499
type_infered: f32
name: read_data
arguments: label: D469
type_infered: f32
name: read_data
arguments: label: D407
type_infered: f32
name: read_data
arguments: label: D316
type_infered: f32
name: read_data
arguments: label: D66
type_infered: byte[4]
name: read_data
arguments: label: D424
type_infered: byte[4]
name: read_data
arguments: label: D128
type_infered: byte[4]
name: read_data
arguments: label: D14
type_infered: byte[4]
name: read_data
arguments: label: D98
type_infered: byte[4]
name: read_data
arguments: label: D345
type_infered: byte[4]
name: read_data
arguments: label: D71
type_infered: byte[4]
name: read_data
arguments: label: D171
type_infered: byte[4]
name: read_data
arguments: label: D9
type_infered: byte[4]
name: read_data
arguments: label: D312
type_infered: byte[4]
name: read_data
arguments: label: D137
type_infered: byte[4]
name: read_data
arguments: label: D175
type_infered: byte[4]
name: read_data
arguments: label: D473
type_infered: byte[4]
name: read_data
arguments: label: D303
type_infered: byte[4]
name: read_data
arguments: label: D295
type_infered: byte[4]
name: read_data
arguments: label: D276
type_infered: byte[4]
name: read_data
arguments: label: D465
type_infered: byte[4]
name: read_data
arguments: label: D144
type_infered: byte[4]
name: read_data
arguments: label: D490
type_infered: byte[4]
name: read_data
arguments: label: D153
type_infered: byte[4]
name: read_data
arguments: label: D273
type_infered: byte[4]
name: read_data
arguments: label: D484
type_infered: byte[4]
name: read_data
arguments: label: D112
type_infered: byte[4]
name: read_data
arguments: label: D267
type_infered: byte[4]
name: read_data
arguments: label: D155
type_infered: byte[4]
name: read_data
arguments: label: D214
type_infered: byte[4]
name: read_data
arguments: label: D441
type_infered: byte[4]
name: read_data
arguments: label: D344
type_infered: byte[4]
name: read_data
arguments: label: D482
type_infered: byte[4]
name: read_data
arguments: label: D411
type_infered: byte[4]
name: read_data
arguments: label: D412
type_infered: byte[4]
name: read_data
arguments: label: D458
type_infered: byte[4]
name: read_data
arguments: label: D483
type_infered: byte[4]
name: read_data
arguments: label: D110
type_infered: byte[4]

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

tool: D499: 15

tool: D469: 2

tool: D407: 1

tool: D316: 18

tool: {"D66": [0x79,0xe9,0x8f,0x41]}

tool: {"D424": [0x60,0xc8,0x03,0x3c]}

tool: {"D128": [0x25,0x08,0x55,0xbb]}

tool: {"D14": [0x8a,0xe3,0xc2,0xb8]}

tool: {"D98": [0x7e,0xa2,0x56,0x39]}

tool: {"D345": [0xde,0x4d,0x13,0xb8]}

tool: {"D71": [0x31,0x9e,0x62,0xbd]}

tool: {"D171": [0xf4,0x60,0x88,0x3d]}

tool: {"D9": [0xd9,0x3a,0x87,0x3d]}

tool: {"D312": [0x14,0x99,0xd3,0xbb]}

tool: {"D137": [0xcd,0xa7,0x51,0x3a]}

tool: {"D175": [0x54,0x8c,0x63,0x39]}

tool: {"D473": [0xdc,0x35,0xb5,0xb9]}

tool: {"D303": [0xc1,0xcc,0x22,0xbb]}

tool: {"D295": [0x12,0x2c,0x4d,0x3b]}

tool: {"D276": [0xf8,0xd5,0x0f,0x39]}

tool: {"D465": [0xe3,0x81,0x9a,0xb9]}

tool: {"D144": [0x7f,0xaf,0x7d,0x39]}

tool: {"D490": [0x78,0xe6,0x93,0xb9]}

tool: {"D153": [0xdc,0xf2,0xd6,0xb8]}

tool: {"D273": [0xdf,0xbf,0x16,0x39]}

tool: {"D484": [0xc1,0xcc,0xa2,0xbb]}

tool: {"D112": [0xde,0x4d,0x93,0xb8]}

tool: {"D267": [0xdc,0xf2,0x56,0xb9]}

tool: {"D155": [0xdf,0xbf,0x96,0x39]}

tool: {"D214": [0x31,0x9e,0x62,0x3d]}

tool: {"D441": [0xcd,0xa7,0xd1,0x3a]}

tool: {"D344": [0x14,0x99,0x53,0xbc]}

tool: {"D482": [0xdc,0x35,0xb5,0x39]}

tool: {"D411": [0xf8,0xd5,0x8f,0x39]}

tool: {"D412": [0x7e,0xa2,0xd6,0x39]}

tool: {"D458": [0xe3,0x81,0x1a,0xba]}

tool: {"D483": [0x78,0xe6,0x13,0xba]}

tool: {"D110": [0x12,0x2c,0xcd,0x3b]}

assistant: ```c
float target_theta(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.6654627E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18013E+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.17989E+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.44906119E-04, -0.55326644E-01, 0.66030212E-01, 0.80433786E-02, -0.64574573E-02, -0.32506075E-02, 0.79977216E-03, 0.21700683E-03, -0.34563139E-03, -0.24841281E-02, 0.31306786E-02, -0.92930233E-04, 0.13717252E-03, 0.20469163E-03, -0.29469942E-03, -0.35120051E-04, 0.24193338E-03, -0.28209738E-03, -0.10249551E-03, 0.14376592E-03, 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] * x11 * x31 + coeff[4] * x32 + coeff[5] * x21 * x41 + coeff[6] * x22 + coeff[7] * x11;
  v_target_theta = v_target_theta + coeff[8] * x31 + coeff[9] * x12 + coeff[10] * x42 + coeff[11] * x11 * x21 * x31 + coeff[12] * x21 * x32 + coeff[13] * x21 * x32 * x41 + coeff[14] * x32 * x42 + coeff[15] * x12 * x41 + coeff[16] * x11 * x31 * x41;
  v_target_theta = v_target_theta + coeff[17] * x32 * x41 + coeff[18] * x12 * x22 + coeff[19] * x12 * x21 * x41;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_theta = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[3] * x31 + coeff[7] + 2 * coeff[9] * x11 + coeff[11] * x21 * x31 + 2 * coeff[15] * x11 * x41 + coeff[16] * x31 * x41 + 2 * coeff[18] * x11 * x22 + 2 * coeff[19] * x11 * x21 * x41, 2) + dx2 * dx2 * pow(0 + coeff[1] + coeff[5] * x41 + 2 * coeff[6] * x21 + coeff[11] * x11 * x31 + coeff[12] * x32 + coeff[13] * x32 * x41 + 2 * coeff[18] * x21 * x12 + coeff[19] * x12 * x41, 2) + dx3 * dx3 * pow(0 + coeff[3] * x11 + 2 * coeff[4] * x31 + coeff[8] + coeff[11] * x11 * x21 + 2 * coeff[12] * x31 * x21 + 2 * coeff[13] * x31 * x21 * x41 + 2 * coeff[14] * x31 * x42 + coeff[16] * x11 * x41 + 2 * coeff[17] * x31 * x41, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[5] * x21 + 2 * coeff[10] * x41 + coeff[13] * x21 * x32 + 2 * coeff[14] * x41 * x32 + coeff[15] * x12 + coeff[16] * x11 * x31 + coeff[17] * x32 + coeff[19] * x12 * x21, 2));
  dx[0] = dv_target_theta;
  return v_target_theta;
}
```