user: 下面的汇编指令对应的C源代码是什么:

```asm
<BSIM4RdsEndIso>:
  endbr64
  sub    $0x38,%rsp
  cmp    $0x1,%esi
  je     L3
  cmp    $0x8,%edi
  ja     L127
  mov    $0x1,%eax
  mov    %edi,%ecx
  shl    %cl,%rax
  test   $0x114,%eax
  jne    L145
  test   $0x8a,%al
  je     L127
L129:
  ucomisd D49(%rip),%xmm5
  jp     L110
  jne    L110
L99:
  movq   $0x0,(%rdx)
  xor    %eax,%eax
  add    $0x38,%rsp
  ret
  nopl   (%rax)
L3:
  cmp    $0x5,%edi
  je     L129
  jg     L8
  cmp    $0x2,%edi
  jle    L62
L145:
  addsd  %xmm2,%xmm3
  pxor   %xmm2,%xmm2
  ucomisd %xmm2,%xmm3
  jp     L34
  je     L39
L34:
  ucomisd %xmm2,%xmm5
  jp     L23
  je     L99
L23:
  mulsd  D12(%rip),%xmm5
  xor    %eax,%eax
  mulsd  %xmm0,%xmm1
  mulsd  %xmm3,%xmm5
  divsd  %xmm5,%xmm1
  movsd  %xmm1,(%rdx)
  add    $0x38,%rsp
  ret
  nopw   0x0(%rax,%rax,1)
L62:
  test   %edi,%edi
  jg     L129
L127:
  mov    %edi,%esi
  xor    %eax,%eax
  lea    D45(%rip),%rdi
  call   <printf@plt>
L138:
  xor    %eax,%eax
  add    $0x38,%rsp
  ret
  nopl   0x0(%rax,%rax,1)
L8:
  cmp    $0x6,%edi
  je     L145
  mov    %edi,%esi
  xor    %eax,%eax
  lea    D45(%rip),%rdi
  call   <printf@plt>
  jmp    L138
  nopw   0x0(%rax,%rax,1)
L110:
  mulsd  %xmm1,%xmm2
  xor    %eax,%eax
  mulsd  %xmm0,%xmm5
  divsd  %xmm5,%xmm2
  movsd  %xmm2,(%rdx)
  add    $0x38,%rsp
  ret
  nopw   0x0(%rax,%rax,1)
L39:
  lea    D0(%rip),%rdi
  mov    %rdx,0x20(%rsp)
  movsd  %xmm2,0x28(%rsp)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm0,0x8(%rsp)
  movsd  %xmm3,(%rsp)
  call   <puts@plt>
  movsd  0x28(%rsp),%xmm2
  mov    0x20(%rsp),%rdx
  movsd  0x18(%rsp),%xmm5
  movsd  0x10(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm0
  movsd  (%rsp),%xmm3
  jmp    L34
```

tool_calls: name: disassemble_data
arguments: tag: D49
datatype: f64
name: disassemble_data
arguments: tag: D12
datatype: f64
name: disassemble_data
arguments: tag: D45
datatype: string
name: disassemble_data
arguments: tag: D0
datatype: string

tool: D49: 0

tool: D12: 3

tool: D45: Warning: Specified RGEO = %d not matched


tool: D0: (DMCG + DMCI) can not be equal to zero

assistant: ```c
int BSIM4RdsEndIso(Weffcj, Rsh, DMCG, DMCI, DMDG, nuEnd, rgeo, Type, Rend)
double Weffcj, Rsh, DMCG, DMCI, DMDG;
int rgeo, Type;
double nuEnd, *Rend;
{
  if (Type == 1) {
    switch (rgeo) {
    case 1:
    case 2:
    case 5:
      if (nuEnd == 0.0)
        *Rend = 0.0;
      else
        *Rend = Rsh * DMCG / (Weffcj * nuEnd);
      break;
    case 3:
    case 4:
    case 6:
      if ((DMCG + DMCI) == 0.0)
        printf("(DMCG + DMCI) can not be equal to zero\n");
      if (nuEnd == 0.0)
        *Rend = 0.0;
      else
        *Rend = Rsh * Weffcj / (3.0 * nuEnd * (DMCG + DMCI));
      break;
    default:
      printf("Warning: Specified RGEO = %d not matched\n", rgeo);
    }
  } else {
    switch (rgeo) {
    case 1:
    case 3:
    case 7:
      if (nuEnd == 0.0)
        *Rend = 0.0;
      else
        *Rend = Rsh * DMCG / (Weffcj * nuEnd);
      break;
    case 2:
    case 4:
    case 8:
      if ((DMCG + DMCI) == 0.0)
        printf("(DMCG + DMCI) can not be equal to zero\n");
      if (nuEnd == 0.0)
        *Rend = 0.0;
      else
        *Rend = Rsh * Weffcj / (3.0 * nuEnd * (DMCG + DMCI));
      break;
    default:
      printf("Warning: Specified RGEO = %d not matched\n", rgeo);
    }
  }
  return 0;
}
```