LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/request.c
// Function: ff_request_payload_node_alloc
struct ff_request_payload_node *ff_request_payload_node_alloc()
{
    struct ff_request_payload_node *node = malloc(sizeof(struct ff_request_payload_node));

    node->length = 0;
    node->offset = 0;
    node->value = NULL;
    node->next = NULL;

    return node;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x18, %edi
callq 0x23e0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movw $0x0, 0x2(%rax)
movq -0x8(%rbp), %rax
movw $0x0, (%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x8(%rax)
movq -0x8(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/request.c
// Function: ff_request_payload_node_free
void ff_request_payload_node_free(struct ff_request_payload_node *node)
{
    if (node == NULL)
        return;

    FREE(node->value);

    FREE(node);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x5f55
jmp 0x5f83
jmp 0x5f57
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x2350
movq -0x8(%rbp), %rax
movq $0x0, 0x8(%rax)
jmp 0x5f72
movq -0x8(%rbp), %rdi
callq 0x2350
movq $0x0, -0x8(%rbp)
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/request.c
// Function: ff_request_free
void ff_request_free(struct ff_request *request)
{
    if (request == NULL)
        return;

    for (int i = 0; i < request->options_length; i++)
    {
        ff_request_option_node_free(request->options[i]);
    }

    FREE(request->options);

    struct ff_request_payload_node *payload_node = request->payload;
    struct ff_request_payload_node *payload_prev;

    while (payload_node != NULL)
    {
        payload_prev = payload_node;
        payload_node = payload_node->next;
        ff_request_payload_node_free(payload_prev);
    }

    FREE(request);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x5fd8
jmp 0x606e
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq -0x8(%rbp), %rcx
movzbl 0x28(%rcx), %ecx
cmpl %ecx, %eax
jge 0x600e
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0xc(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x5e50
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x5fdf
jmp 0x6010
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x2350
movq -0x8(%rbp), %rax
movq $0x0, 0x30(%rax)
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x605b
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x20(%rbp), %rdi
callq 0x5f40
jmp 0x6035
jmp 0x605d
movq -0x8(%rbp), %rdi
callq 0x2350
movq $0x0, -0x8(%rbp)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/request.c
// Function: ff_request_vectorise_payload
void ff_request_vectorise_payload(struct ff_request *request)
{
    if (request->payload->next == NULL)
    {
        return;
    }

    struct ff_request_payload_node *payload = ff_request_payload_node_alloc();
    payload->length = request->payload_length;
    payload->offset = 0;
    payload->next = NULL;
    payload->value = malloc(request->payload_length * sizeof(uint8_t));

    struct ff_request_payload_node *node = request->payload;
    struct ff_request_payload_node *tmp_node = NULL;

    do
    {
        memcpy(payload->value + node->offset, node->value, node->length * sizeof(uint8_t));

        tmp_node = node->next;
        ff_request_payload_node_free(node);
        node = tmp_node;
    } while (node != NULL);

    request->payload = payload;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
cmpq $0x0, 0x10(%rax)
jne 0x60a0
jmp 0x6160
callq 0x5ea0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movw %ax, %cx
movq -0x10(%rbp), %rax
movw %cx, 0x2(%rax)
movq -0x10(%rbp), %rax
movw $0x0, (%rax)
movq -0x10(%rbp), %rax
movq $0x0, 0x10(%rax)
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rdi
shlq $0x0, %rdi
callq 0x23e0
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
movq %rax, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
movq -0x18(%rbp), %rax
movzwl (%rax), %eax
cltq
addq %rax, %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %eax
movl %eax, %edx
shlq $0x0, %rdx
callq 0x2270
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x5f40
movq -0x20(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x6101
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x50(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/server.c
// Function: ff_proxy_clean_up_old_requests_loop
void ff_proxy_clean_up_old_requests_loop(struct ff_hash_table *requests)
{
    while (1)
    {
        sleep(FF_PROXY_CLEAN_INTERVAL_SECS);

        ff_log(FF_DEBUG, "Cleaning up partially received requests");

        time_t now;
        time(&now);

        struct ff_hash_table_iterator *iterator = ff_hash_table_iterator_init(requests);
        struct ff_request *request = NULL;
        struct ff_request **requests_to_remove = calloc(1, requests->length * sizeof(struct ff_request *));
        uint32_t count = 0;

        while ((request = ff_hash_table_iterator_next(iterator)) != NULL)
        {
            bool has_expired = request->state == FF_REQUEST_STATE_RECEIVING &&
                               difftime(now, request->received_at) >= FF_PROXY_OLD_REQUEST_THRESHOLD_SECS;

            if (has_expired)
            {
                requests_to_remove[count++] = request;
            }
        }

        ff_hash_table_iterator_free(iterator);

        for (uint32_t i = 0; i < count; i++)
        {
            ff_hash_table_remove_item(requests, requests_to_remove[i]->request_id);
        }

        ff_log(count == 0 ? FF_DEBUG : FF_WARNING, "Cleaned up %u expired partial requests", count);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl $0x3c, %edi
callq 0x2230
movl $0x1, %edi
leaq 0x1fa4(%rip), %rsi      # 0x8556
movb $0x0, %al
callq 0x4d70
leaq -0x10(%rbp), %rdi
callq 0x22a0
movq -0x8(%rbp), %rdi
callq 0x3d20
movq %rax, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, %esi
shlq $0x3, %rsi
movl $0x1, %edi
callq 0x2200
movq %rax, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x18(%rbp), %rdi
callq 0x3d80
movq %rax, -0x20(%rbp)
cmpq $0x0, %rax
je 0x6666
movq -0x20(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, (%rcx)
movb %al, -0x35(%rbp)
jne 0x663d
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rsi
callq 0x2180
movsd 0x1bf5(%rip), %xmm1     # 0x8228
ucomisd %xmm1, %xmm0
setae %al
movb %al, -0x35(%rbp)
movb -0x35(%rbp), %al
andb $0x1, %al
movb %al, -0x2d(%rbp)
testb $0x1, -0x2d(%rbp)
je 0x6664
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rax
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x2c(%rbp)
movl %ecx, %ecx
movq %rdx, (%rax,%rcx,8)
jmp 0x65f9
movq -0x18(%rbp), %rdi
callq 0x3e00
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jae 0x66a1
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rax
movl -0x34(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movq 0x20(%rax), %rsi
callq 0x38f0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x6676
movl -0x2c(%rbp), %ecx
movl $0x3, %edi
movl $0x1, %eax
cmpl $0x0, %ecx
cmovel %eax, %edi
movl -0x2c(%rbp), %edx
leaq 0x1ec0(%rip), %rsi      # 0x857e
movb $0x0, %al
callq 0x4d70
jmp 0x659c
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/server.c
// Function: ff_proxy_process_request
void ff_proxy_process_request(struct ff_process_request_args *args)
{
    struct ff_config *config = args->config;
    struct ff_request *request = args->request;
    struct ff_hash_table *requests = args->requests;

    ff_request_vectorise_payload(request);

    ff_decrypt_request(request, &config->encryption);

    if (request->state != FF_REQUEST_STATE_DECRYPTED)
    {
        goto error;
    }

    ff_request_parse_options_from_payload(request);

    if (request->state != FF_REQUEST_STATE_PARSED_OPTIONS)
    {
        goto error;
    }

    if (!ff_proxy_validate_request_timestamp(request, config))
    {
        ff_log(FF_WARNING, "Request received with timestamp outside of acceptable window", request->request_id);
        goto error;
    }

    ff_http_send_request(request);

    if (request->state != FF_REQUEST_STATE_SENT)
    {
        goto error;
    }

    goto done;

error:
    ff_log(FF_DEBUG, "Failed to process request %lu", request->request_id);
    goto cleanup;

done:
    ff_log(FF_DEBUG, "Successfully processed request %lu", request->request_id);
    goto cleanup;

cleanup:
    if (request->request_id != 0)
    {
        ff_hash_table_remove_item(requests, request->request_id);
    }

    ff_request_free(request);
    FREE(args);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6080
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x18, %rsi
callq 0x2b50
movq -0x18(%rbp), %rax
cmpl $0x4, (%rax)
je 0x6984
jmp 0x69dc
movq -0x18(%rbp), %rdi
callq 0x5bf0
movq -0x18(%rbp), %rax
cmpl $0x7, (%rax)
je 0x6998
jmp 0x69dc
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x6a50
testb $0x1, %al
jne 0x69c6
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rdx
movl $0x3, %edi
leaq 0x1b1b(%rip), %rsi      # 0x84d8
movb $0x0, %al
callq 0x4d70
jmp 0x69dc
movq -0x18(%rbp), %rdi
callq 0x3e30
movq -0x18(%rbp), %rax
cmpl $0xa, (%rax)
je 0x69da
jmp 0x69dc
jmp 0x69f9
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rdx
movl $0x1, %edi
leaq 0x1b25(%rip), %rsi      # 0x8515
movb $0x0, %al
callq 0x4d70
jmp 0x6a14
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rdx
movl $0x1, %edi
leaq 0x1b26(%rip), %rsi      # 0x8533
movb $0x0, %al
callq 0x4d70
movq -0x18(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0x6a30
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rsi
callq 0x38f0
movq -0x18(%rbp), %rdi
callq 0x5fc0
movq -0x8(%rbp), %rdi
callq 0x2350
movq $0x0, -0x8(%rbp)
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/TimeToogo[P]ff-proxy/src/server.c
// Function: ff_proxy_validate_request_timestamp
bool ff_proxy_validate_request_timestamp(struct ff_request *request, struct ff_config *config)
{
    uint64_t timestamp = 0;
    uint64_t now;
    uint64_t diff;

    // Read options backwards to ensure the encrypted options take precedence
    uint8_t i = request->options_length;
    while (i-- > 0)
    {
        if (request->options[i]->type == FF_REQUEST_OPTION_TYPE_TIMESTAMP && request->options[i]->length == 8)
        {
            memcpy(&timestamp, request->options[i]->value, 8);
            timestamp = ntohll(timestamp);
        }
    }

    if (timestamp == 0)
    {
        return true;
    }

    now = (uint64_t)time(NULL);
    diff = now > timestamp ? now - timestamp : timestamp - now;

    return diff <= config->timestamp_fudge_factor;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movb 0x28(%rax), %al
movb %al, -0x31(%rbp)
movb -0x31(%rbp), %al
movb %al, %cl
addb $-0x1, %cl
movb %cl, -0x31(%rbp)
movzbl %al, %eax
cmpl $0x0, %eax
jle 0x6b3f
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rax
movzbl -0x31(%rbp), %ecx
movq (%rax,%rcx,8), %rax
cmpl $0x8, (%rax)
jne 0x6b3a
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rax
movzbl -0x31(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movzwl 0x4(%rax), %eax
cmpl $0x8, %eax
jne 0x6b3a
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rax
movzbl -0x31(%rbp), %ecx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movl $0x1, %edi
callq 0x23a0
movl %eax, %ecx
movl $0x1, %eax
cmpl %ecx, %eax
jne 0x6af5
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0x6b32
movabsq $0xffffffff, %rax       # imm = 0xFFFFFFFF
andq -0x20(%rbp), %rax
movl %eax, %edi
callq 0x23a0
movl %eax, %eax
shlq $0x20, %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
shrq $0x20, %rax
movl %eax, %edi
callq 0x23a0
movl %eax, %ecx
movq -0x48(%rbp), %rax
movl %ecx, %ecx
orq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
jmp 0x6a72
cmpq $0x0, -0x20(%rbp)
jne 0x6b4c
movb $0x1, -0x1(%rbp)
jmp 0x6b9c
xorl %eax, %eax
movl %eax, %edi
callq 0x22a0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
cmpq -0x20(%rbp), %rax
jbe 0x6b71
movq -0x28(%rbp), %rax
subq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x6b7d
movq -0x20(%rbp), %rax
subq -0x28(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq -0x18(%rbp), %rcx
movzwl 0x10(%rcx), %ecx
cmpq %rcx, %rax
setbe %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmInit
cmError_t cmInit(cmData_t *obj){
    cmError_t retValue = CM_FAIL;
	static volatile char buffer_urc[CM_BUFFER_LEN_DEF] = {0};
    if(obj != NULL){
		obj->rxData.bufferAsyncEvent = buffer_urc;
		if( obj->matchResponseFromIsr == NULL){
			obj->matchResponseFromIsr = CM_CMD_GENERAL_RESPONSE_FROM_ISR;
			obj->DataPrivate.atvFormat = 1; 
		}
		if( (obj->tickReadHandler != NULL) && (obj->txHandler != NULL) && (obj->rxData.buffer != NULL))
			retValue = CM_OK;
		
		cmResetAsyncEventObject(obj);
		cmResetObject(obj);
		if(obj->rxData.len <= 0 )
			obj->rxData.len = CM_BUFFER_LEN_DEF;
	}
    return retValue;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl $0xffffffff, -0xc(%rbp) # imm = 0xFFFFFFFF
cmpq $0x0, -0x8(%rbp)
je 0x12c1
movq -0x8(%rbp), %rax
leaq 0xdf67(%rip), %rcx      # 0xf1b0
movq %rcx, 0x18(%rax)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x68(%rax)
jne 0x126f
movq -0x8(%rbp), %rax
leaq 0x9af1(%rip), %rcx      # 0xad54
movq %rcx, 0x68(%rax)
movq -0x8(%rbp), %rax
movb $0x1, 0x61(%rax)
movq -0x8(%rbp), %rax
cmpq $0x0, (%rax)
je 0x1296
movq -0x8(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x1296
movq -0x8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x1296
movl $0x0, -0xc(%rbp)
movq -0x8(%rbp), %rdi
callq 0x12d0
movq -0x8(%rbp), %rdi
callq 0x1330
movq -0x8(%rbp), %rax
cmpq $0x0, 0x28(%rax)
ja 0x12bf
movq -0x8(%rbp), %rax
movq $0x400, 0x28(%rax)      # imm = 0x400
jmp 0x12c1
movl -0xc(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmResetAsyncEventObject
static void cmResetAsyncEventObject(cmData_t *obj){
	if(obj->rxData.bufferAsyncEvent != NULL)
		(void)memset( (void *) obj->rxData.bufferAsyncEvent, 0, CM_BUFFER_LEN_DEF);

	obj->rxData.indexAsyncEvent = 0;
	obj->rxData.readyAsyncEvent = 0;
	obj->rxData.asyncEvent = 0;
	obj->rxData.countAsyncEvent = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x12fb
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
xorl %esi, %esi
movl $0x400, %edx            # imm = 0x400
callq 0x10a0
movq -0x8(%rbp), %rax
movw $0x0, 0x32(%rax)
movq -0x8(%rbp), %rax
movb $0x0, 0x20(%rax)
movq -0x8(%rbp), %rax
movb $0x0, 0x22(%rax)
movq -0x8(%rbp), %rax
movb $0x0, 0x23(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmResetObject
static void cmResetObject(cmData_t *obj){
	(void)memset( (void *) obj->rxData.buffer,0,obj->rxData.len);
	obj->rxData.index = 0;
	obj->rxData.ready = 0;
	obj->DataPrivate.apiState = API_IDLE; 
	obj->DataPrivate.waitState = WAIT_IDLE; 
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rdx
xorl %esi, %esi
callq 0x10a0
movq -0x8(%rbp), %rax
movw $0x0, 0x30(%rax)
movq -0x8(%rbp), %rax
movb $0x0, 0x21(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x5c(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x58(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmSendCmd
cmError_t cmSendCmd(cmData_t *obj, char* payload, char* expectedResponse, char * buffStr, uint32_t mSec){

	cmError_t retValue = CM_FAIL;
	if( API_IDLE == obj->DataPrivate.apiState ){ /*Firstentry bloqueante o no bloqueante*/
		cmResetObject(obj);
		if( NULL != payload ) {
			cmStringTx(obj,payload);
		}
		obj->DataPrivate.apiState = API_RUNING;
		if(obj->DataPrivate.numberRetries++ > CM_MAX_NUM_RETRIES) {
			obj->DataPrivate.numberRetries = 0;
			retValue = CM_ERR_MAX_RETRIES_REACHED; /* misra c 15.5*/
		}

	}
	/*expected is confirmed in to cmWaitForResponse*/
	if( CM_ERR_MAX_RETRIES_REACHED == retValue ){
		/*compliant misra c 15.5*/
	}
	else{
		retValue = cmWaitForResponse(obj, expectedResponse,mSec);
	}
	
	/*para que funcione block or non block*/
    // noveo necesario que devuelva timeout, con invalid response es suficiente
	if( (CM_ERR_INVALID_RESPONSE == retValue) || (CM_OK == retValue) ){ /*misra c 12.1*/
		if( 1 == obj->rxData.ready && (CM_OK == retValue) ){ /*misra c 14.4*/
			if( NULL != buffStr ){  /*misra c 15.6*/
				(void)strcpy(buffStr, (char*)obj->rxData.buffer) ; /*misra c 17.7*/
			}

			obj->DataPrivate.numberRetries = 0;
		}
		obj->DataPrivate.apiState = API_IDLE;  //reset object y envia comando de nuevo
	}
	return retValue;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movl $0xffffffff, -0x28(%rbp) # imm = 0xFFFFFFFF
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl 0x5c(%rcx), %eax
jne 0x140f
movq -0x8(%rbp), %rdi
callq 0x1330
xorl %eax, %eax
cmpq -0x10(%rbp), %rax
je 0x13dc
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x1490
movq -0x8(%rbp), %rax
movl $0x1, 0x5c(%rax)
movq -0x8(%rbp), %rcx
movb 0x60(%rcx), %al
movb %al, %dl
addb $0x1, %dl
movb %dl, 0x60(%rcx)
movzbl %al, %eax
cmpl $0x4, %eax
jle 0x140d
movq -0x8(%rbp), %rax
movb $0x0, 0x60(%rax)
movl $0x4, -0x28(%rbp)
jmp 0x140f
movl $0x4, %eax
cmpl -0x28(%rbp), %eax
jne 0x141b
jmp 0x142e
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %edx
callq 0x14f0
movl %eax, -0x28(%rbp)
movl $0x3, %eax
cmpl -0x28(%rbp), %eax
je 0x143f
xorl %eax, %eax
cmpl -0x28(%rbp), %eax
jne 0x1485
movq -0x8(%rbp), %rax
movb 0x21(%rax), %al
movzbl %al, %ecx
movl $0x1, %eax
cmpl %ecx, %eax
jne 0x147a
xorl %eax, %eax
cmpl -0x28(%rbp), %eax
jne 0x147a
xorl %eax, %eax
cmpq -0x20(%rbp), %rax
je 0x1472
movq -0x20(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x1050
movq -0x8(%rbp), %rax
movb $0x0, 0x60(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x5c(%rax)
movl -0x28(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmWaitForResponse
static cmError_t cmWaitForResponse(cmData_t *obj , char *expectedResponse, uint32_t mSec){
	cmError_t retWait;
    cmError_t retMatchResp ; 
    cmError_t retVal; ; 
    
	retWait =  cmWait(obj, mSec); /*Return CM_ERR_WAITING or CM_ERR_TIMEOUT*/
	retMatchResp = cmMatchResponse(obj, expectedResponse); /*Return Response ok or No match*/

    if( (retMatchResp == CM_OK  ) ){
        retVal = CM_OK;
    }else if( (retMatchResp == CM_ERR_INVALID_RESPONSE  ) ){
        retVal = CM_ERR_INVALID_RESPONSE;
    }else if (retWait == CM_ERR_TIMEOUT){
        retVal = CM_ERR_TIMEOUT;
    }else if( (retMatchResp == CM_ERR_WAITING) &&  (retWait == CM_ERR_WAITING)){
        retVal = CM_ERR_WAITING;
    }

    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rdi
movl -0x14(%rbp), %esi
callq 0x1980
movl %eax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x19c0
movl %eax, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jne 0x1531
movl $0x0, -0x20(%rbp)
jmp 0x1568
cmpl $0x3, -0x1c(%rbp)
jne 0x1540
movl $0x3, -0x20(%rbp)
jmp 0x1566
cmpl $0x1, -0x18(%rbp)
jne 0x154f
movl $0x1, -0x20(%rbp)
jmp 0x1564
cmpl $0x2, -0x1c(%rbp)
jne 0x1562
cmpl $0x2, -0x18(%rbp)
jne 0x1562
movl $0x2, -0x20(%rbp)
jmp 0x1564
jmp 0x1566
jmp 0x1568
movl -0x20(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: findStrCharByChar
static uint8_t findStrCharByChar(char* matchPattern, char rxchar){
	char * array = matchPattern;
	uint8_t retValue = 0;
	static int cont = 0;

	if( array != NULL){
		if( rxchar == array[cont] ){
			if(cont == 3-1){
				retValue = 1;
				cont = 0;
			}else{
				if(cont++ > 3-1)
					cont = 0;  /*move char position */
			}
		}else{
			cont = 0;
		}
	}
	return retValue;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x1771
movsbl -0x9(%rbp), %eax
movq -0x18(%rbp), %rcx
movslq 0xdeb4(%rip), %rdx      # 0xf5d4
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0x1765
cmpl $0x2, 0xdea5(%rip)      # 0xf5d4
jne 0x1741
movb $0x1, -0x19(%rbp)
movl $0x0, 0xde95(%rip)      # 0xf5d4
jmp 0x1763
movl 0xde8d(%rip), %eax      # 0xf5d4
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, 0xde82(%rip)      # 0xf5d4
cmpl $0x2, %eax
jle 0x1761
movl $0x0, 0xde73(%rip)      # 0xf5d4
jmp 0x1763
jmp 0x176f
movl $0x0, 0xde65(%rip)      # 0xf5d4
jmp 0x1771
movb -0x19(%rbp), %al
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: IsrStrResponseCmpManually
static int IsrStrResponseCmpManually(cmData_t *obj , char rxChar){

    int retValue = 0;
    static char *array;
    static size_t pos = 0, cont = 0;
    char rxchar = rxChar;
 	static isrState_t isrState = ISR_STATE_WAITING;

	switch (isrState){
		
		case ISR_STATE_WAITING:
			if( obj->rxData.responsesExpected != NULL){
				for(int i = 0 ;i < CM_MAX_NUM_RESPONSES_EXPECTED; ++i ){
					/*if urc point to str asyn event*/
					array = &obj->rxData.responsesExpected[pos][0];

					if( rxchar == array[cont] ){
						if(cont == obj->rxData.lenResponseExpected[pos]){

							isrState = ISR_STATE_WAITING;
							obj->rxData.ready = 1;
							retValue = 1;
							pos = 0;
							obj->rxData.index = 0;
							cont = 0;
							break;
						}else{
							cont++;  /*move char position */
							break;
						}
					}else{
						cont = 0;
						if( pos == CM_MAX_NUM_RESPONSES_EXPECTED -1){
							pos = 0;
							}
						else{
							pos++; /*move pointer to next string expected*/
							}
						isrState = ISR_STATE_WAITING;
					}
					if(isrState == ISR_STATE_END_RESPONSE){
						break;
					}
				}
			}
		break;
	 default:
		break;
	 }
    return retValue;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movl $0x0, -0x10(%rbp)
movb -0x9(%rbp), %al
movb %al, -0x11(%rbp)
movl 0xde2f(%rip), %eax      # 0xf5d0
testl %eax, %eax
jne 0x18c4
jmp 0x17ab
movq -0x8(%rbp), %rax
cmpq $0x0, 0x50(%rax)
je 0x18c2
movl $0x0, -0x18(%rbp)
cmpl $0x3, -0x18(%rbp)
jge 0x18c0
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
movq 0xdde6(%rip), %rcx      # 0xf5c0
movq (%rax,%rcx,8), %rax
movq %rax, 0xddd3(%rip)      # 0xf5b8
movsbl -0x11(%rbp), %eax
movq 0xddc8(%rip), %rcx      # 0xf5b8
movq 0xddd1(%rip), %rdx      # 0xf5c8
movsbl (%rcx,%rdx), %ecx
cmpl %ecx, %eax
jne 0x1867
movq 0xddc2(%rip), %rax      # 0xf5c8
movq -0x8(%rbp), %rcx
movq 0xddaf(%rip), %rdx      # 0xf5c0
cmpq 0x38(%rcx,%rdx,8), %rax
jne 0x1853
movl $0x0, 0xddae(%rip)      # 0xf5d0
movq -0x8(%rbp), %rax
movb $0x1, 0x21(%rax)
movl $0x1, -0x10(%rbp)
movq $0x0, 0xdd84(%rip) # 0xf5c0
movq -0x8(%rbp), %rax
movw $0x0, 0x30(%rax)
movq $0x0, 0xdd77(%rip) # 0xf5c8
jmp 0x18c0
movq 0xdd6e(%rip), %rax      # 0xf5c8
addq $0x1, %rax
movq %rax, 0xdd63(%rip)      # 0xf5c8
jmp 0x18c0
movq $0x0, 0xdd56(%rip) # 0xf5c8
cmpq $0x2, 0xdd46(%rip)      # 0xf5c0
jne 0x1889
movq $0x0, 0xdd39(%rip) # 0xf5c0
jmp 0x189b
movq 0xdd30(%rip), %rax      # 0xf5c0
addq $0x1, %rax
movq %rax, 0xdd25(%rip)      # 0xf5c0
movl $0x0, 0xdd2b(%rip)      # 0xf5d0
cmpl $0x1, 0xdd24(%rip)      # 0xf5d0
jne 0x18b0
jmp 0x18c0
jmp 0x18b2
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x17c1
jmp 0x18c2
jmp 0x18c6
jmp 0x18c6
movl -0x10(%rbp), %eax
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmWaitBlock
static cmError_t cmWaitBlock(cmData_t *obj, uint32_t msec){
	cmError_t retVal = CM_ERR_WAITING;
	while( CM_ERR_WAITING == retVal ){
		retVal = cmWrapperWaitNonBlock(obj, msec) ;
	}
	return retVal ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x2, -0x10(%rbp)
movl $0x2, %eax
cmpl -0x10(%rbp), %eax
jne 0x19b1
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x1a30
movl %eax, -0x10(%rbp)
jmp 0x1996
movl -0x10(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmMatchResponse
static cmError_t cmMatchResponse(cmData_t *obj, char *expectedResponse){
	cmError_t Rprocess = CM_ERR_WAITING;  /*si no ha llegado nada al buffer*/
	if((bool)obj->rxData.ready){
		if( NULL != expectedResponse ){
			if( NULL != strstr((const char *) obj->rxData.buffer,(char *)expectedResponse) ) {
				Rprocess = CM_OK;
			}
			else{
				Rprocess = CM_ERR_INVALID_RESPONSE;
			}
		}
		else{ 
			Rprocess = CM_OK;
		}
	}
	return Rprocess;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x2, -0x14(%rbp)
movq -0x8(%rbp), %rax
movb 0x21(%rax), %al
cmpb $0x0, %al
je 0x1a20
xorl %eax, %eax
cmpq -0x10(%rbp), %rax
je 0x1a17
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x1110
movq %rax, %rcx
xorl %eax, %eax
cmpq %rcx, %rax
je 0x1a0e
movl $0x0, -0x14(%rbp)
jmp 0x1a15
movl $0x3, -0x14(%rbp)
jmp 0x1a1e
movl $0x0, -0x14(%rbp)
jmp 0x1a20
movl -0x14(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmWrapperWaitNonBlock
static cmError_t cmWrapperWaitNonBlock(cmData_t *obj, uint32_t msec){
	cmError_t retVal = CM_ERR_WAITING;
	retVal = cmWaitNonBlock(obj, msec) ;
	if(1 == obj->rxData.ready){
		retVal = CM_ERR_TIMEOUT;
	}
	return retVal ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x2, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
callq 0x1a80
movl %eax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movb 0x21(%rax), %al
movzbl %al, %ecx
movl $0x1, %eax
cmpl %ecx, %eax
jne 0x1a6f
movl $0x1, -0x10(%rbp)
movl -0x10(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/atcmdDev/atCmdDevice.c
// Function: cmWaitNonBlock
static cmError_t cmWaitNonBlock(cmData_t *obj, uint32_t msec){
	static cmError_t retValue;
	static volatile uint32_t startTick = 0;
	if( WAIT_IDLE == obj->DataPrivate.waitState ){
		retValue = CM_ERR_WAITING ;
		startTick = 0;
		startTick = obj->tickReadHandler() ;//tickRead_ms();
		obj->DataPrivate.waitState = WAIT_RUNING ;
	}

	if( ( obj->tickReadHandler() - startTick) > msec ){ 
		obj->DataPrivate.waitState = WAIT_IDLE;
		obj->DataPrivate.apiState = API_IDLE; //Cuando vence el tiempo mando el comando de nuevo
		retValue = CM_ERR_TIMEOUT ;
	}
	else{
		retValue = CM_ERR_WAITING;
	}
	return retValue;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl 0x58(%rcx), %eax
jne 0x1ac5
movl $0x2, 0xdb0c(%rip)      # 0xf5b0
movl $0x0, 0xdb06(%rip)      # 0xf5b4
movq -0x8(%rbp), %rax
callq *(%rax)
movl %eax, 0xdafa(%rip)      # 0xf5b4
movq -0x8(%rbp), %rax
movl $0x1, 0x58(%rax)
movq -0x8(%rbp), %rax
callq *(%rax)
movl 0xdae3(%rip), %ecx      # 0xf5b4
subl %ecx, %eax
cmpl -0xc(%rbp), %eax
jbe 0x1afa
movq -0x8(%rbp), %rax
movl $0x0, 0x58(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x5c(%rax)
movl $0x1, 0xdab8(%rip)      # 0xf5b0
jmp 0x1b04
movl $0x2, 0xdaac(%rip)      # 0xf5b0
movl 0xdaa6(%rip), %eax      # 0xf5b0
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_Init
cmError_t cellModem_Init(cmData_t *obj,char *inputBuffer,size_t len ,void *GetTickCountMs,void *OutputFunction, char *matchResponseFromIsr){
    if( obj != NULL){
         
        if(responses != NULL){
            obj->rxData.responsesExpected = responses;  /*OK ERROR etc*/
            for (int i=0; i< CM_MAX_NUM_RESPONSES_EXPECTED ; i++){
                obj->rxData.lenResponseExpected[i] =strlen(obj->rxData.responsesExpected[i])-1;  /*len OK len ERROR etc*/
            }
        }
        obj->rxData.buffer = (char*)inputBuffer;
        obj->rxData.len = len;
        obj->tickReadHandler = (cmTickReadHandler_t)GetTickCountMs;
        obj->txHandler = (cmTransmissionHandler_t)OutputFunction;
        obj->matchResponseFromIsr = matchResponseFromIsr;
    }
    return cmInit(obj);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x1bc6
movq -0x8(%rbp), %rax
leaq 0xd55a(%rip), %rcx      # 0xf0a0
movq %rcx, 0x50(%rax)
movl $0x0, -0x34(%rbp)
cmpl $0x3, -0x34(%rbp)
jge 0x1b8b
movq -0x8(%rbp), %rax
movq 0x50(%rax), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x1070
movq %rax, %rdx
subq $0x1, %rdx
movq -0x8(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq %rdx, 0x38(%rax,%rcx,8)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x1b51
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x20(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, (%rax)
movq -0x28(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x30(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x68(%rax)
movq -0x8(%rbp), %rdi
callq 0x1220
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_GetSignalQuality
cmError_t cellModem_GetSignalQuality(cmData_t *obj ,uint8_t *rssi ){
    cmError_t retVal = CM_OK;
    char cmd[15]="AT+CSQ\r";
    char bufferRecv[60];
    char RSSI[10] = "\0";
    char *ptr = NULL;

    retVal = cmSendCmd(obj, cmd, (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,bufferRecv ,300);
    if(CM_OK == retVal){
        if( (ptr = strstr(bufferRecv,"+CSQ:")) != NULL ){
            ptr = extractBetween(bufferRecv,' ',',',RSSI,0);
            *rssi = (uint8_t)atoi(RSSI);
        }else{
           // retVal = CM_ERR_INVALID_RESPONSE;
        }
    }
    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq 0x851f(%rip), %rax      # 0xa120
movq %rax, -0x23(%rbp)
movl 0x851d(%rip), %eax      # 0xa128
movl %eax, -0x1b(%rbp)
movw 0x8517(%rip), %ax       # 0xa12c
movw %ax, -0x17(%rbp)
movb 0x850f(%rip), %al       # 0xa12e
movb %al, -0x15(%rbp)
leaq -0x6a(%rbp), %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x10a0
movq $0x0, -0x78(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x88(%rbp)
leaq -0x23(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x88(%rbp), %rdi
movq -0x80(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x90e5(%rip), %rdx      # 0xad52
leaq 0x8f5e(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
leaq -0x60(%rbp), %rcx
movl $0x12c, %r8d            # imm = 0x12C
callq 0x1390
movl %eax, -0x14(%rbp)
xorl %eax, %eax
cmpl -0x14(%rbp), %eax
jne 0x1ce3
leaq -0x60(%rbp), %rdi
leaq 0x836f(%rip), %rsi      # 0xa00e
callq 0x1110
movq %rax, -0x78(%rbp)
cmpq $0x0, %rax
je 0x1cdf
leaq -0x60(%rbp), %rdi
leaq -0x6a(%rbp), %rcx
movl $0x20, %esi
movl $0x2c, %edx
xorl %r8d, %r8d
callq 0x1d10
movq %rax, -0x78(%rbp)
leaq -0x6a(%rbp), %rdi
callq 0x10e0
movb %al, %cl
movq -0x10(%rbp), %rax
movb %cl, (%rax)
jmp 0x1ce1
jmp 0x1ce1
jmp 0x1ce3
movl -0x14(%rbp), %eax
addq $0x90, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: extractBetween
static char * extractBetween(char *src , char init, char end, char* outPutMatch,int offset ){
    char *pInit, *pEnd;
    static char * ret = NULL;
    
    if(src != NULL){
            if( (pInit = strchr(src+offset,init)) != NULL){
                if( (pEnd = strchr(pInit + 1,end)) != NULL){
                    if( outPutMatch != NULL){
                        strncpy(outPutMatch,pInit + 1 , (size_t)(pEnd -pInit -1) );
                    }
                    ret = pEnd;
                }
            }
    }
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %dl, %al
movb %sil, %dl
movq %rdi, -0x8(%rbp)
movb %dl, -0x9(%rbp)
movb %al, -0xa(%rbp)
movq %rcx, -0x18(%rbp)
movl %r8d, -0x1c(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x1da5
movq -0x8(%rbp), %rdi
movslq -0x1c(%rbp), %rax
addq %rax, %rdi
movsbl -0x9(%rbp), %esi
callq 0x1080
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
je 0x1da3
movq -0x28(%rbp), %rdi
addq $0x1, %rdi
movsbl -0xa(%rbp), %esi
callq 0x1080
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x1da1
cmpq $0x0, -0x18(%rbp)
je 0x1d96
movq -0x18(%rbp), %rdi
movq -0x28(%rbp), %rsi
addq $0x1, %rsi
movq -0x30(%rbp), %rdx
movq -0x28(%rbp), %rax
subq %rax, %rdx
subq $0x1, %rdx
callq 0x1040
movq -0x30(%rbp), %rax
movq %rax, 0xd84f(%rip)      # 0xf5f0
jmp 0x1da3
jmp 0x1da5
movq 0xd844(%rip), %rax      # 0xf5f0
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_SendRaw
cmError_t cellModem_SendRaw(cmData_t *obj, char * cmd){
    cmError_t retVal = CM_FAIL;
    if( cmd != NULL)
        retVal = cmSendCmd(obj,cmd , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,NULL ,300);
    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0xffffffff, -0x14(%rbp) # imm = 0xFFFFFFFF
cmpq $0x0, -0x10(%rbp)
je 0x1e2b
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x28(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x8f47(%rip), %rdx      # 0xad52
leaq 0x8dc0(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
xorl %eax, %eax
movl %eax, %ecx
movl $0x12c, %r8d            # imm = 0x12C
callq 0x1390
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_SetApn
cmError_t cellModem_SetApn(cmData_t *obj, cellModemConfig_t *config){
    cmError_t retVal;
    char apn[100]="AT+QICSGP=1,1,\""; //TODO:change contextid and connectId as input
    char *ptr = NULL;

      if(config->apn != NULL && config->apnUser != NULL  && config->apnPassw != NULL  ){
        ptr = strcat(apn +15, config->apn );
        ptr = strcat(ptr ,"\",\"" );
        ptr = strcat(ptr ,config->apnUser );
        ptr = strcat(ptr ,"\",\"" );
        ptr = strcat(ptr ,config->apnPassw );
        ptr = strcat(ptr ,"\",3\r" );
      }else{
          strcat(apn,CELLMODEM_CMD_APN_DEFAULT);
      }
    retVal = cmSendCmd(obj,apn , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,NULL ,500);

    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x80(%rbp), %rdi
leaq 0x82d2(%rip), %rsi      # 0xa130
movl $0x64, %edx
callq 0x10c0
movq $0x0, -0x88(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0x1f40
movq -0x10(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x1f40
movq -0x10(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x1f40
leaq -0x80(%rbp), %rdi
addq $0xf, %rdi
movq -0x10(%rbp), %rax
movq (%rax), %rsi
callq 0x10f0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
leaq 0x814c(%rip), %rsi      # 0xa014
callq 0x10f0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rsi
callq 0x10f0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
leaq 0x8117(%rip), %rsi      # 0xa014
callq 0x10f0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
callq 0x10f0
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rdi
leaq 0x80e6(%rip), %rsi      # 0xa018
callq 0x10f0
movq %rax, -0x88(%rbp)
jmp 0x1f50
leaq -0x80(%rbp), %rdi
leaq 0x80d2(%rip), %rsi      # 0xa01d
callq 0x10f0
movq -0x8(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x8dc9(%rip), %rdx      # 0xad52
leaq 0x8c42(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
xorl %eax, %eax
movl %eax, %ecx
movl $0x1f4, %r8d            # imm = 0x1F4
callq 0x1390
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_SetContextProfile
cmError_t cellModem_SetContextProfile(cmData_t *obj, cellModemConfig_t *config){
    cmError_t retVal;
    char cmd[15]="AT+QIACT=";
    char snum[5];
    char *ptr = NULL;
    sprintf(snum,"%d",config->contextId);
    ptr = strcat(cmd + 9 , snum);
    ptr = strcat(ptr, "\r");

    retVal = cmSendCmd(obj,cmd , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,NULL ,150000);//150sg

    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x81bd(%rip), %rax      # 0xa194
movq %rax, -0x23(%rbp)
movl 0x81bb(%rip), %eax      # 0xa19c
movl %eax, -0x1b(%rbp)
movw 0x81b5(%rip), %ax       # 0xa1a0
movw %ax, -0x17(%rbp)
movb 0x81ad(%rip), %al       # 0xa1a2
movb %al, -0x15(%rbp)
movq $0x0, -0x30(%rbp)
leaq -0x28(%rbp), %rdi
movq -0x10(%rbp), %rax
movl 0x1c(%rax), %edx
leaq 0x8043(%rip), %rsi      # 0xa055
movb $0x0, %al
callq 0x1100
leaq -0x23(%rbp), %rdi
addq $0x9, %rdi
leaq -0x28(%rbp), %rsi
callq 0x10f0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
leaq 0x8090(%rip), %rsi      # 0xa0c9
callq 0x10f0
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq -0x23(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x8ce3(%rip), %rdx      # 0xad52
leaq 0x8b5c(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
xorl %eax, %eax
movl %eax, %ecx
movl $0x249f0, %r8d          # imm = 0x249F0
callq 0x1390
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_GetNetworkInformation
cmError_t cellModem_GetNetworkInformation(cmData_t *obj, netInfo_t *getNetinfo){
    cmError_t retVal;
    char cmd[15]="AT+QNWINFO\r";
    char bufferRecv[128];
    char *ptr;

    retVal = cmSendCmd(obj,cmd , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,bufferRecv ,300);
    if(CM_OK == retVal){
        //+QNWINFO: "FDD LTE","732101","LTE BAND 7",3075
        //api bufferready , apiclearready
        if( (ptr = strstr(bufferRecv,"+QNWINFO:")) != NULL ){
            ptr = extractBetween(bufferRecv,'"','"',getNetinfo->accessTechnSel,0);
            ptr = extractBetween(ptr,'"','"',getNetinfo->operator,2);
            ptr = extractBetween(ptr,'"','"',getNetinfo->band,2);
            ptr = extractBetween(ptr,',','\r',getNetinfo->channelId,1);
        }else{
            //retVal = CM_ERR_INVALID_RESPONSE;
        }
    }
    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x80b9(%rip), %rax      # 0xa1a3
movq %rax, -0x23(%rbp)
movl 0x80b7(%rip), %eax      # 0xa1ab
movl %eax, -0x1b(%rbp)
movw 0x80b1(%rip), %ax       # 0xa1af
movw %ax, -0x17(%rbp)
movb 0x80a9(%rip), %al       # 0xa1b1
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xc8(%rbp)
leaq -0x23(%rbp), %rax
movq %rax, -0xc0(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x8c0e(%rip), %rdx      # 0xad52
leaq 0x8a87(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
leaq -0xb0(%rbp), %rcx
movl $0x12c, %r8d            # imm = 0x12C
callq 0x1390
movl %eax, -0x14(%rbp)
xorl %eax, %eax
cmpl -0x14(%rbp), %eax
jne 0x2238
leaq -0xb0(%rbp), %rdi
leaq 0x7ed8(%rip), %rsi      # 0xa058
callq 0x1110
movq %rax, -0xb8(%rbp)
cmpq $0x0, %rax
je 0x2234
leaq -0xb0(%rbp), %rdi
movq -0x10(%rbp), %rcx
movl $0x22, %edx
xorl %r8d, %r8d
movl %edx, %esi
callq 0x1d10
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x10(%rbp), %rcx
addq $0x20, %rcx
movl $0x22, %edx
movl $0x2, %r8d
movl %edx, %esi
callq 0x1d10
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x10(%rbp), %rcx
addq $0x28, %rcx
movl $0x22, %edx
movl $0x2, %r8d
movl %edx, %esi
callq 0x1d10
movq %rax, -0xb8(%rbp)
movq -0xb8(%rbp), %rdi
movq -0x10(%rbp), %rcx
addq $0x48, %rcx
movl $0x2c, %esi
movl $0xd, %edx
movl $0x1, %r8d
callq 0x1d10
movq %rax, -0xb8(%rbp)
jmp 0x2236
jmp 0x2236
jmp 0x2238
movl -0x14(%rbp), %eax
addq $0xd0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_GetModuleInformation
cmError_t cellModem_GetModuleInformation(cmData_t *obj, modemInfo_t *getModemInfo){
    cmError_t retVal;
    char cmd[15]="ATI\r";
    char bufferRecv[60];
    char *ptr;
    retVal = cmSendCmd(obj,cmd , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,bufferRecv ,300);
    if(CM_OK == retVal){
            ptr = extractBetween(bufferRecv,'\n','\r',getModemInfo->manufactorId,0);
            ptr = extractBetween(ptr,'\n','\r',getModemInfo->deviceModel,1);
            ptr = extractBetween(ptr,'\n','\r',getModemInfo->firmwareVersion,0);
 
    }
    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x7f48(%rip), %rax      # 0xa1b2
movq %rax, -0x23(%rbp)
movl 0x7f46(%rip), %eax      # 0xa1ba
movl %eax, -0x1b(%rbp)
movw 0x7f40(%rip), %ax       # 0xa1be
movw %ax, -0x17(%rbp)
movb 0x7f38(%rip), %al       # 0xa1c0
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x23(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x8a9a(%rip), %rdx      # 0xad52
leaq 0x8913(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
leaq -0x60(%rbp), %rcx
movl $0x12c, %r8d            # imm = 0x12C
callq 0x1390
movl %eax, -0x14(%rbp)
xorl %eax, %eax
cmpl -0x14(%rbp), %eax
jne 0x2344
leaq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rcx
movl $0xa, %esi
movl $0xd, %edx
xorl %r8d, %r8d
callq 0x1d10
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq -0x10(%rbp), %rcx
addq $0x10, %rcx
movl $0xa, %esi
movl $0xd, %edx
movl $0x1, %r8d
callq 0x1d10
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rdi
movq -0x10(%rbp), %rcx
addq $0x20, %rcx
movl $0xa, %esi
movl $0xd, %edx
xorl %r8d, %r8d
callq 0x1d10
movq %rax, -0x68(%rbp)
movl -0x14(%rbp), %eax
addq $0x80, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_GetImei
cmError_t cellModem_GetImei(cmData_t *obj, char *getImei){
    cmError_t retVal;
    char cmd[15]="AT+GSN\r";
    char bufferRecv[60];

    retVal = cmSendCmd(obj,cmd , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,bufferRecv ,300);
    if(CM_OK == retVal){
        if(getImei != NULL)
            extractBetween(bufferRecv,'\n','\r',getImei,0);
    }
    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x7e5a(%rip), %rax      # 0xa1c1
movq %rax, -0x23(%rbp)
movl 0x7e58(%rip), %eax      # 0xa1c9
movl %eax, -0x1b(%rbp)
movw 0x7e52(%rip), %ax       # 0xa1cd
movw %ax, -0x17(%rbp)
movb 0x7e4a(%rip), %al       # 0xa1cf
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x23(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x899d(%rip), %rdx      # 0xad52
leaq 0x8816(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
leaq -0x60(%rbp), %rcx
movl $0x12c, %r8d            # imm = 0x12C
callq 0x1390
movl %eax, -0x14(%rbp)
xorl %eax, %eax
cmpl -0x14(%rbp), %eax
jne 0x23ff
cmpq $0x0, -0x10(%rbp)
je 0x23fd
leaq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rcx
movl $0xa, %esi
movl $0xd, %edx
xorl %r8d, %r8d
callq 0x1d10
jmp 0x23ff
movl -0x14(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/connycommy[P]atCmdDevice/src/cellularModem/cellModem.c
// Function: cellModem_GetImsi
cmError_t cellModem_GetImsi(cmData_t *obj,  char *getImsi){
    cmError_t retVal;
    char cmd[15]="AT+CIMI\r";
    char bufferRecv[60];

    retVal = cmSendCmd(obj,cmd , (0 == cellModem_GetatvFormat(obj) ) ? CELLMODEM_CMD_GENERAL_RESPONSE_ATV0 :CELLMODEM_CMD_GENERAL_RESPONSE ,bufferRecv ,300);
    if(CM_OK == retVal){
        if(getImsi != NULL)
            extractBetween(bufferRecv,'\n','\r',getImsi,0);
    }
    return retVal;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x7da9(%rip), %rax      # 0xa1d0
movq %rax, -0x23(%rbp)
movl 0x7da7(%rip), %eax      # 0xa1d8
movl %eax, -0x1b(%rbp)
movw 0x7da1(%rip), %ax       # 0xa1dc
movw %ax, -0x17(%rbp)
movb 0x7d99(%rip), %al       # 0xa1de
movb %al, -0x15(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x23(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cf0
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
movl %eax, %r8d
xorl %ecx, %ecx
leaq 0x88dd(%rip), %rdx      # 0xad52
leaq 0x8756(%rip), %rax      # 0xabd2
cmpl %r8d, %ecx
cmoveq %rax, %rdx
leaq -0x60(%rbp), %rcx
movl $0x12c, %r8d            # imm = 0x12C
callq 0x1390
movl %eax, -0x14(%rbp)
xorl %eax, %eax
cmpl -0x14(%rbp), %eax
jne 0x24bf
cmpq $0x0, -0x10(%rbp)
je 0x24bd
leaq -0x60(%rbp), %rdi
movq -0x10(%rbp), %rcx
movl $0xa, %esi
movl $0xd, %edx
xorl %r8d, %r8d
callq 0x1d10
jmp 0x24bf
movl -0x14(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax,%rax)