// File: /workspace/github_c_makefile_star2_O0/loversmile[P]sugarcrm/sugar_soapClient.c
// Function: soap_call_ns1__set_USCORErelationships
SOAP_FMAC6 soap_call_ns1__set_USCORErelationships(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *session, struct select_USCOREfields *module_USCOREnames, struct select_USCOREfields *module_USCOREids, struct select_USCOREfields *link_USCOREfield_USCOREnames, struct new_USCOREset_USCORErelationhip_USCOREids *related_USCOREids, struct name_USCOREvalue_USCORElists *name_USCOREvalue_USCORElists, struct deleted_USCOREarray *delete_USCOREarray, struct ns1__set_USCORErelationshipsResponse *_param_7)
{	struct ns1__set_USCORErelationships soap_tmp_ns1__set_USCORErelationships;
	if (!soap_endpoint)
		soap_endpoint = "http://192.168.124.27/crm/service/v4_1/soap.php";
	if (!soap_action)
		soap_action = "http://192.168.124.27/crm/service/v4_1/soap.php/set_relationships";
	soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/";
	soap_tmp_ns1__set_USCORErelationships.session = session;
	soap_tmp_ns1__set_USCORErelationships.module_USCOREnames = module_USCOREnames;
	soap_tmp_ns1__set_USCORErelationships.module_USCOREids = module_USCOREids;
	soap_tmp_ns1__set_USCORErelationships.link_USCOREfield_USCOREnames = link_USCOREfield_USCOREnames;
	soap_tmp_ns1__set_USCORErelationships.related_USCOREids = related_USCOREids;
	soap_tmp_ns1__set_USCORErelationships.name_USCOREvalue_USCORElists = name_USCOREvalue_USCORElists;
	soap_tmp_ns1__set_USCORErelationships.delete_USCOREarray = delete_USCOREarray;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize_ns1__set_USCORErelationships(soap, &soap_tmp_ns1__set_USCORErelationships);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put_ns1__set_USCORErelationships(soap, &soap_tmp_ns1__set_USCORErelationships, "ns1:set_relationships", NULL)
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put_ns1__set_USCORErelationships(soap, &soap_tmp_ns1__set_USCORErelationships, "ns1:set_relationships", NULL)
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	if (!_param_7)
		return soap_closesock(soap);
	soap_default_ns1__set_USCORErelationshipsResponse(soap, _param_7);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	if (soap_recv_fault(soap, 1))
		return soap->error;
	soap_get_ns1__set_USCORErelationshipsResponse(soap, _param_7, "", "");
	if (soap->error)
		return soap_recv_fault(soap, 0);
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq 0x30(%rbp), %rax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x4ae86
leaq 0x2e9da(%rip), %rax     # 0x7985c
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x4ae98
leaq 0x2eb85(%rip), %rax     # 0x79a19
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
leaq 0x2ea1f(%rip), %rcx     # 0x798c2
movq %rcx, 0x38(%rax)
movq -0x28(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x60(%rbp)
movq 0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
movq 0x20(%rbp), %rax
movq %rax, -0x48(%rbp)
movq 0x28(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5f320
movq -0x10(%rbp), %rdi
callq 0x3530
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x34660
movq -0x10(%rbp), %rdi
callq 0x5aaa0
cmpl $0x0, %eax
je 0x4af1e
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x4afa4
movq -0x10(%rbp), %rdi
callq 0x6ae90
cmpl $0x0, %eax
jne 0x4af90
movq -0x10(%rbp), %rdi
callq 0x3580
cmpl $0x0, %eax
jne 0x4af90
movq -0x10(%rbp), %rdi
callq 0x6b510
cmpl $0x0, %eax
jne 0x4af90
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
leaq 0x2e074(%rip), %rdx     # 0x78fda
xorl %eax, %eax
movl %eax, %ecx
callq 0x3cd70
cmpl $0x0, %eax
jne 0x4af90
movq -0x10(%rbp), %rdi
callq 0x6b5d0
cmpl $0x0, %eax
jne 0x4af90
movq -0x10(%rbp), %rdi
callq 0x6b0c0
cmpl $0x0, %eax
je 0x4afa2
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x4b164
jmp 0x4afa4
movq -0x10(%rbp), %rdi
callq 0x5b080
cmpl $0x0, %eax
je 0x4afc4
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x6b990
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
callq 0x6ae90
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
callq 0x3580
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
callq 0x6b510
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
leaq 0x2dfc7(%rip), %rdx     # 0x78fda
xorl %eax, %eax
movl %eax, %ecx
callq 0x3cd70
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
callq 0x6b5d0
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
callq 0x6b0c0
cmpl $0x0, %eax
jne 0x4b04b
movq -0x10(%rbp), %rdi
callq 0x5cde0
cmpl $0x0, %eax
je 0x4b05c
movq -0x10(%rbp), %rdi
callq 0x55cf0
movl %eax, -0x4(%rbp)
jmp 0x4b164
cmpq $0x0, 0x30(%rbp)
jne 0x4b074
movq -0x10(%rbp), %rdi
callq 0x55cf0
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rdi
movq 0x30(%rbp), %rsi
callq 0x3ce80
movq -0x10(%rbp), %rdi
callq 0x6a560
cmpl $0x0, %eax
jne 0x4b0b9
movq -0x10(%rbp), %rdi
callq 0x6b320
cmpl $0x0, %eax
jne 0x4b0b9
movq -0x10(%rbp), %rdi
callq 0x6b6f0
cmpl $0x0, %eax
jne 0x4b0b9
movq -0x10(%rbp), %rdi
callq 0x6b620
cmpl $0x0, %eax
je 0x4b0ca
movq -0x10(%rbp), %rdi
callq 0x55cf0
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rdi
movl $0x1, %esi
callq 0x6dd00
cmpl $0x0, %eax
je 0x4b0ec
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rdi
movq 0x30(%rbp), %rsi
leaq 0x2f9de(%rip), %rcx     # 0x7aad9
movq %rcx, %rdx
callq 0x3cf40
movq -0x10(%rbp), %rax
cmpl $0x0, 0x19214(%rax)
je 0x4b120
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x6dd00
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rdi
callq 0x6b690
cmpl $0x0, %eax
jne 0x4b14a
movq -0x10(%rbp), %rdi
callq 0x6b4e0
cmpl $0x0, %eax
jne 0x4b14a
movq -0x10(%rbp), %rdi
callq 0x5d870
cmpl $0x0, %eax
je 0x4b158
movq -0x10(%rbp), %rdi
callq 0x55cf0
movl %eax, -0x4(%rbp)
jmp 0x4b164
movq -0x10(%rbp), %rdi
callq 0x55cf0
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax)