user: What is the c source code of the assembly code below?

```asm
<serviceLane>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  lea    D21(%rip),%r12
  push   %rbp
  mov    %r12,%rdi
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0xc(%rsp),%rdx
  lea    0x8(%rsp),%rsi
  call   <scanf@plt>
  mov    0x8(%rsp),%eax
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  mov    %rax,%rbx
  mov    0x8(%rsp),%eax
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  mov    0x8(%rsp),%edx
  mov    %rax,%r14
  test   %edx,%edx
  jle    L55
  mov    %rbx,%r13
  xor    %ebp,%ebp
  lea    D20(%rip),%r15
  nopl   (%rax)
L16:
  mov    %r13,%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  add    $0x1,%ebp
  call   <scanf@plt>
  add    $0x4,%r13
  cmp    %ebp,0x8(%rsp)
  jg     L16
L55:
  movl   $0x0,(%r14)
  cmpl   $0x1,0x8(%rsp)
  jle    L28
  mov    $0x1,%eax
  mov    $0x1,%edx
  nopw   0x0(%rax,%rax,1)
L49:
  mov    -0x4(%rbx,%rax,4),%edi
  cmp    %edi,(%rbx,%rax,4)
  je     L54
  movslq %edx,%rcx
  add    $0x1,%edx
  mov    %eax,(%r14,%rcx,4)
L54:
  add    $0x1,%rax
  cmp    %eax,0x8(%rsp)
  jg     L49
L28:
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L40
  xor    %ebp,%ebp
  lea    0x14(%rsp),%r15
  lea    0x10(%rsp),%r14
  lea    D0(%rip),%r13
  nopl   0x0(%rax,%rax,1)
L41:
  mov    %r15,%rdx
  mov    %r14,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x10(%rsp),%ecx
  mov    0x14(%rsp),%edx
  cmp    %edx,%ecx
  jg     L82
  movslq %ecx,%rsi
  sub    %ecx,%edx
  lea    0x1(%rsi,%rdx,1),%rdx
  lea    (%rbx,%rsi,4),%rax
  mov    $0x3,%esi
  lea    (%rbx,%rdx,4),%rcx
  nopl   0x0(%rax,%rax,1)
L101:
  mov    (%rax),%edx
  cmp    %edx,%esi
  cmovg  %edx,%esi
  add    $0x4,%rax
  cmp    %rax,%rcx
  jne    L101
L8:
  mov    %r13,%rdi
  add    $0x1,%ebp
  call   <printf@plt>
  cmp    %ebp,0xc(%rsp)
  jg     L41
L40:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L96
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L82:
  mov    $0x3,%esi
  jmp    L8
L96:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D21
type_guessed: string
name: disassemble_data
arguments: data_tag: D20
type_guessed: string
name: disassemble_data
arguments: data_tag: D0
type_guessed: string

tool: D21: %d %d

tool: D20: %d

tool: D0: %d


assistant: ```c
int serviceLane(void) {
  int roadLength, numCases;
  int numChanges;
  scanf("%d %d", &roadLength, &numCases);
  int *widths = malloc(sizeof(int) * roadLength);
  int *changeIndexes = malloc(sizeof(int) * roadLength);
  for (int i = 0; i < roadLength; i++) {
    scanf("%d", &widths[i]);
  }
  changeIndexes[0] = 0;
  numChanges = 1;
  for (int i = 1; i < roadLength; i++) {
    if (widths[i] != widths[i - 1]) {
      changeIndexes[numChanges] = i;
      numChanges++;
    }
  }
  for (int i = 0; i < numCases; i++) {
    int start, end;
    scanf("%d %d", &start, &end);
    int minWidth = 3;
    for (int j = start; j <= end; j++) {
      if (widths[j] < minWidth) {
        minWidth = widths[j];
      }
    }
    printf("%d\n", minWidth);
  }
  return 0;
}
```