user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<SIM_power_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  D267(%rip),%xmm0
  mov    $0x1,%eax
  call   <SIM_power_draincap@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  D264(%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     L41
  pxor   %xmm5,%xmm5
  cvtsi2sd %eax,%xmm5
  addsd  D192(%rip),%xmm0
  movsd  %xmm5,0x18(%rsp)
  mulsd  %xmm5,%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x0,%edi
  mov    D195(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <SIM_power_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    D195(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <SIM_power_draincap@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x1,%edi
  mov    D195(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <SIM_power_draincap@plt>
  imul   %eax,%ebp
  movsd  D20(%rip),%xmm1
  movsd  D183(%rip),%xmm0
  mov    $0x2,%eax
  call   <SIM_power_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    D195(%rip),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <SIM_power_transreson@plt>
  movsd  0x18(%rsp),%xmm5
  mulsd  D202(%rip),%xmm5
  movapd %xmm5,%xmm1
  mulsd  D264(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%r14
L35:
  mov    $0x1,%esi
  mov    $0x1,%edi
  movsd  D267(%rip),%xmm0
  mov    $0x1,%eax
  call   <SIM_power_transreson@plt>
  mov    %eax,%ebx
  mov    $0x1,%esi
  mov    $0x1,%edi
  movsd  D215(%rip),%xmm0
  mov    $0x1,%eax
  call   <SIM_power_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  D36(%rip),%xmm1
  movsd  D121(%rip),%xmm0
  movq   %r15,%xmm6
  divsd  %xmm6,%xmm0
  movapd %xmm0,%xmm3
  movsd  %xmm0,0x8(%rsp)
  movsd  D225(%rip),%xmm0
  divsd  %xmm3,%xmm0
  comisd %xmm1,%xmm0
  jae    L24
  movsd  0x8(%rsp),%xmm4
  movapd %xmm4,%xmm2
  addsd  %xmm4,%xmm2
  movsd  D288(%rip),%xmm0
  divsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  movsd  D38(%rip),%xmm1
  divsd  %xmm4,%xmm1
  subsd  %xmm1,%xmm0
L8:
  movapd %xmm0,%xmm1
  divsd  D178(%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
L41:
  pxor   %xmm7,%xmm7
  cvtsi2sd %eax,%xmm7
  addsd  D192(%rip),%xmm0
  movsd  %xmm7,0x18(%rsp)
  mulsd  %xmm7,%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    $0x1,%esi
  mov    $0x0,%edi
  movsd  D195(%rip),%xmm0
  mov    $0x1,%eax
  call   <SIM_power_draincap@plt>
  add    %eax,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movapd %xmm0,%xmm5
  addsd  0x8(%rsp),%xmm5
  movsd  %xmm5,0x8(%rsp)
  movsd  D20(%rip),%xmm1
  movsd  D183(%rip),%xmm0
  mov    $0x2,%eax
  call   <SIM_power_gatecap@plt>
  add    %eax,%eax
  pxor   %xmm2,%xmm2
  cvtsi2sd %eax,%xmm2
  movsd  %xmm2,0x10(%rsp)
  movsd  0x18(%rsp),%xmm7
  mulsd  D202(%rip),%xmm7
  movapd %xmm7,%xmm1
  mulsd  D264(%rip),%xmm1
  movq   %xmm1,%r14
  jmp    L35
L24:
  movsd  D181(%rip),%xmm0
  divsd  %xmm3,%xmm0
  movsd  D301(%rip),%xmm2
  mulsd  %xmm2,%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  D0(%rip),%xmm1
  mulsd  D311(%rip),%xmm1
  addsd  %xmm0,%xmm1
  mulsd  D3(%rip),%xmm3
  mulsd  %xmm3,%xmm1
  movsd  D66(%rip),%xmm0
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L6
  sqrtsd %xmm0,%xmm0
L13:
  subsd  D259(%rip),%xmm0
  movsd  0x8(%rsp),%xmm1
  addsd  %xmm1,%xmm1
  divsd  %xmm1,%xmm0
  jmp    L8
L6:
  call   <sqrt@plt>
  jmp    L13
```

tool_calls: name: disassemble_data
arguments: data_tag: D267
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D264
type_infered: f64
name: disassemble_data
arguments: data_tag: D192
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D195
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D20
type_infered: f64
name: disassemble_data
arguments: data_tag: D183
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D202
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D215
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D36
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D121
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D225
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D288
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D38
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D178
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D181
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D301
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D0
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D311
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D3
type_infered: f64
name: disassemble_data
arguments: data_tag: D66
type_infered: byte[8]
name: disassemble_data
arguments: data_tag: D259
type_infered: byte[8]

tool: {"D267": [0xe1,0x7a,0x14,0xae,0x47,0xe1,0xca,0x3f]}

tool: D264: 0.5

tool: {"D192": [0x9b,0x26,0x15,0x69,0xb1,0x20,0xfa,0x3c]}

tool: {"D195": [0x00,0x00,0x00,0x00,0x00,0x00,0xec,0x3f]}

tool: D20: 10

tool: {"D183": [0x66,0x66,0x66,0x66,0x66,0x66,0xd6,0x3f]}

tool: {"D202": [0x49,0x0c,0x02,0x2b,0x87,0x16,0xd9,0x3f]}

tool: {"D215": [0xe1,0x7a,0x14,0xae,0x47,0xe1,0xda,0x3f]}

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

tool: {"D121": [0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xfc,0x3f]}

tool: {"D225": [0x9d,0x5e,0x29,0xcb,0x10,0xc7,0xe4,0x3f]}

tool: {"D288": [0x7e,0x1d,0x38,0x67,0x44,0x69,0x02,0x40]}

tool: {"D38": [0xcc,0xcc,0xcc,0xcc,0xcc,0xcc,0xec,0x3f]}

tool: {"D178": [0x91,0xdb,0x34,0x11,0x62,0x69,0xd2,0x3f]}

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

tool: {"D301": [0xdc,0xe0,0x0b,0x93,0xa9,0x82,0xd9,0x3f]}

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

tool: {"D311": [0x9d,0x5e,0x29,0xcb,0x10,0xc7,0xf4,0x3f]}

tool: D3: 4

tool: {"D66": [0xac,0xeb,0x0f,0x7b,0x3e,0x56,0xe4,0x3f]}

tool: {"D259": [0xdc,0xe0,0x0b,0x93,0xa9,0x82,0xe9,0x3f]}

assistant: ```c
double SIM_power_bitline_tag_delay(C, A, B, Ntwl, Ntbl, Ntspd, inrisetime, outrisetime)
int C, A, B, Ntwl, 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 = SIM_power_draincap((2.4 * 0.0875), 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 * ((172.2157) * (0.0875 * 0.0875)))) + 2 * SIM_power_draincap((10.0 * 0.0875), 0, 1);
    Ccolmux = 2 * SIM_power_gatecap((4.0 * 0.0875), 10.0);
    Rlineb = (0.320 * ((160.0000) * (0.0875 * 0.0875))) * rows / 2.0;
    r1 = Rlineb;
  } else {
    Cline = rows * (Cbitrow + (4.4e-15 * ((172.2157) * (0.0875 * 0.0875)))) + 2 * SIM_power_draincap((10.0 * 0.0875), 0, 1) + SIM_power_draincap((10.0 * 0.0875), 1, 1);
    Ccolmux = Ntspd * Ntbl * (SIM_power_draincap((10.0 * 0.0875), 1, 1)) + 2 * SIM_power_gatecap((4.0 * 0.0875), 10.0);
    Rlineb = (0.320 * ((160.0000) * (0.0875 * 0.0875))) * rows / 2.0;
    r1 = Rlineb + SIM_power_transreson((10.0 * 0.0875), 1, 1);
  }
  r2 = SIM_power_transreson((2.4 * 0.0875), 1, 1) + SIM_power_transreson((2.4 * 0.0875) * 2, 1, 1);
  c1 = Ccolmux;
  c2 = Cline;
  tstep = (r2 * c2 + (r1 + r2) * c1) * log(((3.3 * 0.75)) / ((3.3 * 0.75) - (0.10 * 0.75)));
  m = (5 * 0.36) / inrisetime;
  if (tstep <= (0.5 * ((5 * 0.36) - (1.09 * 0.46)) / m)) {
    a = m;
    b = 2 * (((5 * 0.36) * 0.5) - (1.09 * 0.46));
    c = -2 * tstep * ((5 * 0.36) - (1.09 * 0.46)) + 1 / m * (((5 * 0.36) * 0.5) - (1.09 * 0.46)) * (((5 * 0.36) * 0.5) - (1.09 * 0.46));
    Tbit = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  } else {
    Tbit = tstep + ((5 * 0.36) + (1.09 * 0.46)) / (2 * m) - ((5 * 0.36) * 0.5) / m;
  }
  *outrisetime = Tbit / (log(((3.3 * 0.75) - (0.10 * 0.75)) / (5 * 0.36)));
  return (Tbit);
}
```