// File: /workspace/github_c_makefile_star2_O0/Carton32[P]quectel-CM/mbim-cm.c
// Function: mbim_dump_uuid_cid
static void mbim_dump_uuid_cid(const UUID_T *pUUID, UINT32 CID, const char *direction) {
    size_t idx;
    const char *uuidStr = uuid2str(pUUID);
    const char *cidStr = "unknow";

    for (idx = 0; idx < (sizeof(uuid_cid_string)/sizeof(uuid_cid_string[0])); idx++) {
        if (!strcmp(uuidStr, uuid_cid_string[idx].uuid) && uuid_cid_string[idx].cid == CID) {
            cidStr = uuid_cid_string[idx].name;
        }
    }

    mbim_debug("%s DeviceServiceId = %s (%s)", direction, DeviceServiceId2str(pUUID), uuidStr);
    mbim_debug("%s CID = %s (%u)", direction, cidStr, le32toh(CID));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1aee0
movq %rax, -0x28(%rbp)
leaq 0x13bf6(%rip), %rax     # 0x2e8f0
movq %rax, -0x30(%rbp)
movq $0x0, -0x20(%rbp)
cmpq $0x2c, -0x20(%rbp)
jae 0x1ad6b
movq -0x28(%rbp), %rdi
leaq 0x1b8a8(%rip), %rax     # 0x365c0
imulq $0x14, -0x20(%rbp), %rcx
addq %rcx, %rax
movq (%rax), %rsi
callq 0x52a0
cmpl $0x0, %eax
jne 0x1ad5b
leaq 0x1b88c(%rip), %rax     # 0x365c0
imulq $0x14, -0x20(%rbp), %rcx
addq %rcx, %rax
movl 0x8(%rax), %eax
cmpl -0xc(%rbp), %eax
jne 0x1ad5b
leaq 0x1b875(%rip), %rax     # 0x365c0
imulq $0x14, -0x20(%rbp), %rcx
addq %rcx, %rax
movq 0xc(%rax), %rax
movq %rax, -0x30(%rbp)
jmp 0x1ad5d
movq -0x20(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x1ad06
jmp 0x1ad6d
movq 0x1c26c(%rip), %rax     # 0x36fe0
movq (%rax), %rax
movq %rax, -0x48(%rbp)
callq 0x13930
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1b020
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq %rax, %r8
movq -0x28(%rbp), %r9
leaq 0x13b48(%rip), %rsi     # 0x2e8f7
movb $0x0, %al
callq 0x52c0
leaq 0x1d0ab(%rip), %rax     # 0x37e68
cmpq $0x0, (%rax)
je 0x1ae0c
leaq 0x1d09e(%rip), %rax     # 0x37e68
movq (%rax), %rax
movq %rax, -0x60(%rbp)
callq 0x13930
movq %rax, -0x58(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1b020
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rdx
movq -0x50(%rbp), %rcx
movq %rax, %r8
movq -0x28(%rbp), %r9
leaq 0x13af2(%rip), %rsi     # 0x2e8f7
movb $0x0, %al
callq 0x52c0
jmp 0x1ae0e
jmp 0x1ae10
movq 0x1c1c9(%rip), %rax     # 0x36fe0
movq (%rax), %rax
movq %rax, -0x80(%rbp)
callq 0x13930
movq %rax, -0x78(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
movl -0xc(%rbp), %edi
callq 0x191c0
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rdx
movq -0x70(%rbp), %rcx
movq -0x68(%rbp), %r8
movl %eax, %r9d
leaq 0x13ac1(%rip), %rsi     # 0x2e91a
movb $0x0, %al
callq 0x52c0
leaq 0x1d001(%rip), %rax     # 0x37e68
cmpq $0x0, (%rax)
je 0x1aed5
leaq 0x1cff4(%rip), %rax     # 0x37e68
movq (%rax), %rax
movq %rax, -0xa0(%rbp)
callq 0x13930
movq %rax, -0x98(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x88(%rbp)
movl -0xc(%rbp), %edi
callq 0x191c0
movq -0xa0(%rbp), %rdi
movq -0x98(%rbp), %rdx
movq -0x90(%rbp), %rcx
movq -0x88(%rbp), %r8
movl %eax, %r9d
leaq 0x13a4c(%rip), %rsi     # 0x2e91a
movb $0x0, %al
callq 0x52c0
jmp 0x1aed7
addq $0xa0, %rsp
popq %rbp
retq