// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapClient.c
// Function: soap_call___dndl__Probe
int SOAP_FMAC6 soap_call___dndl__Probe(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct d__ProbeType *d__Probe, struct d__ProbeMatchesType *d__ProbeMatches)
{	struct __dndl__Probe soap_tmp___dndl__Probe;
	if (!soap_action)
		soap_action = "http://www.onvif.org/ver10/network/wsdl/Probe";
	soap->encodingStyle = NULL;
	soap_tmp___dndl__Probe.d__Probe = d__Probe;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___dndl__Probe(soap, &soap_tmp___dndl__Probe);
	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___dndl__Probe(soap, &soap_tmp___dndl__Probe, "-dndl:Probe", 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___dndl__Probe(soap, &soap_tmp___dndl__Probe, "-dndl:Probe", NULL)
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	if (!d__ProbeMatches)
		return soap_closesock(soap);
	soap_default_d__ProbeMatchesType(soap, d__ProbeMatches);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get_d__ProbeMatchesType(soap, d__ProbeMatches, "d:ProbeMatches", "d:ProbeMatchesType");
	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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %r8, %r14
testq %rdx, %rdx
leaq 0x13a80(%rip), %r15     # 0x22a52
cmovneq %rdx, %r15
movq %rdi, %rbx
andq $0x0, 0x38(%rdi)
movq %rsi, %r12
leaq 0x8(%rsp), %r13
movq %rcx, (%r13)
callq 0x18c91
movq %rbx, %rdi
callq 0x36a0
movq %rbx, %rdi
movq %r13, %rsi
callq 0xad28
movq %rbx, %rdi
callq 0x16555
testl %eax, %eax
je 0xf022
movl 0x1f274(%rbx), %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
testb $0x8, 0x4(%rbx)
jne 0xf0bd
movq %rbx, %rdi
callq 0x16898
testl %eax, %eax
jne 0xf00e
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x20556
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x20004
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x3712
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x20373
testl %eax, %eax
jne 0xf0b0
leaq 0x13a0b(%rip), %rdx     # 0x22a80
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xd14b
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x203cf
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x20142
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x1773a
testl %eax, %eax
je 0xf130
movq %rbx, %rdi
callq 0x13665
jmp 0xf014
movq %rbx, %rdi
callq 0x20004
testl %eax, %eax
jne 0xf00e
movq %rbx, %rdi
callq 0x3712
testl %eax, %eax
jne 0xf00e
movq %rbx, %rdi
callq 0x20373
testl %eax, %eax
jne 0xf00e
leaq 0x1398c(%rip), %rdx     # 0x22a80
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xd14b
testl %eax, %eax
jne 0xf00e
movq %rbx, %rdi
callq 0x203cf
testl %eax, %eax
jne 0xf00e
movq %rbx, %rdi
callq 0x20142
testl %eax, %eax
jne 0xf00e
jmp 0xf02c
testq %r14, %r14
je 0xf0b0
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd6b8
movq %rbx, %rdi
callq 0x1f634
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x1fe02
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x1ff6b
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x1ffb6
testl %eax, %eax
jne 0xf0b0
leaq 0x13901(%rip), %rdx     # 0x22a8c
leaq 0x13495(%rip), %rcx     # 0x22627
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd737
cmpl $0x0, 0x1f274(%rbx)
je 0xf1b5
movq %rbx, %rdi
xorl %esi, %esi
callq 0x214ee
jmp 0xf014
movq %rbx, %rdi
callq 0x203f8
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x2035e
testl %eax, %eax
jne 0xf0b0
movq %rbx, %rdi
callq 0x17d11
testl %eax, %eax
jmp 0xf0b0