user: What would the C source look like for the assembly code provided here:

```asm
<DaysInterval>:
  endbr64
  push   %r15
  mov    $0x4,%edx
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  mov    %rdi,%rsi
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    0x23(%rsp),%r14
  lea    0x1d(%rsp),%r15
  mov    %r14,%rdi
  lea    0x20(%rsp),%r13
  call   <strncpy@plt>
  lea    0x4(%rbp),%rsi
  mov    %r15,%rdi
  mov    $0x2,%edx
  call   <strncpy@plt>
  lea    0x6(%rbp),%rsi
  mov    $0x2,%edx
  mov    %r13,%rdi
  call   <strncpy@plt>
  mov    %r14,%rdi
  movb   $0x0,0x27(%rsp)
  movb   $0x0,0x1f(%rsp)
  movb   $0x0,0x22(%rsp)
  call   <atoi@plt>
  mov    %r15,%rdi
  mov    %eax,%r12d
  call   <atoi@plt>
  mov    %r13,%rdi
  mov    %eax,0x8(%rsp)
  call   <atoi@plt>
  mov    %rbx,%rsi
  mov    $0x4,%edx
  mov    %r14,%rdi
  mov    %eax,0xc(%rsp)
  call   <strncpy@plt>
  lea    0x4(%rbx),%rsi
  mov    %r15,%rdi
  mov    $0x2,%edx
  call   <strncpy@plt>
  lea    0x6(%rbx),%rsi
  mov    $0x2,%edx
  mov    %r13,%rdi
  call   <strncpy@plt>
  mov    %r14,%rdi
  movb   $0x0,0x27(%rsp)
  movb   $0x0,0x1f(%rsp)
  movb   $0x0,0x22(%rsp)
  call   <atoi@plt>
  mov    %r15,%rdi
  mov    %eax,%ebp
  call   <atoi@plt>
  mov    %r13,%rdi
  mov    %eax,%r15d
  call   <atoi@plt>
  mov    %eax,%ebx
  cmp    %ebp,%r12d
  je     L189
  jge    L43
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %r12d,%edi
  call   <daysFrom@plt>
  test   $0x3,%r12b
  jne    L16
  imul   $0xc28f5c29,%r12d,%edx
  add    $0x51eb850,%edx
  ror    $0x2,%edx
  cmp    $0x28f5c28,%edx
  jbe    L16
L175:
  mov    $0x16e,%r13d
  sub    %eax,%r13d
L86:
  lea    0x1(%r12),%eax
  cmp    %eax,%ebp
  jle    L57
  nopw   0x0(%rax,%rax,1)
L27:
  test   $0x3,%al
  jne    L85
  imul   $0xc28f5c29,%eax,%ecx
  mov    $0x16e,%edx
  add    $0x51eb850,%ecx
  ror    $0x2,%ecx
  cmp    $0x28f5c28,%ecx
  ja     L36
L85:
  imul   $0xc28f5c29,%eax,%edx
  add    $0x51eb850,%edx
  ror    $0x4,%edx
  cmp    $0xa3d70b,%edx
  setb   %dl
  movzbl %dl,%edx
  add    $0x16d,%edx
L36:
  add    $0x1,%eax
  add    %edx,%r13d
  cmp    %eax,%ebp
  jne    L27
L57:
  mov    %ebx,%edx
  mov    %r15d,%esi
  mov    %ebp,%edi
  call   <daysFrom@plt>
  add    %r13d,%eax
  jmp    L141
  nopw   0x0(%rax,%rax,1)
L43:
  mov    %eax,%edx
  mov    %r15d,%esi
  mov    %ebp,%edi
  call   <daysFrom@plt>
  test   $0x3,%bpl
  jne    L58
  imul   $0xc28f5c29,%ebp,%edx
  add    $0x51eb850,%edx
  ror    $0x2,%edx
  cmp    $0x28f5c28,%edx
  jbe    L58
L151:
  mov    $0x16e,%r15d
  sub    %eax,%r15d
L20:
  lea    0x1(%rbp),%edx
  cmp    %edx,%r12d
  jle    L41
  nopw   0x0(%rax,%rax,1)
L174:
  test   $0x3,%dl
  jne    L108
  imul   $0xc28f5c29,%edx,%esi
  mov    $0x16e,%ecx
  add    $0x51eb850,%esi
  ror    $0x2,%esi
  cmp    $0x28f5c28,%esi
  ja     L90
L108:
  imul   $0xc28f5c29,%edx,%ecx
  add    $0x51eb850,%ecx
  ror    $0x4,%ecx
  cmp    $0xa3d70b,%ecx
  setb   %cl
  movzbl %cl,%ecx
  add    $0x16d,%ecx
L90:
  add    $0x1,%edx
  add    %ecx,%r15d
  cmp    %edx,%r12d
  jne    L174
L41:
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %r12d,%edi
  call   <daysFrom@plt>
  add    %r15d,%eax
  neg    %eax
L141:
  mov    0x28(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L165
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L16:
  imul   $0xc28f5c29,%r12d,%edx
  add    $0x51eb850,%edx
  ror    $0x4,%edx
  cmp    $0xa3d70a,%edx
  jbe    L175
  mov    $0x16d,%r13d
  sub    %eax,%r13d
  jmp    L86
  nopw   0x0(%rax,%rax,1)
L58:
  imul   $0xc28f5c29,%ebp,%edx
  add    $0x51eb850,%edx
  ror    $0x4,%edx
  cmp    $0xa3d70a,%edx
  jbe    L151
  mov    $0x16d,%r15d
  sub    %eax,%r15d
  jmp    L20
  nopl   0x0(%rax)
L189:
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%esi
  mov    %r12d,%edi
  call   <daysFrom@plt>
  mov    %ebx,%edx
  mov    %r15d,%esi
  mov    %r12d,%edi
  mov    %eax,%ebp
  call   <daysFrom@plt>
  sub    %ebp,%eax
  jmp    L141
L165:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int DaysInterval(char *v1, char *v2) {
  char tmpYear[5];
  char tmpMonth[3];
  char tmpDay[3];
  int dayLong = 0;
  int year1, month1, day1;
  int year2, month2, day2;
  int from1;
  int from2;
  int totalDay1;
  int totalDay2;
  int i = 0;
  int tmpDays = 365;
  strncpy(tmpYear, v1, 4);
  strncpy(tmpMonth, v1 + 4, 2);
  strncpy(tmpDay, v1 + 6, 2);
  tmpYear[4] = '\0';
  tmpMonth[2] = '\0';
  tmpDay[2] = '\0';
  year1 = atoi(tmpYear);
  month1 = atoi(tmpMonth);
  day1 = atoi(tmpDay);
  strncpy(tmpYear, v2, 4);
  strncpy(tmpMonth, v2 + 4, 2);
  strncpy(tmpDay, v2 + 6, 2);
  tmpYear[4] = '\0';
  tmpMonth[2] = '\0';
  tmpDay[2] = '\0';
  year2 = atoi(tmpYear);
  month2 = atoi(tmpMonth);
  day2 = atoi(tmpDay);
  if (year1 == year2) {
    from1 = daysFrom(year1, month1, day1);
    from2 = daysFrom(year2, month2, day2);
    dayLong = from2 - from1;
  } else if (year1 < year2) {
    from1 = daysFrom(year1, month1, day1);
    totalDay1 = 365 - from1;
    if (((year1 % 4 == 0) && (year1 % 100 != 0)) || (year1 % 400 == 0))
      totalDay1 += 1;
    dayLong += totalDay1;
    i = year1;
    while (++i < year2) {
      tmpDays = 365;
      if (((i % 4 == 0) && (i % 100 != 0)) || (i % 400 == 0))
        tmpDays += 1;
      dayLong += tmpDays;
    }
    from2 = daysFrom(year2, month2, day2);
    dayLong += from2;
  } else {
    from2 = daysFrom(year2, month2, day2);
    totalDay2 = 365 - from2;
    if (((year2 % 4 == 0) && (year2 % 100 != 0)) || (year2 % 400 == 0))
      totalDay2 += 1;
    dayLong += totalDay2;
    i = year2;
    while (++i < year1) {
      tmpDays = 365;
      if (((i % 4 == 0) && (i % 100 != 0)) || (i % 400 == 0))
        tmpDays += 1;
      dayLong += tmpDays;
    }
    from1 = daysFrom(year1, month1, day1);
    dayLong += from1;
    dayLong *= -1;
  }
  return dayLong;
}
```