// File: /workspace/github_c_makefile_star2_O0/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__HelloType
SOAP_FMAC4 soap_out_d__HelloType(struct soap *soap, const char *tag, int id, const struct d__HelloType *a, const char *type)
{
	if (a->__anyAttribute)
		soap_set_attr(soap, "-anyAttribute", a->__anyAttribute, 1);
	if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_d__HelloType), type))
		return soap->error;
	if (soap_out__wsa__EndpointReference(soap, "wsa:EndpointReference", -1, &a->wsa__EndpointReference, ""))
		return soap->error;
	if (soap_out_d__QNameListType(soap, "d:Types", -1, &a->Types, ""))
		return soap->error;
	if (soap_out_PointerTod__ScopesType(soap, "d:Scopes", -1, &a->Scopes, ""))
		return soap->error;
	if (soap_out_d__UriListType(soap, "d:XAddrs", -1, &a->XAddrs, ""))
		return soap->error;
	if (soap_out_unsignedInt(soap, "d:MetadataVersion", -1, &a->MetadataVersion, ""))
		return soap->error;
	if (a->__any)
	{	int i;
		for (i = 0; i < a->__size; i++)
			soap_outliteral(soap, "-any", a->__any + i, NULL);
	}
	return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x28(%rbp), %rax
cmpq $0x0, 0x68(%rax)
je 0xdaa3
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rax
movq 0x68(%rax), %rdx
leaq 0x2ae19(%rip), %rsi     # 0x388b2
movl $0x1, %ecx
callq 0x294c0
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movl -0x1c(%rbp), %esi
movq -0x28(%rbp), %rdx
movl $0x29, %ecx
callq 0x23f60
movq -0x48(%rbp), %rdi
movq -0x40(%rbp), %rsi
movl %eax, %edx
movq -0x30(%rbp), %rcx
callq 0x24590
cmpl $0x0, %eax
je 0xdaf2
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xdc74
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
leaq 0x2ac72(%rip), %rsi     # 0x38773
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x2bf16(%rip), %r8      # 0x39a23
callq 0xdc80
cmpl $0x0, %eax
je 0xdb29
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xdc74
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x40, %rcx
leaq 0x2ad9c(%rip), %rsi     # 0x388d8
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x2bedb(%rip), %r8      # 0x39a23
callq 0x130c0
cmpl $0x0, %eax
je 0xdb64
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xdc74
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x48, %rcx
leaq 0x2ad69(%rip), %rsi     # 0x388e0
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x2bea0(%rip), %r8      # 0x39a23
callq 0xe720
cmpl $0x0, %eax
je 0xdb9f
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xdc74
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x50, %rcx
leaq 0x2ad37(%rip), %rsi     # 0x388e9
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x2be65(%rip), %r8      # 0x39a23
callq 0x13100
cmpl $0x0, %eax
je 0xdbda
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xdc74
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rcx
addq $0x58, %rcx
leaq 0x2ad05(%rip), %rsi     # 0x388f2
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
leaq 0x2be2a(%rip), %r8      # 0x39a23
callq 0xc700
cmpl $0x0, %eax
je 0xdc12
movq -0x10(%rbp), %rax
movl 0x1f274(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xdc74
movq -0x28(%rbp), %rax
cmpq $0x0, 0x60(%rax)
je 0xdc64
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
movq -0x28(%rbp), %rcx
cmpl 0x5c(%rcx), %eax
jge 0xdc62
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rax
movq 0x60(%rax), %rdx
movslq -0x34(%rbp), %rax
shlq $0x3, %rax
addq %rax, %rdx
leaq 0x2abf1(%rip), %rsi     # 0x3883f
xorl %eax, %eax
movl %eax, %ecx
callq 0x31110
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xdc24
jmp 0xdc64
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x24680
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)