user: Demonstrate the C code that generates the assembly output below:

```asm
<mjt_pton6>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x20(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x60(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  je     L77
  movq   $0x0,-0x40(%rbp)
  jmp    L321
L77:
  addq   $0x1,-0x58(%rbp)
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  je     L393
  mov    $0x0,%eax
  jmp    L252
L393:
  addq   $0x1,-0x58(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x40(%rbp)
L321:
  movq   $0x0,-0x38(%rbp)
L195:
  movl   $0x0,-0x50(%rbp)
  mov    -0x58(%rbp),%rax
  mov    %rax,-0x28(%rbp)
L316:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  jle    L245
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x39,%al
  jg     L245
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x30,%eax
  mov    %eax,-0x4c(%rbp)
  jmp    L351
L245:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x60,%al
  jle    L454
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x66,%al
  jg     L454
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x57,%eax
  mov    %eax,-0x4c(%rbp)
  jmp    L351
L454:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x40,%al
  jle    L384
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x46,%al
  jg     L384
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  sub    $0x37,%eax
  mov    %eax,-0x4c(%rbp)
L351:
  mov    -0x50(%rbp),%eax
  shl    $0x4,%eax
  or     -0x4c(%rbp),%eax
  mov    %eax,-0x50(%rbp)
  cmpl   $0xffff,-0x50(%rbp)
  jbe    L114
  mov    $0x0,%eax
  jmp    L252
L114:
  addq   $0x1,-0x58(%rbp)
  jmp    L316
L384:
  mov    -0x28(%rbp),%rax
  cmp    -0x58(%rbp),%rax
  jne    L116
  mov    -0x40(%rbp),%rax
  cmp    -0x48(%rbp),%rax
  jne    L24
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L461
L24:
  mov    $0x0,%eax
  jmp    L252
L116:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L279
  lea    -0x20(%rbp),%rax
  add    $0x10,%rax
  cmp    %rax,-0x48(%rbp)
  jb     L95
  mov    $0x0,%eax
  jmp    L252
L95:
  mov    -0x48(%rbp),%rax
  lea    0x2(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  mov    -0x50(%rbp),%edx
  mov    %dx,(%rax)
  addq   $0x1,-0x58(%rbp)
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x3a,%al
  jne    L195
  cmpq   $0x0,-0x40(%rbp)
  je     L257
  mov    $0x0,%eax
  jmp    L252
L257:
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  addq   $0x1,-0x58(%rbp)
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L195
  jmp    L461
L279:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L272
  lea    -0x20(%rbp),%rax
  add    $0x10,%rax
  cmp    %rax,-0x48(%rbp)
  jb     L211
  mov    $0x0,%eax
  jmp    L252
L211:
  mov    -0x48(%rbp),%rax
  lea    0x2(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  mov    -0x50(%rbp),%edx
  mov    %dx,(%rax)
  jmp    L461
L272:
  mov    -0x58(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L71
  lea    -0x20(%rbp),%rax
  add    $0xc,%rax
  cmp    %rax,-0x48(%rbp)
  jbe    L168
  mov    $0x0,%eax
  jmp    L252
L168:
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <mjt_pton4@plt>
  test   %eax,%eax
  jne    L275
  mov    $0x0,%eax
  jmp    L252
L275:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%eax
  mov    %eax,%esi
  mov    -0x30(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    -0x48(%rbp),%rax
  lea    0x2(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  or     %ecx,%esi
  mov    %esi,%edx
  mov    %dx,(%rax)
  mov    -0x30(%rbp),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  shl    $0x8,%eax
  mov    %eax,%esi
  mov    -0x30(%rbp),%rax
  add    $0x3,%rax
  movzbl (%rax),%eax
  movzbl %al,%ecx
  mov    -0x48(%rbp),%rax
  lea    0x2(%rax),%rdx
  mov    %rdx,-0x48(%rbp)
  or     %ecx,%esi
  mov    %esi,%edx
  mov    %dx,(%rax)
  jmp    L461
L71:
  mov    $0x0,%eax
  jmp    L252
L461:
  lea    -0x20(%rbp),%rax
  add    $0x10,%rax
  sub    -0x48(%rbp),%rax
  sar    %rax
  mov    %eax,-0x50(%rbp)
  cmpl   $0x0,-0x50(%rbp)
  je     L30
  cmpq   $0x0,-0x40(%rbp)
  je     L92
L30:
  cmpl   $0x0,-0x50(%rbp)
  jne    L122
  cmpq   $0x0,-0x40(%rbp)
  je     L122
L92:
  mov    $0x0,%eax
  jmp    L252
L122:
  lea    -0x20(%rbp),%rax
  mov    %rax,-0x38(%rbp)
L112:
  mov    -0x38(%rbp),%rax
  cmp    -0x40(%rbp),%rax
  jne    L188
  jmp    L201
L294:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movb   $0x0,(%rax)
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movb   $0x0,(%rax)
L201:
  mov    -0x50(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x50(%rbp)
  test   %eax,%eax
  jne    L294
L188:
  mov    -0x38(%rbp),%rax
  cmp    -0x48(%rbp),%rax
  jae    L381
  mov    -0x38(%rbp),%rax
  movzwl (%rax),%eax
  shr    $0x8,%ax
  mov    %eax,%ecx
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  mov    -0x38(%rbp),%rax
  movzwl (%rax),%ecx
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  mov    %ecx,%edx
  mov    %dl,(%rax)
  addq   $0x2,-0x38(%rbp)
  jmp    L112
L381:
  nop
  mov    $0x1,%eax
L252:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L271
  call   <__stack_chk_fail@plt>
L271:
  leave
  ret
```

assistant: ```c
int mjt_pton6(const char *c, void *dst) {
  unsigned short w[8], *a = w, *z, *i;
  unsigned v, o;
  const char *sc;
  unsigned char *d = (unsigned char *)dst;
  if (*c != ':')
    z = (unsigned short *)0;
  else if (*++c != ':')
    return 0;
  else
    ++c, z = a;
  i = 0;
  for (;;) {
    v = 0;
    sc = c;
    for (;;) {
      if (*c >= '0' && *c <= '9')
        o = *c - '0';
      else if (*c >= 'a' && *c <= 'f')
        o = *c - 'a' + 10;
      else if (*c >= 'A' && *c <= 'F')
        o = *c - 'A' + 10;
      else
        break;
      v = (v << 4) | o;
      if (v > 0xffff)
        return 0;
      ++c;
    }
    if (sc == c) {
      if (z == a && !*c)
        break;
      else
        return 0;
    }
    if (*c == ':') {
      if (a >= w + 8)
        return 0;
      *a++ = v;
      if (*++c == ':') {
        if (z)
          return 0;
        z = a;
        if (!*++c)
          break;
      }
    } else if (!*c) {
      if (a >= w + 8)
        return 0;
      *a++ = v;
      break;
    } else if (*c == '.') {
      if (a > w + 6)
        return 0;
      if (!mjt_pton4(sc, d))
        return 0;
      *a++ = ((unsigned)(d[0]) << 8) | d[1];
      *a++ = ((unsigned)(d[2]) << 8) | d[3];
      break;
    } else
      return 0;
  }
  v = w + 8 - a;
  if ((v && !z) || (!v && z))
    return 0;
  for (i = w;; ++i) {
    if (i == z)
      while (v--) {
        *d++ = '\0';
        *d++ = '\0';
      }
    if (i >= a)
      break;
    *d++ = (unsigned char)((*i >> 8) & 255);
    *d++ = (unsigned char)(*i & 255);
  }
  return 1;
}
```