user: Translate the below assembly code into C programming language:

```asm
<change_system_time>:
  endbr64
  push   %rbp
  lea    D17(%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    L50
L97:
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x6e,%al
  je     L238
L297:
  lea    D74(%rip),%rdi
  call   <printString@plt>
  lea    0x4(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L219
L301:
  cmpl   $0x17,0x4(%rsp)
  jg     L10
L19:
  lea    D160(%rip),%rdi
  call   <printString@plt>
  lea    0x8(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L359
L284:
  cmpl   $0x3b,0x8(%rsp)
  jg     L190
L220:
  lea    D107(%rip),%rdi
  call   <printString@plt>
  lea    0xc(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L228
L69:
  cmpl   $0x1f,0xc(%rsp)
  jg     L110
L105:
  lea    D55(%rip),%rdi
  call   <printString@plt>
  lea    0x10(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L282
L102:
  cmpl   $0xc,0x10(%rsp)
  jg     L46
L353:
  lea    D62(%rip),%rdi
  call   <printString@plt>
  lea    0x14(%rsp),%rdi
  mov    $0x2,%esi
  call   <getInt@plt>
  test   %rax,%rax
  je     L51
L204:
  mov    0x10(%rsp),%eax
  cmp    $0x2,%eax
  je     L328
L206:
  and    $0xfffffffd,%eax
  cmp    $0x4,%eax
  jne    L171
  cmpl   $0x1e,0xc(%rsp)
  jg     L255
L257:
  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>
L11:
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L93
  add    $0x90,%rsp
  pop    %rbp
  ret
  xchg   %ax,%ax
L171:
  cmp    $0x9,%eax
  jne    L257
  cmpl   $0x1e,0xc(%rsp)
  jle    L257
L255:
  lea    D137(%rip),%rdi
  call   <printString@plt>
  jmp    L257
  nopl   0x0(%rax)
L50:
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x6e,%al
  je     L97
  lea    D14(%rip),%rdi
  call   <printString@plt>
  mov    %ebp,%edi
  call   <tolower@plt>
  cmp    $0x6e,%al
  jne    L297
L238:
  mov    $0xa,%edi
  call   <putChar@plt>
  jmp    L11
  nopl   0x0(%rax)
L328:
  cmpl   $0x1d,0xc(%rsp)
  jg     L334
L68:
  testb  $0x3,0x14(%rsp)
  je     L257
  cmpl   $0x1c,0xc(%rsp)
  jle    L257
  lea    D137(%rip),%rdi
  call   <printString@plt>
  mov    0x10(%rsp),%eax
  jmp    L206
  xchg   %ax,%ax
L51:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L204
  nopl   0x0(%rax)
L46:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L353
  nopl   0x0(%rax)
L282:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L102
  nopl   0x0(%rax)
L110:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L105
  nopl   0x0(%rax)
L228:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L69
  nopl   0x0(%rax)
L190:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L220
  nopl   0x0(%rax)
L359:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L284
  nopl   0x0(%rax)
L10:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L19
  nopl   0x0(%rax)
L219:
  lea    D14(%rip),%rdi
  call   <printString@plt>
  jmp    L301
  nopl   0x0(%rax)
L334:
  lea    D137(%rip),%rdi
  call   <printString@plt>
  mov    0x10(%rsp),%eax
  cmp    $0x2,%eax
  je     L68
  jmp    L206
L93:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D17
data_type: string
name: disassemble_data
arguments: tag: D74
data_type: string
name: disassemble_data
arguments: tag: D160
data_type: string
name: disassemble_data
arguments: tag: D107
data_type: string
name: disassemble_data
arguments: tag: D55
data_type: string
name: disassemble_data
arguments: tag: D62
data_type: string
name: disassemble_data
arguments: tag: D137
data_type: string
name: disassemble_data
arguments: tag: D14
data_type: string

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

tool: D74: Ingrese horas: 

tool: D160: Ingrese minutos: 

tool: D107: Ingrese dia del mes: 

tool: D55: Ingrese numero de mes: 

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

tool: D137: Fecha Invalida!


tool: D14: 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);
}
```