user: Please show me the C implementation that matches the assembly code listed below:

```asm
<ieee_p_3499444699_sub_572651688533501328_3536714472>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x140,%rsp
  mov    %rdi,-0x118(%rbp)
  mov    %rsi,-0x120(%rbp)
  mov    %rdx,-0x128(%rbp)
  mov    %rcx,-0x130(%rbp)
  mov    %r8,-0x138(%rbp)
  mov    %r9,-0x140(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x30(%rbp),%rax
  add    $0x4,%rax
  mov    %rax,-0xe0(%rbp)
  cmpq   $0x0,-0x128(%rbp)
  setne  %al
  mov    %al,-0x102(%rbp)
  cmpb   $0x1,-0x102(%rbp)
  je     L41
  nop
L14:
  lea    -0x30(%rbp),%rax
  add    $0xc,%rax
  mov    %rax,-0xd8(%rbp)
  mov    -0xd8(%rbp),%rax
  mov    -0x130(%rbp),%rdx
  mov    %rdx,(%rax)
  lea    -0x30(%rbp),%rax
  add    $0x14,%rax
  mov    %rax,-0xd0(%rbp)
  cmpq   $0x0,-0x138(%rbp)
  setne  %al
  mov    %al,-0x101(%rbp)
  cmpb   $0x1,-0x101(%rbp)
  je     L5
  nop
L17:
  lea    -0x30(%rbp),%rax
  add    $0x1c,%rax
  mov    %rax,-0xc8(%rbp)
  mov    -0xc8(%rbp),%rax
  mov    -0x140(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0xc,%rax
  mov    %rax,-0xc0(%rbp)
  mov    -0xc0(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0x100(%rbp)
  mov    -0x100(%rbp),%edi
  mov    -0x130(%rbp),%rcx
  mov    -0x128(%rbp),%rdx
  lea    -0x50(%rbp),%rsi
  mov    -0x118(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <ieee_std_logic_arith_conv_signed_signext@plt>
  mov    %rax,-0xb8(%rbp)
  mov    -0x140(%rbp),%rax
  add    $0xc,%rax
  mov    %rax,-0xb0(%rbp)
  mov    -0xb0(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xfc(%rbp)
  mov    -0xfc(%rbp),%edi
  mov    -0x140(%rbp),%rcx
  mov    -0x138(%rbp),%rdx
  lea    -0x40(%rbp),%rsi
  mov    -0x118(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <ieee_std_logic_arith_conv_signed_signext@plt>
  mov    %rax,-0xa8(%rbp)
  lea    -0x40(%rbp),%r8
  mov    -0xa8(%rbp),%rdi
  lea    -0x50(%rbp),%rcx
  mov    -0xb8(%rbp),%rdx
  lea    -0x60(%rbp),%rsi
  mov    -0x118(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <ieee_std_logic_arith_mult_signed@plt>
  mov    %rax,-0xa0(%rbp)
  lea    -0x60(%rbp),%rax
  add    $0xc,%rax
  mov    %rax,-0x98(%rbp)
  mov    -0x98(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xf8(%rbp)
  mov    -0xf8(%rbp),%eax
  mov    %eax,%edi
  call   <xsi_get_transient_memory@plt>
  mov    %rax,-0x90(%rbp)
  mov    -0xf8(%rbp),%edx
  mov    -0xa0(%rbp),%rcx
  mov    -0x90(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  lea    -0x60(%rbp),%rax
  mov    %rax,-0x88(%rbp)
  mov    -0x88(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xf4(%rbp)
  lea    -0x60(%rbp),%rax
  add    $0x4,%rax
  mov    %rax,-0x80(%rbp)
  mov    -0x80(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xf0(%rbp)
  lea    -0x60(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x78(%rbp)
  mov    -0x78(%rbp),%rax
  mov    (%rax),%eax
  mov    %eax,-0xec(%rbp)
  mov    -0x120(%rbp),%rax
  mov    %rax,-0x70(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x68(%rbp),%rax
  mov    -0xf4(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x70(%rbp),%rax
  add    $0x4,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x68(%rbp),%rax
  mov    -0xf0(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x70(%rbp),%rax
  add    $0x8,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x68(%rbp),%rax
  mov    -0xec(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0xf0(%rbp),%eax
  sub    -0xf4(%rbp),%eax
  mov    %eax,-0xe8(%rbp)
  mov    -0xe8(%rbp),%eax
  imul   -0xec(%rbp),%eax
  mov    %eax,-0xe4(%rbp)
  addl   $0x1,-0xe4(%rbp)
  mov    -0x70(%rbp),%rax
  add    $0xc,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x68(%rbp),%rax
  mov    -0xe4(%rbp),%edx
  mov    %edx,(%rax)
  mov    -0x90(%rbp),%rax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L50
  jmp    L27
L41:
  nop
  mov    -0xe0(%rbp),%rax
  mov    -0x128(%rbp),%rdx
  mov    %rdx,(%rax)
  jmp    L14
L5:
  nop
  mov    -0xd0(%rbp),%rax
  mov    -0x138(%rbp),%rdx
  mov    %rdx,(%rax)
  jmp    L17
L27:
  call   <__stack_chk_fail@plt>
L50:
  leave
  ret
```

assistant: ```c
char *ieee_p_3499444699_sub_572651688533501328_3536714472(char *t1, char *t2, char *t3, char *t4, char *t5, char *t6) {
  char t8[40];
  char t15[16];
  char t16[16];
  char t20[16];
  char *t0;
  char *t9;
  unsigned char t10;
  char *t11;
  char *t12;
  unsigned char t13;
  char *t14;
  char *t17;
  unsigned int t18;
  char *t19;
  char *t21;
  unsigned int t22;
  char *t23;
  char *t24;
  char *t25;
  unsigned int t26;
  char *t27;
  int t28;
  char *t29;
  int t30;
  char *t31;
  int t32;
  char *t33;
  char *t34;
  int t35;
  unsigned int t36;
LAB0:
  t9 = (t8 + 4U);
  t10 = (t3 != 0);
  if (t10 == 1)
    goto LAB3;
LAB2:
  t11 = (t8 + 12U);
  *((char **)t11) = t4;
  t12 = (t8 + 20U);
  t13 = (t5 != 0);
  if (t13 == 1)
    goto LAB5;
LAB4:
  t14 = (t8 + 28U);
  *((char **)t14) = t6;
  t17 = (t4 + 12U);
  t18 = *((unsigned int *)t17);
  t19 = ieee_std_logic_arith_conv_signed_signext(t1, t16, t3, t4, ((t18)));
  t21 = (t6 + 12U);
  t22 = *((unsigned int *)t21);
  t23 = ieee_std_logic_arith_conv_signed_signext(t1, t20, t5, t6, ((t22)));
  t24 = ieee_std_logic_arith_mult_signed(t1, t15, t19, t16, t23, t20);
  t25 = (t15 + 12U);
  t26 = *((unsigned int *)t25);
  t26 = (t26 * 1U);
  t0 = xsi_get_transient_memory(t26);
  memcpy(t0, t24, t26);
  t27 = (t15 + 0U);
  t28 = *((int *)t27);
  t29 = (t15 + 4U);
  t30 = *((int *)t29);
  t31 = (t15 + 8U);
  t32 = *((int *)t31);
  t33 = (t2 + 0U);
  t34 = (t33 + 0U);
  *((int *)t34) = t28;
  t34 = (t33 + 4U);
  *((int *)t34) = t30;
  t34 = (t33 + 8U);
  *((int *)t34) = t32;
  t35 = (t30 - t28);
  t36 = (t35 * t32);
  t36 = (t36 + 1);
  t34 = (t33 + 12U);
  *((unsigned int *)t34) = t36;
LAB1:
  return t0;
LAB3:
  *((char **)t9) = t3;
  goto LAB2;
LAB5:
  *((char **)t12) = t5;
  goto LAB4;
LAB6:;
}
```