// File: /workspace/github_c_makefile_star2_O0/loversmile[P]sugarcrm/sugar_function.c
// Function: setCalls
int setCalls(struct soap *soap, const char *soap_endpoint, char *session, SGCallsItem *calls_item, SGReturnCallsID *return_calls_id)
{
    char soap_action[128] = {0};
    memset(soap_action, 0, sizeof(soap_action));
    snprintf(soap_action, sizeof(soap_action), "%s/set_entries", soap_endpoint);
    
    //struct name_USCOREvalue_USCORElist *setEntry_name_value_list = NULL;
    struct name_USCOREvalue_USCORElists *setEntries_name_value_lists = NULL;
    //struct ns1__set_USCOREentryResponse *_param_9 = NULL;
    struct ns1__set_USCOREentriesResponse *_param_10 = NULL;
    setEntries_name_value_lists = (struct name_USCOREvalue_USCORElists *)malloc(sizeof(struct name_USCOREvalue_USCORElists));
    //setEntry_name_value_list = (struct name_USCOREvalue_USCORElist *)soap_malloc(soap, sizeof(struct name_USCOREvalue_USCORElist));
    _param_10 = (struct ns1__set_USCOREentriesResponse *)malloc(sizeof(struct ns1__set_USCOREentriesResponse));
	setEntries_name_value_lists->__ptr = (struct name_USCOREvalue_USCORElist **)malloc(PTR_SIZE * PTR_SIZE);
    SGCallsItem *calls_tmp = calls_item;
    //struct call_item *tmp = NULL;
    //for (calls_tmp = NULL; tmp = calls_tmp->call_item; tmp = calls_tmp)
    int items = 0;
	int item = 0;
    while(calls_tmp) {
        calls_tmp = calls_tmp->next;
        item = 0;
        setEntries_name_value_lists->__ptr[items]->__ptr = (struct ns1__name_USCOREvalue**)malloc(PTR_SIZE);
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("name");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->name ? calls_tmp->call_item->name : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("parent_type");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->parent_type ? calls_tmp->call_item->parent_type : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("parent_id");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->parent_id ? calls_tmp->call_item->parent_id : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("direction");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->direction ? calls_tmp->call_item->direction : "");  
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("description");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->description ? calls_tmp->call_item->description : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("duration_minutes");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->duration_minutes ? calls_tmp->call_item->duration_minutes : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("duration_hours");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->duration_hours ? calls_tmp->call_item->duration_hours : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("date_start");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->date_start ? calls_tmp->call_item->date_start : "");
        setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
        setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("assigned_user_id");
        setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_item->assigned_user_id ? calls_tmp->call_item->assigned_user_id : "");
        if (calls_tmp->call_id != NULL && strlen(calls_tmp->call_id) > 0) {
            setEntries_name_value_lists->__ptr[items]->__ptr[item] = (struct ns1__name_USCOREvalue*)malloc(sizeof(struct ns1__name_USCOREvalue));
            setEntries_name_value_lists->__ptr[items]->__ptr[item]->name = strdup("id");
            setEntries_name_value_lists->__ptr[items]->__ptr[item++]->value = strdup(calls_tmp->call_id);
        } 
        setEntries_name_value_lists->__ptr[items]->__size = item;
        items++;
    }
    
    
    int ret = setEntries(soap, soap_endpoint, soap_action, session, "Calls", setEntries_name_value_lists, _param_10);
    if (ret == SOAP_OK) {
        printf("Success setEntry!\n");
        //snprintf(set_entry_res_id, sizeof(set_entry_res_id), "%s\0\n", _param_9->return_->id);
        //*return_id = strdup(_param_10->return_->ids->__ptr);
        SGReturnCallsID *tmp_return_calls_id = return_calls_id;
        for (int i = 0; i < _param_10->return_->ids->__size; i++) {
            printf("_param_10->return_->ids->__ptr = %s\n", _param_10->return_->ids->__ptr[i]);
			tmp_return_calls_id = initSGReturnCallsID(tmp_return_calls_id);
			tmp_return_calls_id->return_call_id = strdup(_param_10->return_->ids->__ptr[i]);
			tmp_return_calls_id = tmp_return_calls_id->next;
        }
    } else {
        printf("ret = %d\n", ret);
        soap_print_fault(soap, stderr);
        //goto end;
    }
    int j = 0, k = 0;
	for (j = 0; j < items; j++)
	{
		for(k = 0; k < item; k++)
		{
			SAFE_FREE(setEntries_name_value_lists->__ptr[j]->__ptr[k]->name);
			SAFE_FREE(setEntries_name_value_lists->__ptr[j]->__ptr[k]->value);
			SAFE_FREE(setEntries_name_value_lists->__ptr[j]->__ptr[k]);
		}
		SAFE_FREE(setEntries_name_value_lists->__ptr[j]->__ptr);
		SAFE_FREE(setEntries_name_value_lists->__ptr[j]);
	}
	SAFE_FREE(setEntries_name_value_lists->__ptr);
	SAFE_FREE(setEntries_name_value_lists);
	SAFE_FREE(_param_10);
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
leaq -0xb0(%rbp), %rdi
xorl %esi, %esi
movl $0x80, %edx
callq 0x3190
leaq -0xb0(%rbp), %rdi
xorl %esi, %esi
movl $0x80, %edx
callq 0x3190
leaq -0xb0(%rbp), %rdi
movq -0x10(%rbp), %rcx
movl $0x80, %esi
leaq 0x8a7c(%rip), %rdx      # 0x7c528
movb $0x0, %al
callq 0x3150
movq $0x0, -0xb8(%rbp)
movq $0x0, -0xc0(%rbp)
movl $0x10, %edi
callq 0x3290
movq %rax, -0xb8(%rbp)
movl $0x8, %edi
callq 0x3290
movq %rax, -0xc0(%rbp)
movl $0x1000, %edi           # imm = 0x1000
callq 0x3290
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq %rcx, (%rax)
movq -0x20(%rbp), %rax
movq %rax, -0xc8(%rbp)
movl $0x0, -0xcc(%rbp)
movl $0x0, -0xd0(%rbp)
cmpq $0x0, -0xc8(%rbp)
je 0x74467
movq -0xc8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0xc8(%rbp)
movl $0x0, -0xd0(%rbp)
movl $0x40, %edi
callq 0x3290
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x5a4c(%rip), %rdi      # 0x795f3
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, (%rax)
je 0x73bfd
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movq %rax, -0xf8(%rbp)
jmp 0x73c0d
leaq 0x6ed5(%rip), %rax      # 0x7aad9
movq %rax, -0xf8(%rbp)
jmp 0x73c0d
movq -0xf8(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x8846(%rip), %rdi      # 0x7c4cd
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0x73cdf
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, -0x100(%rbp)
jmp 0x73cef
leaq 0x6df3(%rip), %rax      # 0x7aad9
movq %rax, -0x100(%rbp)
jmp 0x73cef
movq -0x100(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x8770(%rip), %rdi      # 0x7c4d9
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x10(%rax)
je 0x73dc1
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, -0x108(%rbp)
jmp 0x73dd1
leaq 0x6d11(%rip), %rax      # 0x7aad9
movq %rax, -0x108(%rbp)
jmp 0x73dd1
movq -0x108(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x8698(%rip), %rdi      # 0x7c4e3
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x18(%rax)
je 0x73ea3
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x18(%rax), %rax
movq %rax, -0x110(%rbp)
jmp 0x73eb3
leaq 0x6c2f(%rip), %rax      # 0x7aad9
movq %rax, -0x110(%rbp)
jmp 0x73eb3
movq -0x110(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x57b3(%rip), %rdi      # 0x796e0
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x20(%rax)
je 0x73f85
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x20(%rax), %rax
movq %rax, -0x118(%rbp)
jmp 0x73f95
leaq 0x6b4d(%rip), %rax      # 0x7aad9
movq %rax, -0x118(%rbp)
jmp 0x73f95
movq -0x118(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x84de(%rip), %rdi      # 0x7c4ed
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x28(%rax)
je 0x74067
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x28(%rax), %rax
movq %rax, -0x120(%rbp)
jmp 0x74077
leaq 0x6a6b(%rip), %rax      # 0x7aad9
movq %rax, -0x120(%rbp)
jmp 0x74077
movq -0x120(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x840d(%rip), %rdi      # 0x7c4fe
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x30(%rax)
je 0x74149
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x30(%rax), %rax
movq %rax, -0x128(%rbp)
jmp 0x74159
leaq 0x6989(%rip), %rax      # 0x7aad9
movq %rax, -0x128(%rbp)
jmp 0x74159
movq -0x128(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x8245(%rip), %rdi      # 0x7c418
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x38(%rax)
je 0x7422b
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x38(%rax), %rax
movq %rax, -0x130(%rbp)
jmp 0x7423b
leaq 0x68a7(%rip), %rax      # 0x7aad9
movq %rax, -0x130(%rbp)
jmp 0x7423b
movq -0x130(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x52de(%rip), %rdi      # 0x79593
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
cmpq $0x0, 0x40(%rax)
je 0x7430d
movq -0xc8(%rbp), %rax
movq 0x8(%rax), %rax
movq 0x40(%rax), %rax
movq %rax, -0x138(%rbp)
jmp 0x7431d
leaq 0x67c5(%rip), %rax      # 0x7aad9
movq %rax, -0x138(%rbp)
jmp 0x7431d
movq -0x138(%rbp), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movq -0xc8(%rbp), %rax
cmpq $0x0, (%rax)
je 0x74435
movq -0xc8(%rbp), %rax
movq (%rax), %rdi
callq 0x3100
cmpq $0x0, %rax
jbe 0x74435
movl $0x10, %edi
callq 0x3290
movq %rax, %rdx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
leaq 0x5479(%rip), %rdi      # 0x7983a
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movslq -0xd0(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, (%rax)
movq -0xc8(%rbp), %rax
movq (%rax), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq (%rax), %rax
movl -0xd0(%rbp), %edx
movl %edx, %esi
addl $0x1, %esi
movl %esi, -0xd0(%rbp)
movslq %edx, %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl -0xd0(%rbp), %ecx
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xcc(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, 0x8(%rax)
movl -0xcc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xcc(%rbp)
jmp 0x73b21
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
leaq -0xb0(%rbp), %rdx
movq -0x18(%rbp), %rcx
movq -0xb8(%rbp), %r9
movq -0xc0(%rbp), %rax
leaq 0x7f83(%rip), %r8       # 0x7c412
movq %rax, (%rsp)
callq 0x71da0
movl %eax, -0xd4(%rbp)
cmpl $0x0, -0xd4(%rbp)
jne 0x7457b
leaq 0x8063(%rip), %rdi      # 0x7c515
movb $0x0, %al
callq 0x3140
movq -0x28(%rbp), %rax
movq %rax, -0xe0(%rbp)
movl $0x0, -0xe4(%rbp)
movl -0xe4(%rbp), %eax
movq -0xc0(%rbp), %rcx
movq (%rcx), %rcx
movq (%rcx), %rcx
cmpl 0x8(%rcx), %eax
jge 0x74579
movq -0xc0(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movslq -0xe4(%rbp), %rcx
movq (%rax,%rcx,8), %rsi
leaq 0x802b(%rip), %rdi      # 0x7c537
movb $0x0, %al
callq 0x3140
movq -0xe0(%rbp), %rdi
callq 0x71750
movq %rax, -0xe0(%rbp)
movq -0xc0(%rbp), %rax
movq (%rax), %rax
movq (%rax), %rax
movq (%rax), %rax
movslq -0xe4(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x33a0
movq %rax, %rcx
movq -0xe0(%rbp), %rax
movq %rcx, (%rax)
movq -0xe0(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0xe0(%rbp)
movl -0xe4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe4(%rbp)
jmp 0x744ce
jmp 0x745a2
movl -0xd4(%rbp), %esi
leaq 0x7b42(%rip), %rdi      # 0x7c0ca
movb $0x0, %al
callq 0x3140
movq -0x8(%rbp), %rdi
movq 0x1aa5e(%rip), %rax     # 0x8eff8
movq (%rax), %rsi
callq 0x6e2c0
movl $0x0, -0xe8(%rbp)
movl $0x0, -0xec(%rbp)
movl $0x0, -0xe8(%rbp)
movl -0xe8(%rbp), %eax
cmpl -0xcc(%rbp), %eax
jge 0x7482d
movl $0x0, -0xec(%rbp)
movl -0xec(%rbp), %eax
cmpl -0xd0(%rbp), %eax
jge 0x74778
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0x0, (%rax)
je 0x7466c
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
callq 0x3030
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq $0x0, (%rax)
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0x0, 0x8(%rax)
je 0x746ed
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rdi
callq 0x3030
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq $0x0, 0x8(%rax)
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x74762
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x3030
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rax
movslq -0xec(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
jmp 0x74764
movl -0xec(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xec(%rbp)
jmp 0x745dc
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpq $0x0, (%rax)
je 0x747cc
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq (%rax), %rdi
callq 0x3030
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq $0x0, (%rax)
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
cmpq $0x0, (%rax,%rcx,8)
je 0x74817
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x3030
movq -0xb8(%rbp), %rax
movq (%rax), %rax
movslq -0xe8(%rbp), %rcx
movq $0x0, (%rax,%rcx,8)
jmp 0x74819
movl -0xe8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xe8(%rbp)
jmp 0x745c0
movq -0xb8(%rbp), %rax
cmpq $0x0, (%rax)
je 0x74857
movq -0xb8(%rbp), %rax
movq (%rax), %rdi
callq 0x3030
movq -0xb8(%rbp), %rax
movq $0x0, (%rax)
cmpq $0x0, -0xb8(%rbp)
je 0x74878
movq -0xb8(%rbp), %rdi
callq 0x3030
movq $0x0, -0xb8(%rbp)
cmpq $0x0, -0xc0(%rbp)
je 0x74899
movq -0xc0(%rbp), %rdi
callq 0x3030
movq $0x0, -0xc0(%rbp)
movl -0xd4(%rbp), %eax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nopl (%rax,%rax)