// File: yhirose[P]fizzbuzzlang/./peglib.h
// Function: peg::Trie::Trie(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, bool)
Trie(const std::vector<std::string> &items, bool ignore_case)
      : ignore_case_(ignore_case) {
    size_t id = 0;
    for (const auto &item : items) {
      const auto &s = ignore_case ? to_lower(item) : item;
      for (size_t len = 1; len <= item.size(); len++) {
        auto last = len == item.size();
        std::string_view sv(s.data(), len);
        auto it = dic_.find(sv);
        if (it == dic_.end()) {
          dic_.emplace(sv, Info{last, last, id});
        } else if (last) {
          it->second.match = true;
        } else {
          it->second.done = false;
        }
      }
      id++;
    }
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x62780
movq -0xf0(%rbp), %rax
movb -0x11(%rbp), %cl
andb $0x1, %cl
movb %cl, 0x30(%rax)
movq $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0x12570
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rdi
callq 0x125a0
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x125d0
testb $0x1, %al
jne 0x6244a
jmp 0x626e0
leaq -0x30(%rbp), %rdi
callq 0x50380
movq %rax, -0x40(%rbp)
movb -0x11(%rbp), %al
movb $0x0, -0x95(%rbp)
testb $0x1, %al
je 0x62497
movq -0x40(%rbp), %rsi
leaq -0x88(%rbp), %rdi
callq 0xa170
jmp 0x62477
movq -0xf0(%rbp), %rsi
movb $0x1, -0x95(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rdx
callq 0x18b40
jmp 0x624a8
movq -0x40(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0xa170
jmp 0x624a6
jmp 0x624a8
testb $0x1, -0x95(%rbp)
jne 0x624b3
jmp 0x624bf
leaq -0x88(%rbp), %rdi
callq 0xa250
leaq -0x68(%rbp), %rax
movq %rax, -0x48(%rbp)
movq $0x1, -0xa0(%rbp)
movq -0xa0(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x40(%rbp), %rdi
callq 0xa2d0
movq %rax, %rcx
movq -0xf8(%rbp), %rax
cmpq %rcx, %rax
ja 0x626bd
movq -0xa0(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x40(%rbp), %rdi
callq 0xa2d0
movq %rax, %rcx
movq -0x110(%rbp), %rax
subq %rcx, %rax
sete -0xa1(%rbp)
movq -0x48(%rbp), %rdi
callq 0xa4d0
movq %rax, %rsi
movq -0xa0(%rbp), %rdx
leaq -0xb8(%rbp), %rdi
movq %rdi, -0x108(%rbp)
callq 0xea40
movq -0xf0(%rbp), %rdi
movq -0x108(%rbp), %rsi
callq 0x627a0
movq %rax, -0x100(%rbp)
jmp 0x62569
movq -0xf0(%rbp), %rdi
movq -0x100(%rbp), %rax
movq %rax, -0xc0(%rbp)
callq 0x62800
movq %rax, -0xc8(%rbp)
leaq -0xc0(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x627d0
testb $0x1, %al
jne 0x625a6
jmp 0x62677
movq -0xf0(%rbp), %rdi
movb -0xa1(%rbp), %al
andb $0x1, %al
movb %al, -0xd8(%rbp)
movb -0xa1(%rbp), %al
andb $0x1, %al
movb %al, -0xd7(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0xb8(%rbp), %rsi
leaq -0xd8(%rbp), %rdx
callq 0x62830
movb %dl, -0x119(%rbp)
movq %rax, -0x118(%rbp)
jmp 0x625f6
movb -0x119(%rbp), %al
movq -0x118(%rbp), %rcx
movq %rcx, -0xe8(%rbp)
movb %al, -0xe0(%rbp)
jmp 0x626a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x626e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
testb $0x1, -0x95(%rbp)
jne 0x62649
jmp 0x62655
leaq -0x88(%rbp), %rdi
callq 0xa250
jmp 0x626e9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xa250
jmp 0x626e9
testb $0x1, -0xa1(%rbp)
je 0x62692
leaq -0xc0(%rbp), %rdi
callq 0x62880
movb $0x1, 0x21(%rax)
jmp 0x626a2
leaq -0xc0(%rbp), %rdi
callq 0x62880
movb $0x0, 0x20(%rax)
jmp 0x626a4
jmp 0x626a6
movq -0xa0(%rbp), %rax
addq $0x1, %rax
movq %rax, -0xa0(%rbp)
jmp 0x624d2
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
leaq -0x68(%rbp), %rdi
callq 0xa250
leaq -0x30(%rbp), %rdi
callq 0x503a0
jmp 0x62434
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0xf0(%rbp), %rdi
callq 0x628a0
movq -0x90(%rbp), %rdi
callq 0xa650
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)