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

```asm
<createLineMtr>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  movss  %xmm1,0x14(%rsp)
  movaps %xmm2,%xmm7
  movss  %xmm3,0x24(%rsp)
  mov    %edi,%ebx
  subss  %xmm0,%xmm2
  movss  %xmm2,0x28(%rsp)
  movss  %xmm7,0xc(%rsp)
  movaps %xmm7,%xmm1
  movss  %xmm0,0x1c(%rsp)
  call   <fmax@plt>
  movss  %xmm0,0x18(%rsp)
  movss  0x24(%rsp),%xmm1
  movss  0x14(%rsp),%xmm0
  call   <fmax@plt>
  movss  %xmm0,0x20(%rsp)
  movss  0xc(%rsp),%xmm1
  movss  0x1c(%rsp),%xmm0
  call   <fmin@plt>
  movss  %xmm0,0xc(%rsp)
  movss  0x24(%rsp),%xmm1
  movss  0x14(%rsp),%xmm0
  call   <fmin@plt>
  movss  %xmm0,0x10(%rsp)
  movss  0x28(%rsp),%xmm2
  ucomiss D49(%rip),%xmm2
  jp     L130
  je     L153
L130:
  movss  0x24(%rsp),%xmm3
  subss  0x14(%rsp),%xmm3
  movss  %xmm3,0x2c(%rsp)
  ucomiss D49(%rip),%xmm3
  jp     L63
  jne    L63
  movss  0x18(%rsp),%xmm3
  comiss 0xc(%rsp),%xmm3
  jbe    L46
L25:
  mov    %ebx,%edi
  movss  0x14(%rsp),%xmm1
  movss  0xc(%rsp),%xmm0
  call   <putPixelMtr@plt>
  movss  0xc(%rsp),%xmm5
  addss  D13(%rip),%xmm5
  movss  %xmm5,0xc(%rsp)
  movss  0x18(%rsp),%xmm7
  comiss %xmm5,%xmm7
  ja     L25
  jmp    L46
L153:
  movss  0x20(%rsp),%xmm7
  comiss %xmm0,%xmm7
  jbe    L46
L159:
  mov    %ebx,%edi
  movss  0x10(%rsp),%xmm1
  movss  0x1c(%rsp),%xmm0
  call   <putPixelMtr@plt>
  movss  0x10(%rsp),%xmm4
  addss  D13(%rip),%xmm4
  movss  %xmm4,0x10(%rsp)
  movss  0x20(%rsp),%xmm3
  comiss %xmm4,%xmm3
  ja     L159
L46:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  ret
L63:
  movss  0x2c(%rsp),%xmm3
  movss  0x28(%rsp),%xmm7
  divss  %xmm7,%xmm3
  movss  %xmm3,0x24(%rsp)
  movss  0x1c(%rsp),%xmm2
  mulss  %xmm3,%xmm2
  movss  0x14(%rsp),%xmm6
  subss  %xmm2,%xmm6
  movss  %xmm6,0x14(%rsp)
  movaps %xmm7,%xmm0
  call   <abs@plt>
  mov    %rax,%rbp
  movss  0x2c(%rsp),%xmm0
  call   <abs@plt>
  cmp    %rax,%rbp
  jl     L107
  movss  0x18(%rsp),%xmm6
  comiss 0xc(%rsp),%xmm6
  jbe    L46
L151:
  movss  0x24(%rsp),%xmm1
  movss  0xc(%rsp),%xmm6
  mulss  %xmm6,%xmm1
  mov    %ebx,%edi
  addss  0x14(%rsp),%xmm1
  movaps %xmm6,%xmm0
  call   <putPixelMtr@plt>
  movss  0xc(%rsp),%xmm6
  addss  D13(%rip),%xmm6
  movss  %xmm6,0xc(%rsp)
  movss  0x18(%rsp),%xmm7
  comiss %xmm6,%xmm7
  ja     L151
  jmp    L46
L107:
  movss  0x28(%rsp),%xmm0
  call   <abs@plt>
  mov    %rax,%rbp
  movss  0x2c(%rsp),%xmm0
  call   <abs@plt>
  cmp    %rax,%rbp
  jge    L46
  movss  0x20(%rsp),%xmm7
  comiss 0x10(%rsp),%xmm7
  jbe    L46
L154:
  movss  0x10(%rsp),%xmm7
  movaps %xmm7,%xmm0
  subss  0x14(%rsp),%xmm0
  divss  0x24(%rsp),%xmm0
  mov    %ebx,%edi
  movaps %xmm7,%xmm1
  call   <putPixelMtr@plt>
  movss  0x10(%rsp),%xmm7
  addss  D13(%rip),%xmm7
  movss  %xmm7,0x10(%rsp)
  movss  0x20(%rsp),%xmm3
  comiss %xmm7,%xmm3
  ja     L154
  jmp    L46
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D49
type_guessed: f32
name: extract_symbolic_data
arguments: data_label: D13
type_guessed: byte[4]

tool: D49: 0

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

assistant: ```c
void createLineMtr(float x1, float y1, float x2, float y2, int idColor) {
  float x = 0, y = 0;
  float dx = x2 - x1, dy = y2 - y1;
  float xmax = fmax(x1, x2), ymax = fmax(y1, y2);
  float xmin = fmin(x1, x2), ymin = fmin(y1, y2);
  if (dx == 0) {
    x = x1;
    for (y = ymin; y < ymax; y++) {
      putPixelMtr(x, y, idColor);
    }
    return;
  }
  if (dy == 0) {
    y = y1;
    for (x = xmin; x < xmax; x++) {
      putPixelMtr(x, y, idColor);
    }
    return;
  }
  float m = (float)dy / dx;
  float b = y1 - (m * x1);
  if (abs(dx) >= abs(dy)) {
    for (x = xmin; x < xmax; x++) {
      y = m * x + b;
      putPixelMtr(x, y, idColor);
    }
    return;
  } else if (abs(dx) < abs(dy)) {
    for (y = ymin; y < ymax; y++) {
      x = (y - b) / m;
      putPixelMtr(x, y, idColor);
    }
    return;
  } else {
    return;
  }
}
```