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

```asm
<change_system_time>:
  endbr64
  push   %rbp
  lea    D51(%rip),%rdi
  sub    $0x90,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  xor    %eax,%eax
  movl   $0x0,0x1a(%rsp)
  mov    %ax,0x1e(%rsp)
  call   <printString@plt>
  lea    0x20(%rsp),%rdi
  mov    $0x64,%esi
  call   <getString@plt>
  movzbl 0x20(%rsp),%ebp
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x73,%al
  jne    L211
L136:
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x6e,%al
  je     L32
L206:
  lea    D151(%rip),%rdi
  call   <printString@plt>
  lea    0x4(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L157
L81:
  cmpl   $0x17,0x4(%rsp)
  jg     L6
L126:
  lea    D95(%rip),%rdi
  call   <printString@plt>
  lea    0x8(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L160
L297:
  cmpl   $0x3b,0x8(%rsp)
  jg     L215
L59:
  lea    D131(%rip),%rdi
  call   <printString@plt>
  lea    0xc(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L48
L262:
  cmpl   $0x1f,0xc(%rsp)
  jg     L152
L301:
  lea    D111(%rip),%rdi
  call   <printString@plt>
  lea    0x10(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L257
L151:
  cmpl   $0xc,0x10(%rsp)
  jg     L233
L264:
  lea    D113(%rip),%rdi
  call   <printString@plt>
  lea    0x14(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L72
L308:
  mov    0x10(%rsp),%eax
  cmp    $0x2,%eax
  je     L293
L219:
  and    $0xfffffffd,%eax
  cmp    $0x4,%eax
  jne    L112
  cmpl   $0x1e,0xc(%rsp)
  jg     L125
L200:
  mov    0x8(%rsp),%edi
  movb   $0x0,0x1a(%rsp)
  call   <tobcd@plt>
  mov    0x4(%rsp),%edi
  mov    %al,0x1b(%rsp)
  call   <tobcd@plt>
  mov    0xc(%rsp),%edi
  mov    %al,0x1c(%rsp)
  call   <tobcd@plt>
  mov    0x10(%rsp),%edi
  mov    %al,0x1d(%rsp)
  call   <tobcd@plt>
  mov    0x14(%rsp),%edi
  mov    %al,0x1e(%rsp)
  call   <tobcd@plt>
  lea    0x1a(%rsp),%rsi
  xor    %edi,%edi
  mov    %al,0x1f(%rsp)
  call   <set_system_time@plt>
L256:
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L154
  add    $0x90,%rsp
  pop    %rbp
  ret
  xchg   %ax,%ax
L112:
  cmp    $0x9,%eax
  jne    L200
  cmpl   $0x1e,0xc(%rsp)
  jle    L200
L125:
  lea    D142(%rip),%rdi
  call   <printString@plt>
  jmp    L200
  nopl   0x0(%rax)
L211:
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x6e,%al
  je     L136
  lea    D98(%rip),%rdi
  call   <printString@plt>
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x6e,%al
  jne    L206
L32:
  mov    $0xa,%edi
  call   <putChar@plt>
  jmp    L256
  nopl   0x0(%rax)
L293:
  cmpl   $0x1d,0xc(%rsp)
  jg     L161
L9:
  testb  $0x3,0x14(%rsp)
  je     L200
  cmpl   $0x1c,0xc(%rsp)
  jle    L200
  lea    D142(%rip),%rdi
  call   <printString@plt>
  mov    0x10(%rsp),%eax
  jmp    L219
  xchg   %ax,%ax
L72:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L308
  nopl   0x0(%rax)
L233:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L264
  nopl   0x0(%rax)
L257:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L151
  nopl   0x0(%rax)
L152:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L301
  nopl   0x0(%rax)
L48:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L262
  nopl   0x0(%rax)
L215:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L59
  nopl   0x0(%rax)
L160:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L297
  nopl   0x0(%rax)
L6:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L126
  nopl   0x0(%rax)
L157:
  lea    D98(%rip),%rdi
  call   <printString@plt>
  jmp    L81
  nopl   0x0(%rax)
L161:
  lea    D142(%rip),%rdi
  call   <printString@plt>
  mov    0x10(%rsp),%eax
  cmp    $0x2,%eax
  je     L9
  jmp    L219
L154:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D51
type_infered: string
name: parse_data
arguments: tag: D151
type_infered: string
name: parse_data
arguments: tag: D95
type_infered: string
name: parse_data
arguments: tag: D131
type_infered: string
name: parse_data
arguments: tag: D111
type_infered: string
name: parse_data
arguments: tag: D113
type_infered: string
name: parse_data
arguments: tag: D142
type_infered: string
name: parse_data
arguments: tag: D98
type_infered: string

tool: D51: Cambiar hora del sistema? (S/N) 

tool: D151: Ingrese horas: 

tool: D95: Ingrese minutos: 

tool: D131: Ingrese dia del mes: 

tool: D111: Ingrese numero de mes: 

tool: D113: Ingrese los dos ultimos digitos del anio: 

tool: D142: Fecha Invalida!


tool: D98: Input Errado!


assistant: ```c
void change_system_time() {
  unsigned char rtcdata[6] = {0};
  unsigned char buffer[100];
  unsigned char option;
  int hora, minuto, dia, mes, anio;
  printString("Cambiar hora del sistema? (S/N) ");
  getString((char *)buffer, 100);
  option = buffer[0];
  if (tolower(option) != 's' && tolower(option) != 'n') {
    printString("Input Errado!\n");
  }
  if (tolower(option) == 'n') {
    putChar('\n');
    return;
  }
  printString("Ingrese horas: ");
  if (getInt(&hora, 2) == 0) {
    printString("Input Errado!\n");
  }
  if (hora > 23) {
    printString("Input Errado!\n");
  }
  printString("Ingrese minutos: ");
  if (getInt(&minuto, 2) == 0) {
    printString("Input Errado!\n");
  }
  if (minuto > 59) {
    printString("Input Errado!\n");
  }
  printString("Ingrese dia del mes: ");
  if (getInt(&dia, 2) == 0) {
    printString("Input Errado!\n");
  }
  if (dia > 31) {
    printString("Input Errado!\n");
  }
  printString("Ingrese numero de mes: ");
  if (getInt(&mes, 2) == 0) {
    printString("Input Errado!\n");
  }
  if (mes > 12) {
    printString("Input Errado!\n");
  }
  printString("Ingrese los dos ultimos digitos del anio: ");
  if (getInt(&anio, 2) == 0) {
    printString("Input Errado!\n");
  }
  if (mes == 2 && (dia > 29)) {
    printString("Fecha Invalida!\n");
  }
  if (mes == 2 && (anio % 4 != 0) && (dia > 28)) {
    printString("Fecha Invalida!\n");
  }
  if ((mes == 4 || mes == 6 || mes == 9 || mes == 11) && dia > 30) {
    printString("Fecha Invalida!\n");
  }
  rtcdata[0] = 0;
  rtcdata[1] = tobcd(minuto);
  rtcdata[2] = tobcd(hora);
  rtcdata[3] = tobcd(dia);
  rtcdata[4] = tobcd(mes);
  rtcdata[5] = tobcd(anio);
  set_system_time(0, rtcdata);
}
```