user: What would the C source look like for the assembly code provided here:

```asm
<bitline_tag_delay>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,%r12d
  mov    %esi,%r14d
  mov    %edx,%ebx
  mov    %r8d,%r13d
  mov    %r9d,%ebp
  movq   %xmm0,%r15
  mov    $0x1,%esi
  mov    $0x1,%edi
  movsd  D51(%rip),%xmm0
  mov    $0x1,%eax
  call   <draincap@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  D30(%rip),%xmm0
  mov    %ebx,%ecx
  imul   %r14d,%ecx
  imul   %r13d,%ecx
  imul   %ebp,%ecx
  mov    %r12d,%eax
  cltd
  idiv   %ecx
  imul   %r13d,%ebp
  cmp    $0x1,%ebp
  je     L6
  pxor   %xmm5,%xmm5
  cvtsi2sd %eax,%xmm5
  addsd  D15(%rip),%xmm0
  movsd  %xmm5,0x18(%rsp)
  mulsd  %xmm5,%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x0,%edi
  movsd  D279(%rip),%xmm0
  mov    $0x1,%eax
  call   <draincap@plt>
  add    %eax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm6
  addsd  0x8(%rsp),%xmm6
  movsd  %xmm6,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x1,%edi
  mov    D117(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <draincap@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x1,%edi
  mov    D117(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <draincap@plt>
  imul   %eax,%ebp
  mov    D117(%rip),%rax
  movq   %rax,%xmm1
  movsd  D40(%rip),%xmm0
  mov    $0x2,%eax
  call   <gatecap@plt>
  lea    0x0(%rbp,%rax,2),%eax
  pxor   %xmm2,%xmm2
  cvtsi2sd %eax,%xmm2
  movsd  %xmm2,0x10(%rsp)
  mov    $0x1,%esi
  mov    $0x1,%edi
  mov    D117(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <transreson@plt>
  movsd  0x18(%rsp),%xmm5
  mulsd  D156(%rip),%xmm5
  movapd %xmm5,%xmm1
  mulsd  D30(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%r14
L48:
  mov    $0x1,%esi
  mov    $0x1,%edi
  movsd  D51(%rip),%xmm0
  mov    $0x1,%eax
  call   <transreson@plt>
  mov    %eax,%ebx
  mov    $0x1,%esi
  mov    $0x1,%edi
  movsd  D164(%rip),%xmm0
  mov    $0x1,%eax
  call   <transreson@plt>
  add    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sd %ebx,%xmm0
  movq   %r14,%xmm1
  addsd  %xmm0,%xmm1
  mulsd  0x10(%rsp),%xmm1
  mulsd  0x8(%rsp),%xmm0
  addsd  %xmm0,%xmm1
  mulsd  D93(%rip),%xmm1
  movsd  D229(%rip),%xmm0
  movq   %r15,%xmm6
  divsd  %xmm6,%xmm0
  movapd %xmm0,%xmm3
  movsd  %xmm0,0x8(%rsp)
  movsd  D261(%rip),%xmm0
  divsd  %xmm3,%xmm0
  comisd %xmm1,%xmm0
  jae    L45
  movsd  0x8(%rsp),%xmm4
  movapd %xmm4,%xmm2
  addsd  %xmm4,%xmm2
  movsd  D216(%rip),%xmm0
  divsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  D234(%rip),%xmm1
  divsd  %xmm4,%xmm1
  subsd  %xmm1,%xmm0
L46:
  movapd %xmm0,%xmm1
  divsd  D126(%rip),%xmm1
  mov    0x60(%rsp),%rax
  movsd  %xmm1,(%rax)
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L6:
  pxor   %xmm7,%xmm7
  cvtsi2sd %eax,%xmm7
  addsd  D15(%rip),%xmm0
  movsd  %xmm7,0x18(%rsp)
  mulsd  %xmm7,%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x0,%edi
  movsd  D279(%rip),%xmm0
  mov    $0x1,%eax
  call   <draincap@plt>
  add    %eax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm5
  addsd  0x8(%rsp),%xmm5
  movsd  %xmm5,0x8(%rsp)
  movsd  D117(%rip),%xmm1
  movsd  D40(%rip),%xmm0
  mov    $0x2,%eax
  call   <gatecap@plt>
  add    %eax,%eax
  pxor   %xmm2,%xmm2
  cvtsi2sd %eax,%xmm2
  movsd  %xmm2,0x10(%rsp)
  movsd  0x18(%rsp),%xmm7
  mulsd  D156(%rip),%xmm7
  movapd %xmm7,%xmm1
  mulsd  D30(%rip),%xmm1
  movq   %xmm1,%r14
  jmp    L48
L45:
  movsd  D135(%rip),%xmm0
  divsd  %xmm3,%xmm0
  movsd  D112(%rip),%xmm2
  mulsd  %xmm2,%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  D60(%rip),%xmm1
  mulsd  D247(%rip),%xmm1
  addsd  %xmm0,%xmm1
  mulsd  D40(%rip),%xmm3
  mulsd  %xmm3,%xmm1
  movsd  D16(%rip),%xmm0
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L55
  sqrtsd %xmm0,%xmm0
L39:
  subsd  D58(%rip),%xmm0
  movsd  0x8(%rsp),%xmm1
  addsd  %xmm1,%xmm1
  divsd  %xmm1,%xmm0
  jmp    L46
L55:
  call   <sqrt@plt>
  jmp    L39
```

tool_calls: name: unpack_data
arguments: tag: D51
data_type: f64
name: unpack_data
arguments: tag: D30
data_type: f64
name: unpack_data
arguments: tag: D15
data_type: byte[8]
name: unpack_data
arguments: tag: D279
data_type: f64
name: unpack_data
arguments: tag: D117
data_type: f64
name: unpack_data
arguments: tag: D40
data_type: f64
name: unpack_data
arguments: tag: D156
data_type: f64
name: unpack_data
arguments: tag: D164
data_type: byte[8]
name: unpack_data
arguments: tag: D93
data_type: byte[8]
name: unpack_data
arguments: tag: D229
data_type: byte[8]
name: unpack_data
arguments: tag: D261
data_type: byte[8]
name: unpack_data
arguments: tag: D216
data_type: byte[8]
name: unpack_data
arguments: tag: D234
data_type: byte[8]
name: unpack_data
arguments: tag: D126
data_type: byte[8]
name: unpack_data
arguments: tag: D135
data_type: byte[8]
name: unpack_data
arguments: tag: D112
data_type: byte[8]
name: unpack_data
arguments: tag: D60
data_type: byte[8]
name: unpack_data
arguments: tag: D247
data_type: byte[8]
name: unpack_data
arguments: tag: D16
data_type: byte[8]
name: unpack_data
arguments: tag: D58
data_type: byte[8]

tool: D51: 2.4

tool: D30: 0.5

tool: {"D15": [0xb1,0xde,0x64,0xc8,0xda,0xd0,0xf3,0x3c]}

tool: D279: 80

tool: D117: 10

tool: D40: 4

tool: D156: 0.32

tool: {"D164": [0x33,0x33,0x33,0x33,0x33,0x33,0x13,0x40]}

tool: {"D93": [0x00,0x33,0x78,0x0e,0x9b,0x82,0x9f,0x3f]}

tool: {"D229": [0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x40]}

tool: {"D261": [0x48,0xe1,0x7a,0x14,0xae,0x47,0xff,0x3f]}

tool: {"D216": [0x5c,0x8f,0xc2,0xf5,0x28,0x5c,0x18,0x40]}

tool: {"D234": [0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x40]}

tool: {"D126": [0x24,0x9a,0x9a,0xc7,0xf7,0x8f,0xdc,0xbf]}

tool: {"D135": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D112": [0x8f,0xc2,0xf5,0x28,0x5c,0x8f,0xf6,0x3f]}

tool: {"D60": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc0]}

tool: {"D247": [0x48,0xe1,0x7a,0x14,0xae,0x47,0x0f,0x40]}

tool: {"D16": [0x72,0xd7,0x12,0xf2,0x41,0xcf,0x1f,0x40]}

tool: {"D58": [0x8f,0xc2,0xf5,0x28,0x5c,0x8f,0x06,0x40]}

assistant: ```c
double bitline_tag_delay(C, A, B, Ntwl, Ntbl, Ntspd, inrisetime, outrisetime)
int C, A, B, Ntbl, Ntspd;
double inrisetime, *outrisetime;
{
  double Tbit, Cline, Ccolmux, Rlineb, r1, r2, c1, c2, a, b, c;
  double m, tstep;
  double Cbitrow;
  int rows, cols;
  Cbitrow = draincap(2.4, 1, 1) / 2.0;
  rows = C / (B * A * Ntbl * Ntspd);
  cols = 8 * B * A * Ntspd / Ntwl;
  if (Ntbl * Ntspd == 1) {
    Cline = rows * (Cbitrow + 4.4e-15) + 2 * draincap(80.0, 0, 1);
    Ccolmux = 2 * gatecap(4.0, 10.0);
    Rlineb = 0.320 * rows / 2.0;
    r1 = Rlineb;
  } else {
    Cline = rows * (Cbitrow + 4.4e-15) + 2 * draincap(80.0, 0, 1) + draincap(10.0, 1, 1);
    Ccolmux = Ntspd * Ntbl * (draincap(10.0, 1, 1)) + 2 * gatecap(4.0, 10.0);
    Rlineb = 0.320 * rows / 2.0;
    r1 = Rlineb + transreson(10.0, 1, 1);
  }
  r2 = transreson(2.4, 1, 1) + transreson(2.4 * 2, 1, 1);
  c1 = Ccolmux;
  c2 = Cline;
  tstep = (r2 * c2 + (r1 + r2) * c1) * log((3.3) / (3.3 - 0.10));
  m = 5 / inrisetime;
  if (tstep <= (0.5 * (5 - 1.09) / m)) {
    a = m;
    b = 2 * ((5 * 0.5) - 1.09);
    c = -2 * tstep * (5 - 1.09) + 1 / m * ((5 * 0.5) - 1.09) * ((5 * 0.5) - 1.09);
    Tbit = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  } else {
    Tbit = tstep + (5 + 1.09) / (2 * m) - (5 * 0.5) / m;
  }
  *outrisetime = Tbit / (log((3.3 - 0.10) / 5));
  return (Tbit);
}
```