// File: /workspace/github_cpp_makefile_star2_O3/Konano[P]UselessDatabase/./Type.h
// Function: Type::toJson[abi:cxx11]()
json toJson() {
        json j;
        j["name"] = name;
        j["ty"] = ty;
        j["char_len"] = char_len;
        j["key"] = key;
        j["null"] = null;
        if (def.anyCast<int>() != nullptr) {
            j["def"] = def.anyRefCast<int>();
        } else if (def.anyCast<char*>() != nullptr) {
            j["def"] = def.anyRefCast<char*>();
        }
        return j;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movb $0x0, (%rdi)
movq $0x0, 0x8(%rdi)
callq 0xd118
movq %rbx, %rdi
callq 0xd118
leaq 0x2(%r14), %rsi
leaq 0x60(%rsp), %rdi
callq 0x8e86
leaq 0x1932c(%rip), %rsi     # 0x40c46
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r15
leaq 0x60(%rsp), %r12
movq %r12, %rdi
callq 0xd118
movb (%r15), %al
movb (%r12), %cl
movb %cl, (%r15)
movb %al, (%r12)
leaq 0x68(%rsp), %r13
movq 0x8(%r15), %rax
movq (%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, (%r13)
movq %r15, %rdi
callq 0xd118
movq %r12, %rdi
callq 0xd118
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0xd1ba
movl 0x24(%r14), %eax
leaq 0x50(%rsp), %r15
movb $0x5, (%r15)
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0xd118
movq %r15, %rdi
callq 0xd118
leaq 0x1924b(%rip), %rsi     # 0x40be5
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r15
leaq 0x58(%rsp), %r12
leaq 0x50(%rsp), %r13
movq %r13, %rdi
callq 0xd118
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0xd118
movq %r13, %rdi
callq 0xd118
movzbl (%r13), %esi
movq %r12, %rdi
callq 0xd1ba
movzbl 0x28(%r14), %eax
leaq 0x40(%rsp), %r15
movb $0x6, (%r15)
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0xd118
movq %r15, %rdi
callq 0xd118
leaq 0x1927e(%rip), %rsi     # 0x40c99
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r15
leaq 0x48(%rsp), %r12
leaq 0x40(%rsp), %r13
movq %r13, %rdi
callq 0xd118
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0xd118
movq %r13, %rdi
callq 0xd118
movzbl (%r13), %esi
movq %r12, %rdi
callq 0xd1ba
movl 0x2c(%r14), %eax
leaq 0x30(%rsp), %r15
movb $0x5, (%r15)
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0xd118
movq %r15, %rdi
callq 0xd118
leaq 0x16b29(%rip), %rsi     # 0x3e5c4
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r15
leaq 0x38(%rsp), %r12
leaq 0x30(%rsp), %r13
movq %r13, %rdi
callq 0xd118
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0xd118
movq %r13, %rdi
callq 0xd118
movzbl (%r13), %esi
movq %r12, %rdi
callq 0xd1ba
movzbl (%r14), %eax
leaq 0x20(%rsp), %r15
movb $0x4, (%r15)
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0xd118
movq %r15, %rdi
callq 0xd118
leaq 0x14e14(%rip), %rsi     # 0x3c92f
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r15
leaq 0x28(%rsp), %r12
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0xd118
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0xd118
movq %r13, %rdi
callq 0xd118
movzbl (%r13), %esi
movq %r12, %rdi
callq 0xd1ba
movq 0x30(%r14), %r15
testq %r15, %r15
je 0x27cba
addq $0x30, %r14
leaq 0x2ab55(%rip), %rsi     # 0x526e0
leaq 0x2ab76(%rip), %rdx     # 0x52708
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x5430
testq %rax, %rax
je 0x27c2e
movq %r14, %rdi
callq 0x9d98
movslq (%rax), %rax
leaq 0x10(%rsp), %r14
movb $0x5, (%r14)
movq %rax, 0x8(%r14)
movq %r14, %rdi
callq 0xd118
movq %r14, %rdi
callq 0xd118
leaq 0x190ce(%rip), %rsi     # 0x40ca2
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r14
leaq 0x18(%rsp), %r15
leaq 0x10(%rsp), %r12
movq %r12, %rdi
callq 0xd118
movb (%r14), %al
movb (%r12), %cl
movb %cl, (%r14)
movb %al, (%r12)
movq 0x8(%r14), %rax
movq 0x8(%r12), %rcx
movq %rcx, 0x8(%r14)
movq %rax, 0x8(%r12)
movq %r14, %rdi
callq 0xd118
movq %r12, %rdi
callq 0xd118
movzbl (%r12), %esi
movq %r15, %rdi
jmp 0x27cb5
leaq 0x2aaab(%rip), %rsi     # 0x526e0
leaq 0x2aab4(%rip), %rdx     # 0x526f0
movq %r15, %rdi
xorl %ecx, %ecx
callq 0x5430
testq %rax, %rax
je 0x27cba
movq %r14, %rdi
callq 0x2829e
movq %rsp, %rdi
movq %rax, %rsi
callq 0x282c8
leaq 0x1903d(%rip), %rsi     # 0x40ca2
movq %rbx, %rdi
callq 0x8eb2
movq %rax, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0xd118
movb (%r14), %al
movb (%r15), %cl
movb %cl, (%r14)
movb %al, (%r15)
leaq 0x8(%rsp), %r12
movq 0x8(%r14), %rax
movq (%r12), %rcx
movq %rcx, 0x8(%r14)
movq %rax, (%r12)
movq %r14, %rdi
callq 0xd118
movq %r15, %rdi
callq 0xd118
movzbl -0x8(%r12), %esi
movq %r12, %rdi
callq 0xd1ba
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rsp, %rdi
jmp 0x27d0d
movq %rax, %r14
leaq 0x10(%rsp), %rdi
jmp 0x27d0d
movq %rax, %r14
leaq 0x20(%rsp), %rdi
jmp 0x27d0d
movq %rax, %r14
leaq 0x30(%rsp), %rdi
jmp 0x27d0d
movq %rax, %r14
leaq 0x40(%rsp), %rdi
jmp 0x27d0d
movq %rax, %r14
leaq 0x50(%rsp), %rdi
jmp 0x27d0d
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x907c
jmp 0x27d17
movq %rax, %r14
movq %rbx, %rdi
callq 0x907c
movq %r14, %rdi
callq 0x56e0
nop