// File: /workspace/github_c_makefile_star2_O2/connycommy[P]atCmdDevice/src/test/TestProductionCode.c
// Function: test_modem_GetNetworkInformation
void test_modem_GetNetworkInformation(){
    cmError_t retValue = CM_FAIL;
    netInfo_t getnetInfo = NETINFO_INITIALIZER;

    MockResponseExpected = CM_CMD_MOCK_QNWINFO_RESPONSE;
    retValue = cellModem_GetNetworkInformation(&cmData, &getnetInfo);
    TEST_ASSERT_EQUAL_INT32(CM_OK,retValue);

    TEST_ASSERT_EQUAL_STRING("FDD LTE",getnetInfo.accessTechnSel);
    TEST_ASSERT_EQUAL_STRING("732101",getnetInfo.operator);
    TEST_ASSERT_EQUAL_STRING("LTE BAND 7",getnetInfo.band);
    TEST_ASSERT_EQUAL_STRING("3075",getnetInfo.channelId);

    memset(&getnetInfo,0,sizeof(getnetInfo));
    MockResponseExpected = CM_CMD_MOCK_QNWINFO_RESPONSE2_ECHO;
    retValue = cellModem_GetNetworkInformation(&cmData, &getnetInfo);
    TEST_ASSERT_EQUAL_INT32(CM_OK,retValue);

    TEST_ASSERT_EQUAL_STRING("EDGE",getnetInfo.accessTechnSel);
    TEST_ASSERT_EQUAL_STRING("732101",getnetInfo.operator);
    TEST_ASSERT_EQUAL_STRING("GSM 1900",getnetInfo.band);
    TEST_ASSERT_EQUAL_STRING("583",getnetInfo.channelId);
    TEST_ASSERT_EQUAL_INT(0, cmIsAsyncEvent(&cmData));  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r14
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movaps %xmm0, -0x10(%r14)
movaps %xmm0, -0x20(%r14)
leaq 0x4b39(%rip), %rax      # 0x7870
movq %rax, 0xa452(%rip)      # 0xd190
leaq 0xa3db(%rip), %rdi      # 0xd120
movq %rsp, %r15
movq %r15, %rsi
callq 0x18c7
movslq %eax, %rsi
pushq $0x30
popq %rcx
pushq $0x14
popq %rbp
xorl %edi, %edi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
leaq 0x4b3d(%rip), %rdi      # 0x78a9
pushq $0x32
popq %rcx
movq %r15, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x4b31(%rip), %rbx      # 0x78b1
pushq $0x33
popq %rcx
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x28(%rsp), %r12
leaq 0x4b1c(%rip), %rdi      # 0x78b8
pushq $0x34
popq %rcx
movq %r12, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x48(%rsp), %r13
leaq 0x4b0e(%rip), %rdi      # 0x78c3
pushq $0x35
popq %rcx
movq %r13, %rsi
xorl %edx, %edx
callq 0x5a58
xorps %xmm0, %xmm0
movaps %xmm0, -0x8(%r13)
movaps %xmm0, -0x18(%r13)
movaps %xmm0, -0x28(%r13)
movaps %xmm0, -0x38(%r13)
movaps %xmm0, -0x48(%r13)
leaq 0x4ae3(%rip), %rax      # 0x78c8
movq %rax, 0xa3a4(%rip)      # 0xd190
leaq 0xa32d(%rip), %rdi      # 0xd120
movq %r15, %rsi
callq 0x18c7
movslq %eax, %rsi
pushq $0x3a
popq %rcx
xorl %edi, %edi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
leaq 0x4af2(%rip), %rdi      # 0x7906
pushq $0x3c
popq %rcx
movq %r15, %rsi
xorl %edx, %edx
callq 0x5a58
pushq $0x3d
popq %rcx
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x4ad3(%rip), %rdi      # 0x790b
pushq $0x3e
popq %rcx
movq %r12, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0x4ac8(%rip), %rdi      # 0x7914
pushq $0x3f
popq %rcx
movq %r13, %rsi
xorl %edx, %edx
callq 0x5a58
leaq 0xa2c0(%rip), %rdi      # 0xd120
callq 0x1552
movzbl %al, %esi
pushq $0x40
popq %rcx
xorl %edi, %edi
xorl %edx, %edx
movl %ebp, %r8d
callq 0x507b
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq