user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  sub    $0xb8,%rsp
  movdqa D78(%rip),%xmm0
  mov    $0xa,%edx
  lea    D69(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  mov    %dx,0xa0(%rsp)
  movaps %xmm0,0x20(%rsp)
  movdqa D160(%rip),%xmm0
  movl   $0x0,0xc(%rsp)
  movaps %xmm0,0x30(%rsp)
  movdqa D212(%rip),%xmm0
  movl   $0x0,0x10(%rsp)
  movaps %xmm0,0x40(%rsp)
  movdqa D35(%rip),%xmm0
  movl   $0x0,0x14(%rsp)
  movaps %xmm0,0x50(%rsp)
  movdqa D195(%rip),%xmm0
  movl   $0x0,0x18(%rsp)
  movaps %xmm0,0x60(%rsp)
  movdqa D144(%rip),%xmm0
  movl   $0x0,0x1c(%rsp)
  movaps %xmm0,0x70(%rsp)
  movdqa D24(%rip),%xmm0
  movaps %xmm0,0x80(%rsp)
  movdqa D132(%rip),%xmm0
  movaps %xmm0,0x90(%rsp)
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  lea    D37(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x1c(%rsp),%eax
  cmp    $0x1,%eax
  je     L13
  cmp    $0x2,%eax
  je     L44
  cmp    $0x3,%eax
  je     L89
  cmp    $0x4,%eax
  je     L66
  lea    0x20(%rsp),%rdi
  call   <puts@plt>
L88:
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L50
  xor    %eax,%eax
  add    $0xb8,%rsp
  ret
L13:
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    0x10(%rsp),%rdx
  xor    %eax,%eax
  lea    D55(%rip),%rdi
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  mov    $0x2,%eax
  cvtss2sd 0xc(%rsp),%xmm0
  cvtss2sd 0x10(%rsp),%xmm1
  call   <calcRectArea@plt>
  lea    D151(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L88
L44:
  lea    D129(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D76(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0xc(%rsp),%xmm0
  call   <calcBoxArea@plt>
  lea    D151(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L88
L89:
  lea    D71(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D76(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x14(%rsp),%xmm0
  call   <calcCirArea@plt>
  lea    D151(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L88
L66:
  lea    D208(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  lea    0x10(%rsp),%rdx
  xor    %eax,%eax
  lea    D55(%rip),%rdi
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  mov    $0x2,%eax
  cvtss2sd 0x18(%rsp),%xmm0
  cvtss2sd 0x10(%rsp),%xmm1
  call   <calcTriArea@plt>
  lea    D151(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L88
L50:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D78
type_guessed: byte[16]
name: unpack_data
arguments: label: D69
type_guessed: string
name: unpack_data
arguments: label: D160
type_guessed: byte[16]
name: unpack_data
arguments: label: D212
type_guessed: byte[16]
name: unpack_data
arguments: label: D35
type_guessed: byte[16]
name: unpack_data
arguments: label: D195
type_guessed: byte[16]
name: unpack_data
arguments: label: D144
type_guessed: byte[16]
name: unpack_data
arguments: label: D24
type_guessed: byte[16]
name: unpack_data
arguments: label: D132
type_guessed: byte[16]
name: unpack_data
arguments: label: D37
type_guessed: string
name: unpack_data
arguments: label: D12
type_guessed: string
name: unpack_data
arguments: label: D55
type_guessed: string
name: unpack_data
arguments: label: D151
type_guessed: string
name: unpack_data
arguments: label: D129
type_guessed: string
name: unpack_data
arguments: label: D76
type_guessed: string
name: unpack_data
arguments: label: D71
type_guessed: string
name: unpack_data
arguments: label: D208
type_guessed: string

tool: {"D78": [0x0a,0x41,0x72,0x65,0x61,0x20,0x63,0x61,0x6c,0x63,0x20,0x76,0x20,0x30,0x2e,0x30]}

tool: D69: Enter object: 

tool: {"D160": [0x31,0x3a,0x0a,0x09,0x31,0x3a,0x20,0x75,0x73,0x65,0x20,0x72,0x65,0x63,0x74,0x61]}

tool: {"D212": [0x6e,0x67,0x75,0x6c,0x61,0x72,0x20,0x6d,0x61,0x74,0x68,0x2e,0x0a,0x09,0x32,0x3a]}

tool: {"D35": [0x20,0x75,0x73,0x65,0x20,0x62,0x6f,0x78,0x69,0x73,0x68,0x20,0x6d,0x61,0x74,0x68]}

tool: {"D195": [0x2e,0x0a,0x09,0x33,0x3a,0x20,0x75,0x73,0x65,0x20,0x63,0x69,0x72,0x63,0x75,0x6c]}

tool: {"D144": [0x61,0x72,0x20,0x6d,0x61,0x74,0x68,0x2e,0x0a,0x09,0x34,0x3a,0x20,0x75,0x73,0x65]}

tool: {"D24": [0x20,0x74,0x72,0x69,0x61,0x6e,0x67,0x75,0x6c,0x61,0x72,0x20,0x6d,0x61,0x74,0x68]}

tool: {"D132": [0x2e,0x0a,0x09,0x35,0x3a,0x20,0x62,0x65,0x20,0x68,0x65,0x6c,0x70,0x66,0x75,0x6c]}

tool: D37: %d

tool: D12: Enter length, height: 

tool: D55: %f, %f

tool: D151: Area = %f


tool: D129: Enter length: 

tool: D76: %f

tool: D71: Enter radius: 

tool: D208: Enter base, height: 

assistant: ```c
int main(void) {
  char help[] = "\nArea calc v 0.01:\n\t1: use rectangular math.\n\t2: use boxish math.\n\t3: use circular math.\n\t4: use triangular math.\n\t5: be helpful\n";
  float l, h, r, b;
  int opType;
  l = 0;
  h = 0;
  r = 0;
  b = 0;
  opType = 0;
  printf("Enter object: ");
  scanf("%d", &opType);
  if (opType == 1) {
    printf("Enter length, height: ");
    scanf("%f, %f", &l, &h);
    printf("Area = %f\n", calcRectArea(l, h));
    return 0;
  } else if (opType == 2) {
    printf("Enter length: ");
    scanf("%f", &l);
    printf("Area = %f\n", calcBoxArea(l));
    return 0;
  } else if (opType == 3) {
    printf("Enter radius: ");
    scanf("%f", &r);
    printf("Area = %f\n", calcCirArea(r));
    return 0;
  } else if (opType == 4) {
    printf("Enter base, height: ");
    scanf("%f, %f", &b, &h);
    printf("Area = %f\n", calcTriArea(b, h));
    return 0;
  } else if (opType == 5) {
    printf("%s\n", help);
    return 0;
  } else {
    printf("%s\n", help);
    return 0;
  }
}
```