user: 请从给定的汇编指令推导出C源代码：

```asm
<createLineMtr>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x58,%rsp
  movss  %xmm0,-0x44(%rbp)
  movss  %xmm1,-0x48(%rbp)
  movss  %xmm2,-0x4c(%rbp)
  movss  %xmm3,-0x50(%rbp)
  mov    %edi,-0x54(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x38(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x34(%rbp)
  movss  -0x4c(%rbp),%xmm0
  subss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  -0x50(%rbp),%xmm0
  subss  -0x48(%rbp),%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movss  -0x4c(%rbp),%xmm0
  mov    -0x44(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <fmax@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x28(%rbp)
  movss  -0x50(%rbp),%xmm0
  mov    -0x48(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <fmax@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x24(%rbp)
  movss  -0x4c(%rbp),%xmm0
  mov    -0x44(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <fmin@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x20(%rbp)
  movss  -0x50(%rbp),%xmm0
  mov    -0x48(%rbp),%eax
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <fmin@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  ucomiss -0x30(%rbp),%xmm0
  jp     L48
  pxor   %xmm0,%xmm0
  ucomiss -0x30(%rbp),%xmm0
  jne    L48
  movss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x38(%rbp)
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,-0x34(%rbp)
  jmp    L66
L80:
  mov    -0x54(%rbp),%edx
  movss  -0x34(%rbp),%xmm0
  mov    -0x38(%rbp),%eax
  mov    %edx,%edi
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <putPixelMtr@plt>
  movss  -0x34(%rbp),%xmm1
  movss  D33(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x34(%rbp)
L66:
  movss  -0x24(%rbp),%xmm0
  comiss -0x34(%rbp),%xmm0
  ja     L80
  jmp    L107
L48:
  pxor   %xmm0,%xmm0
  ucomiss -0x2c(%rbp),%xmm0
  jp     L162
  pxor   %xmm0,%xmm0
  ucomiss -0x2c(%rbp),%xmm0
  jne    L162
  movss  -0x48(%rbp),%xmm0
  movss  %xmm0,-0x34(%rbp)
  movss  -0x20(%rbp),%xmm0
  movss  %xmm0,-0x38(%rbp)
  jmp    L89
L147:
  mov    -0x54(%rbp),%edx
  movss  -0x34(%rbp),%xmm0
  mov    -0x38(%rbp),%eax
  mov    %edx,%edi
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <putPixelMtr@plt>
  movss  -0x38(%rbp),%xmm1
  movss  D33(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x38(%rbp)
L89:
  movss  -0x28(%rbp),%xmm0
  comiss -0x38(%rbp),%xmm0
  ja     L147
  jmp    L107
L162:
  movss  -0x2c(%rbp),%xmm0
  divss  -0x30(%rbp),%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  -0x18(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  -0x44(%rbp),%xmm1
  movss  -0x48(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x30(%rbp),%eax
  movd   %eax,%xmm0
  call   <abs@plt>
  mov    %rax,%rbx
  mov    -0x2c(%rbp),%eax
  movd   %eax,%xmm0
  call   <abs@plt>
  cmp    %rax,%rbx
  jl     L144
  movss  -0x20(%rbp),%xmm0
  movss  %xmm0,-0x38(%rbp)
  jmp    L45
L151:
  movss  -0x18(%rbp),%xmm0
  mulss  -0x38(%rbp),%xmm0
  movss  -0x14(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x34(%rbp)
  mov    -0x54(%rbp),%edx
  movss  -0x34(%rbp),%xmm0
  mov    -0x38(%rbp),%eax
  mov    %edx,%edi
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <putPixelMtr@plt>
  movss  -0x38(%rbp),%xmm1
  movss  D33(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x38(%rbp)
L45:
  movss  -0x28(%rbp),%xmm0
  comiss -0x38(%rbp),%xmm0
  ja     L151
  jmp    L107
L144:
  mov    -0x30(%rbp),%eax
  movd   %eax,%xmm0
  call   <abs@plt>
  mov    %rax,%rbx
  mov    -0x2c(%rbp),%eax
  movd   %eax,%xmm0
  call   <abs@plt>
  cmp    %rax,%rbx
  jge    L87
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,-0x34(%rbp)
  jmp    L26
L36:
  movss  -0x34(%rbp),%xmm0
  subss  -0x14(%rbp),%xmm0
  divss  -0x18(%rbp),%xmm0
  movss  %xmm0,-0x38(%rbp)
  mov    -0x54(%rbp),%edx
  movss  -0x34(%rbp),%xmm0
  mov    -0x38(%rbp),%eax
  mov    %edx,%edi
  movaps %xmm0,%xmm1
  movd   %eax,%xmm0
  call   <putPixelMtr@plt>
  movss  -0x34(%rbp),%xmm1
  movss  D33(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x34(%rbp)
L26:
  movss  -0x24(%rbp),%xmm0
  comiss -0x34(%rbp),%xmm0
  ja     L36
  jmp    L107
L87:
  nop
L107:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D33
data_type: byte[4]

tool: {"D33": [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;
  }
}
```