// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x60, %rsp
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
leaq -0x54(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x10a0
leaq 0x64ea(%rip), %rax      # 0xa890
movq %rax, 0xade3(%rip)      # 0xf190
leaq 0xad6c(%rip), %rdi      # 0xf120
leaq -0x54(%rbp), %rsi
callq 0x20d0
movl %eax, -0x4(%rbp)
movslq -0x4(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x30, %ecx
movl $0x14, %r8d
movq %rdx, %rdi
callq 0x7460
leaq -0x54(%rbp), %rsi
leaq 0x64e3(%rip), %rdi      # 0xa8c9
xorl %eax, %eax
movl %eax, %edx
movl $0x32, %ecx
callq 0x8680
leaq -0x54(%rbp), %rsi
addq $0x20, %rsi
leaq 0x64ce(%rip), %rdi      # 0xa8d1
xorl %eax, %eax
movl %eax, %edx
movl $0x33, %ecx
callq 0x8680
leaq -0x54(%rbp), %rsi
addq $0x28, %rsi
leaq 0x64b8(%rip), %rdi      # 0xa8d8
xorl %eax, %eax
movl %eax, %edx
movl $0x34, %ecx
callq 0x8680
leaq -0x54(%rbp), %rsi
addq $0x48, %rsi
leaq 0x64a6(%rip), %rdi      # 0xa8e3
xorl %eax, %eax
movl %eax, %edx
movl $0x35, %ecx
callq 0x8680
leaq -0x54(%rbp), %rdi
xorl %esi, %esi
movl $0x50, %edx
callq 0x10a0
leaq 0x6486(%rip), %rax      # 0xa8e8
movq %rax, 0xad27(%rip)      # 0xf190
leaq 0xacb0(%rip), %rdi      # 0xf120
leaq -0x54(%rbp), %rsi
callq 0x20d0
movl %eax, -0x4(%rbp)
movslq -0x4(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
movl $0x3a, %ecx
movl $0x14, %r8d
movq %rdx, %rdi
callq 0x7460
leaq -0x54(%rbp), %rsi
leaq 0x6484(%rip), %rdi      # 0xa926
xorl %eax, %eax
movl %eax, %edx
movl $0x3c, %ecx
callq 0x8680
leaq -0x54(%rbp), %rsi
addq $0x20, %rsi
leaq 0x6412(%rip), %rdi      # 0xa8d1
xorl %eax, %eax
movl %eax, %edx
movl $0x3d, %ecx
callq 0x8680
leaq -0x54(%rbp), %rsi
addq $0x28, %rsi
leaq 0x644f(%rip), %rdi      # 0xa92b
xorl %eax, %eax
movl %eax, %edx
movl $0x3e, %ecx
callq 0x8680
leaq -0x54(%rbp), %rsi
addq $0x48, %rsi
leaq 0x643b(%rip), %rdi      # 0xa934
xorl %eax, %eax
movl %eax, %edx
movl $0x3f, %ecx
callq 0x8680
leaq 0xac12(%rip), %rdi      # 0xf120
callq 0x1900
movzbl %al, %eax
movl %eax, %esi
xorl %eax, %eax
movl %eax, %edx
movl $0x40, %ecx
movl $0x14, %r8d
movq %rdx, %rdi
callq 0x7460
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)