// File: DoubleString[P]RtConverter/src/Json/json_value.cpp
// Function: Json::Path::makePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<Json::PathArgument const*, std::allocator<Json::PathArgument const*>> const&)
void Path::makePath(const JSONCPP_STRING& path, const InArgs& in) {
  const char* current = path.c_str();
  const char* end = current + path.length();
  InArgs::const_iterator itInArg = in.begin();
  while (current != end) {
    if (*current == '[') {
      ++current;
      if (*current == '%')
        addPathInArg(path, in, itInArg, PathArgument::kindIndex);
      else {
        ArrayIndex index = 0;
        for (; current != end && *current >= '0' && *current <= '9'; ++current)
          index = index * 10 + ArrayIndex(*current - '0');
        args_.push_back(index);
      }
      if (current == end || *++current != ']')
        invalidPath(path, int(current - path.c_str()));
    } else if (*current == '%') {
      addPathInArg(path, in, itInArg, PathArgument::kindKey);
      ++current;
    } else if (*current == '.' || *current == ']') {
      ++current;
    } else {
      const char* beginName = current;
      while (current != end && !strchr("[.", *current))
        ++current;
      args_.push_back(JSONCPP_STRING(beginName, current));
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x92b0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xd0(%rbp)
movq -0x10(%rbp), %rdi
callq 0x9b00
movq %rax, %rcx
movq -0xd0(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x25fc0
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
je 0x24fe0
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x5b, %eax
jne 0x24e25
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x25, %eax
jne 0x24d0a
movq -0xd8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x30(%rbp), %rcx
movl $0x1, %r8d
callq 0x25000
jmp 0x24dc4
movl $0x0, -0x34(%rbp)
movq -0x20(%rbp), %rcx
xorl %eax, %eax
cmpq -0x28(%rbp), %rcx
movb %al, -0xd9(%rbp)
je 0x24d4a
movq -0x20(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x30, %ecx
movb %al, -0xd9(%rbp)
jl 0x24d4a
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x39, %eax
setle %al
movb %al, -0xd9(%rbp)
movb -0xd9(%rbp), %al
testb $0x1, %al
jne 0x24d56
jmp 0x24d77
imull $0xa, -0x34(%rbp), %eax
movq -0x20(%rbp), %rcx
movsbl (%rcx), %ecx
subl $0x30, %ecx
addl %ecx, %eax
movl %eax, -0x34(%rbp)
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x24d11
movl -0x34(%rbp), %esi
leaq -0x60(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x249d0
movq -0xd8(%rbp), %rdi
movq -0xe8(%rbp), %rsi
callq 0x25ff0
jmp 0x24d9f
leaq -0x60(%rbp), %rdi
callq 0x26020
jmp 0x24dc4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x26020
jmp 0x24fe9
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
je 0x24de6
movq -0x20(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x20(%rbp)
movsbl 0x1(%rax), %eax
cmpl $0x5d, %eax
je 0x24e20
movq -0x10(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x10(%rbp), %rdi
callq 0x92b0
movq -0xf8(%rbp), %rdi
movq %rax, %rcx
movq -0xf0(%rbp), %rax
subq %rcx, %rax
movl %eax, %esi
callq 0x25090
jmp 0x24fdb
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x25, %eax
jne 0x24e60
movq -0xd8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x30(%rbp), %rcx
movl $0x2, %r8d
callq 0x25000
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x24fd9
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
je 0x24e78
movq -0x20(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x5d, %eax
jne 0x24e89
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x24fd7
movq -0x20(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x20(%rbp), %rcx
xorl %eax, %eax
cmpq -0x28(%rbp), %rcx
movb %al, -0xf9(%rbp)
je 0x24ec5
movq -0x20(%rbp), %rax
movsbl (%rax), %esi
leaq 0x976c9(%rip), %rdi     # 0xbc57a
callq 0x9280
cmpq $0x0, %rax
setne %al
xorb $-0x1, %al
movb %al, -0xf9(%rbp)
movb -0xf9(%rbp), %al
testb $0x1, %al
jne 0x24ed1
jmp 0x24edf
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x24e91
movq -0xd8(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x78(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x110(%rbp)
leaq -0xc1(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0x9d30
movq -0x118(%rbp), %rsi
movq -0x110(%rbp), %rdx
movq -0x108(%rbp), %rcx
leaq -0xc0(%rbp), %rdi
callq 0x14570
jmp 0x24f39
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x24a90
jmp 0x24f4e
movq -0x120(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x25ff0
jmp 0x24f63
leaq -0xa0(%rbp), %rdi
callq 0x26020
leaq -0xc0(%rbp), %rdi
callq 0x9480
leaq -0xc1(%rbp), %rdi
callq 0x97e0
jmp 0x24fd7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x24fc9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x24fbd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x26020
leaq -0xc0(%rbp), %rdi
callq 0x9480
leaq -0xc1(%rbp), %rdi
callq 0x97e0
jmp 0x24fe9
jmp 0x24fd9
jmp 0x24fdb
jmp 0x24cb1
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0x9d20
nopw %cs:(%rax,%rax)