// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_decode_attribute_v1
int
kmip_decode_attribute_v1(KMIP *ctx, Attribute *value)
{
    CHECK_BUFFER_FULL(ctx, 8);
    
    kmip_init_attribute(value);
    
    int result = 0;
    int32 tag_type = 0;
    uint32 length = 0;
    
    kmip_decode_int32_be(ctx, &tag_type);
    CHECK_TAG_TYPE(ctx, tag_type, KMIP_TAG_ATTRIBUTE, KMIP_TYPE_STRUCTURE);
    
    kmip_decode_length(ctx, &length);
    CHECK_BUFFER_FULL(ctx, length);
    
    result = kmip_decode_attribute_name(ctx, &value->type);
    CHECK_RESULT(ctx, result);
    
    if(kmip_is_tag_next(ctx, KMIP_TAG_ATTRIBUTE_INDEX))
    {
        result = kmip_decode_integer(ctx, KMIP_TAG_ATTRIBUTE_INDEX, &value->index);
        CHECK_RESULT(ctx, result);
    }
    
    uint8 *curr_index = 0;
    uint8 *tag_index = ctx->index;
    enum tag t = KMIP_TAG_ATTRIBUTE_VALUE;
    
    switch(value->type)
    {
        case KMIP_ATTR_APPLICATION_SPECIFIC_INFORMATION:
        {
            /* TODO (ph) Like encoding, this is messy. Better solution? */
            if(kmip_is_tag_type_next(ctx, KMIP_TAG_ATTRIBUTE_VALUE, KMIP_TYPE_STRUCTURE))
            {
                /* NOTE (ph) Decoding structures will fail if the structure tag */
                /* is not present in the encoding. Temporarily swap the tags, */
                /* decode the structure, and then swap the tags back to */
                /* preserve the encoding. The tag/type check above guarantees */
                /* space exists for this to succeed. */
                kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_APPLICATION_SPECIFIC_INFORMATION, KMIP_TYPE_STRUCTURE));
                ctx->index = tag_index;
                value->value = ctx->calloc_func(ctx->state, 1, sizeof(ApplicationSpecificInformation));
                CHECK_NEW_MEMORY(ctx, value->value, sizeof(ApplicationSpecificInformation), "ApplicationSpecificInformation structure");
                result = kmip_decode_application_specific_information(ctx, (ApplicationSpecificInformation*)value->value);

                curr_index = ctx->index;
                ctx->index = tag_index;

                kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_ATTRIBUTE_VALUE, KMIP_TYPE_STRUCTURE));
                ctx->index = curr_index;
            }
            else
            {
                result = KMIP_TAG_MISMATCH;
            }

            CHECK_RESULT(ctx, result);
        }
        break;

        case KMIP_ATTR_UNIQUE_IDENTIFIER:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(TextString));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(TextString), "UniqueIdentifier text string");
        result = kmip_decode_text_string(ctx, t, (TextString*)value->value);
        CHECK_RESULT(ctx, result);
        break;
        
        case KMIP_ATTR_NAME:
        {
            /* TODO (ph) Like encoding, this is messy. Better solution? */
            if(kmip_is_tag_type_next(ctx, KMIP_TAG_ATTRIBUTE_VALUE, KMIP_TYPE_STRUCTURE))
            {
                /* NOTE (ph) Decoding structures will fail if the structure tag */
                /* is not present in the encoding. Temporarily swap the tags, */
                /* decode the structure, and then swap the tags back to */
                /* preserve the encoding. The tag/type check above guarantees */
                /* space exists for this to succeed. */
                kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_NAME, KMIP_TYPE_STRUCTURE));
                ctx->index = tag_index;
                value->value = ctx->calloc_func(ctx->state, 1, sizeof(Name));
                CHECK_NEW_MEMORY(ctx, value->value, sizeof(Name), "Name structure");
                result = kmip_decode_name(ctx, (Name*)value->value);

                curr_index = ctx->index;
                ctx->index = tag_index;

                kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_ATTRIBUTE_VALUE, KMIP_TYPE_STRUCTURE));
                ctx->index = curr_index;
            }
            else
            {
                result = KMIP_TAG_MISMATCH;
            }

            CHECK_RESULT(ctx, result);
        }
        break;

        case KMIP_ATTR_CRYPTOGRAPHIC_PARAMETERS:
        {
            /* TODO (ph) Like encoding, this is messy. Better solution? */
            if(kmip_is_tag_type_next(ctx, KMIP_TAG_ATTRIBUTE_VALUE, KMIP_TYPE_STRUCTURE))
            {
                /* NOTE (ph) Decoding structures will fail if the structure tag */
                /* is not present in the encoding. Temporarily swap the tags, */
                /* decode the structure, and then swap the tags back to */
                /* preserve the encoding. The tag/type check above guarantees */
                /* space exists for this to succeed. */
                kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_CRYPTOGRAPHIC_PARAMETERS, KMIP_TYPE_STRUCTURE));
                ctx->index = tag_index;
                value->value = ctx->calloc_func(ctx->state, 1, sizeof(CryptographicParameters));
                CHECK_NEW_MEMORY(ctx, value->value, sizeof(CryptographicParameters), "CryptographicParameters structure");
                kmip_init_cryptographic_parameters((CryptographicParameters*)value->value);
                result = kmip_decode_cryptographic_parameters(ctx, (CryptographicParameters*)value->value);

                curr_index = ctx->index;
                ctx->index = tag_index;

                kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_ATTRIBUTE_VALUE, KMIP_TYPE_STRUCTURE));
                ctx->index = curr_index;
            }
            else
            {
                result = KMIP_TAG_MISMATCH;
            }

            CHECK_RESULT(ctx, result);
        } break;

        case KMIP_ATTR_OBJECT_TYPE:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(int32));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(int32), "ObjectType enumeration");
        result = kmip_decode_enum(ctx, t, (int32 *)value->value);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_OBJECT_TYPE, *(int32 *)value->value);
        break;
        
        case KMIP_ATTR_CRYPTOGRAPHIC_ALGORITHM:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(int32));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(int32), "CryptographicAlgorithm enumeration");
        result = kmip_decode_enum(ctx, t, (int32 *)value->value);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_CRYPTOGRAPHIC_ALGORITHM, *(int32 *)value->value);
        break;
        
        case KMIP_ATTR_CRYPTOGRAPHIC_LENGTH:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(int32));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(int32), "CryptographicLength integer");
        result = kmip_decode_integer(ctx, t, (int32 *)value->value);
        CHECK_RESULT(ctx, result);
        break;
        
        case KMIP_ATTR_OPERATION_POLICY_NAME:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(TextString));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(TextString), "OperationPolicyName text string");
        result = kmip_decode_text_string(ctx, t, (TextString*)value->value);
        CHECK_RESULT(ctx, result);
        break;
        
        case KMIP_ATTR_CRYPTOGRAPHIC_USAGE_MASK:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(int32));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(int32), "CryptographicUsageMask integer");
        result = kmip_decode_integer(ctx, t, (int32 *)value->value);
        CHECK_RESULT(ctx, result);
        break;
        
        case KMIP_ATTR_STATE:
        value->value = ctx->calloc_func(ctx->state, 1, sizeof(int32));
        CHECK_NEW_MEMORY(ctx, value->value, sizeof(int32), "State enumeration");
        result = kmip_decode_enum(ctx, t, (int32 *)value->value);
        CHECK_RESULT(ctx, result);
        CHECK_ENUM(ctx, KMIP_TAG_STATE, *(int32 *)value->value);
        break;

        case KMIP_ATTR_OBJECT_GROUP:
        {
            value->value = ctx->calloc_func(ctx->state, 1, sizeof(TextString));
            CHECK_NEW_MEMORY(ctx, value->value, sizeof(TextString), "ObjectGroup text string");
            result = kmip_decode_text_string(ctx, t, (TextString*)value->value);
            CHECK_RESULT(ctx, result);
        }
        break;

        case KMIP_ATTR_ACTIVATION_DATE:
        {
            value->value = ctx->calloc_func(ctx->state, 1, sizeof(int64));
            CHECK_NEW_MEMORY(ctx, value->value, sizeof(int64), "ActivationDate date time");

            result = kmip_decode_date_time(ctx, t, (int64*)value->value);
            CHECK_RESULT(ctx, result);
        } break;

        case KMIP_ATTR_DEACTIVATION_DATE:
        {
            value->value = ctx->calloc_func(ctx->state, 1, sizeof(int64));
            CHECK_NEW_MEMORY(ctx, value->value, sizeof(int64), "DeactivationDate date time");

            result = kmip_decode_date_time(ctx, t, (int64*)value->value);
            CHECK_RESULT(ctx, result);
        } break;

        case KMIP_ATTR_PROCESS_START_DATE:
        {
            value->value = ctx->calloc_func(ctx->state, 1, sizeof(int64));
            CHECK_NEW_MEMORY(ctx, value->value, sizeof(int64), "ProcessStartDate date time");

            result = kmip_decode_date_time(ctx, t, (int64*)value->value);
            CHECK_RESULT(ctx, result);
        } break;

        case KMIP_ATTR_PROTECT_STOP_DATE:
        {
            value->value = ctx->calloc_func(ctx->state, 1, sizeof(int64));
            CHECK_NEW_MEMORY(ctx, value->value, sizeof(int64), "ProtectStopDate date time");

            result = kmip_decode_date_time(ctx, t, (int64*)value->value);
            CHECK_RESULT(ctx, result);
        } break;

        default:
        kmip_push_error_frame(ctx, __func__, __LINE__);
        return(KMIP_ERROR_ATTR_UNSUPPORTED);
        break;
    };
    CHECK_RESULT(ctx, result);
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0x7, %rax
ja 0xfc81
leaq 0x826b(%rip), %rsi      # 0x17ed7
movq %rbx, %rdi
movl $0x22a8, %edx           # imm = 0x22A8
callq 0x6e80
pushq $-0x2
popq %rbp
jmp 0xfd30
movq %rsi, %r14
testq %rsi, %rsi
je 0xfc9b
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, (%r14)
andq $0x0, 0x8(%r14)
leaq 0xc(%rsp), %r15
andl $0x0, (%r15)
andl $0x0, 0x8(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6a80
movl (%r15), %eax
movl %eax, %ecx
andl $0xffffff00, %ecx       # imm = 0xFFFFFF00
pushq $-0x4
popq %rbp
movl $0x22b1, %r15d          # imm = 0x22B1
cmpl $0x42000800, %ecx       # imm = 0x42000800
jne 0xfd1e
cmpb $0x1, %al
jne 0xfd02
leaq 0x8(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x64d0
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %rax
addq (%rbx), %rax
movl (%r15), %ecx
cmpq %rcx, %rax
jae 0xfd07
pushq $-0x2
popq %rbp
movl $0x22b4, %r15d          # imm = 0x22B4
jmp 0xfd1e
pushq $-0x5
popq %rbp
jmp 0xfd1e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6c60
testl %eax, %eax
je 0xfd3f
movl $0x22b7, %r15d          # imm = 0x22B7
movl %eax, %ebp
leaq 0x81b2(%rip), %rsi      # 0x17ed7
movq %rbx, %rdi
movl %r15d, %edx
callq 0x6e80
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movl $0x420009, %esi         # imm = 0x420009
callq 0x62d0
testl %eax, %eax
je 0xfd6d
leaq 0x4(%r14), %rdx
movq %rbx, %rdi
movl $0x420009, %esi         # imm = 0x420009
callq 0x60d0
testl %eax, %eax
je 0xfd6d
movl $0x22bc, %r15d          # imm = 0x22BC
jmp 0xfd1c
movl (%r14), %eax
cmpq $0xe, %rax
ja 0xffad
movq 0x8(%rbx), %r12
leaq 0x773b(%rip), %rcx      # 0x174c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1031a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6560
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x22e8, %r15d          # imm = 0x22E8
jmp 0xfd1e
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
callq 0x6850
movl $0x2326, %r15d          # imm = 0x2326
testl %eax, %eax
je 0xfd1e
movq %rbx, %rdi
movl $0x42002b01, %esi       # imm = 0x42002B01
callq 0x60a0
movq %r12, 0x8(%rbx)
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x50
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x103ba
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
pcmpeqd %xmm1, %xmm1
movdqu %xmm1, 0x18(%rax)
movdqu %xmm1, 0x28(%rax)
movups %xmm0, 0x38(%rax)
orl $-0x1, 0x48(%rax)
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x6d70
jmp 0x10212
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x8
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1023a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b30
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x236e, %r15d          # imm = 0x236E
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x4
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1025a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x60d0
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x233d, %r15d          # imm = 0x233D
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x8
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1027a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b30
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x2377, %r15d          # imm = 0x2377
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1029a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6560
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x235b, %r15d          # imm = 0x235B
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x4
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x102ba
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b70
testl %eax, %eax
je 0x103da
movl %eax, %ebp
movl $0x232d, %r15d          # imm = 0x232D
jmp 0xfd1e
pushq $-0x3
popq %rbp
movl $0x2384, %r15d          # imm = 0x2384
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x4
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x102da
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b70
testl %eax, %eax
je 0x10411
movl %eax, %ebp
movl $0x2335, %r15d          # imm = 0x2335
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x4
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x102fa
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b70
testl %eax, %eax
je 0x1044b
movl %eax, %ebp
movl $0x2352, %r15d          # imm = 0x2352
jmp 0xfd1e
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
callq 0x6850
movl $0x2306, %r15d          # imm = 0x2306
testl %eax, %eax
je 0xfd1e
movq %rbx, %rdi
movl $0x42005301, %esi       # imm = 0x42005301
callq 0x60a0
movq %r12, 0x8(%rbx)
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x10460
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6e60
jmp 0x10212
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1033a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6560
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x2344, %r15d          # imm = 0x2344
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x8
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1035a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b30
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x2380, %r15d          # imm = 0x2380
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x4
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1037a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x60d0
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x234b, %r15d          # imm = 0x234B
jmp 0xfd1e
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x8
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1039a
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6b30
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movl $0x2365, %r15d          # imm = 0x2365
jmp 0xfd1e
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
callq 0x6850
movl $0x22e0, %r15d          # imm = 0x22E0
testl %eax, %eax
je 0xfd1e
movq %rbx, %rdi
movl $0x42000401, %esi       # imm = 0x42000401
callq 0x60a0
movq %r12, 0x8(%rbx)
movq 0x890(%rbx), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x10480
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6740
movl %eax, %ebp
movq 0x8(%rbx), %r14
movq %r12, 0x8(%rbx)
movq %rbx, %rdi
movl $0x42000b01, %esi       # imm = 0x42000B01
callq 0x60a0
movq %r14, 0x8(%rbx)
testl %ebp, %ebp
jne 0xfd1e
jmp 0x10459
leaq 0x7dfe(%rip), %rdx      # 0x1803f
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x236b, %r15d          # imm = 0x236B
jmp 0xfd1e
leaq 0x7d40(%rip), %rdx      # 0x17fa1
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x233b, %r15d          # imm = 0x233B
jmp 0xfd1e
leaq 0x7dd9(%rip), %rdx      # 0x1805a
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2374, %r15d          # imm = 0x2374
jmp 0xfd1e
leaq 0x7d6d(%rip), %rdx      # 0x1800e
pushq $0x10
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2359, %r15d          # imm = 0x2359
jmp 0xfd1e
leaq 0x7ca6(%rip), %rdx      # 0x17f67
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x232b, %r15d          # imm = 0x232B
jmp 0xfd1e
leaq 0x7c9d(%rip), %rdx      # 0x17f7e
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2333, %r15d          # imm = 0x2333
jmp 0xfd1e
leaq 0x7cfb(%rip), %rdx      # 0x17ffc
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2350, %r15d          # imm = 0x2350
jmp 0xfd1e
leaq 0x7bf8(%rip), %rdx      # 0x17f19
pushq $0x10
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x22e6, %r15d          # imm = 0x22E6
jmp 0xfd1e
leaq 0x7c7c(%rip), %rdx      # 0x17fbd
pushq $0x10
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2342, %r15d          # imm = 0x2342
jmp 0xfd1e
leaq 0x7d14(%rip), %rdx      # 0x18075
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x237d, %r15d          # imm = 0x237D
jmp 0xfd1e
leaq 0x7c5c(%rip), %rdx      # 0x17fdd
pushq $0x4
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2349, %r15d          # imm = 0x2349
jmp 0xfd1e
leaq 0x7c85(%rip), %rdx      # 0x18026
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2362, %r15d          # imm = 0x2362
jmp 0xfd1e
leaq 0x7b84(%rip), %rdx      # 0x17f45
pushq $0x50
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x2317, %r15d          # imm = 0x2317
jmp 0xfd1e
movq 0x8(%r14), %rax
movl (%rax), %edx
xorl %ebp, %ebp
leal -0x1(%rdx), %eax
cmpl $0x8, %eax
jb 0xfd30
movl 0x18(%rbx), %eax
cmpl $0xa, %edx
je 0x104bd
cmpl $0x9, %edx
jne 0x104ca
cmpl $0x1, %eax
ja 0xfd30
jmp 0x104c6
movl 0x18(%rbx), %edi
movq 0x8(%r14), %rax
movl (%rax), %r14d
movl $0x420028, %esi         # imm = 0x420028
movl %r14d, %edx
callq 0x6370
testl %eax, %eax
je 0x10459
movl %eax, %ebp
movq %rbx, %rdi
movl $0x420028, %esi         # imm = 0x420028
movl %r14d, %edx
movl %eax, %ecx
callq 0x6120
movl $0x2336, %r15d          # imm = 0x2336
jmp 0xfd1e
movq 0x8(%r14), %rax
movl (%rax), %edx
leal -0x1(%rdx), %eax
cmpl $0x6, %eax
jae 0x104a0
xorl %ebp, %ebp
jmp 0xfd30
leaq 0x7acf(%rip), %rdx      # 0x17f36
pushq $0x10
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x22f8, %r15d          # imm = 0x22F8
jmp 0xfd1e
leaq 0x7a69(%rip), %rdx      # 0x17ef0
pushq $0x10
popq %rsi
movq %rbx, %rdi
callq 0x6c40
pushq $-0xc
popq %rbp
movl $0x22d2, %r15d          # imm = 0x22D2
jmp 0xfd1e
pushq $-0x9
popq %rbp
movq %rbx, %rdi
movl $0x42008d, %esi         # imm = 0x42008D
movl %ebp, %ecx
callq 0x6120
movl $0x2353, %r15d          # imm = 0x2353
jmp 0xfd1e
cmpl $0x4, %eax
ja 0xfd30
pushq $-0xb
jmp 0x104cc
pushq $-0x9
popq %rbp
movq %rbx, %rdi
movl $0x420057, %esi         # imm = 0x420057
movl %ebp, %ecx
callq 0x6120
movl $0x232e, %r15d          # imm = 0x232E
jmp 0xfd1e