user: Converte this assembly snippet into its equivalent C code:

```asm
<FastAtan2>:
  endbr64
  pxor   %xmm3,%xmm3
  movaps %xmm0,%xmm4
  ucomiss %xmm3,%xmm1
  jp     L9
  jne    L9
  ucomiss %xmm3,%xmm0
  jp     L36
  movaps %xmm3,%xmm0
  je     L129
L36:
  comiss %xmm3,%xmm4
  movss  D173(%rip),%xmm0
  ja     L129
  comiss %xmm4,%xmm3
  ja     L91
L9:
  movaps %xmm4,%xmm2
  movaps %xmm4,%xmm0
  xorps  D183(%rip),%xmm0
  cmpltss %xmm3,%xmm2
  movaps %xmm1,%xmm5
  cmpltss %xmm3,%xmm5
  andps  %xmm2,%xmm0
  andnps %xmm4,%xmm2
  orps   %xmm2,%xmm0
  movaps %xmm1,%xmm2
  xorps  D183(%rip),%xmm2
  andps  %xmm5,%xmm2
  andnps %xmm1,%xmm5
  orps   %xmm5,%xmm2
  comiss %xmm2,%xmm0
  ja     L68
  movss  D26(%rip),%xmm5
  movaps %xmm3,%xmm6
  mov    $0x1,%edx
  xor    %eax,%eax
L7:
  divss  %xmm2,%xmm0
  comiss D63(%rip),%xmm0
  jbe    L84
  movss  D80(%rip),%xmm2
  movss  D90(%rip),%xmm6
  mov    %edx,%eax
  mulss  %xmm0,%xmm2
  addss  %xmm0,%xmm6
  subss  D41(%rip),%xmm2
  addss  %xmm0,%xmm2
  movaps %xmm2,%xmm0
  divss  %xmm6,%xmm0
  movaps %xmm5,%xmm6
L84:
  movaps %xmm0,%xmm5
  movaps %xmm0,%xmm2
  xorps  D183(%rip),%xmm2
  cmpltss %xmm3,%xmm5
  andps  %xmm5,%xmm2
  andnps %xmm0,%xmm5
  orps   %xmm5,%xmm2
  movss  D169(%rip),%xmm5
  comiss %xmm2,%xmm5
  ja     L103
  movaps %xmm0,%xmm7
  movss  D192(%rip),%xmm2
  movss  D20(%rip),%xmm5
  mulss  %xmm0,%xmm7
  mulss  %xmm7,%xmm2
  addss  %xmm7,%xmm5
  subss  D36(%rip),%xmm2
  mulss  %xmm7,%xmm5
  mulss  %xmm7,%xmm2
  addss  D19(%rip),%xmm5
  divss  %xmm5,%xmm2
  mulss  %xmm0,%xmm2
  addss  %xmm2,%xmm0
L103:
  cmp    $0x1,%eax
  jle    L11
  xorps  D183(%rip),%xmm0
L11:
  comiss %xmm1,%xmm3
  addss  %xmm6,%xmm0
  jbe    L73
  movss  D105(%rip),%xmm1
  subss  %xmm0,%xmm1
  movaps %xmm1,%xmm0
L73:
  comiss %xmm4,%xmm3
  ja     L40
L129:
  ret
  nopl   (%rax)
L68:
  movaps %xmm0,%xmm5
  movss  D173(%rip),%xmm6
  movaps %xmm2,%xmm0
  mov    $0x3,%edx
  movaps %xmm5,%xmm2
  mov    $0x2,%eax
  movss  D121(%rip),%xmm5
  jmp    L7
  nopl   0x0(%rax,%rax,1)
L40:
  xorps  D183(%rip),%xmm0
  ret
  nopl   0x0(%rax,%rax,1)
L91:
  movss  D159(%rip),%xmm0
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D173
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D183
type_guessed: byte[16]
name: disassemble_data
arguments: tag: D26
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D63
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D80
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D90
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D41
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D169
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D192
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D20
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D36
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D19
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D105
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D121
type_guessed: byte[4]
name: disassemble_data
arguments: tag: D159
type_guessed: byte[4]

tool: {"D173": [0xdb,0x0f,0xc9,0x3f]}

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

tool: {"D26": [0x92,0x0a,0x06,0x3f]}

tool: {"D63": [0xa3,0x30,0x89,0x3e]}

tool: {"D80": [0xaf,0x67,0x3b,0x3f]}

tool: {"D90": [0xd7,0xb3,0xdd,0x3f]}

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

tool: {"D169": [0xf3,0x04,0xb5,0x39]}

tool: {"D192": [0xae,0x53,0x38,0xbf]}

tool: {"D20": [0x3c,0x12,0x98,0x40]}

tool: {"D36": [0xa8,0x54,0xb8,0x3f]}

tool: {"D19": [0x7e,0x3f,0x8a,0x40]}

tool: {"D105": [0xdb,0x0f,0x49,0x40]}

tool: {"D121": [0x92,0x0a,0x86,0x3f]}

tool: {"D159": [0xdb,0x0f,0xc9,0xbf]}

assistant: ```c
float FastAtan2(float y, float x) {
  float f, g;
  float num, den;
  float result;
  int n;
  static const float a[4] = {0, (float)(0.52359877559829887307710723054658f), (float)(1.5707963267948966192313216916398f), (float)(1.0471975511965977461542144610932f)};
  if (x == (float)0.0) {
    if (y == (float)0.0) {
      result = 0.0;
      return result;
    }
    result = (float)(1.5707963267948966192313216916398f);
    if (y > (float)0.0) {
      return result;
    }
    if (y < (float)0.0) {
      result = -result;
      return result;
    }
  }
  n = 0;
  num = y;
  den = x;
  if (num < (float)0.0) {
    num = -num;
  }
  if (den < (float)0.0) {
    den = -den;
  }
  if (num > den) {
    f = den;
    den = num;
    num = f;
    n = 2;
  }
  f = num / den;
  if (f > (float)(0.26794919243112270647255365849413f)) {
    num = f * (float)(0.73205080756887729352744634150587f) - 1.0f + f;
    den = (float)(1.7320508075688772935274463415059f) + f;
    f = num / den;
    n = n + 1;
  }
  g = f;
  if (g < (float)0.0) {
    g = -g;
  }
  if (g < (float)(+3.452669830012e-4f)) {
    result = f;
  } else {
    g = f * f;
    num = ((-7.20026848898e-1f) * g + (-1.44008344874f)) * g;
    den = (g + (+4.75222584599f)) * g + (+4.32025038919f);
    result = num / den;
    result = result * f + f;
  }
  if (n > 1) {
    result = -result;
  }
  result = result + a[n];
  if (x < (float)0.0) {
    result = (3.1415926535897932384626433832795f) - result;
  }
  if (y < (float)0.0) {
    result = -result;
  }
  return result;
}
```