// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_deep_copy_attribute
int
test_deep_copy_attribute(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    Attribute expected = {0};
    kmip_init_attribute(&expected);
    Attribute *observed = NULL;

    observed = kmip_deep_copy_attribute(NULL, NULL);
    if(observed != NULL)
        TEST_FAILED(tracker, __func__, __LINE__);

    KMIP ctx = {0};
    kmip_init(&ctx, NULL, 0, KMIP_1_0);

    observed = kmip_deep_copy_attribute(&ctx, NULL);
    if(observed != NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    /* Test deep copying an "empty" attribute. */
    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying a Unique Identifier attribute. */
    TextString uuid = {0};
    uuid.value = "49a1ca88-6bea-4fb2-b450-7e58802c3038";
    uuid.size = 36;
    expected.type = KMIP_ATTR_UNIQUE_IDENTIFIER;
    expected.value = &uuid;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying an Operation Policy Name attribute. */
    TextString policy = {0};
    policy.value = "default";
    policy.size = 7;
    expected.type = KMIP_ATTR_OPERATION_POLICY_NAME;
    expected.value = &policy;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying a Name attribute. */
    TextString name_value = {0};
    name_value.value = "example";
    name_value.size = 7;
    Name name = {0};
    name.value = &name_value;
    name.type = KMIP_NAME_UNINTERPRETED_TEXT_STRING;
    expected.type = KMIP_ATTR_NAME;
    expected.value = &name;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying an Object Type attribute. */
    enum object_type object_type = KMIP_OBJTYPE_SYMMETRIC_KEY;
    expected.type = KMIP_ATTR_OBJECT_TYPE;
    expected.value = &object_type;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying a Cryptographic Algorithm attribute. */
    enum cryptographic_algorithm cryptographic_algorithm = KMIP_CRYPTOALG_AES;
    expected.type = KMIP_ATTR_CRYPTOGRAPHIC_ALGORITHM;
    expected.value = &cryptographic_algorithm;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying a Cryptographic Length attribute. */
    int32 cryptographic_length = 256;
    expected.type = KMIP_ATTR_CRYPTOGRAPHIC_LENGTH;
    expected.value = &cryptographic_length;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying a Cryptographic Usage Mask attribute. */
    int32 cryptographic_usage_mask = KMIP_CRYPTOMASK_ENCRYPT | KMIP_CRYPTOMASK_DECRYPT;
    expected.type = KMIP_ATTR_CRYPTOGRAPHIC_USAGE_MASK;
    expected.value = &cryptographic_usage_mask;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);

    /* Test deep copying a State attribute. */
    enum state state = KMIP_STATE_ACTIVE;
    expected.type = KMIP_ATTR_STATE;
    expected.value = &state;

    observed = kmip_deep_copy_attribute(&ctx, &expected);
    if(observed == NULL)
    {
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }
    if(!kmip_compare_attribute(&expected, observed))
    {
        kmip_print_attribute(stderr, 1, &expected);
        kmip_print_attribute(stderr, 1, observed);
        kmip_free_attribute(&ctx, observed);
        ctx.free_func(ctx.state, observed);
        kmip_destroy(&ctx);
        TEST_FAILED(tracker, __func__, __LINE__);
    }

    kmip_free_attribute(&ctx, observed);
    ctx.free_func(ctx.state, observed);
    kmip_destroy(&ctx);

    TEST_PASSED(tracker, __func__);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x908, %rsp            # imm = 0x908
movq %rdi, %rbx
incw (%rdi)
xorps %xmm0, %xmm0
movq %rsp, %rdi
movaps %xmm0, (%rdi)
callq 0x1388b
xorl %edi, %edi
xorl %esi, %esi
callq 0x15777
testq %rax, %rax
je 0x3fa0
leaq 0x29290(%rip), %rdi     # 0x2d222
leaq 0x29673(%rip), %rsi     # 0x2d60c
movl $0x658, %edx            # imm = 0x658
jmp 0x3fee
leaq 0x70(%rsp), %r14
movl $0x898, %edx            # imm = 0x898
movq %r14, %rdi
xorl %esi, %esi
callq 0x10c0
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x13177
movq %r14, %rdi
xorl %esi, %esi
callq 0x15777
leaq 0x70(%rsp), %rdi
testq %rax, %rax
je 0x400e
callq 0x13455
leaq 0x29240(%rip), %rdi     # 0x2d222
leaq 0x29623(%rip), %rsi     # 0x2d60c
movl $0x661, %edx            # imm = 0x661
xorl %eax, %eax
callq 0x1090
incw 0x2(%rbx)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x908, %rsp            # imm = 0x908
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rsp, %rsi
callq 0x15777
testq %rax, %rax
je 0x43b1
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x43d3
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
leaq 0x295c8(%rip), %rax     # 0x2d625
leaq 0x60(%rsp), %rcx
movq %rax, (%rcx)
movq $0x24, 0x8(%rcx)
movq %rsp, %rsi
movl $0x0, (%rsi)
movq %rcx, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x4440
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x4462
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
leaq 0x29581(%rip), %rax     # 0x2d64a
leaq 0x50(%rsp), %rcx
movq %rax, (%rcx)
movq $0x7, 0x8(%rcx)
movq %rsp, %rsi
movl $0x5, (%rsi)
movq %rcx, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x44cf
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x44f1
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
leaq 0x29447(%rip), %rax     # 0x2d57c
leaq 0x40(%rsp), %rcx
movq %rax, (%rcx)
movq $0x7, 0x8(%rcx)
leaq 0x30(%rsp), %rax
movq $0x0, 0x8(%rax)
movq %rcx, (%rax)
movl $0x1, %ebp
movl %ebp, 0x8(%rax)
movq %rsp, %rsi
movl %ebp, (%rsi)
movq %rax, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x455e
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x4580
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movl $0x2, %eax
leaq 0x2c(%rsp), %rcx
movl %eax, (%rcx)
movq %rsp, %rsi
movl %eax, (%rsi)
movq %rcx, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x45ed
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x460f
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movl $0x3, %eax
leaq 0x28(%rsp), %rcx
movl %eax, (%rcx)
movq %rsp, %rsi
movl %eax, (%rsi)
movq %rcx, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x467c
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x469e
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
leaq 0x24(%rsp), %rax
movl $0x100, (%rax)          # imm = 0x100
movq %rsp, %rsi
movl $0x4, (%rsi)
movq %rax, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x470b
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x472d
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
leaq 0x20(%rsp), %rax
movl $0xc, (%rax)
movq %rsp, %rsi
movl $0x6, (%rsi)
movq %rax, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x479a
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x47bc
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
leaq 0x1c(%rsp), %rax
movl $0x2, (%rax)
movq %rsp, %rsi
movl $0x7, (%rsi)
movq %rax, 0x8(%rsi)
movq %r15, %rdi
callq 0x15777
testq %rax, %rax
je 0x4834
movq %rax, %r14
movq %rsp, %rdi
movq %rax, %rsi
callq 0x15d75
testl %eax, %eax
je 0x485f
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28e80(%rip), %rdi     # 0x2d217
leaq 0x2926e(%rip), %rsi     # 0x2d60c
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x1090
movl $0x4, %eax
jmp 0x48d3
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28e60(%rip), %rdi     # 0x2d222
leaq 0x29243(%rip), %rsi     # 0x2d60c
movl $0x669, %edx            # imm = 0x669
jmp 0x3fee
movq 0x3ec1e(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28df3(%rip), %rdi     # 0x2d222
leaq 0x291d6(%rip), %rsi     # 0x2d60c
movl $0x672, %edx            # imm = 0x672
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28dd1(%rip), %rdi     # 0x2d222
leaq 0x291b4(%rip), %rsi     # 0x2d60c
movl $0x683, %edx            # imm = 0x683
jmp 0x3fee
movq 0x3eb8f(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28d64(%rip), %rdi     # 0x2d222
leaq 0x29147(%rip), %rsi     # 0x2d60c
movl $0x68c, %edx            # imm = 0x68C
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28d42(%rip), %rdi     # 0x2d222
leaq 0x29125(%rip), %rsi     # 0x2d60c
movl $0x69d, %edx            # imm = 0x69D
jmp 0x3fee
movq 0x3eb00(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28cd5(%rip), %rdi     # 0x2d222
leaq 0x290b8(%rip), %rsi     # 0x2d60c
movl $0x6a6, %edx            # imm = 0x6A6
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28cb3(%rip), %rdi     # 0x2d222
leaq 0x29096(%rip), %rsi     # 0x2d60c
movl $0x6ba, %edx            # imm = 0x6BA
jmp 0x4824
movq 0x3ea71(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28c46(%rip), %rdi     # 0x2d222
leaq 0x29029(%rip), %rsi     # 0x2d60c
movl $0x6c3, %edx            # imm = 0x6C3
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28c24(%rip), %rdi     # 0x2d222
leaq 0x29007(%rip), %rsi     # 0x2d60c
movl $0x6d2, %edx            # imm = 0x6D2
jmp 0x3fee
movq 0x3e9e2(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28bb7(%rip), %rdi     # 0x2d222
leaq 0x28f9a(%rip), %rsi     # 0x2d60c
movl $0x6db, %edx            # imm = 0x6DB
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28b95(%rip), %rdi     # 0x2d222
leaq 0x28f78(%rip), %rsi     # 0x2d60c
movl $0x6ea, %edx            # imm = 0x6EA
jmp 0x3fee
movq 0x3e953(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28b28(%rip), %rdi     # 0x2d222
leaq 0x28f0b(%rip), %rsi     # 0x2d60c
movl $0x6f3, %edx            # imm = 0x6F3
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28b06(%rip), %rdi     # 0x2d222
leaq 0x28ee9(%rip), %rsi     # 0x2d60c
movl $0x702, %edx            # imm = 0x702
jmp 0x3fee
movq 0x3e8c4(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28a99(%rip), %rdi     # 0x2d222
leaq 0x28e7c(%rip), %rsi     # 0x2d60c
movl $0x70b, %edx            # imm = 0x70B
jmp 0x4824
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x28a77(%rip), %rdi     # 0x2d222
leaq 0x28e5a(%rip), %rsi     # 0x2d60c
movl $0x71a, %edx            # imm = 0x71A
jmp 0x3fee
movq 0x3e835(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28a0a(%rip), %rdi     # 0x2d222
leaq 0x28ded(%rip), %rsi     # 0x2d60c
movl $0x723, %edx            # imm = 0x723
xorl %eax, %eax
callq 0x1090
incw 0x2(%rbx)
jmp 0x3ffe
leaq 0x70(%rsp), %rdi
callq 0x13455
leaq 0x289dd(%rip), %rdi     # 0x2d222
leaq 0x28dc0(%rip), %rsi     # 0x2d60c
movl $0x732, %edx            # imm = 0x732
xorl %eax, %eax
callq 0x1090
movl $0x1, %ebp
jmp 0x48ce
movq 0x3e792(%rip), %r15     # 0x42ff8
movq (%r15), %rdi
movl $0x1, %ebp
movq %rsp, %rdx
movl $0x1, %esi
callq 0x2b53a
movq (%r15), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x2b53a
leaq 0x70(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x13afe
movq 0x890(%r15), %rdi
movq %r14, %rsi
callq *0x878(%r15)
movq %r15, %rdi
callq 0x13455
leaq 0x28967(%rip), %rdi     # 0x2d222
leaq 0x28d4a(%rip), %rsi     # 0x2d60c
movl $0x73b, %edx            # imm = 0x73B
xorl %eax, %eax
callq 0x1090
movl $0x2, %eax
incw (%rbx,%rax)
jmp 0x3ffe