user: What is the c source code of the assembly code below:

```asm
<grace_get_x_tick_major_minor>:
  endbr64
  cmp    $0x1,%edx
  je     L64
  cmp    $0x2,%edx
  je     L86
  cmp    $0x3,%edx
  je     L119
  cmp    $0x7,%edx
  jle    L140
  cmp    $0xe,%edx
  jle    L93
  cmp    $0x3e,%edx
  jle    L191
  cmp    $0x64,%edx
  jle    L39
  cmp    $0xb4,%edx
  jle    L3
  cmp    $0x16e,%edx
  jle    L142
  cmp    $0x2dc,%edx
  jle    L220
  cmp    $0x44a,%edx
  jle    L98
  cmp    $0xe4c,%edx
  jle    L19
  cmp    $0x1c98,%edx
  jg     L42
  movsd  D73(%rip),%xmm0
  mov    $0x1,%eax
  jmp    L226
  nopw   0x0(%rax,%rax,1)
L86:
  movsd  D89(%rip),%xmm0
  mov    $0xb,%eax
L226:
  movsd  %xmm0,(%rdi)
  mov    %eax,(%rsi)
  ret
  nopl   0x0(%rax)
L64:
  movsd  D35(%rip),%xmm0
  mov    $0x5,%eax
  movsd  %xmm0,(%rdi)
  mov    %eax,(%rsi)
  ret
  nopl   0x0(%rax)
L140:
  movsd  D78(%rip),%xmm0
  mov    $0x3,%eax
  movsd  %xmm0,(%rdi)
  mov    %eax,(%rsi)
  ret
  nopl   0x0(%rax)
L119:
  movsd  D78(%rip),%xmm0
  mov    $0x5,%eax
  movsd  %xmm0,(%rdi)
  mov    %eax,(%rsi)
  ret
  nopl   0x0(%rax)
L93:
  movsd  D125(%rip),%xmm0
  mov    $0x1,%eax
  jmp    L226
  nop
L191:
  movsd  D92(%rip),%xmm0
  mov    $0x6,%eax
  jmp    L226
  nop
L39:
  movsd  D6(%rip),%xmm0
  mov    $0x1,%eax
  jmp    L226
L3:
  movsd  D71(%rip),%xmm0
  mov    $0x3,%eax
  jmp    L226
L142:
  movsd  D101(%rip),%xmm0
  mov    $0x3,%eax
  jmp    L226
L220:
  movsd  D46(%rip),%xmm0
  mov    $0x4,%eax
  jmp    L226
L98:
  movsd  D76(%rip),%xmm0
  mov    $0xb,%eax
  jmp    L226
L19:
  movsd  D119(%rip),%xmm0
  mov    $0x3,%eax
  jmp    L226
L42:
  movsd  D9(%rip),%xmm0
  mov    $0x3,%eax
  jmp    L226
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D73
datatype: byte[8]
name: extract_symbolic_data
arguments: data_tag: D89
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D35
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D78
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D125
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D92
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D6
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D71
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D101
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D46
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D76
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D119
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D9
datatype: byte[8]

tool: {"D73": [0x00,0x00,0x00,0x00,0x00,0xd0,0x86,0x40]}

tool: D89: 0.5

tool: D35: 0.25

tool: D78: 1

tool: D125: 2

tool: D92: 7

tool: D6: 10

tool: D71: 15

tool: D101: 30

tool: D46: 90

tool: D76: 365

tool: D119: 365.25

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0xd0,0x96,0x40]}

assistant: ```c
void grace_get_x_tick_major_minor(double *x_tick_major, int *x_tick_minor, int number_of_days) {
  if (number_of_days == 1) {
    *x_tick_major = 0.25;
    *x_tick_minor = 5;
  } else if (number_of_days == 2) {
    *x_tick_major = 0.50;
    *x_tick_minor = 11;
  } else if (number_of_days == 3) {
    *x_tick_major = 1.0;
    *x_tick_minor = 5;
  } else if (number_of_days <= 7) {
    *x_tick_major = 1.0;
    *x_tick_minor = 3;
  } else if (number_of_days <= 14) {
    *x_tick_major = 2.0;
    *x_tick_minor = 1;
  } else if (number_of_days <= 62) {
    *x_tick_major = 7.0;
    *x_tick_minor = 6;
  } else if (number_of_days <= 100) {
    *x_tick_major = 10.0;
    *x_tick_minor = 1;
  } else if (number_of_days <= 180) {
    *x_tick_major = 15.0;
    *x_tick_minor = 3;
  } else if (number_of_days <= 366) {
    *x_tick_major = 30.0;
    *x_tick_minor = 3;
  } else if (number_of_days <= (366 * 2)) {
    *x_tick_major = 90.0;
    *x_tick_minor = 4;
  } else if (number_of_days <= (366 * 3)) {
    *x_tick_major = 365.0;
    *x_tick_minor = 11;
  } else if (number_of_days <= 366 * 10) {
    *x_tick_major = 365.25;
    *x_tick_minor = 3;
  } else if (number_of_days <= (366 * 15)) {
    *x_tick_major = (365.0 * 2);
    *x_tick_minor = 1;
  } else if (number_of_days <= (366 * 20)) {
    *x_tick_major = (365.0 * 2);
    *x_tick_minor = 1;
  } else {
    *x_tick_major = (365 * 4);
    *x_tick_minor = 3;
  }
}
```