user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %r13
  lea    D18(%rip),%rdi
  lea    D15(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    D23(%rip),%rdi
  call   <puts@plt>
  lea    D51(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D75(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  lea    D70(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  jle    L30
  lea    0x10(%rsp),%rbx
  xor    %ebp,%ebp
  mov    %rbx,%r12
  cs nopw 0x0(%rax,%rax,1)
L235:
  mov    %r12,%rsi
  mov    %r13,%rdi
  add    $0x1,%ebp
  add    $0x4,%r12
  call   <scanf@plt>
  mov    0xc(%rsp),%eax
  cmp    %ebp,%eax
  jg     L235
  cmp    $0x1,%eax
  jle    L30
  mov    $0x1,%edx
  nopl   0x0(%rax,%rax,1)
L104:
  mov    (%rbx),%ecx
  mov    0x4(%rbx),%esi
  cmp    %ecx,%esi
  jge    L212
  mov    %esi,(%rbx)
  mov    %ecx,0x4(%rbx)
L212:
  lea    0x1(%rdx),%ecx
  cmp    %ecx,%eax
  jle    L163
  mov    (%rbx),%esi
  mov    0x8(%rbx),%edi
  cmp    %esi,%edi
  jge    L175
  mov    %edi,(%rbx)
  mov    %esi,0x8(%rbx)
L175:
  lea    0x2(%rdx),%esi
  cmp    %esi,%eax
  jle    L40
  mov    (%rbx),%esi
  mov    0xc(%rbx),%edi
  cmp    %edi,%esi
  jle    L230
  mov    %edi,(%rbx)
  mov    %esi,0xc(%rbx)
L230:
  lea    0x3(%rdx),%esi
  cmp    %esi,%eax
  jle    L40
  mov    (%rbx),%esi
  mov    0x10(%rbx),%edi
  cmp    %edi,%esi
  jle    L214
  mov    %edi,(%rbx)
  mov    %esi,0x10(%rbx)
L214:
  lea    0x4(%rdx),%esi
  cmp    %esi,%eax
  jle    L40
  mov    (%rbx),%esi
  mov    0x14(%rbx),%edi
  cmp    %edi,%esi
  jle    L209
  mov    %edi,(%rbx)
  mov    %esi,0x14(%rbx)
L209:
  lea    0x5(%rdx),%esi
  cmp    %esi,%eax
  jle    L40
  mov    (%rbx),%esi
  mov    0x18(%rbx),%edi
  cmp    %edi,%esi
  jle    L200
  mov    %edi,(%rbx)
  mov    %esi,0x18(%rbx)
L200:
  lea    0x6(%rdx),%esi
  cmp    %esi,%eax
  jle    L40
  mov    (%rbx),%esi
  mov    0x1c(%rbx),%edi
  cmp    %edi,%esi
  jle    L225
  mov    %edi,(%rbx)
  mov    %esi,0x1c(%rbx)
L225:
  lea    0x7(%rdx),%esi
  cmp    %esi,%eax
  jle    L40
  mov    (%rbx),%esi
  mov    0x20(%rbx),%edi
  cmp    %edi,%esi
  jle    L171
  mov    %edi,(%rbx)
  mov    %esi,0x20(%rbx)
L171:
  add    $0x8,%edx
  cmp    %edx,%eax
  jle    L40
  mov    (%rbx),%edx
  mov    0x24(%rbx),%esi
  cmp    %esi,%edx
  jle    L40
  mov    %esi,(%rbx)
  mov    %edx,0x24(%rbx)
L40:
  add    $0x4,%rbx
L68:
  mov    %ecx,%edx
  jmp    L104
  nopl   0x0(%rax)
L163:
  add    $0x4,%rbx
  cmp    %ecx,%eax
  jne    L68
L30:
  lea    D44(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L213
  xor    %ebx,%ebx
  lea    0x10(%rsp),%r12
  lea    D45(%rip),%rbp
  nopw   0x0(%rax,%rax,1)
L99:
  mov    (%r12,%rbx,4),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x1,%rbx
  call   <printf@plt>
  cmp    %ebx,0xc(%rsp)
  jg     L99
L213:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L216
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L216:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D18
type_infered: string
name: retrieve_data
arguments: data_tag: D15
type_infered: string
name: retrieve_data
arguments: data_tag: D23
type_infered: string
name: retrieve_data
arguments: data_tag: D51
type_infered: string
name: retrieve_data
arguments: data_tag: D75
type_infered: string
name: retrieve_data
arguments: data_tag: D70
type_infered: string
name: retrieve_data
arguments: data_tag: D44
type_infered: string
name: retrieve_data
arguments: data_tag: D45
type_infered: string

tool: D18: 
*************************************************

tool: D15: %d

tool: D23: 
*	PROGRAM TO IMPLEMENT BUBBLE SORT	*

tool: D51: *************************************************

tool: D75: 
Enter no of elements

tool: D70: 
Enter the elements

tool: D44: 
The Sorted array is 

tool: D45: %d	

assistant: ```c
int main(void) {
  int iNum, i, j, iaArr[10], iTemp;
  printf("\n*************************************************");
  printf("\n*\tPROGRAM TO IMPLEMENT BUBBLE SORT\t*\n");
  printf("*************************************************");
  printf("\nEnter no of elements\n");
  scanf("%d", &iNum);
  printf("\nEnter the elements\n");
  for (i = 0; i < iNum; i++)
    scanf("%d", &iaArr[i]);
  for (i = 0; i < iNum; i++) {
    for (j = i + 1; j < iNum; j++) {
      if (iaArr[i] > iaArr[j]) {
        iTemp = iaArr[i];
        iaArr[i] = iaArr[j];
        iaArr[j] = iTemp;
      }
    }
  }
  printf("\nThe Sorted array is \n");
  for (i = 0; i < iNum; i++)
    printf("%d\t", iaArr[i]);
  printf("\n");
  return 0;
}
```