user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  lea    D37(%rip),%rdi
  lea    0x8(%rsp),%rsi
  lea    0x14(%rsp),%r8
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rcx
  lea    0xc(%rsp),%rdx
  call   <scanf@plt>
  mov    0x8(%rsp),%r9d
  mov    0xc(%rsp),%esi
  mov    0x10(%rsp),%r8d
  mov    0x14(%rsp),%r10d
  cmp    %esi,%r9d
  jge    L22
L83:
  cmp    %r8d,%esi
  jge    L112
L220:
  cmp    %r8d,%r9d
  jle    L104
L8:
  cmp    %esi,%r9d
  mov    %esi,%eax
  cmovge %r9d,%eax
  cmp    %r8d,%eax
  cmovl  %r8d,%eax
  cmp    %eax,%r10d
  jge    L66
L62:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L75
  xor    %eax,%eax
  add    $0x28,%rsp
  ret
L112:
  cmp    %r10d,%esi
  jl     L113
  cmp    %r10d,%r8d
  mov    %r10d,%eax
  cmovge %r8d,%eax
  cmp    %eax,%r9d
  jl     L36
L158:
  mov    %r9d,%esi
L76:
  lea    D26(%rip),%rdi
  call   <printf@plt>
  jmp    L62
L22:
  cmp    %r8d,%r9d
  jl     L187
  cmp    %r10d,%r9d
  jge    L155
L187:
  cmp    %esi,%r9d
  je     L83
L113:
  cmp    %r8d,%esi
  jg     L8
  jmp    L220
L155:
  cmp    %r10d,%r8d
  mov    %r10d,%eax
  cmovge %r8d,%eax
  cmp    %eax,%esi
  jge    L76
L36:
  cmp    %r10d,%r8d
  jl     L14
L203:
  mov    %r8d,%esi
  lea    D26(%rip),%rdi
  call   <printf@plt>
  jmp    L62
L104:
  cmp    %r10d,%r8d
  jl     L8
  cmp    %r10d,%esi
  mov    %r10d,%eax
  cmovge %esi,%eax
  cmp    %eax,%r9d
  jge    L158
  cmp    %r10d,%esi
  jge    L76
L14:
  mov    %r10d,%esi
  lea    D26(%rip),%rdi
  call   <printf@plt>
  jmp    L62
L66:
  cmp    %r8d,%r9d
  mov    %r8d,%eax
  cmovge %r9d,%eax
  cmp    %eax,%esi
  jge    L76
  cmp    %r8d,%r9d
  jg     L158
  jmp    L203
L75:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D37
datatype: string
name: extract_symbolic_data
arguments: label: D26
datatype: string

tool: D37: %d%d%d%d

tool: D26: The second largest number is %d

assistant: ```c
int main() {
  int a, b, c, d;
  scanf("%d%d%d%d", &a, &b, &c, &d);
  if (a >= b && a >= c && a >= d) {
    if (b >= c && b >= d) {
      printf("The second largest number is %d", b);
    } else {
      if (c >= d) {
        printf("The second largest number is %d", c);
      } else {
        printf("The second largest number is %d", d);
      }
    }
  } else if (b >= a && b >= c && b >= d) {
    if (a >= c && a >= d) {
      printf("The second largest number is %d", a);
    } else {
      if (c >= d) {
        printf("The second largest number is %d", c);
      } else {
        printf("The second largest number is %d", d);
      }
    }
  } else if (c >= b && c >= a && c >= d) {
    if (a >= b && a >= d) {
      printf("The second largest number is %d", a);
    } else {
      if (b >= d) {
        printf("The second largest number is %d", b);
      } else {
        printf("The second largest number is %d", d);
      }
    }
  } else if (d >= b && d >= c && d >= a) {
    if (b >= c && b >= a) {
      printf("The second largest number is %d", b);
    } else {
      if (c >= a) {
        printf("The second largest number is %d", c);
      } else {
        printf("The second largest number is %d", a);
      }
    }
  }
  return 0;
}
```