// File: /workspace/github_cpp_makefile_star2_O3/tokuhirom[P]nanouri/t/03_class.cc
// Function: main
int main() {
    std::string src;

    nanouri::Uri uri;
    ok(!uri, "not parsed yet");
    ok(uri.parse("http://mixi.jp/hoge.pl"));
    ok(uri, "parse succeeded");
    is(uri.host(), "mixi.jp");
    is(uri.path_query(), "/hoge.pl");
    is(uri.scheme(), "http");

    done_testing();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
leaq 0x118(%rsp), %r15
movq %r15, -0x10(%r15)
xorl %eax, %eax
movq %rax, -0x8(%r15)
movb %al, (%r15)
leaq 0x90(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xb0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xd0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0xf8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movl 0x340a(%rip), %edx      # 0x610c
incl %edx
movl %edx, 0x3402(%rip)      # 0x610c
leaq 0x12f3(%rip), %rdi      # 0x4004
leaq 0x12fc(%rip), %rbx      # 0x4014
leaq 0x1339(%rip), %rcx      # 0x4058
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2040
leaq 0x10(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x132d(%rip), %rsi      # 0x4067
leaq 0x133c(%rip), %rdx      # 0x407d
movq %rsp, %rdi
callq 0x3234
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0x80(%rsp), %rdi
callq 0x30d8
leaq 0x12aa(%rip), %r14      # 0x4010
testb %al, %al
movq %r14, %rsi
cmovneq %rbx, %rsi
movl 0x3397(%rip), %edx      # 0x610c
incl %edx
movl %edx, 0x338f(%rip)      # 0x610c
leaq 0x1280(%rip), %rdi      # 0x4004
leaq 0x1298(%rip), %rcx      # 0x4023
xorl %eax, %eax
callq 0x2040
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2da8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2120
cmpq $0x0, 0x88(%rsp)
cmovneq %rbx, %r14
movl 0x3351(%rip), %edx      # 0x610c
incl %edx
movl %edx, 0x3349(%rip)      # 0x610c
leaq 0x123a(%rip), %rdi      # 0x4004
leaq 0x12ad(%rip), %rcx      # 0x407e
movq %r14, %rsi
xorl %eax, %eax
callq 0x2040
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x60(%rsp), %rdi
callq 0x319e
leaq 0x1286(%rip), %rsi      # 0x408e
leaq 0x60(%rsp), %rdi
callq 0x2f6e
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x2e29
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2120
leaq 0x50(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xe8(%rsp), %rsi
movq 0xf0(%rsp), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x319e
leaq 0x121f(%rip), %rsi      # 0x4075
leaq 0x40(%rsp), %rdi
callq 0x2f6e
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x2e77
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x2120
leaq 0x30(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0xc0(%rsp), %rsi
movq 0xc8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x319e
leaq 0x11f2(%rip), %rsi      # 0x4096
leaq 0x20(%rsp), %rdi
callq 0x2f6e
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2ec5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x2120
movl 0x3241(%rip), %esi      # 0x610c
leaq 0x114b(%rip), %rdi      # 0x401d
xorl %eax, %eax
callq 0x2040
xorl %edi, %edi
callq 0x2150
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f3c
movq 0x30(%rsp), %rsi
jmp 0x2f2f
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f3c
movq 0x50(%rsp), %rsi
jmp 0x2f2f
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x2f3c
movq 0x70(%rsp), %rsi
jmp 0x2f2f
jmp 0x2f39
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x2f3c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2120
jmp 0x2f3c
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x3072
movq 0x108(%rsp), %rdi
cmpq %r15, %rdi
je 0x2f66
movq 0x118(%rsp), %rsi
incq %rsi
callq 0x2120
movq %rbx, %rdi
callq 0x21c0