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

```asm
<main>:
  endbr64
  push   %r13
  lea    D11(%rip),%rdi
  lea    D2(%rip),%r13
  push   %r12
  lea    D28(%rip),%r12
  push   %rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbp
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  lea    D50(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L475
L492:
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  add    $0x4,%rbp
  call   <scanf@plt>
  cmp    %ebx,0xc(%rsp)
  jg     L492
L475:
  lea    D49(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x8(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%r8d
  mov    $0x1,%esi
  lea    -0x1(%r8),%edx
  cmp    $0x1,%r8d
  jg     L80
  jmp    L171
  nopw   0x0(%rax,%rax,1)
L328:
  movq   %xmm1,0x10(%rsp)
  mov    $0x1,%ecx
  cmp    $0x1,%edx
  je     L517
L402:
  movq   0x14(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm3
  movd   %xmm0,%eax
  movd   %xmm3,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L528
  movq   %xmm1,0x14(%rsp)
  mov    $0x1,%ecx
L528:
  cmp    $0x2,%edx
  je     L517
  movq   0x18(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm4
  movd   %xmm0,%eax
  movd   %xmm4,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L462
  movq   %xmm1,0x18(%rsp)
  mov    $0x1,%ecx
L462:
  cmp    $0x3,%edx
  je     L517
  movq   0x1c(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm5
  movd   %xmm0,%eax
  movd   %xmm5,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L511
  movq   %xmm1,0x1c(%rsp)
  mov    $0x1,%ecx
L511:
  cmp    $0x4,%edx
  je     L517
  movq   0x20(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm6
  movd   %xmm0,%edi
  movd   %xmm6,%eax
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jge    L309
  movq   %xmm1,0x20(%rsp)
  mov    $0x1,%ecx
L309:
  cmp    $0x5,%edx
  je     L517
  movq   0x24(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm7
  movd   %xmm0,%eax
  movd   %xmm7,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L384
  movq   %xmm1,0x24(%rsp)
  mov    $0x1,%ecx
L384:
  cmp    $0x6,%edx
  je     L517
  movq   0x28(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm7
  movd   %xmm0,%eax
  movd   %xmm7,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L298
  movq   %xmm1,0x28(%rsp)
  mov    $0x1,%ecx
L298:
  cmp    $0x7,%edx
  je     L517
  movq   0x2c(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm6
  movd   %xmm0,%eax
  movd   %xmm6,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L233
  movq   %xmm1,0x2c(%rsp)
  mov    $0x1,%ecx
L233:
  cmp    $0x8,%edx
  je     L517
  movq   0x30(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm5
  movd   %xmm0,%eax
  movd   %xmm5,%edi
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%edi
  jle    L517
  movq   %xmm1,0x30(%rsp)
  mov    $0x1,%ecx
L517:
  add    $0x1,%esi
  cmp    %r8d,%esi
  jge    L171
  test   %ecx,%ecx
  je     L171
L80:
  movq   0x10(%rsp),%xmm0
  pshufd $0xe5,%xmm0,%xmm2
  movd   %xmm0,%eax
  movd   %xmm2,%ecx
  pshufd $0xe1,%xmm0,%xmm1
  cmp    %eax,%ecx
  jg     L328
  cmp    $0x1,%edx
  je     L171
  xor    %ecx,%ecx
  jmp    L402
  nopw   0x0(%rax,%rax,1)
L171:
  lea    D47(%rip),%rdi
  call   <puts@plt>
  imul   $0x64,0x8(%rsp),%eax
  mov    %eax,0x8(%rsp)
  test   %eax,%eax
  js     L307
  mov    0xc(%rsp),%edx
  lea    D1(%rip),%rbx
  nopl   0x0(%rax,%rax,1)
L127:
  test   %edx,%edx
  jle    L106
  mov    0x10(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L401
L562:
  cmp    $0x1,%edx
  jle    L414
  mov    0x14(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L437
L184:
  cmp    $0x2,%edx
  jle    L414
  mov    0x18(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L461
L446:
  cmp    $0x3,%edx
  jle    L414
  mov    0x1c(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L413
L21:
  cmp    $0x4,%edx
  jle    L414
  mov    0x20(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L43
L245:
  cmp    $0x5,%edx
  jle    L414
  mov    0x24(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L135
L224:
  cmp    $0x6,%edx
  jle    L414
  mov    0x28(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L516
L495:
  cmp    $0x7,%edx
  jle    L414
  mov    0x2c(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L551
L316:
  cmp    $0x8,%edx
  jle    L414
  mov    0x30(%rsp),%ecx
  cmp    %ecx,%eax
  jge    L13
L409:
  cmp    $0x9,%edx
  jle    L414
  mov    0x34(%rsp),%ecx
  cmp    %eax,%ecx
  jle    L25
L414:
  test   %eax,%eax
  jns    L127
L307:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L318
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L401:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L562
  nopw   0x0(%rax,%rax,1)
L437:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L184
  nopw   0x0(%rax,%rax,1)
L461:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L446
  nopw   0x0(%rax,%rax,1)
L413:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L21
  nopw   0x0(%rax,%rax,1)
L43:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L245
  nopw   0x0(%rax,%rax,1)
L135:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L224
  nopw   0x0(%rax,%rax,1)
L516:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L495
  nopw   0x0(%rax,%rax,1)
L551:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L316
  nopw   0x0(%rax,%rax,1)
L13:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L409
  nopw   0x0(%rax,%rax,1)
L106:
  jmp    L106
  nopw   0x0(%rax,%rax,1)
L25:
  cltd
  pxor   %xmm0,%xmm0
  mov    %rbx,%rdi
  idiv   %ecx
  mov    %eax,%esi
  movslq %ecx,%rax
  sar    $0x1f,%ecx
  mov    %edx,0x8(%rsp)
  imul   $0x51eb851f,%rax,%rax
  sar    $0x25,%rax
  sub    %ecx,%eax
  cvtsi2ss %eax,%xmm0
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%eax
  jmp    L414
L318:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D11
type: string
name: unpack_data
arguments: label: D2
type: string
name: unpack_data
arguments: label: D28
type: string
name: unpack_data
arguments: label: D50
type: string
name: unpack_data
arguments: label: D49
type: string
name: unpack_data
arguments: label: D47
type: string
name: unpack_data
arguments: label: D1
type: string

tool: D11: Quantos valores de moedas voce tem? 

tool: D2: Entre com o valor das moedas: 

tool: D28: %d

tool: D50: 
Se o valor da moeda for 0.01, digite 1: se for 1: digite 100 !!


tool: D49: Entre com o troco: 

tool: D47: TROCO!!  

tool: D1:   - %d moedas de %.2f

assistant: ```c
int main() {
  int moedas[10], troco;
  int qntMoedas, i, vals, j, flag = 1, aux;
  float valF;
  printf("Quantos valores de moedas voce tem? ");
  scanf("%d", &qntMoedas);
  printf("\nSe o valor da moeda for 0.01, digite 1: se for 1: digite 100 !!\n\n");
  for (i = 0; i < qntMoedas; i++) {
    printf("Entre com o valor das moedas: ");
    scanf("%d", &moedas[i]);
  }
  printf("Entre com o troco: ");
  scanf("%d", &troco);
  for (i = 1; i < qntMoedas && flag == 1; i++) {
    flag = 0;
    for (j = 0; j < qntMoedas - 1; j++) {
      if (moedas[j] < moedas[j + 1]) {
        aux = moedas[j];
        moedas[j] = moedas[j + 1];
        moedas[j + 1] = aux;
        flag = 1;
      }
    }
  }
  printf("TROCO!!  \n");
  troco = troco * 100;
  while (troco >= 0) {
    for (i = 0; i < qntMoedas; i++) {
      if (troco >= moedas[i]) {
        vals = troco / moedas[i];
        troco = troco - (vals * moedas[i]);
        valF = moedas[i] / 100;
        printf("  - %d moedas de %.2f", vals, valF);
      }
    }
  }
  return 0;
}
```