user: 下面的汇编指令对应的C源代码是什么：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x168,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x158(%rsp)
  xor    %eax,%eax
  lea    D73(%rip),%rdi
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D44(%rip),%rdi
  call   <scanf@plt>
  lea    D68(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%edi
  test   %edi,%edi
  jle    L27
  mov    $0x0,%ebp
  mov    $0x0,%ebx
  lea    D77(%rip),%r15
  lea    D3(%rip),%r14
  lea    D44(%rip),%r12
  lea    D87(%rip),%r13
L83:
  add    $0x1,%ebx
  mov    %ebx,%esi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp,%rbp,1),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x100(%rsp,%rbp,1),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    %ebx,0x60(%rsp,%rbp,1)
  mov    0xc(%rsp),%edi
  add    $0x4,%rbp
  cmp    %edi,%ebx
  jl     L83
  test   %edi,%edi
  jle    L27
  lea    -0x1(%rdi),%r10d
  mov    $0x0,%esi
L42:
  mov    %esi,%edx
  cmp    %r10,%rsi
  je     L27
  lea    0x1(%rsi),%r8
  mov    %r8,%rax
L148:
  movslq %edx,%rcx
  mov    0x100(%rsp,%rcx,4),%ebx
  cmp    %ebx,0x100(%rsp,%rax,4)
  cmovl  %eax,%edx
  add    $0x1,%rax
  cmp    %eax,%edi
  jg     L148
  lea    0x100(%rsp),%rax
  mov    (%rax,%rsi,4),%ecx
  movslq %edx,%rdx
  mov    0x100(%rsp,%rdx,4),%r9d
  mov    %r9d,(%rax,%rsi,4)
  mov    %ecx,0x100(%rsp,%rdx,4)
  lea    0x10(%rsp),%rax
  mov    (%rax,%rsi,4),%ecx
  mov    0x10(%rsp,%rdx,4),%r9d
  mov    %r9d,(%rax,%rsi,4)
  mov    %ecx,0x10(%rsp,%rdx,4)
  lea    0x60(%rsp),%rax
  mov    (%rax,%rsi,4),%ecx
  mov    0x60(%rsp,%rdx,4),%r9d
  mov    %r9d,(%rax,%rsi,4)
  mov    %ecx,0x60(%rsp,%rdx,4)
  mov    %r8,%rsi
  jmp    L42
L27:
  movl   $0x0,0xb0(%rsp)
  cmp    $0x1,%edi
  jle    L55
  lea    0xb4(%rsp),%r10
  lea    0x10(%rsp),%rbx
  lea    0x14(%rsp),%r8
  mov    $0x0,%eax
  mov    $0x1,%r9d
  mov    $0x0,%r11d
L84:
  mov    %r10,%rsi
  movl   $0x0,(%r10)
  test   %r9d,%r9d
  jle    L126
  mov    %rbx,%rdx
  mov    %r11d,%ecx
L2:
  add    (%rdx),%ecx
  add    $0x4,%rdx
  cmp    %r8,%rdx
  jne    L2
  mov    %ecx,(%rsi)
L126:
  add    (%rsi),%eax
  add    $0x1,%r9d
  add    $0x4,%r10
  add    $0x4,%r8
  cmp    %edi,%r9d
  jne    L84
L114:
  cltd
  idiv   %edi
  mov    %eax,%r12d
  lea    D0(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%r14d
  test   %r14d,%r14d
  jle    L49
  mov    $0x0,%ebx
  mov    $0x0,%ebp
  lea    D88(%rip),%r13
L102:
  mov    0x10(%rsp,%rbx,4),%edx
  mov    0xb0(%rsp,%rbx,4),%ecx
  lea    (%rdx,%rcx,1),%r8d
  add    %r8d,%ebp
  mov    0x60(%rsp,%rbx,4),%esi
  mov    %r13,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%r14d
  add    $0x1,%rbx
  cmp    %ebx,%r14d
  jg     L102
L90:
  mov    %r12d,%esi
  lea    D92(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %ebp,%eax
  cltd
  idiv   %r14d
  mov    %eax,%esi
  lea    D79(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x158(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L35
  mov    $0x0,%eax
  add    $0x168,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L55:
  mov    $0x0,%eax
  jmp    L114
L49:
  mov    $0x0,%ebp
  jmp    L90
L35:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D73
type_guessed: string
name: read_data
arguments: tag: D44
type_guessed: string
name: read_data
arguments: tag: D68
type_guessed: string
name: read_data
arguments: tag: D77
type_guessed: string
name: read_data
arguments: tag: D3
type_guessed: string
name: read_data
arguments: tag: D87
type_guessed: string
name: read_data
arguments: tag: D0
type_guessed: string
name: read_data
arguments: tag: D88
type_guessed: string
name: read_data
arguments: tag: D92
type_guessed: string
name: read_data
arguments: tag: D79
type_guessed: string

tool: D73: Enter Total Number of Process:

tool: D44: %d

tool: D68: 
Enter Burst Time and Priority

tool: D77: 
P[%d]


tool: D3: Burst Time:

tool: D87: Priority:

tool: D0: 
Process	    Burst Time    	Waiting Time	Turnaround Time

tool: D88: 
P[%d]		  %d		    %d			%d

tool: D92: 

Average Waiting Time=%d

tool: D79: 
Average Turnaround Time=%d


assistant: ```c
int main() {
  int bt[20], p[20], wt[20], tat[20], pr[20], i, j, n, total = 0, pos, temp, avg_wt, avg_tat;
  printf("Enter Total Number of Process:");
  scanf("%d", &n);
  printf("\nEnter Burst Time and Priority\n");
  for (i = 0; i < n; i++) {
    printf("\nP[%d]\n", i + 1);
    printf("Burst Time:");
    scanf("%d", &bt[i]);
    printf("Priority:");
    scanf("%d", &pr[i]);
    p[i] = i + 1;
  }
  for (i = 0; i < n; i++) {
    pos = i;
    for (j = i + 1; j < n; j++) {
      if (pr[j] < pr[pos])
        pos = j;
    }
    temp = pr[i];
    pr[i] = pr[pos];
    pr[pos] = temp;
    temp = bt[i];
    bt[i] = bt[pos];
    bt[pos] = temp;
    temp = p[i];
    p[i] = p[pos];
    p[pos] = temp;
  }
  wt[0] = 0;
  for (i = 1; i < n; i++) {
    wt[i] = 0;
    for (j = 0; j < i; j++)
      wt[i] += bt[j];
    total += wt[i];
  }
  avg_wt = total / n;
  total = 0;
  printf("\nProcess\t    Burst Time    \tWaiting Time\tTurnaround Time");
  for (i = 0; i < n; i++) {
    tat[i] = bt[i] + wt[i];
    total += tat[i];
    printf("\nP[%d]\t\t  %d\t\t    %d\t\t\t%d", p[i], bt[i], wt[i], tat[i]);
  }
  avg_tat = total / n;
  printf("\n\nAverage Waiting Time=%d", avg_wt);
  printf("\nAverage Turnaround Time=%d\n", avg_tat);
  return 0;
}
```