// File: /workspace/github_c_makefile_star2_O3/hkshenSmart[P]ONVIF-discovery_cs/soapServer.c
// Function: soap_serve___dnrd__Bye
SOAP_FMAC6 soap_serve___dnrd__Bye(struct soap *soap)
{	struct __dnrd__Bye soap_tmp___dnrd__Bye;
	struct d__ResolveType dn__ByeResponse;
	soap_default_d__ResolveType(soap, &dn__ByeResponse);
	soap_default___dnrd__Bye(soap, &soap_tmp___dnrd__Bye);
	soap->encodingStyle = NULL;
	if (!soap_get___dnrd__Bye(soap, &soap_tmp___dnrd__Bye, "-dnrd:Bye", NULL))
		return soap->error;
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap->error;
	soap->error = __dnrd__Bye(soap, soap_tmp___dnrd__Bye.d__Bye, &dn__ByeResponse);
	if (soap->error)
		return soap->error;
	soap_serializeheader(soap);
	soap_serialize_d__ResolveType(soap, &dn__ByeResponse);
	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_d__ResolveType(soap, &dn__ByeResponse, "dn:ByeResponse", NULL)
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	};
	if (soap_end_count(soap)
	 || soap_response(soap, SOAP_OK)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put_d__ResolveType(soap, &dn__ByeResponse, "dn:ByeResponse", NULL)
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap->error;
	return soap_closesock(soap);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %rsi
callq 0xe155
leaq 0x8(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd954
movq $0x0, 0x38(%rbx)
leaq 0x15944(%rip), %rdx     # 0x25b3a
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0xda91
testq %rax, %rax
je 0x1022c
movq %rbx, %rdi
callq 0x2291a
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x2287e
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x197cc
testl %eax, %eax
je 0x1023a
movl 0x1f274(%rbx), %eax
addq $0x68, %rsp
popq %rbx
popq %r14
retq
movq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x35f2
movl %eax, 0x1f274(%rbx)
testl %eax, %eax
jne 0x10232
movq %rbx, %rdi
callq 0x3774
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0xb599
movq %rbx, %rdi
callq 0x17d91
testl %eax, %eax
jne 0x1022c
testb $0x8, 0x4(%rbx)
jne 0x10322
movq %rbx, %rdi
callq 0x180f7
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
xorl %esi, %esi
callq 0x17596
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x2251b
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x37f5
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x22893
testl %eax, %eax
jne 0x1022c
leaq 0x15876(%rip), %rdx     # 0x25b44
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xe173
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x228f1
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x22650
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x1919c
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x14818
jmp 0x10232
movq %rbx, %rdi
callq 0x2251b
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x37f5
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x22893
testl %eax, %eax
jne 0x1022c
leaq 0x157eb(%rip), %rdx     # 0x25b44
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xe173
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x228f1
testl %eax, %eax
jne 0x1022c
movq %rbx, %rdi
callq 0x22650
testl %eax, %eax
jne 0x1022c
jmp 0x10281
nopl (%rax)