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

    kmip_init_request_batch_item(NULL);

    RequestBatchItem rbi = {0};

    if(rbi.operation != 0)
        TEST_FAILED(tracker, __func__, __LINE__);
    if(rbi.unique_batch_item_id != NULL)
        TEST_FAILED(tracker, __func__, __LINE__);
    if(rbi.request_payload != NULL)
        TEST_FAILED(tracker, __func__, __LINE__);
    if(rbi.ephemeral != 0)
        TEST_FAILED(tracker, __func__, __LINE__);

    kmip_init_request_batch_item(&rbi);

    if(rbi.operation != 0)
        TEST_FAILED(tracker, __func__, __LINE__);
    if(rbi.unique_batch_item_id != NULL)
        TEST_FAILED(tracker, __func__, __LINE__);
    if(rbi.request_payload != NULL)
        TEST_FAILED(tracker, __func__, __LINE__);
    if(rbi.ephemeral != KMIP_UNSET)
        TEST_FAILED(tracker, __func__, __LINE__);

    TEST_PASSED(tracker, __func__);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movw (%rax), %cx
addw $0x1, %cx
movw %cx, (%rax)
xorl %eax, %eax
movl %eax, %edi
callq 0x1d5f0
leaq -0x30(%rbp), %rdi
xorl %esi, %esi
movl $0x20, %edx
callq 0x1090
cmpl $0x0, -0x30(%rbp)
je 0x46a1
jmp 0x466b
leaq 0x3aa43(%rip), %rdi     # 0x3f0b5
leaq 0x3ada3(%rip), %rsi     # 0x3f41c
movl $0x4d0, %edx            # imm = 0x4D0
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
cmpq $0x0, -0x28(%rbp)
je 0x46e0
jmp 0x46aa
leaq 0x3aa04(%rip), %rdi     # 0x3f0b5
leaq 0x3ad64(%rip), %rsi     # 0x3f41c
movl $0x4d2, %edx            # imm = 0x4D2
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
cmpq $0x0, -0x20(%rbp)
je 0x471f
jmp 0x46e9
leaq 0x3a9c5(%rip), %rdi     # 0x3f0b5
leaq 0x3ad25(%rip), %rsi     # 0x3f41c
movl $0x4d4, %edx            # imm = 0x4D4
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
cmpl $0x0, -0x18(%rbp)
je 0x475d
jmp 0x4727
leaq 0x3a987(%rip), %rdi     # 0x3f0b5
leaq 0x3ace7(%rip), %rsi     # 0x3f41c
movl $0x4d6, %edx            # imm = 0x4D6
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
leaq -0x30(%rbp), %rdi
callq 0x1d5f0
cmpl $0x0, -0x30(%rbp)
je 0x47a4
jmp 0x476e
leaq 0x3a940(%rip), %rdi     # 0x3f0b5
leaq 0x3aca0(%rip), %rsi     # 0x3f41c
movl $0x4db, %edx            # imm = 0x4DB
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
cmpq $0x0, -0x28(%rbp)
je 0x47e3
jmp 0x47ad
leaq 0x3a901(%rip), %rdi     # 0x3f0b5
leaq 0x3ac61(%rip), %rsi     # 0x3f41c
movl $0x4dd, %edx            # imm = 0x4DD
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
cmpq $0x0, -0x20(%rbp)
je 0x481f
jmp 0x47ec
leaq 0x3a8c2(%rip), %rdi     # 0x3f0b5
leaq 0x3ac22(%rip), %rsi     # 0x3f41c
movl $0x4df, %edx            # imm = 0x4DF
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
cmpl $-0x1, -0x18(%rbp)
je 0x485a
jmp 0x4827
leaq 0x3a887(%rip), %rdi     # 0x3f0b5
leaq 0x3abe7(%rip), %rsi     # 0x3f41c
movl $0x4e1, %edx            # imm = 0x4E1
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x2(%rax), %cx
addw $0x1, %cx
movw %cx, 0x2(%rax)
movl $0x1, -0x4(%rbp)
jmp 0x4888
jmp 0x485c
leaq 0x3a7e8(%rip), %rdi     # 0x3f04b
leaq 0x3abb2(%rip), %rsi     # 0x3f41c
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movw 0x4(%rax), %cx
addw $0x1, %cx
movw %cx, 0x4(%rax)
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)