LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_cryptographic_parameters
int
test_decode_cryptographic_parameters(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[72] = {
        0x42, 0x00, 0x2B, 0x01, 0x00, 0x00, 0x00, 0x40,
        0x42, 0x00, 0x11, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
        0x42, 0x00, 0x5F, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00,
        0x42, 0x00, 0x38, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
        0x42, 0x00, 0x83, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x0B, 0x00, 0x00, 0x00, 0x00
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    struct cryptographic_parameters expected = {0};
    kmip_init_cryptographic_parameters(&expected);
    expected.block_cipher_mode = KMIP_BLOCK_CBC;
    expected.padding_method = KMIP_PAD_PKCS5;
    expected.hashing_algorithm = KMIP_HASH_SHA1;
    expected.key_role_type = KMIP_ROLE_KEK;
    struct cryptographic_parameters observed = {0};
    kmip_init_cryptographic_parameters(&observed);
    
    int result = kmip_decode_cryptographic_parameters(&ctx, &observed);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_cryptographic_parameters(&expected, &observed),
        result,
        __func__);
    kmip_free_cryptographic_parameters(&ctx, &observed);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x9a0, %rsp            # imm = 0x9A0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x50(%rbp), %rdi
leaq 0x376d8(%rip), %rsi     # 0x42380
movl $0x48, %edx
callq 0x10c0
leaq -0x8e8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x50(%rbp), %rsi
leaq -0x8e8(%rbp), %rdi
movl $0x48, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x938(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x1090
leaq -0x938(%rbp), %rdi
callq 0x1d370
movl $0x1, -0x938(%rbp)
movl $0x3, -0x934(%rbp)
movl $0x4, -0x930(%rbp)
movl $0xb, -0x92c(%rbp)
leaq -0x988(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x1090
leaq -0x988(%rbp), %rdi
callq 0x1d370
leaq -0x8e8(%rbp), %rdi
leaq -0x988(%rbp), %rsi
callq 0x2d860
movl %eax, -0x98c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x998(%rbp)
leaq -0x938(%rbp), %rdi
leaq -0x988(%rbp), %rsi
callq 0x21300
movq -0x998(%rbp), %rdi
movl %eax, %edx
movl -0x98c(%rbp), %ecx
leaq -0x8e8(%rbp), %rsi
leaq 0x34fd6(%rip), %r8      # 0x3fd6c
callq 0x13a0
movl %eax, -0x98c(%rbp)
leaq -0x8e8(%rbp), %rdi
leaq -0x988(%rbp), %rsi
callq 0x1db10
leaq -0x8e8(%rbp), %rdi
callq 0x1cab0
movl -0x98c(%rbp), %eax
addq $0x9a0, %rsp            # imm = 0x9A0
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_encryption_key_information
int
test_encode_encryption_key_information(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[80] = {
        0x42, 0x00, 0x36, 0x01, 0x00, 0x00, 0x00, 0x48,
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24,
        0x31, 0x30, 0x30, 0x31, 0x38, 0x32, 0x64, 0x35,
        0x2D, 0x37, 0x32, 0x62, 0x38, 0x2D, 0x34, 0x37, 
        0x61, 0x61, 0x2D, 0x38, 0x33, 0x38, 0x33, 0x2D,
        0x34, 0x64, 0x39, 0x37, 0x64, 0x35, 0x31, 0x32, 
        0x65, 0x39, 0x38, 0x61, 0x00, 0x00, 0x00, 0x00,
        0x42, 0x00, 0x2B, 0x01, 0x00, 0x00, 0x00, 0x10, 
        0x42, 0x00, 0x11, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[80] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "100182d5-72b8-47aa-8383-4d97d512e98a";
    uuid.size = 36;
    
    struct cryptographic_parameters cp = {0};
    cp.block_cipher_mode = KMIP_BLOCK_NIST_KEY_WRAP;
    
    struct encryption_key_information eki = {0};
    eki.unique_identifier = &uuid;
    eki.cryptographic_parameters = &cp;
    
    int result = kmip_encode_encryption_key_information(&ctx, &eki);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x9c0, %rsp            # imm = 0x9C0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x60(%rbp), %rdi
leaq 0x375d8(%rip), %rsi     # 0x423d0
movl $0x50, %edx
callq 0x10c0
leaq -0xb0(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x1090
leaq -0x948(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0xb0(%rbp), %rsi
leaq -0x948(%rbp), %rdi
movl $0x50, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x958(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x34f35(%rip), %rax     # 0x3fd91
movq %rax, -0x958(%rbp)
movq $0x24, -0x950(%rbp)
leaq -0x9a8(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x1090
movl $0xd, -0x9a8(%rbp)
leaq -0x9b8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x958(%rbp), %rax
movq %rax, -0x9b8(%rbp)
leaq -0x9a8(%rbp), %rax
movq %rax, -0x9b0(%rbp)
leaq -0x948(%rbp), %rdi
leaq -0x9b8(%rbp), %rsi
callq 0x26df0
movl %eax, -0x9bc(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x60(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
movl -0x9bc(%rbp), %r8d
leaq -0x948(%rbp), %rsi
leaq 0x34ebf(%rip), %r9      # 0x3fdb6
callq 0x11f0
movl %eax, -0x9bc(%rbp)
leaq -0x948(%rbp), %rdi
callq 0x1cab0
movl -0x9bc(%rbp), %eax
addq $0x9c0, %rsp            # imm = 0x9C0
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_mac_signature_key_information
int
test_encode_mac_signature_key_information(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[80] = {
        0x42, 0x00, 0x4E, 0x01, 0x00, 0x00, 0x00, 0x48,
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24,
        0x31, 0x30, 0x30, 0x31, 0x38, 0x32, 0x64, 0x35,
        0x2D, 0x37, 0x32, 0x62, 0x38, 0x2D, 0x34, 0x37, 
        0x61, 0x61, 0x2D, 0x38, 0x33, 0x38, 0x33, 0x2D,
        0x34, 0x64, 0x39, 0x37, 0x64, 0x35, 0x31, 0x32, 
        0x65, 0x39, 0x38, 0x61, 0x00, 0x00, 0x00, 0x00,
        0x42, 0x00, 0x2B, 0x01, 0x00, 0x00, 0x00, 0x10, 
        0x42, 0x00, 0x11, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x0D, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[80] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "100182d5-72b8-47aa-8383-4d97d512e98a";
    uuid.size = 36;

    struct cryptographic_parameters cp = {0};
    cp.block_cipher_mode = KMIP_BLOCK_NIST_KEY_WRAP;

    struct mac_signature_key_information mski = {0};
    mski.unique_identifier = &uuid;
    mski.cryptographic_parameters = &cp;
    
    int result = kmip_encode_mac_signature_key_information(&ctx, &mski);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x9c0, %rsp            # imm = 0x9C0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x60(%rbp), %rdi
leaq 0x373a8(%rip), %rsi     # 0x42470
movl $0x50, %edx
callq 0x10c0
leaq -0xb0(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x1090
leaq -0x948(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0xb0(%rbp), %rsi
leaq -0x948(%rbp), %rdi
movl $0x50, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x958(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x34c65(%rip), %rax     # 0x3fd91
movq %rax, -0x958(%rbp)
movq $0x24, -0x950(%rbp)
leaq -0x9a8(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x1090
movl $0xd, -0x9a8(%rbp)
leaq -0x9b8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x958(%rbp), %rax
movq %rax, -0x9b8(%rbp)
leaq -0x9a8(%rbp), %rax
movq %rax, -0x9b0(%rbp)
leaq -0x948(%rbp), %rdi
leaq -0x9b8(%rbp), %rsi
callq 0x26f60
movl %eax, -0x9bc(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x60(%rbp), %rdx
leaq -0xb0(%rbp), %rcx
movl -0x9bc(%rbp), %r8d
leaq -0x948(%rbp), %rsi
leaq 0x34c3d(%rip), %r9      # 0x3fe04
callq 0x11f0
movl %eax, -0x9bc(%rbp)
leaq -0x948(%rbp), %rdi
callq 0x1cab0
movl -0x9bc(%rbp), %eax
addq $0x9c0, %rsp            # imm = 0x9C0
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_key_material_byte_string
int
test_encode_key_material_byte_string(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[24] = {
        0x42, 0x00, 0x43, 0x08, 0x00, 0x00, 0x00, 0x10,
        0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
        0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF
    };
    
    uint8 observed[24] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    uint8 value[16] = {
        0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
        0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF
    };
    struct byte_string key = {0};
    key.value = value;
    key.size = ARRAY_LENGTH(value);
    
    int result = kmip_encode_key_material(&ctx, KMIP_KEYFORMAT_RAW, &key);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x910, %rsp            # imm = 0x910
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
movq 0x36f2c(%rip), %rax     # 0x425f0
movq %rax, -0x20(%rbp)
movq 0x36f29(%rip), %rax     # 0x425f8
movq %rax, -0x18(%rbp)
movq 0x36f26(%rip), %rax     # 0x42600
movq %rax, -0x10(%rbp)
leaq -0x40(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
leaq -0x8d8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x40(%rbp), %rsi
leaq -0x8d8(%rbp), %rdi
movl $0x18, %edx
xorl %ecx, %ecx
callq 0x1c6e0
movq 0x3ba71(%rip), %rax     # 0x47190
movq %rax, -0x8f0(%rbp)
movq 0x3ba6b(%rip), %rax     # 0x47198
movq %rax, -0x8e8(%rbp)
leaq -0x900(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x8f0(%rbp), %rax
movq %rax, -0x900(%rbp)
movq $0x10, -0x8f8(%rbp)
leaq -0x8d8(%rbp), %rdi
movl $0x1, %esi
leaq -0x900(%rbp), %rdx
callq 0x27490
movl %eax, -0x904(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x20(%rbp), %rdx
leaq -0x40(%rbp), %rcx
movl -0x904(%rbp), %r8d
leaq -0x8d8(%rbp), %rsi
leaq 0x346f5(%rip), %r9      # 0x3fe94
callq 0x11f0
movl %eax, -0x904(%rbp)
leaq -0x8d8(%rbp), %rdi
callq 0x1cab0
movl -0x904(%rbp), %eax
addq $0x910, %rsp            # imm = 0x910
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_key_material_byte_string
int
test_decode_key_material_byte_string(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[24] = {
        0x42, 0x00, 0x43, 0x08, 0x00, 0x00, 0x00, 0x10,
        0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
        0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    uint8 value[16] = {
        0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77,
        0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF
    };
    struct byte_string expected = {0};
    expected.value = value;
    expected.size = ARRAY_LENGTH(value);
    
    struct byte_string *expected_ptr = &expected;
    struct byte_string *observed_ptr = NULL;
    
    int result = kmip_decode_key_material(
        &ctx,
        KMIP_KEYFORMAT_RAW,
        (void**)&observed_ptr);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_key_material(KMIP_KEYFORMAT_RAW, (void**)&expected_ptr, (void**)&observed_ptr),
        result,
        __func__);
    kmip_free_key_material(&ctx, KMIP_KEYFORMAT_RAW, (void**)&observed_ptr);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x900, %rsp            # imm = 0x900
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
movq 0x36e1c(%rip), %rax     # 0x42610
movq %rax, -0x20(%rbp)
movq 0x36e19(%rip), %rax     # 0x42618
movq %rax, -0x18(%rbp)
movq 0x36e16(%rip), %rax     # 0x42620
movq %rax, -0x10(%rbp)
leaq -0x8b8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x20(%rbp), %rsi
leaq -0x8b8(%rbp), %rdi
movl $0x18, %edx
xorl %ecx, %ecx
callq 0x1c6e0
movq 0x3b951(%rip), %rax     # 0x47190
movq %rax, -0x8d0(%rbp)
movq 0x3b94b(%rip), %rax     # 0x47198
movq %rax, -0x8c8(%rbp)
leaq -0x8e0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x8d0(%rbp), %rax
movq %rax, -0x8e0(%rbp)
movq $0x10, -0x8d8(%rbp)
leaq -0x8e0(%rbp), %rax
movq %rax, -0x8e8(%rbp)
movq $0x0, -0x8f0(%rbp)
leaq -0x8b8(%rbp), %rdi
movl $0x1, %esi
leaq -0x8f0(%rbp), %rdx
callq 0x2fbb0
movl %eax, -0x8f4(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x900(%rbp)
movl $0x1, %edi
leaq -0x8e8(%rbp), %rsi
leaq -0x8f0(%rbp), %rdx
callq 0x219a0
movq -0x900(%rbp), %rdi
movl %eax, %edx
movl -0x8f4(%rbp), %ecx
leaq -0x8b8(%rbp), %rsi
leaq 0x345c2(%rip), %r8      # 0x3feb9
callq 0x13a0
movl %eax, -0x8f4(%rbp)
leaq -0x8b8(%rbp), %rdi
movl $0x1, %esi
leaq -0x8f0(%rbp), %rdx
callq 0x1de00
leaq -0x8b8(%rbp), %rdi
callq 0x1cab0
movl -0x8f4(%rbp), %eax
addq $0x900, %rsp            # imm = 0x900
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_key_material_transparent_symmetric_key
int
test_encode_key_material_transparent_symmetric_key(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[48] = {
        0x42, 0x00, 0x43, 0x01, 0x00, 0x00, 0x00, 0x28, 
        0x42, 0x00, 0x3F, 0x08, 0x00, 0x00, 0x00, 0x20, 
        0x00, 0x00, 0x11, 0x11, 0x22, 0x22, 0x33, 0x33, 
        0x44, 0x44, 0x55, 0x55, 0x66, 0x66, 0x77, 0x77,
        0x88, 0x88, 0x99, 0x99, 0xAA, 0xAA, 0xBB, 0xBB,
        0xCC, 0xCC, 0xDD, 0xDD, 0xEE, 0xEE, 0xFF, 0xFF
    };
    
    uint8 observed[48] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    uint8 value[32] = {
        0x00, 0x00, 0x11, 0x11, 0x22, 0x22, 0x33, 0x33, 
        0x44, 0x44, 0x55, 0x55, 0x66, 0x66, 0x77, 0x77,
        0x88, 0x88, 0x99, 0x99, 0xAA, 0xAA, 0xBB, 0xBB,
        0xCC, 0xCC, 0xDD, 0xDD, 0xEE, 0xEE, 0xFF, 0xFF
    };
    struct byte_string key = {0};
    key.value = value;
    key.size = ARRAY_LENGTH(value);
    struct transparent_symmetric_key tsk = {0};
    tsk.key = &key;
    
    int result = kmip_encode_key_material(&ctx, KMIP_KEYFORMAT_TRANS_SYMMETRIC_KEY, &tsk);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x950, %rsp            # imm = 0x950
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x36cc8(%rip), %rsi     # 0x42630
movl $0x30, %edx
callq 0x10c0
leaq -0x70(%rbp), %rdi
xorl %esi, %esi
movl $0x30, %edx
callq 0x1090
leaq -0x908(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x70(%rbp), %rsi
leaq -0x908(%rbp), %rdi
movl $0x30, %edx
xorl %ecx, %ecx
callq 0x1c6e0
movq 0x3b8ad(%rip), %rax     # 0x47260
movq %rax, -0x930(%rbp)
movq 0x3b8a7(%rip), %rax     # 0x47268
movq %rax, -0x928(%rbp)
movq 0x3b8a1(%rip), %rax     # 0x47270
movq %rax, -0x920(%rbp)
movq 0x3b89b(%rip), %rax     # 0x47278
movq %rax, -0x918(%rbp)
leaq -0x940(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x930(%rbp), %rax
movq %rax, -0x940(%rbp)
movq $0x20, -0x938(%rbp)
leaq -0x948(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x940(%rbp), %rax
movq %rax, -0x948(%rbp)
leaq -0x908(%rbp), %rdi
movl $0x7, %esi
leaq -0x948(%rbp), %rdx
callq 0x27490
movl %eax, -0x94c(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x40(%rbp), %rdx
leaq -0x70(%rbp), %rcx
movl -0x94c(%rbp), %r8d
leaq -0x908(%rbp), %rsi
leaq 0x3446e(%rip), %r9      # 0x3fede
callq 0x11f0
movl %eax, -0x94c(%rbp)
leaq -0x908(%rbp), %rdi
callq 0x1cab0
movl -0x94c(%rbp), %eax
addq $0x950, %rsp            # imm = 0x950
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_key_value
int
test_encode_key_value(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[32] = {
        0x42, 0x00, 0x45, 0x01, 0x00, 0x00, 0x00, 0x18,
        0x42, 0x00, 0x43, 0x08, 0x00, 0x00, 0x00, 0x10,
        0xD3, 0x51, 0x91, 0x0F, 0x1D, 0x79, 0x34, 0xD6,
        0xE2, 0xAE, 0x17, 0x57, 0x65, 0x64, 0xE2, 0xBC
    };
    
    uint8 observed[32] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    uint8 value[16] = {
        0xD3, 0x51, 0x91, 0x0F, 0x1D, 0x79, 0x34, 0xD6,
        0xE2, 0xAE, 0x17, 0x57, 0x65, 0x64, 0xE2, 0xBC
    };
    struct byte_string key = {0};
    key.value = value;
    key.size = ARRAY_LENGTH(value);
    
    struct key_value kv = {0};
    kv.key_material = &key;
    
    int result = kmip_encode_key_value(&ctx, KMIP_KEYFORMAT_RAW, &kv);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x930, %rsp            # imm = 0x930
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
movq 0x3b61c(%rip), %rax     # 0x47280
movq %rax, -0x30(%rbp)
movq 0x3b619(%rip), %rax     # 0x47288
movq %rax, -0x28(%rbp)
movq 0x3b616(%rip), %rax     # 0x47290
movq %rax, -0x20(%rbp)
movq 0x3b613(%rip), %rax     # 0x47298
movq %rax, -0x18(%rbp)
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
leaq -0x8e8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x50(%rbp), %rsi
leaq -0x8e8(%rbp), %rdi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x1c6e0
movq 0x3b4d6(%rip), %rax     # 0x471a0
movq %rax, -0x900(%rbp)
movq 0x3b4d0(%rip), %rax     # 0x471a8
movq %rax, -0x8f8(%rbp)
leaq -0x910(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x900(%rbp), %rax
movq %rax, -0x910(%rbp)
movq $0x10, -0x908(%rbp)
leaq -0x928(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
leaq -0x910(%rbp), %rax
movq %rax, -0x928(%rbp)
leaq -0x8e8(%rbp), %rdi
movl $0x1, %esi
leaq -0x928(%rbp), %rdx
callq 0x27720
movl %eax, -0x92c(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x30(%rbp), %rdx
leaq -0x50(%rbp), %rcx
movl -0x92c(%rbp), %r8d
leaq -0x8e8(%rbp), %rsi
leaq 0x341d9(%rip), %r9      # 0x3ff44
callq 0x11f0
movl %eax, -0x92c(%rbp)
leaq -0x8e8(%rbp), %rdi
callq 0x1cab0
movl -0x92c(%rbp), %eax
addq $0x930, %rsp            # imm = 0x930
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_key_value
int
test_decode_key_value(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[32] = {
        0x42, 0x00, 0x45, 0x01, 0x00, 0x00, 0x00, 0x18,
        0x42, 0x00, 0x43, 0x08, 0x00, 0x00, 0x00, 0x10,
        0xD3, 0x51, 0x91, 0x0F, 0x1D, 0x79, 0x34, 0xD6,
        0xE2, 0xAE, 0x17, 0x57, 0x65, 0x64, 0xE2, 0xBC
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    uint8 value[16] = {
        0xD3, 0x51, 0x91, 0x0F, 0x1D, 0x79, 0x34, 0xD6,
        0xE2, 0xAE, 0x17, 0x57, 0x65, 0x64, 0xE2, 0xBC
    };
    struct byte_string key = {0};
    key.value = value;
    key.size = ARRAY_LENGTH(value);
    
    struct key_value expected = {0};
    expected.key_material = &key;
    struct key_value observed = {0};
    
    int result = kmip_decode_key_value(&ctx, KMIP_KEYFORMAT_RAW, &observed);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_key_value(KMIP_KEYFORMAT_RAW, &expected, &observed),
        result,
        __func__);
    kmip_free_key_value(&ctx, KMIP_KEYFORMAT_RAW, &observed);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x930, %rsp            # imm = 0x930
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
movq 0x3b4bc(%rip), %rax     # 0x47280
movq %rax, -0x30(%rbp)
movq 0x3b4b9(%rip), %rax     # 0x47288
movq %rax, -0x28(%rbp)
movq 0x3b4b6(%rip), %rax     # 0x47290
movq %rax, -0x20(%rbp)
movq 0x3b4b3(%rip), %rax     # 0x47298
movq %rax, -0x18(%rbp)
leaq -0x8c8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x30(%rbp), %rsi
leaq -0x8c8(%rbp), %rdi
movl $0x20, %edx
xorl %ecx, %ecx
callq 0x1c6e0
movq 0x3b386(%rip), %rax     # 0x471a0
movq %rax, -0x8e0(%rbp)
movq 0x3b380(%rip), %rax     # 0x471a8
movq %rax, -0x8d8(%rbp)
leaq -0x8f0(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq -0x8e0(%rbp), %rax
movq %rax, -0x8f0(%rbp)
movq $0x10, -0x8e8(%rbp)
leaq -0x908(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
leaq -0x8f0(%rbp), %rax
movq %rax, -0x908(%rbp)
leaq -0x920(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
leaq -0x8c8(%rbp), %rdi
movl $0x1, %esi
leaq -0x920(%rbp), %rdx
callq 0x2fd90
movl %eax, -0x924(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x930(%rbp)
movl $0x1, %edi
leaq -0x908(%rbp), %rsi
leaq -0x920(%rbp), %rdx
callq 0x21a90
movq -0x930(%rbp), %rdi
movl %eax, %edx
movl -0x924(%rbp), %ecx
leaq -0x8c8(%rbp), %rsi
leaq 0x3406d(%rip), %r8      # 0x3ff5a
callq 0x13a0
movl %eax, -0x924(%rbp)
leaq -0x8c8(%rbp), %rdi
movl $0x1, %esi
leaq -0x920(%rbp), %rdx
callq 0x1dea0
leaq -0x8c8(%rbp), %rdi
callq 0x1cab0
movl -0x924(%rbp), %eax
addq $0x930, %rsp            # imm = 0x930
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_create_response_payload
int
test_encode_create_response_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[72] = {
        0x42, 0x00, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x40, 
        0x42, 0x00, 0x57, 0x05, 0x00, 0x00, 0x00, 0x04, 
        0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x66, 0x62, 0x34, 0x62, 0x35, 0x62, 0x39, 0x63, 
        0x2D, 0x36, 0x31, 0x38, 0x38, 0x2D, 0x34, 0x63, 
        0x36, 0x33, 0x2D, 0x38, 0x31, 0x34, 0x32, 0x2D, 
        0x66, 0x65, 0x39, 0x63, 0x33, 0x32, 0x38, 0x31, 
        0x32, 0x39, 0x66, 0x63, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[72] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "fb4b5b9c-6188-4c63-8142-fe9c328129fc";
    uuid.size = 36;
    
    struct create_response_payload crp = {0};
    crp.object_type = KMIP_OBJTYPE_SYMMETRIC_KEY;
    crp.unique_identifier = &uuid;
    
    int result = kmip_encode_create_response_payload(&ctx, &crp);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x970, %rsp            # imm = 0x970
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x50(%rbp), %rdi
leaq 0x36148(%rip), %rsi     # 0x44570
movl $0x48, %edx
callq 0x10c0
leaq -0xa0(%rbp), %rdi
xorl %esi, %esi
movl $0x48, %edx
callq 0x1090
leaq -0x938(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0xa0(%rbp), %rsi
leaq -0x938(%rbp), %rdi
movl $0x48, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x948(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x31d7f(%rip), %rax     # 0x4020b
movq %rax, -0x948(%rbp)
movq $0x24, -0x940(%rbp)
leaq -0x960(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
movl $0x2, -0x960(%rbp)
leaq -0x948(%rbp), %rax
movq %rax, -0x958(%rbp)
leaq -0x938(%rbp), %rdi
leaq -0x960(%rbp), %rsi
callq 0x284c0
movl %eax, -0x964(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x50(%rbp), %rdx
leaq -0xa0(%rbp), %rcx
movl -0x964(%rbp), %r8d
leaq -0x938(%rbp), %rsi
leaq 0x31d2a(%rip), %r9      # 0x40230
callq 0x11f0
movl %eax, -0x964(%rbp)
leaq -0x938(%rbp), %rdi
callq 0x1cab0
movl -0x964(%rbp), %eax
addq $0x970, %rsp            # imm = 0x970
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_create_response_payload
int
test_decode_create_response_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[72] = {
        0x42, 0x00, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x40, 
        0x42, 0x00, 0x57, 0x05, 0x00, 0x00, 0x00, 0x04, 
        0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x66, 0x62, 0x34, 0x62, 0x35, 0x62, 0x39, 0x63, 
        0x2D, 0x36, 0x31, 0x38, 0x38, 0x2D, 0x34, 0x63, 
        0x36, 0x33, 0x2D, 0x38, 0x31, 0x34, 0x32, 0x2D, 
        0x66, 0x65, 0x39, 0x63, 0x33, 0x32, 0x38, 0x31, 
        0x32, 0x39, 0x66, 0x63, 0x00, 0x00, 0x00, 0x00
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "fb4b5b9c-6188-4c63-8142-fe9c328129fc";
    uuid.size = 36;
    
    struct create_response_payload expected = {0};
    expected.object_type = KMIP_OBJTYPE_SYMMETRIC_KEY;
    expected.unique_identifier = &uuid;
    
    struct create_response_payload observed = {0};
    
    int result = kmip_decode_create_response_payload(&ctx, &observed);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_create_response_payload(&expected, &observed),
        result,
        __func__);
    kmip_free_create_response_payload(&ctx, &observed);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x940, %rsp            # imm = 0x940
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x50(%rbp), %rdi
leaq 0x36068(%rip), %rsi     # 0x445c0
movl $0x48, %edx
callq 0x10c0
leaq -0x8e8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x50(%rbp), %rsi
leaq -0x8e8(%rbp), %rdi
movl $0x48, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x8f8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x31c65(%rip), %rax     # 0x4020b
movq %rax, -0x8f8(%rbp)
movq $0x24, -0x8f0(%rbp)
leaq -0x910(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
movl $0x2, -0x910(%rbp)
leaq -0x8f8(%rbp), %rax
movq %rax, -0x908(%rbp)
leaq -0x928(%rbp), %rdi
xorl %esi, %esi
movl $0x18, %edx
callq 0x1090
leaq -0x8e8(%rbp), %rdi
leaq -0x928(%rbp), %rsi
callq 0x32100
movl %eax, -0x92c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x938(%rbp)
leaq -0x910(%rbp), %rdi
leaq -0x928(%rbp), %rsi
callq 0x226d0
movq -0x938(%rbp), %rdi
movl %eax, %edx
movl -0x92c(%rbp), %ecx
leaq -0x8e8(%rbp), %rsi
leaq 0x31c0a(%rip), %r8      # 0x40254
callq 0x13a0
movl %eax, -0x92c(%rbp)
leaq -0x8e8(%rbp), %rdi
leaq -0x928(%rbp), %rsi
callq 0x1e6f0
leaq -0x8e8(%rbp), %rdi
callq 0x1cab0
movl -0x92c(%rbp), %eax
addq $0x940, %rsp            # imm = 0x940
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_get_request_payload
int
test_encode_get_request_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[56] = {
        0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0x30, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x34, 0x39, 0x61, 0x31, 0x63, 0x61, 0x38, 0x38, 
        0x2D, 0x36, 0x62, 0x65, 0x61, 0x2D, 0x34, 0x66, 
        0x62, 0x32, 0x2D, 0x62, 0x34, 0x35, 0x30, 0x2D, 
        0x37, 0x65, 0x35, 0x38, 0x38, 0x30, 0x32, 0x63, 
        0x33, 0x30, 0x33, 0x38, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[56] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "49a1ca88-6bea-4fb2-b450-7e58802c3038";
    uuid.size = 36;
    
    struct get_request_payload grp = {0};
    grp.unique_identifier = &uuid;
    
    int result = kmip_encode_get_request_payload(&ctx, &grp);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x950, %rsp            # imm = 0x950
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x35ce8(%rip), %rsi     # 0x44730
movl $0x38, %edx
callq 0x10c0
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
movl $0x38, %edx
callq 0x1090
leaq -0x918(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x80(%rbp), %rsi
leaq -0x918(%rbp), %rdi
movl $0x38, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x928(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x30aa9(%rip), %rax     # 0x3f54f
movq %rax, -0x928(%rbp)
movq $0x24, -0x920(%rbp)
leaq -0x948(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
leaq -0x928(%rbp), %rax
movq %rax, -0x948(%rbp)
leaq -0x918(%rbp), %rdi
leaq -0x948(%rbp), %rsi
callq 0x286a0
movl %eax, -0x94c(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x40(%rbp), %rdx
leaq -0x80(%rbp), %rcx
movl -0x94c(%rbp), %r8d
leaq -0x918(%rbp), %rsi
leaq 0x317dd(%rip), %r9      # 0x402f0
callq 0x11f0
movl %eax, -0x94c(%rbp)
leaq -0x918(%rbp), %rdi
callq 0x1cab0
movl -0x94c(%rbp), %eax
addq $0x950, %rsp            # imm = 0x950
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_get_request_payload
int
test_decode_get_request_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[56] = {
        0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0x30, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x34, 0x39, 0x61, 0x31, 0x63, 0x61, 0x38, 0x38, 
        0x2D, 0x36, 0x62, 0x65, 0x61, 0x2D, 0x34, 0x66, 
        0x62, 0x32, 0x2D, 0x62, 0x34, 0x35, 0x30, 0x2D, 
        0x37, 0x65, 0x35, 0x38, 0x38, 0x30, 0x32, 0x63, 
        0x33, 0x30, 0x33, 0x38, 0x00, 0x00, 0x00, 0x00
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "49a1ca88-6bea-4fb2-b450-7e58802c3038";
    uuid.size = 36;
    
    struct get_request_payload expected = {0};
    expected.unique_identifier = &uuid;
    
    struct get_request_payload observed = {0};
    
    int result = kmip_decode_get_request_payload(&ctx, &observed);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_get_request_payload(&expected, &observed),
        result,
        __func__);
    kmip_free_get_request_payload(&ctx, &observed);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x940, %rsp            # imm = 0x940
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x35c08(%rip), %rsi     # 0x44770
movl $0x38, %edx
callq 0x10c0
leaq -0x8d8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x40(%rbp), %rsi
leaq -0x8d8(%rbp), %rdi
movl $0x38, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x8e8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x30999(%rip), %rax     # 0x3f54f
movq %rax, -0x8e8(%rbp)
movq $0x24, -0x8e0(%rbp)
leaq -0x908(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
leaq -0x8e8(%rbp), %rax
movq %rax, -0x908(%rbp)
leaq -0x928(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
leaq -0x8d8(%rbp), %rdi
leaq -0x928(%rbp), %rsi
callq 0x32480
movl %eax, -0x92c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x938(%rbp)
leaq -0x908(%rbp), %rdi
leaq -0x928(%rbp), %rsi
callq 0x227f0
movq -0x938(%rbp), %rdi
movl %eax, %edx
movl -0x92c(%rbp), %ecx
leaq -0x8d8(%rbp), %rsi
leaq 0x316c0(%rip), %r8      # 0x40310
callq 0x13a0
movl %eax, -0x92c(%rbp)
leaq -0x8d8(%rbp), %rdi
leaq -0x928(%rbp), %rsi
callq 0x1e7b0
leaq -0x8d8(%rbp), %rdi
callq 0x1cab0
movl -0x92c(%rbp), %eax
addq $0x940, %rsp            # imm = 0x940
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_get_request_payload_with_format_compression
int
test_encode_get_request_payload_with_format_compression(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[88] = {
        0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0x50, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x37, 0x63, 0x66, 0x35, 0x32, 0x30, 0x39, 0x62, 
        0x2D, 0x36, 0x66, 0x66, 0x36, 0x2D, 0x34, 0x34, 
        0x32, 0x36, 0x2D, 0x38, 0x39, 0x39, 0x65, 0x2D, 
        0x32, 0x32, 0x62, 0x30, 0x36, 0x37, 0x38, 0x35, 
        0x39, 0x33, 0x37, 0x32, 0x00, 0x00, 0x00, 0x00, 
        0x42, 0x00, 0x42, 0x05, 0x00, 0x00, 0x00, 0x04, 
        0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00,
        0x42, 0x00, 0x41, 0x05, 0x00, 0x00, 0x00, 0x04,
        0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[88] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "7cf5209b-6ff6-4426-899e-22b067859372";
    uuid.size = 36;
    
    struct get_request_payload grp = {0};
    grp.unique_identifier = &uuid;
    grp.key_format_type = KMIP_KEYFORMAT_PKCS1;
    grp.key_compression_type = KMIP_KEYCOMP_EC_PUB_UNCOMPRESSED;
    
    int result = kmip_encode_get_request_payload(&ctx, &grp);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x990, %rsp            # imm = 0x990
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x60(%rbp), %rdi
leaq 0x35af8(%rip), %rsi     # 0x447b0
movl $0x58, %edx
callq 0x10c0
leaq -0xc0(%rbp), %rdi
xorl %esi, %esi
movl $0x58, %edx
callq 0x1090
leaq -0x958(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0xc0(%rbp), %rsi
leaq -0x958(%rbp), %rdi
movl $0x58, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x968(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x31614(%rip), %rax     # 0x40330
movq %rax, -0x968(%rbp)
movq $0x24, -0x960(%rbp)
leaq -0x988(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
leaq -0x968(%rbp), %rax
movq %rax, -0x988(%rbp)
movl $0x3, -0x980(%rbp)
movl $0x1, -0x97c(%rbp)
leaq -0x958(%rbp), %rdi
leaq -0x988(%rbp), %rsi
callq 0x286a0
movl %eax, -0x98c(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x60(%rbp), %rdx
leaq -0xc0(%rbp), %rcx
movl -0x98c(%rbp), %r8d
leaq -0x958(%rbp), %rsi
leaq 0x315b5(%rip), %r9      # 0x40355
callq 0x11f0
movl %eax, -0x98c(%rbp)
leaq -0x958(%rbp), %rdi
callq 0x1cab0
movl -0x98c(%rbp), %eax
addq $0x990, %rsp            # imm = 0x990
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_destroy_request_payload
int
test_encode_destroy_request_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[56] = {
        0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0x30, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x66, 0x62, 0x34, 0x62, 0x35, 0x62, 0x39, 0x63, 
        0x2D, 0x36, 0x31, 0x38, 0x38, 0x2D, 0x34, 0x63, 
        0x36, 0x33, 0x2D, 0x38, 0x31, 0x34, 0x32, 0x2D, 
        0x66, 0x65, 0x39, 0x63, 0x33, 0x32, 0x38, 0x31, 
        0x32, 0x39, 0x66, 0x63, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[56] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "fb4b5b9c-6188-4c63-8142-fe9c328129fc";
    uuid.size = 36;
    
    struct destroy_request_payload drp = {0};
    drp.unique_identifier = &uuid;
    
    int result = kmip_encode_destroy_request_payload(&ctx, &drp);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x940, %rsp            # imm = 0x940
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x35608(%rip), %rsi     # 0x44a50
movl $0x38, %edx
callq 0x10c0
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
movl $0x38, %edx
callq 0x1090
leaq -0x918(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x80(%rbp), %rsi
leaq -0x918(%rbp), %rdi
movl $0x38, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x928(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x30d65(%rip), %rax     # 0x4020b
movq %rax, -0x928(%rbp)
movq $0x24, -0x920(%rbp)
leaq -0x930(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x928(%rbp), %rax
movq %rax, -0x930(%rbp)
leaq -0x918(%rbp), %rdi
leaq -0x930(%rbp), %rsi
callq 0x28b80
movl %eax, -0x934(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x40(%rbp), %rdx
leaq -0x80(%rbp), %rcx
movl -0x934(%rbp), %r8d
leaq -0x918(%rbp), %rsi
leaq 0x30f14(%rip), %r9      # 0x40427
callq 0x11f0
movl %eax, -0x934(%rbp)
leaq -0x918(%rbp), %rdi
callq 0x1cab0
movl -0x934(%rbp), %eax
addq $0x940, %rsp            # imm = 0x940
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_destroy_request_payload
int
test_decode_destroy_request_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[56] = {
        0x42, 0x00, 0x79, 0x01, 0x00, 0x00, 0x00, 0x30, 
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x66, 0x62, 0x34, 0x62, 0x35, 0x62, 0x39, 0x63, 
        0x2D, 0x36, 0x31, 0x38, 0x38, 0x2D, 0x34, 0x63, 
        0x36, 0x33, 0x2D, 0x38, 0x31, 0x34, 0x32, 0x2D, 
        0x66, 0x65, 0x39, 0x63, 0x33, 0x32, 0x38, 0x31, 
        0x32, 0x39, 0x66, 0x63, 0x00, 0x00, 0x00, 0x00
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "fb4b5b9c-6188-4c63-8142-fe9c328129fc";
    uuid.size = 36;
    
    struct destroy_request_payload expected = {0};
    expected.unique_identifier = &uuid;
    
    struct destroy_request_payload observed = {0};
    
    int result = kmip_decode_destroy_request_payload(&ctx, &observed);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_destroy_request_payload(&expected, &observed),
        result,
        __func__);
    kmip_free_destroy_request_payload(&ctx, &observed);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x910, %rsp            # imm = 0x910
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x35528(%rip), %rsi     # 0x44a90
movl $0x38, %edx
callq 0x10c0
leaq -0x8d8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x40(%rbp), %rsi
leaq -0x8d8(%rbp), %rdi
movl $0x38, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x8e8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x30c55(%rip), %rax     # 0x4020b
movq %rax, -0x8e8(%rbp)
movq $0x24, -0x8e0(%rbp)
leaq -0x8f0(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x8e8(%rbp), %rax
movq %rax, -0x8f0(%rbp)
leaq -0x8f8(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x8d8(%rbp), %rdi
leaq -0x8f8(%rbp), %rsi
callq 0x32e60
movl %eax, -0x8fc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x908(%rbp)
leaq -0x8f0(%rbp), %rdi
leaq -0x8f8(%rbp), %rsi
callq 0x22ac0
movq -0x908(%rbp), %rdi
movl %eax, %edx
movl -0x8fc(%rbp), %ecx
leaq -0x8d8(%rbp), %rsi
leaq 0x30dfb(%rip), %r8      # 0x4044b
callq 0x13a0
movl %eax, -0x8fc(%rbp)
leaq -0x8d8(%rbp), %rdi
leaq -0x8f8(%rbp), %rsi
callq 0x1e990
leaq -0x8d8(%rbp), %rdi
callq 0x1cab0
movl -0x8fc(%rbp), %eax
addq $0x910, %rsp            # imm = 0x910
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_encode_destroy_response_payload
int
test_encode_destroy_response_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 expected[56] = {
        0x42, 0x00, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x30,
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x66, 0x62, 0x34, 0x62, 0x35, 0x62, 0x39, 0x63, 
        0x2D, 0x36, 0x31, 0x38, 0x38, 0x2D, 0x34, 0x63, 
        0x36, 0x33, 0x2D, 0x38, 0x31, 0x34, 0x32, 0x2D, 
        0x66, 0x65, 0x39, 0x63, 0x33, 0x32, 0x38, 0x31, 
        0x32, 0x39, 0x66, 0x63, 0x00, 0x00, 0x00, 0x00
    };
    
    uint8 observed[56] = {0};
    struct kmip ctx = {0};
    kmip_init(&ctx, observed, ARRAY_LENGTH(observed), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "fb4b5b9c-6188-4c63-8142-fe9c328129fc";
    uuid.size = 36;
    
    struct destroy_response_payload drp = {0};
    drp.unique_identifier = &uuid;
    
    int result = kmip_encode_destroy_response_payload(&ctx, &drp);
    result = report_encoding_test_result(
        tracker,
        &ctx,
        expected,
        observed,
        result,
        __func__);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x940, %rsp            # imm = 0x940
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x35418(%rip), %rsi     # 0x44ad0
movl $0x38, %edx
callq 0x10c0
leaq -0x80(%rbp), %rdi
xorl %esi, %esi
movl $0x38, %edx
callq 0x1090
leaq -0x918(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x80(%rbp), %rsi
leaq -0x918(%rbp), %rdi
movl $0x38, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x928(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x30af5(%rip), %rax     # 0x4020b
movq %rax, -0x928(%rbp)
movq $0x24, -0x920(%rbp)
leaq -0x930(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x928(%rbp), %rax
movq %rax, -0x930(%rbp)
leaq -0x918(%rbp), %rdi
leaq -0x930(%rbp), %rsi
callq 0x28cb0
movl %eax, -0x934(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x40(%rbp), %rdx
leaq -0x80(%rbp), %rcx
movl -0x934(%rbp), %r8d
leaq -0x918(%rbp), %rsi
leaq 0x30cec(%rip), %r9      # 0x4046f
callq 0x11f0
movl %eax, -0x934(%rbp)
leaq -0x918(%rbp), %rdi
callq 0x1cab0
movl -0x934(%rbp), %eax
addq $0x940, %rsp            # imm = 0x940
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/tests/tests.c
// Function: test_decode_destroy_response_payload
int
test_decode_destroy_response_payload(TestTracker *tracker)
{
    TRACK_TEST(tracker);

    uint8 encoding[56] = {
        0x42, 0x00, 0x7C, 0x01, 0x00, 0x00, 0x00, 0x30,
        0x42, 0x00, 0x94, 0x07, 0x00, 0x00, 0x00, 0x24, 
        0x66, 0x62, 0x34, 0x62, 0x35, 0x62, 0x39, 0x63, 
        0x2D, 0x36, 0x31, 0x38, 0x38, 0x2D, 0x34, 0x63, 
        0x36, 0x33, 0x2D, 0x38, 0x31, 0x34, 0x32, 0x2D, 
        0x66, 0x65, 0x39, 0x63, 0x33, 0x32, 0x38, 0x31, 
        0x32, 0x39, 0x66, 0x63, 0x00, 0x00, 0x00, 0x00
    };
    
    struct kmip ctx = {0};
    kmip_init(&ctx, encoding, ARRAY_LENGTH(encoding), KMIP_1_0);
    
    struct text_string uuid = {0};
    uuid.value = "fb4b5b9c-6188-4c63-8142-fe9c328129fc";
    uuid.size = 36;
    
    struct destroy_response_payload expected = {0};
    expected.unique_identifier = &uuid;
    
    struct destroy_response_payload observed = {0};
    
    int result = kmip_decode_destroy_response_payload(&ctx, &observed);
    result = report_decoding_test_result(
        tracker,
        &ctx,
        kmip_compare_destroy_response_payload(&expected, &observed),
        result,
        __func__);
    kmip_free_destroy_response_payload(&ctx, &observed);
    kmip_destroy(&ctx);
    return(result);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x910, %rsp            # imm = 0x910
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
leaq -0x40(%rbp), %rdi
leaq 0x35338(%rip), %rsi     # 0x44b10
movl $0x38, %edx
callq 0x10c0
leaq -0x8d8(%rbp), %rdi
xorl %esi, %esi
movl $0x898, %edx            # imm = 0x898
callq 0x1090
leaq -0x40(%rbp), %rsi
leaq -0x8d8(%rbp), %rdi
movl $0x38, %edx
xorl %ecx, %ecx
callq 0x1c6e0
leaq -0x8e8(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1090
leaq 0x309e5(%rip), %rax     # 0x4020b
movq %rax, -0x8e8(%rbp)
movq $0x24, -0x8e0(%rbp)
leaq -0x8f0(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x8e8(%rbp), %rax
movq %rax, -0x8f0(%rbp)
leaq -0x8f8(%rbp), %rdi
xorl %esi, %esi
movl $0x8, %edx
callq 0x1090
leaq -0x8d8(%rbp), %rdi
leaq -0x8f8(%rbp), %rsi
callq 0x33060
movl %eax, -0x8fc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x908(%rbp)
leaq -0x8f0(%rbp), %rdi
leaq -0x8f8(%rbp), %rsi
callq 0x22b60
movq -0x908(%rbp), %rdi
movl %eax, %edx
movl -0x8fc(%rbp), %ecx
leaq -0x8d8(%rbp), %rsi
leaq 0x30bd4(%rip), %r8      # 0x40494
callq 0x13a0
movl %eax, -0x8fc(%rbp)
leaq -0x8d8(%rbp), %rdi
leaq -0x8f8(%rbp), %rsi
callq 0x1ea00
leaq -0x8d8(%rbp), %rdi
callq 0x1cab0
movl -0x8fc(%rbp), %eax
addq $0x910, %rsp            # imm = 0x910
popq %rbp
retq
nopl (%rax)