// File: /workspace/github_c_makefile_star2_O3/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 0x11ba5
leaq 0xeae9(%rip), %rsi      # 0x20677
movq %rbx, %rdi
movl $0x22a8, %edx           # imm = 0x22A8
callq 0x6de0
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
jmp 0x121d2
movq %rsi, %r14
testq %rsi, %rsi
je 0x11bc2
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, (%r14)
movq $0x0, 0x8(%r14)
xorl %eax, %eax
leaq 0xc(%rsp), %r15
movl %eax, (%r15)
movl %eax, 0x8(%rsp)
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6a10
movl (%r15), %eax
movl %eax, %ecx
andl $0xffffff00, %ecx       # imm = 0xFFFFFF00
movl $0x22b1, %r15d          # imm = 0x22B1
cmpl $0x42000800, %ecx       # imm = 0x42000800
jne 0x121bb
movl $0xfffffffb, %ebp       # imm = 0xFFFFFFFB
cmpb $0x1, %al
jne 0x121c0
leaq 0x8(%rsp), %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x64b0
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %rax
addq (%rbx), %rax
movl (%r15), %ecx
cmpq %rcx, %rax
jae 0x11c38
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl $0x22b4, %r15d          # imm = 0x22B4
jmp 0x121c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6bc0
testl %eax, %eax
je 0x11c54
movl %eax, %ebp
movl $0x22b7, %r15d          # imm = 0x22B7
jmp 0x121c0
movq 0x8(%rbx), %r12
movq 0x10(%rbx), %rax
subq %r12, %rax
addq (%rbx), %rax
cmpq $0x3, %rax
jb 0x11cb0
movzbl (%r12), %eax
shll $0x10, %eax
movzbl 0x1(%r12), %ecx
shll $0x8, %ecx
orl %eax, %ecx
movzbl 0x2(%r12), %eax
orl %ecx, %eax
cmpl $0x420009, %eax         # imm = 0x420009
jne 0x11cb0
leaq 0x4(%r14), %rdx
movq %rbx, %rdi
movl $0x420009, %esi         # imm = 0x420009
callq 0x60d0
testl %eax, %eax
je 0x11cac
movl %eax, %ebp
movl $0x22bc, %r15d          # imm = 0x22BC
jmp 0x121c0
movq 0x8(%rbx), %r12
movl (%r14), %eax
cmpq $0xe, %rax
ja 0x11f10
leaq 0xc7a0(%rip), %rcx      # 0x1e464
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x122d7
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6540
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x22e8, %r15d          # imm = 0x22E8
jmp 0x121c0
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movl $0x1, %edx
callq 0x6810
movl $0x2326, %r15d          # imm = 0x2326
testl %eax, %eax
je 0x121bb
movq %rbx, %rdi
movl $0x42002b01, %esi       # imm = 0x42002B01
callq 0x60a0
movq %r12, 0x8(%rbx)
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x50, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1238b
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
pcmpeqd %xmm1, %xmm1
movdqu %xmm1, 0x18(%rax)
movdqu %xmm1, 0x28(%rax)
movups %xmm0, 0x38(%rax)
movl $0xffffffff, 0x48(%rax) # imm = 0xFFFFFFFF
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x6cd0
jmp 0x12197
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x121e1
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6aa0
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x236e, %r15d          # imm = 0x236E
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x4, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12202
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x60d0
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x233d, %r15d          # imm = 0x233D
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12223
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6aa0
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x2377, %r15d          # imm = 0x2377
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12247
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6540
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x235b, %r15d          # imm = 0x235B
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x4, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1226b
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x123af
movl %eax, %ebp
movl $0x232d, %r15d          # imm = 0x232D
jmp 0x121c0
movl $0xfffffffd, %ebp       # imm = 0xFFFFFFFD
movl $0x2384, %r15d          # imm = 0x2384
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x4, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1228f
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x123f2
movl %eax, %ebp
movl $0x2335, %r15d          # imm = 0x2335
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x4, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x122b3
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6ae0
testl %eax, %eax
je 0x1242c
movl %eax, %ebp
movl $0x2352, %r15d          # imm = 0x2352
jmp 0x121c0
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movl $0x1, %edx
callq 0x6810
movl $0x2306, %r15d          # imm = 0x2306
testl %eax, %eax
je 0x121bb
movq %rbx, %rdi
movl $0x42005301, %esi       # imm = 0x42005301
callq 0x60a0
movq %r12, 0x8(%rbx)
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12441
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6dc0
jmp 0x12197
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x122fb
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6540
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x2344, %r15d          # imm = 0x2344
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x1231f
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6aa0
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x2380, %r15d          # imm = 0x2380
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x4, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12343
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x60d0
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x234b, %r15d          # imm = 0x234B
jmp 0x121c0
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x8, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12367
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movq %rax, %rdx
callq 0x6aa0
testl %eax, %eax
je 0x1243a
movl %eax, %ebp
movl $0x2365, %r15d          # imm = 0x2365
jmp 0x121c0
movq %rbx, %rdi
movl $0x42000b, %esi         # imm = 0x42000B
movl $0x1, %edx
callq 0x6810
movl $0x22e0, %r15d          # imm = 0x22E0
testl %eax, %eax
je 0x121bb
movq %rbx, %rdi
movl $0x42000401, %esi       # imm = 0x42000401
callq 0x60a0
movq %r12, 0x8(%rbx)
movq 0x890(%rbx), %rdi
movl $0x1, %esi
movl $0x10, %edx
callq *0x868(%rbx)
movq %rax, 0x8(%r14)
testq %rax, %rax
je 0x12465
movq %rbx, %rdi
movq %rax, %rsi
callq 0x6710
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 0x121c0
jmp 0x1243a
movl $0xfffffffc, %ebp       # imm = 0xFFFFFFFC
leaq 0xe4b0(%rip), %rsi      # 0x20677
movq %rbx, %rdi
movl %r15d, %edx
callq 0x6de0
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0xe5f7(%rip), %rdx      # 0x207df
movl $0x8, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x236b, %r15d          # imm = 0x236B
jmp 0x121c0
leaq 0xe538(%rip), %rdx      # 0x20741
movl $0x4, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x233b, %r15d          # imm = 0x233B
jmp 0x121c0
leaq 0xe5d0(%rip), %rdx      # 0x207fa
movl $0x8, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2374, %r15d          # imm = 0x2374
jmp 0x121c0
leaq 0xe560(%rip), %rdx      # 0x207ae
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2359, %r15d          # imm = 0x2359
jmp 0x121c0
leaq 0xe495(%rip), %rdx      # 0x20707
movl $0x4, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x232b, %r15d          # imm = 0x232B
jmp 0x121c0
leaq 0xe488(%rip), %rdx      # 0x2071e
movl $0x4, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2333, %r15d          # imm = 0x2333
jmp 0x121c0
leaq 0xe4e2(%rip), %rdx      # 0x2079c
movl $0x4, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2350, %r15d          # imm = 0x2350
jmp 0x121c0
leaq 0xe3db(%rip), %rdx      # 0x206b9
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x22e6, %r15d          # imm = 0x22E6
jmp 0x121c0
leaq 0xe45b(%rip), %rdx      # 0x2075d
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2342, %r15d          # imm = 0x2342
jmp 0x121c0
leaq 0xe4ef(%rip), %rdx      # 0x20815
movl $0x8, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x237d, %r15d          # imm = 0x237D
jmp 0x121c0
leaq 0xe433(%rip), %rdx      # 0x2077d
movl $0x4, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2349, %r15d          # imm = 0x2349
jmp 0x121c0
leaq 0xe458(%rip), %rdx      # 0x207c6
movl $0x8, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2362, %r15d          # imm = 0x2362
jmp 0x121c0
leaq 0xe353(%rip), %rdx      # 0x206e5
movl $0x50, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x2317, %r15d          # imm = 0x2317
jmp 0x121c0
movq 0x8(%r14), %rax
movl (%rax), %edx
xorl %ebp, %ebp
leal -0x1(%rdx), %eax
cmpl $0x8, %eax
jb 0x121d2
movl 0x18(%rbx), %eax
cmpl $0xa, %edx
je 0x124ab
movl $0xfffffff7, %r14d      # imm = 0xFFFFFFF7
cmpl $0x9, %edx
jne 0x124ba
movl $0xfffffff5, %r14d      # imm = 0xFFFFFFF5
cmpl $0x1, %eax
ja 0x121d2
jmp 0x124ba
movl 0x18(%rbx), %edi
movq 0x8(%r14), %rax
movl (%rax), %r14d
movl $0x420028, %esi         # imm = 0x420028
movl %r14d, %edx
callq 0x6350
testl %eax, %eax
je 0x1243a
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 0x121c0
movq 0x8(%r14), %rax
movl (%rax), %edx
leal -0x1(%rdx), %eax
cmpl $0x6, %eax
jae 0x12489
xorl %ebp, %ebp
jmp 0x121d2
leaq 0xe28e(%rip), %rdx      # 0x206d6
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x22f8, %r15d          # imm = 0x22F8
jmp 0x121c0
leaq 0xe224(%rip), %rdx      # 0x20690
movl $0x10, %esi
movq %rbx, %rdi
callq 0x6ba0
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movl $0x22d2, %r15d          # imm = 0x22D2
jmp 0x121c0
movl $0xfffffff7, %ebp       # imm = 0xFFFFFFF7
movq %rbx, %rdi
movl $0x42008d, %esi         # imm = 0x42008D
movl $0xfffffff7, %ecx       # imm = 0xFFFFFFF7
callq 0x6120
movl $0x2353, %r15d          # imm = 0x2353
jmp 0x121c0
movl $0xfffffff5, %r14d      # imm = 0xFFFFFFF5
cmpl $0x4, %eax
ja 0x121d2
movq %rbx, %rdi
movl $0x420057, %esi         # imm = 0x420057
movl %r14d, %ecx
callq 0x6120
movl $0x232e, %r15d          # imm = 0x232E
movl %r14d, %ebp
jmp 0x121c0