// File: /workspace/github_c_makefile_star2_O0/coyove[P]chann/./src/router.h
// Function: route::add(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
void add(const std::string pattern, int no){
        // "/page/:num"
        std::vector<std::string> v = cc_split(pattern, "/");
        struct Tree *top = root;

        for(auto i: v)
            if(!i.empty()){
                if(i[0] == ':'){
                    top->catcher = i.substr(1);
                }else{
                    if(!top->to[i]) top->to[i] = new Tree();
                    top = top->to[i];
                }
            }

        top->ending = no;
    }

// Assembly:
subq $0xf8, %rsp
movq %rdi, 0x28(%rsp)
movq %rdi, 0xf0(%rsp)
movl %esi, 0xec(%rsp)
leaq 0xaf(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0xdc30
movq 0x30(%rsp), %rdx
leaq 0xacfb3(%rip), %rsi     # 0xc7eac
leaq 0xb0(%rsp), %rdi
callq 0xdad0
jmp 0x1af08
movq 0x28(%rsp), %rsi
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rdx
callq 0x10e50
jmp 0x1af24
leaq 0xb0(%rsp), %rdi
callq 0xdf50
leaq 0xaf(%rsp), %rdi
callq 0xdf30
movq 0xd3ffb(%rip), %rax     # 0xeef40
movq %rax, 0x90(%rsp)
leaq 0xd0(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rdi
callq 0x19810
movq %rax, 0x80(%rsp)
movq 0x88(%rsp), %rdi
callq 0x19680
movq %rax, 0x78(%rsp)
leaq 0x80(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x23600
testb $0x1, %al
jne 0x1af9f
jmp 0x1b182
leaq 0x80(%rsp), %rdi
callq 0x23640
movq %rax, %rsi
leaq 0x58(%rsp), %rdi
callq 0xd1b0
jmp 0x1afbb
leaq 0x58(%rsp), %rdi
callq 0xd3f0
testb $0x1, %al
jne 0x1b166
xorl %eax, %eax
movl %eax, %esi
leaq 0x58(%rsp), %rdi
callq 0xde40
movq %rax, 0x20(%rsp)
jmp 0x1afe2
movq 0x20(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x3a, %eax
jne 0x1b0ba
leaq 0x38(%rsp), %rdi
leaq 0x58(%rsp), %rsi
movl $0x1, %edx
movq $-0x1, %rcx
callq 0xdca0
jmp 0x1b010
movq 0x90(%rsp), %rdi
addq $0x30, %rdi
leaq 0x38(%rsp), %rsi
callq 0xd6f0
leaq 0x38(%rsp), %rdi
callq 0xdf50
jmp 0x1b164
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
jmp 0x1b06c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0xdf50
leaq 0xaf(%rsp), %rdi
callq 0xdf30
jmp 0x1b1b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
jmp 0x1b1a9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa0(%rsp)
movl %eax, 0x9c(%rsp)
leaq 0x58(%rsp), %rdi
callq 0xdf50
jmp 0x1b1a9
movq 0x90(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x23650
movq %rax, 0x18(%rsp)
jmp 0x1b0d3
movq 0x18(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x1b13d
movl $0x58, %edi
callq 0xd250
movq %rax, 0x10(%rsp)
jmp 0x1b0ef
movq 0x10(%rsp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rdi)
movaps %xmm0, 0x30(%rdi)
movaps %xmm0, 0x20(%rdi)
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
movq $0x0, 0x50(%rdi)
callq 0x235d0
movq 0x90(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x23650
movq %rax, 0x8(%rsp)
jmp 0x1b130
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
movq %rcx, (%rax)
movq 0x90(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x23650
movq %rax, (%rsp)
jmp 0x1b155
movq (%rsp), %rax
movq (%rax), %rax
movq %rax, 0x90(%rsp)
jmp 0x1b166
leaq 0x58(%rsp), %rdi
callq 0xdf50
leaq 0x80(%rsp), %rdi
callq 0x23740
jmp 0x1af84
movl 0xec(%rsp), %ecx
movq 0x90(%rsp), %rax
movl %ecx, 0x50(%rax)
leaq 0xd0(%rsp), %rdi
callq 0x14930
addq $0xf8, %rsp
retq
leaq 0xd0(%rsp), %rdi
callq 0x14930
movq 0xa0(%rsp), %rdi
callq 0xd8a0
nopw %cs:(%rax,%rax)