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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x1c(%rbp),%rsi
  lea    -0x20(%rbp),%rcx
  lea    -0x24(%rbp),%rdx
  lea    -0x28(%rbp),%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x28(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x24(%rbp),%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x20(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x1c(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x18(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L45
  mov    -0x18(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L45
  mov    -0x18(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jg     L45
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L99
L45:
  mov    -0x14(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jg     L4
  mov    -0x14(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L4
  mov    -0x14(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jg     L4
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  lea    D30(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0xc(%rbp),%eax
  jmp    L99
L4:
  mov    -0x10(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jg     L143
  mov    -0x10(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L143
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jg     L143
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x3,%eax
  jmp    L99
L143:
  mov    -0xc(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jg     L128
  mov    -0xc(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L128
  mov    -0xc(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L128
  mov    -0xc(%rbp),%eax
  mov    %eax,%esi
  lea    D13(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x2b,%eax
  jmp    L99
L128:
  mov    $0x0,%eax
L99:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L3
  call   <__stack_chk_fail@plt>
L3:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_label: D14
type_guessed: string
name: read_data
arguments: data_label: D34
type_guessed: string
name: read_data
arguments: data_label: D13
type_guessed: string
name: read_data
arguments: data_label: D30
type_guessed: string

tool: D14: Please enter 4 numbers separated by spaces > 

tool: D34: %d%d%d%d

tool: D13: %d is the smallest


tool: D30: %d is the smalles


assistant: ```c
int main() {
  int a, b, c, d, num_1, num_2, num_3, num_4;
  printf("Please enter 4 numbers separated by spaces > ");
  scanf("%d%d%d%d", &num_1, &num_2, &num_3, &num_4);
  a = (num_1);
  b = (num_2);
  c = (num_3);
  d = (num_4);
  if (a <= b && a <= c && a <= d) {
    printf("%d is the smallest\n", a);
    return 1;
  } else if (b <= a && b <= c && b <= d) {
    printf("%d is the smalles\n", b);
    return d;
  } else if (c <= a && c <= b && c <= d) {
    printf("%d is the smallest\n", c);
    return 3;
  } else if (d <= a && d <= b && d <= c) {
    printf("%d is the smallest\n", d);
    return 43;
  }
  return 0;
}
```