// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x134f0
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
callq 0x12450
movq -0x10(%rbp), %rax
movq $0x0, 0x38(%rax)
movq -0x10(%rbp), %rdi
leaq -0x18(%rbp), %rsi
leaq 0x21d9f(%rip), %rdx     # 0x38920
xorl %eax, %eax
movl %eax, %ecx
callq 0x126b0
cmpq $0x0, %rax
jne 0x16ba2
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16d84
movq -0x10(%rbp), %rdi
callq 0x34c80
cmpl $0x0, %eax
jne 0x16bcc
movq -0x10(%rbp), %rdi
callq 0x34b60
cmpl $0x0, %eax
jne 0x16bcc
movq -0x10(%rbp), %rdi
callq 0x26400
cmpl $0x0, %eax
je 0x16bde
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16d84
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
leaq -0x70(%rbp), %rdx
callq 0x36d0
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x1f274(%rax)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x1f274(%rax)
je 0x16c1a
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16d84
movq -0x10(%rbp), %rdi
callq 0x38c0
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0xf320
movq -0x10(%rbp), %rdi
callq 0x238f0
cmpl $0x0, %eax
je 0x16c50
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16d84
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0x16cd6
movq -0x10(%rbp), %rdi
callq 0x34580
cmpl $0x0, %eax
jne 0x16cc2
movq -0x10(%rbp), %rdi
callq 0x3990
cmpl $0x0, %eax
jne 0x16cc2
movq -0x10(%rbp), %rdi
callq 0x34b90
cmpl $0x0, %eax
jne 0x16cc2
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
leaq 0x21ea4(%rip), %rdx     # 0x38b3c
xorl %eax, %eax
movl %eax, %ecx
callq 0x13540
cmpl $0x0, %eax
jne 0x16cc2
movq -0x10(%rbp), %rdi
callq 0x34c30
cmpl $0x0, %eax
jne 0x16cc2
movq -0x10(%rbp), %rdi
callq 0x347b0
cmpl $0x0, %eax
je 0x16cd4
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16d84
jmp 0x16cd6
movq -0x10(%rbp), %rdi
callq 0x23ee0
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
xorl %esi, %esi
callq 0x22ae0
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
callq 0x34580
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
callq 0x3990
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
callq 0x34b90
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
leaq -0x70(%rbp), %rsi
leaq 0x21e0b(%rip), %rdx     # 0x38b3c
xorl %eax, %eax
movl %eax, %ecx
callq 0x13540
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
callq 0x34c30
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
callq 0x347b0
cmpl $0x0, %eax
jne 0x16d69
movq -0x10(%rbp), %rdi
callq 0x25970
cmpl $0x0, %eax
je 0x16d78
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x16d84
movq -0x10(%rbp), %rdi
callq 0x1e010
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax)