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

```asm
<printDrawnNumbers>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,-0x44(%rbp)
  mov    %esi,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %esi,%rbx
  lea    0xf(,%rbx,4),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L25:
  cmp    %rdx,%rsp
  je     L99
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L25
L99:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L12
  orq    $0x0,-0x8(%rsp,%rax,1)
L12:
  mov    %rsp,%r13
  movslq -0x44(%rbp),%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L10:
  cmp    %rdx,%rsp
  je     L56
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L10
L56:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L94
  orq    $0x0,-0x8(%rsp,%rax,1)
L94:
  mov    %rsp,-0x50(%rbp)
  mov    -0x48(%rbp),%eax
  test   %eax,%eax
  jle    L77
  lea    0x1(%rax),%edx
  mov    $0x1,%eax
L35:
  mov    %eax,-0x4(%r13,%rax,4)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L35
L77:
  mov    -0x44(%rbp),%eax
  test   %eax,%eax
  jle    L17
  mov    -0x50(%rbp),%r14
  mov    %r14,%r12
  lea    -0x1(%rbx),%r15
  lea    -0x1(%rax),%eax
  sub    %rax,%r15
L50:
  mov    $0x0,%eax
  call   <rand@plt>
  cltd
  idiv   %ebx
  movslq %edx,%rdx
  mov    0x0(%r13,%rdx,4),%eax
  mov    %eax,(%r14)
  mov    -0x4(%r13,%rbx,4),%eax
  mov    %eax,0x0(%r13,%rdx,4)
  sub    $0x1,%rbx
  add    $0x4,%r14
  cmp    %r15,%rbx
  jne    L50
  mov    -0x44(%rbp),%ebx
  mov    %ebx,%esi
  mov    -0x50(%rbp),%r15
  mov    %r15,%rdi
  call   <bubblesort@plt>
  mov    -0x48(%rbp),%edx
  mov    %ebx,%esi
  lea    D8(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebx,%eax
  lea    (%r15,%rax,4),%r13
  lea    D0(%rip),%rbx
L70:
  mov    (%r12),%esi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%r12
  cmp    %r12,%r13
  jne    L70
L39:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L62
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L17:
  mov    -0x44(%rbp),%ebx
  mov    %ebx,%esi
  mov    -0x50(%rbp),%rdi
  call   <bubblesort@plt>
  mov    -0x48(%rbp),%edx
  mov    %ebx,%esi
  lea    D8(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L39
L62:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D8
type_infered: string
name: retrieve_data
arguments: tag: D0
type_infered: string

tool: D8: ===== %d aus %d =====


tool: D0: %5d

assistant: ```c
void printDrawnNumbers(int count, int all) {
  int aAll[all], picks[count], i, rest = all;
  for (i = 0; i < all; i++)
    aAll[i] = i + 1;
  for (i = 0; i < count; i++) {
    int iPick = rand() % rest--;
    picks[i] = aAll[iPick];
    aAll[iPick] = aAll[rest];
  }
  bubblesort(picks, count);
  printf("===== %d aus %d =====\n", count, all);
  for (i = 0; i < count; i++)
    printf("%5d", picks[i]);
}
```