// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x163de
leaq 0x22686(%rip), %rax     # 0x38a60
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq $0x0, 0x38(%rax)
movq -0x28(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x28350
movq -0x10(%rbp), %rdi
callq 0x3770
movq -0x10(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0xf0b0
movq -0x10(%rbp), %rdi
callq 0x23720
cmpl $0x0, %eax
je 0x16431
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16656
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x164b7
movq -0x10(%rbp), %rdi
callq 0x343b0
cmpl $0x0, %eax
jne 0x164a3
movq -0x10(%rbp), %rdi
callq 0x3840
cmpl $0x0, %eax
jne 0x164a3
movq -0x10(%rbp), %rdi
callq 0x349c0
cmpl $0x0, %eax
jne 0x164a3
movq -0x10(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq 0x22409(%rip), %rdx     # 0x38882
xorl %eax, %eax
movl %eax, %ecx
callq 0x12a70
cmpl $0x0, %eax
jne 0x164a3
movq -0x10(%rbp), %rdi
callq 0x34a60
cmpl $0x0, %eax
jne 0x164a3
movq -0x10(%rbp), %rdi
callq 0x345e0
cmpl $0x0, %eax
je 0x164b5
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16656
jmp 0x164b7
movq -0x10(%rbp), %rdi
callq 0x23d10
cmpl $0x0, %eax
je 0x164d7
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16656
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x34d30
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
callq 0x343b0
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
callq 0x3840
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
callq 0x349c0
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
leaq -0x38(%rbp), %rsi
leaq 0x2235c(%rip), %rdx     # 0x38882
xorl %eax, %eax
movl %eax, %ecx
callq 0x12a70
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
callq 0x34a60
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
callq 0x345e0
cmpl $0x0, %eax
jne 0x1655e
movq -0x10(%rbp), %rdi
callq 0x257a0
cmpl $0x0, %eax
je 0x1656f
movq -0x10(%rbp), %rdi
callq 0x1de40
movl %eax, -0x4(%rbp)
jmp 0x16656
cmpq $0x0, -0x30(%rbp)
jne 0x16587
movq -0x10(%rbp), %rdi
callq 0x1de40
movl %eax, -0x4(%rbp)
jmp 0x16656
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x136a0
movq -0x10(%rbp), %rdi
callq 0x33370
cmpl $0x0, %eax
jne 0x165cc
movq -0x10(%rbp), %rdi
callq 0x34100
cmpl $0x0, %eax
jne 0x165cc
movq -0x10(%rbp), %rdi
callq 0x342c0
cmpl $0x0, %eax
jne 0x165cc
movq -0x10(%rbp), %rdi
callq 0x34340
cmpl $0x0, %eax
je 0x165da
movq -0x10(%rbp), %rdi
callq 0x1de40
movl %eax, -0x4(%rbp)
jmp 0x16656
movq -0x10(%rbp), %rdi
movq -0x30(%rbp), %rsi
leaq 0x224a5(%rip), %rdx     # 0x38a8e
leaq 0x22023(%rip), %rcx     # 0x38613
callq 0x13790
movq -0x10(%rbp), %rax
cmpl $0x0, 0x1f274(%rax)
je 0x16612
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x36ad0
movl %eax, -0x4(%rbp)
jmp 0x16656
movq -0x10(%rbp), %rdi
callq 0x34ab0
cmpl $0x0, %eax
jne 0x1663c
movq -0x10(%rbp), %rdi
callq 0x34990
cmpl $0x0, %eax
jne 0x1663c
movq -0x10(%rbp), %rdi
callq 0x26230
cmpl $0x0, %eax
je 0x1664a
movq -0x10(%rbp), %rdi
callq 0x1de40
movl %eax, -0x4(%rbp)
jmp 0x16656
movq -0x10(%rbp), %rdi
callq 0x1de40
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nop