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

```asm
<panel_utils_gate_time_to_str>:
  endbr64
  cmp    $0x2ff,%esi
  jg     L31
  cmp    $0x17f,%esi
  jg     L66
  cmp    $0x11f,%esi
  jg     L57
  cmp    $0xbf,%esi
  jg     L125
  cmp    $0x7f,%esi
  jg     L58
  cmp    $0x5f,%esi
  jg     L82
  cmp    $0x47,%esi
  jg     L115
  cmp    $0x2f,%esi
  jg     L34
  cmp    $0x23,%esi
  jg     L44
  cmp    $0x17,%esi
  jg     L71
  cmp    $0xf,%esi
  jg     L128
  cmp    $0xb,%esi
  jg     L108
  cmp    $0x7,%esi
  jg     L25
  lea    D10(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   (%rax)
L31:
  lea    D42(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L125:
  lea    D47(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L66:
  lea    D68(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L57:
  lea    D53(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L58:
  lea    D81(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L82:
  lea    D12(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L115:
  lea    D139(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L34:
  lea    D79(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L25:
  lea    D100(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L44:
  lea    D101(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L71:
  lea    D78(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L128:
  lea    D110(%rip),%rsi
  jmp    1050 <sprintf@plt>
  nopl   0x0(%rax)
L108:
  lea    D102(%rip),%rsi
  jmp    1050 <sprintf@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D10
type_guessed: string
name: disassemble_data
arguments: data_label: D42
type_guessed: string
name: disassemble_data
arguments: data_label: D47
type_guessed: string
name: disassemble_data
arguments: data_label: D68
type_guessed: string
name: disassemble_data
arguments: data_label: D53
type_guessed: string
name: disassemble_data
arguments: data_label: D81
type_guessed: string
name: disassemble_data
arguments: data_label: D12
type_guessed: string
name: disassemble_data
arguments: data_label: D139
type_guessed: string
name: disassemble_data
arguments: data_label: D79
type_guessed: string
name: disassemble_data
arguments: data_label: D100
type_guessed: string
name: disassemble_data
arguments: data_label: D101
type_guessed: string
name: disassemble_data
arguments: data_label: D78
type_guessed: string
name: disassemble_data
arguments: data_label: D110
type_guessed: string
name: disassemble_data
arguments: data_label: D102
type_guessed: string

tool: D10: 64

tool: D42: w+

tool: D47: h

tool: D68: w

tool: D53: h.

tool: D81: q.

tool: D12: q

tool: D139: 8.

tool: D79: 8

tool: D100: 64.

tool: D101: 16.

tool: D78: 16

tool: D110: 32.

tool: D102: 32

assistant: ```c
void panel_utils_gate_time_to_str(char *tempstr, int time) {
  int tm = time / (96 / 24);
  if (tm >= 192) {
    sprintf(tempstr, "w+");
    return;
  } else if (tm >= 96) {
    sprintf(tempstr, "w");
    return;
  } else if (tm >= 72) {
    sprintf(tempstr, "h.");
    return;
  } else if (tm >= 48) {
    sprintf(tempstr, "h");
    return;
  } else if (tm >= 32) {
    sprintf(tempstr, "q.");
    return;
  } else if (tm >= 24) {
    sprintf(tempstr, "q");
    return;
  } else if (tm >= 18) {
    sprintf(tempstr, "8.");
    return;
  } else if (tm >= 12) {
    sprintf(tempstr, "8");
    return;
  } else if (tm >= 9) {
    sprintf(tempstr, "16.");
    return;
  } else if (tm >= 6) {
    sprintf(tempstr, "16");
    return;
  } else if (tm >= 4) {
    sprintf(tempstr, "32.");
    return;
  } else if (tm >= 3) {
    sprintf(tempstr, "32");
    return;
  } else if (tm >= 2) {
    sprintf(tempstr, "64.");
    return;
  }
  sprintf(tempstr, "64");
}
```