user: 请将以下的汇编代码转换成C语言代码：

```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    D9(%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     L125
  mov    -0x18(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L125
  mov    -0x18(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jg     L125
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L39
L125:
  mov    -0x14(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jg     L135
  mov    -0x14(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L135
  mov    -0x14(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jg     L135
  mov    -0x14(%rbp),%eax
  mov    %eax,%esi
  lea    D26(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x10(%rbp),%eax
  jmp    L39
L135:
  mov    -0x10(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jg     L110
  mov    -0x10(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L110
  mov    -0x10(%rbp),%eax
  cmp    -0xc(%rbp),%eax
  jg     L110
  mov    -0x10(%rbp),%eax
  mov    %eax,%esi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x3,%eax
  jmp    L39
L110:
  mov    -0xc(%rbp),%eax
  cmp    -0x18(%rbp),%eax
  jg     L79
  mov    -0xc(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L79
  mov    -0xc(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jg     L79
  mov    -0xc(%rbp),%eax
  mov    %eax,%esi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x2b,%eax
  jmp    L39
L79:
  mov    $0x0,%eax
L39:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L35
  call   <__stack_chk_fail@plt>
L35:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D14
type_infered: string
name: read_data
arguments: data_tag: D9
type_infered: string
name: read_data
arguments: data_tag: D21
type_infered: string
name: read_data
arguments: data_tag: D26
type_infered: string

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

tool: D9: %d%d%d%d

tool: D21: %d is the smallest


tool: D26: %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 c;
  } 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;
}
```