user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    $0x0,%edi
  call   <time@plt>
  mov    %eax,%edi
  call   <srand@plt>
  movl   $0x0,(%rsp)
  movl   $0x0,0x4(%rsp)
  lea    D62(%rip),%rdi
  call   <puts@plt>
  lea    D45(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  lea    D58(%rip),%rdi
  call   <puts@plt>
  mov    $0xc8,%ebp
  mov    $0x64,%ebx
  lea    D61(%rip),%r14
  lea    D73(%rip),%r12
  lea    D34(%rip),%r13
  jmp    L30
L99:
  lea    D108(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L30
L31:
  lea    D4(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L41:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L40
  mov    $0x0,%eax
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L93:
  mov    $0x0,%eax
  call   <act_of_god@plt>
  mov    %eax,(%rsp)
  jmp    L67
L8:
  lea    D70(%rip),%rdi
  call   <puts@plt>
L30:
  mov    %ebx,%edx
  mov    %ebp,%esi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    (%rsp),%edx
  mov    0x4(%rsp),%esi
  lea    (%rdx,%rsi,1),%eax
  cmp    %ebp,%eax
  jg     L99
  sub    %eax,%ebp
  pxor   %xmm1,%xmm1
  cvtsi2ss %esi,%xmm1
  pxor   %xmm2,%xmm2
  cvtsi2ss %ebx,%xmm2
  movaps %xmm1,%xmm0
  divss  %xmm2,%xmm0
  mov    %ebx,%eax
  shr    $0x1f,%eax
  add    %ebx,%eax
  sar    %eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  cvttss2si %xmm0,%ebx
  cmp    $0x9,%ebx
  jle    L31
  mov    $0x0,%eax
  call   <rand@plt>
  movslq %eax,%rdx
  imul   $0x66666667,%rdx,%rdx
  sar    $0x21,%rdx
  mov    %eax,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%edx
  lea    (%rdx,%rdx,4),%edx
  cmp    %edx,%eax
  je     L93
L67:
  pxor   %xmm0,%xmm0
  cvtsi2sdl (%rsp),%xmm0
  mulsd  D75(%rip),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %ebp,%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%ebp
  cmp    $0x3e8,%ebx
  jle    L8
  cmp    $0x3e8,%ebp
  jle    L8
  mov    %ebp,%edx
  mov    %ebx,%esi
  lea    D102(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L41
L40:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D62
data_type: string
name: unpack_data
arguments: tag: D45
data_type: string
name: unpack_data
arguments: tag: D58
data_type: string
name: unpack_data
arguments: tag: D61
data_type: string
name: unpack_data
arguments: tag: D73
data_type: string
name: unpack_data
arguments: tag: D34
data_type: string
name: unpack_data
arguments: tag: D108
data_type: string
name: unpack_data
arguments: tag: D4
data_type: string
name: unpack_data
arguments: tag: D70
data_type: string
name: unpack_data
arguments: tag: D75
data_type: f64
name: unpack_data
arguments: tag: D102
data_type: string

tool: D62: 







	Cymon's Games

	http://WWW.CYMONSGAMES.COM


   This game and its code is a 2008 Cymon's Games game.
   If you have enjoyed this game or would just like to have a new game
   each week please visit:
   http://WWW.CYMONSGAMES.COM for C/C++ programming resources and programs
   for everyone, beginners and advanced users alike.



tool: D45: 
	Press ENTER to continue...






tool: D58: 














RULER
-----



tool: D61: %d lbs of food and %d people
Input food for sowing 

tool: D73: %d

tool: D34: and the amount for our peoples table sire? 

tool: D108: you can't put %d lbs on the tables and sow %d lbs this year,  sire


tool: D4: 
The few people that survived the hard winter have left for pastures new.
Your empire has crumbled like many before it andmany that will rise in
its ashes

tool: D70: 
A New Year Dawns

tool: D75: 3.5

tool: D102: 
Sire, your majesty is known throughout the world.
Statues are errected in your honour today because our nation is strong and
safe from harm, our nation is currently %d strong and we have supplies
of %d to feed us.  We now longer need your guidance in these matters you
can sit in state without vexation on our earthly matters.

ALL HAIL THE KING!

assistant: ```c
int main() {
  srand(time(NULL));
  int people = 100;
  int food = 200;
  int sow = 0;
  int tables = 0;
  int z;
  puts("\n\n\n\n\n\n\n\n\tCymon's Games\n\n\thttp://WWW.CYMONSGAMES.COM\n\n\n"
       "   This game and its code is a 2008 Cymon's Games game.\n"
       "   If you have enjoyed this game or would just like to have a new game\n"
       "   each week please visit:\n"
       "   http://WWW.CYMONSGAMES.COM for C/C++ programming resources and programs\n"
       "   for everyone, beginners and advanced users alike.\n\n");
  printf("\n\tPress ENTER to continue...\n\n\n\n\n\n");
  getchar();
  puts("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRULER\n-----\n\n");
input:
  printf("%d lbs of food and %d people\nInput food for sowing ", food, people);
  scanf("%d", &sow);
  printf("and the amount for our peoples table sire? ");
  scanf("%d", &tables);
  if (sow + tables > food) {
    printf("you can't put %d lbs on the tables and sow %d lbs this "
           "year,  sire\n",
           tables, sow);
    goto input;
  }
  z = food - (sow + tables);
  people = ((float)tables / (float)people) * (people / 2) + tables;
  if (people < 10) {
    printf("\nThe few people that survived the hard winter have left "
           "for pastures new.\nYour empire has crumbled like many before it and"
           "many that will rise in\nits ashes");
    return 0;
  }
  if (rand() % 5 == 0)
    sow = act_of_god();
  food = z + (sow * 3.5);
  if (people > 1000 && food > 1000) {
    printf("\nSire, your majesty is known throughout the world.\n"
           "Statues are errected in your honour today because our nation is strong "
           "and\nsafe from harm, our nation is currently %d strong and we have "
           "supplies\nof %d to feed us.  We now longer need your guidance in "
           "these matters you\ncan sit in state without vexation on our earthly "
           "matters.\n\nALL HAIL THE KING!",
           people, food);
    return 0;
  }
  printf("\nA New Year Dawns\n");
  goto input;
}
```