LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_putindependent
SOAP_FMAC4 soap_putindependent(struct soap *soap)
{
	int i;
	struct soap_plist *pp;
	if (soap->version == 1 && soap->encodingStyle && !(soap->mode & (SOAP_XML_TREE | SOAP_XML_GRAPH)))
		for (i = 0; i < SOAP_PTRHASH; i++)
			for (pp = soap->pht[i]; pp; pp = pp->next)
				if (pp->mark1 == 2 || pp->mark2 == 2)
					if (soap_putelement(soap, pp->ptr, "id", pp->id, pp->type))
						return soap->error;
	return SOAP_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpw $0x1, 0x2(%rdi)
jne 0x8f01
movq %rdi, %r14
cmpq $0x0, 0x38(%rdi)
je 0x8f01
testb $0x6, 0x6(%r14)
jne 0x8f01
leaq 0x3f20(%r14), %r12
xorl %ebx, %ebx
leaq 0x19913(%rip), %r15     # 0x227c7
xorl %r13d, %r13d
cmpq $0x1000, %r13           # imm = 0x1000
je 0x8f01
leaq (%r12,%r13,8), %rbp
movq (%rbp), %rbp
testq %rbp, %rbp
je 0x8ef5
cmpb $0x2, 0x20(%rbp)
je 0x8ed9
cmpb $0x2, 0x21(%rbp)
jne 0x8ec4
movq 0x8(%rbp), %rsi
movl 0x1c(%rbp), %ecx
movl 0x18(%rbp), %r8d
movq %r14, %rdi
movq %r15, %rdx
callq 0x8f12
testl %eax, %eax
je 0x8ec4
jmp 0x8efa
incq %r13
jmp 0x8eb7
movl 0x1f274(%r14), %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__AppSequenceType
SOAP_FMAC4 soap_out_d__AppSequenceType(struct soap *soap, const char *tag, int id, const struct d__AppSequenceType *a, const char *type)
{
	soap_set_attr(soap, "InstanceId", soap_unsignedInt2s(soap, a->InstanceId), 1);
	if (a->SequenceId)
		soap_set_attr(soap, "SequenceId", a->SequenceId, 1);
	soap_set_attr(soap, "MessageNumber", soap_unsignedInt2s(soap, a->MessageNumber), 1);
	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__AppSequenceType), type))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r15
movq %rcx, %r12
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movl (%rcx), %esi
callq 0x1cf02
leaq 0x192e5(%rip), %rsi     # 0x22880
pushq $0x1
popq %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x19643
movq 0x8(%r12), %rdx
testq %rdx, %rdx
je 0x95c5
leaq 0x192d1(%rip), %rsi     # 0x2288b
pushq $0x1
popq %rcx
movq %r14, %rdi
callq 0x19643
movl 0x10(%r12), %esi
movq %r14, %rdi
callq 0x1cf02
leaq 0x192bd(%rip), %rsi     # 0x22896
pushq $0x1
popq %rcx
movq %r14, %rdi
movq %rax, %rdx
callq 0x19643
movq 0x18(%r12), %rdx
testq %rdx, %rdx
je 0x9603
leaq 0x192ac(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %r14, %rdi
callq 0x19643
pushq $0x39
popq %rcx
movq %r14, %rdi
movl %ebp, %esi
movq %r12, %rdx
callq 0x169d2
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r15, %rcx
callq 0x16e14
testl %eax, %eax
je 0x9637
movl 0x1f274(%r14), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__SigType
SOAP_FMAC4 soap_out_d__SigType(struct soap *soap, const char *tag, int id, const struct d__SigType *a, const char *type)
{
	if (a->Scheme)
		soap_set_attr(soap, "Scheme", a->Scheme, 1);
	if (a->KeyId)
		soap_set_attr(soap, "KeyId", a->KeyId, 1);
	if (a->Refs)
		soap_set_attr(soap, "Refs", a->Refs, 1);
	if (a->Sig)
		soap_set_attr(soap, "Sig", a->Sig, 1);
	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__SigType), type))
		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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r14
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
movq 0x10(%rcx), %rdx
testq %rdx, %rdx
je 0x967e
leaq 0x1923f(%rip), %rsi     # 0x228b2
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
movq 0x18(%r14), %rdx
testq %rdx, %rdx
je 0x9699
leaq 0x1922b(%rip), %rsi     # 0x228b9
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
movq 0x20(%r14), %rdx
testq %rdx, %rdx
je 0x96b4
leaq 0x19216(%rip), %rsi     # 0x228bf
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
movq 0x28(%r14), %rdx
testq %rdx, %rdx
je 0x96cf
leaq 0x19202(%rip), %rsi     # 0x228c6
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
movq 0x30(%r14), %rdx
testq %rdx, %rdx
je 0x96ea
leaq 0x191c5(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
pushq $0x37
popq %rcx
movq %r15, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0x169d2
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
je 0x9724
movl 0x1f274(%r15), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x8(%r14)
je 0x975c
xorl %r13d, %r13d
leaq 0x1911e(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq (%r14), %rax
cmpq %rax, %rbp
jge 0x975c
movq 0x8(%r14), %rdx
addq %r13, %rdx
movq %r15, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0x9737
movq %r15, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__SecurityType
SOAP_FMAC4 soap_out_d__SecurityType(struct soap *soap, const char *tag, int id, const struct d__SecurityType *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__SecurityType), type))
		return soap->error;
	if (soap_out_PointerTod__SigType(soap, "d:Sig", -1, &a->Sig, ""))
		return soap->error;
	return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rcx), %rdx
testq %rdx, %rdx
je 0x97a6
leaq 0x19109(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x36
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0x97ea
leaq 0x190f3(%rip), %rsi     # 0x228c4
leaq 0x19e16(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0xa7b8
testl %eax, %eax
je 0x97f9
movl 0x1f274(%rbx), %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ResolveMatchesType
SOAP_FMAC4 soap_out_d__ResolveMatchesType(struct soap *soap, const char *tag, int id, const struct d__ResolveMatchesType *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__ResolveMatchesType), type))
		return soap->error;
	if (soap_out_PointerTod__ResolveMatchType(soap, "d:ResolveMatch", -1, &a->ResolveMatch, ""))
		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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rcx), %rdx
testq %rdx, %rdx
je 0x99c3
leaq 0x18eec(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x33
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0x9a07
leaq 0x18f08(%rip), %rsi     # 0x228f6
leaq 0x19bf9(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0xa817
testl %eax, %eax
je 0x9a1c
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x10(%r15)
je 0x9a55
xorl %r13d, %r13d
leaq 0x18e26(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq 0x8(%r15), %rax
cmpq %rax, %rbp
jge 0x9a55
movq 0x10(%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0x9a2f
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ResolveType
SOAP_FMAC4 soap_out_d__ResolveType(struct soap *soap, const char *tag, int id, const struct d__ResolveType *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__ResolveType), type))
		return soap->error;
	soap_element_result(soap, "wsa:EndpointReference");
	if (soap_out__wsa__EndpointReference(soap, "wsa:EndpointReference", -1, &a->wsa__EndpointReference, ""))
		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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x50(%rcx), %rdx
testq %rdx, %rdx
je 0x9aa2
leaq 0x18e0d(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x32
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0x9af4
leaq 0x18cba(%rip), %r12     # 0x22787
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1a0f7
leaq 0x19b0f(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rcx
callq 0xa220
testl %eax, %eax
je 0x9b09
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x48(%r15)
je 0x9b42
xorl %r13d, %r13d
leaq 0x18d39(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq 0x40(%r15), %rax
cmpq %rax, %rbp
jge 0x9b42
movq 0x48(%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0x9b1c
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ProbeMatchType
SOAP_FMAC4 soap_out_d__ProbeMatchType(struct soap *soap, const char *tag, int id, const struct d__ProbeMatchType *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__ProbeMatchType), 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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x68(%rcx), %rdx
testq %rdx, %rdx
je 0x9b8f
leaq 0x18d20(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x30
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0x9c5f
leaq 0x18bc9(%rip), %rsi     # 0x22787
leaq 0x19a29(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0xa220
testl %eax, %eax
jne 0x9c5f
leaq 0x40(%r15), %rcx
leaq 0x18ce4(%rip), %rsi     # 0x228ca
leaq 0x19a01(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xd3d8
testl %eax, %eax
jne 0x9c5f
leaq 0x48(%r15), %rcx
leaq 0x18ccb(%rip), %rsi     # 0x228d2
leaq 0x199e0(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xa934
testl %eax, %eax
jne 0x9c5f
leaq 0x50(%r15), %rcx
leaq 0x18cb3(%rip), %rsi     # 0x228db
leaq 0x199bf(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xd3e1
testl %eax, %eax
jne 0x9c5f
leaq 0x58(%r15), %rcx
leaq 0x18c9b(%rip), %rsi     # 0x228e4
leaq 0x1999e(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0x938e
testl %eax, %eax
je 0x9c74
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x60(%r15)
je 0x9cad
xorl %r13d, %r13d
leaq 0x18bce(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq 0x5c(%r15), %rax
cmpq %rax, %rbp
jge 0x9cad
movq 0x60(%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0x9c87
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ProbeMatchesType
SOAP_FMAC4 soap_out_d__ProbeMatchesType(struct soap *soap, const char *tag, int id, const struct d__ProbeMatchesType *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__ProbeMatchesType), type))
		return soap->error;
	soap_element_result(soap, "-sizeProbeMatch");
	if (a->ProbeMatch)
	{	int i;
		for (i = 0; i < a->__sizeProbeMatch; i++)
			if (soap_out_d__ProbeMatchType(soap, "d:ProbeMatch", -1, a->ProbeMatch + i, ""))
				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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x20(%rcx), %rdx
testq %rdx, %rdx
je 0x9cfa
leaq 0x18bb5(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x2f
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
je 0x9d33
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, (%rsp)
leaq 0x18bc7(%rip), %rsi     # 0x22905
movq %rbx, %rdi
callq 0x1a0f7
cmpq $0x0, 0x8(%r15)
je 0x9d8d
pushq $-0x1
popq %r14
xorl %ecx, %ecx
leaq 0x19894(%rip), %r13     # 0x235ee
pushq $-0x1
popq %rbp
movslq (%r15), %rax
incq %r14
cmpq %rax, %r14
jge 0x9d8d
leaq 0x70(%rcx), %r12
addq 0x8(%r15), %rcx
movq %rbx, %rdi
leaq 0x18b9b(%rip), %rsi     # 0x22915
movl %ebp, %edx
movq %r13, %r8
callq 0x9b5b
movq %r12, %rcx
testl %eax, %eax
je 0x9d5d
jmp 0x9d1e
cmpq $0x0, 0x18(%r15)
je 0x9dc7
xorl %r14d, %r14d
leaq 0x18ab5(%rip), %r12     # 0x22853
xorl %r13d, %r13d
movslq 0x10(%r15), %rax
cmpq %rax, %r13
jge 0x9dc7
movq 0x18(%r15), %rdx
addq %r14, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %r13
addq $0x8, %r14
jmp 0x9da1
movq %rbx, %rdi
movq (%rsp), %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ProbeType
SOAP_FMAC4 soap_out_d__ProbeType(struct soap *soap, const char *tag, int id, const struct d__ProbeType *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__ProbeType), type))
		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 (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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x20(%rcx), %rdx
testq %rdx, %rdx
je 0x9e15
leaq 0x18a9a(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x2e
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0x9e7a
leaq 0x18a8a(%rip), %rsi     # 0x228ca
leaq 0x197a7(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0xd3d8
testl %eax, %eax
jne 0x9e7a
leaq 0x8(%r15), %rcx
leaq 0x18a6e(%rip), %rsi     # 0x228d2
leaq 0x19783(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xa934
testl %eax, %eax
je 0x9e8f
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x18(%r15)
je 0x9ec8
xorl %r13d, %r13d
leaq 0x189b3(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq 0x10(%r15), %rax
cmpq %rax, %rbp
jge 0x9ec8
movq 0x18(%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0x9ea2
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ByeType
SOAP_FMAC4 soap_out_d__ByeType(struct soap *soap, const char *tag, int id, const struct d__ByeType *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__ByeType), 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_PointerTounsignedInt(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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x70(%rcx), %rdx
testq %rdx, %rdx
je 0x9f15
leaq 0x1899a(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x2c
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0x9fe5
leaq 0x18843(%rip), %rsi     # 0x22787
leaq 0x196a3(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0xa220
testl %eax, %eax
jne 0x9fe5
leaq 0x40(%r15), %rcx
leaq 0x1895e(%rip), %rsi     # 0x228ca
leaq 0x1967b(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xd3d8
testl %eax, %eax
jne 0x9fe5
leaq 0x48(%r15), %rcx
leaq 0x18945(%rip), %rsi     # 0x228d2
leaq 0x1965a(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xa934
testl %eax, %eax
jne 0x9fe5
leaq 0x50(%r15), %rcx
leaq 0x1892d(%rip), %rsi     # 0x228db
leaq 0x19639(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xd3e1
testl %eax, %eax
jne 0x9fe5
leaq 0x58(%r15), %rcx
leaq 0x18915(%rip), %rsi     # 0x228e4
leaq 0x19618(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xa8d5
testl %eax, %eax
je 0x9ffa
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x68(%r15)
je 0xa033
xorl %r13d, %r13d
leaq 0x18848(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq 0x60(%r15), %rax
cmpq %rax, %rbp
jge 0xa033
movq 0x68(%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0xa00d
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_d__ScopesType
SOAP_FMAC4 soap_out_d__ScopesType(struct soap *soap, const char *tag, int id, const struct d__ScopesType *a, const char *type)
{
	if (a->MatchBy)
		soap_set_attr(soap, "MatchBy", a->MatchBy, 1);
	if (a->__anyAttribute)
		soap_set_attr(soap, "-anyAttribute", a->__anyAttribute, 1);
	return soap_out_d__UriListType(soap, tag, id, &a->__item, "");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rcx), %rdx
testq %rdx, %rdx
je 0xa079
leaq 0x188b4(%rip), %rsi     # 0x22922
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0xa094
leaq 0x1881b(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
leaq 0x19553(%rip), %r8      # 0x235ee
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xd3e1
// File: /workspace/github_c_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x68(%rcx), %rdx
testq %rdx, %rdx
je 0xa0e9
leaq 0x187c6(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x19643
pushq $0x29
popq %rcx
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
callq 0x169d2
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
jne 0xa1b9
leaq 0x1866f(%rip), %rsi     # 0x22787
leaq 0x194cf(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movq %r15, %rcx
callq 0xa220
testl %eax, %eax
jne 0xa1b9
leaq 0x40(%r15), %rcx
leaq 0x1878a(%rip), %rsi     # 0x228ca
leaq 0x194a7(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xd3d8
testl %eax, %eax
jne 0xa1b9
leaq 0x48(%r15), %rcx
leaq 0x18771(%rip), %rsi     # 0x228d2
leaq 0x19486(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xa934
testl %eax, %eax
jne 0xa1b9
leaq 0x50(%r15), %rcx
leaq 0x18759(%rip), %rsi     # 0x228db
leaq 0x19465(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xd3e1
testl %eax, %eax
jne 0xa1b9
leaq 0x58(%r15), %rcx
leaq 0x18741(%rip), %rsi     # 0x228e4
leaq 0x19444(%rip), %r8      # 0x235ee
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0x938e
testl %eax, %eax
je 0xa1ce
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x60(%r15)
je 0xa207
xorl %r13d, %r13d
leaq 0x18674(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq 0x5c(%r15), %rax
cmpq %rax, %rbp
jge 0xa207
movq 0x60(%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0xa1e1
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_wsa__Relationship
SOAP_FMAC4 soap_out_wsa__Relationship(struct soap *soap, const char *tag, int id, const struct wsa__Relationship *a, const char *type)
{
	if (a->RelationshipType)
		soap_set_attr(soap, "RelationshipType", soap_QName2s(soap, a->RelationshipType), 1);
	if (a->__anyAttribute)
		soap_set_attr(soap, "-anyAttribute", a->__anyAttribute, 1);
	return soap_out_string(soap, tag, id, &a->__item, "");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rcx), %rsi
testq %rsi, %rsi
je 0xa3e9
movq %r15, %rdi
callq 0x1d6d0
leaq 0x18197(%rip), %rsi     # 0x22572
pushq $0x1
popq %rcx
movq %r15, %rdi
movq %rax, %rdx
callq 0x19643
movq 0x10(%rbx), %rdx
testq %rdx, %rdx
je 0xa404
leaq 0x184ab(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
leaq 0x191e3(%rip), %r8      # 0x235ee
movq %r15, %rdi
movq %r14, %rsi
movl %ebp, %edx
movq %rbx, %rcx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0xa980
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_wsa__ServiceNameType
SOAP_FMAC4 soap_out_wsa__ServiceNameType(struct soap *soap, const char *tag, int id, const struct wsa__ServiceNameType *a, const char *type)
{
	const char *soap_tmp___item = soap_QName2s(soap, a->__item);
	if (a->PortName)
		soap_set_attr(soap, "PortName", a->PortName, 1);
	if (a->__anyAttribute)
		soap_set_attr(soap, "-anyAttribute", a->__anyAttribute, 1);
	return soap_out__QName(soap, tag, id, (char*const*)&soap_tmp___item, "");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rcx), %rsi
callq 0x1d6d0
movq %rax, (%rsp)
movq 0x8(%r12), %rdx
testq %rdx, %rdx
je 0xa460
leaq 0x184d5(%rip), %rsi     # 0x2292a
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
movq 0x10(%r12), %rdx
testq %rdx, %rdx
je 0xa47c
leaq 0x18433(%rip), %rsi     # 0x228a4
pushq $0x1
popq %rcx
movq %r15, %rdi
callq 0x19643
leaq 0x1916b(%rip), %r8      # 0x235ee
movq %rsp, %rcx
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0xbc7f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_wsa__ReferenceParametersType
SOAP_FMAC4 soap_out_wsa__ReferenceParametersType(struct soap *soap, const char *tag, int id, const struct wsa__ReferenceParametersType *a, const char *type)
{
	if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_wsa__ReferenceParametersType), type))
		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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
pushq $0x9
popq %rcx
movl %edx, %esi
movq %r14, %rdx
callq 0x169d2
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
je 0xa4ed
movl 0x1f274(%r15), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x8(%r14)
je 0xa525
xorl %r13d, %r13d
leaq 0x18355(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq (%r14), %rax
cmpq %rax, %rbp
jge 0xa525
movq 0x8(%r14), %rdx
addq %r13, %rdx
movq %r15, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0xa500
movq %r15, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_wsa__ReferencePropertiesType
SOAP_FMAC4 soap_out_wsa__ReferencePropertiesType(struct soap *soap, const char *tag, int id, const struct wsa__ReferencePropertiesType *a, const char *type)
{
	if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_wsa__ReferencePropertiesType), type))
		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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
pushq $0x8
popq %rcx
movl %edx, %esi
movq %r14, %rdx
callq 0x169d2
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x16e14
testl %eax, %eax
je 0xa58c
movl 0x1f274(%r15), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpq $0x0, 0x8(%r14)
je 0xa5c4
xorl %r13d, %r13d
leaq 0x182b6(%rip), %r12     # 0x22853
xorl %ebp, %ebp
movslq (%r14), %rax
cmpq %rax, %rbp
jge 0xa5c4
movq 0x8(%r14), %rdx
addq %r13, %rdx
movq %r15, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
callq 0x1e29b
incq %rbp
addq $0x8, %r13
jmp 0xa59f
movq %r15, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16e91
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_PointerTounsignedInt
SOAP_FMAC4 soap_out_PointerTounsignedInt(struct soap *soap, const char *tag, int id, unsigned int *const*a, const char *type)
{
	id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_unsignedInt);
	if (id < 0)
		return soap->error;
	return soap_out_unsignedInt(soap, tag, id, *a, type);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq (%rcx), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x1b
pushq %rbx
callq 0x16d41
addq $0x10, %rsp
testl %eax, %eax
js 0xa920
movq (%r15), %rcx
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %rbx, %r8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x938e
movl 0x1f274(%r12), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_PointerTod__ScopesType
SOAP_FMAC4 soap_out_PointerTod__ScopesType(struct soap *soap, const char *tag, int id, struct d__ScopesType *const*a, const char *type)
{
	id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_d__ScopesType);
	if (id < 0)
		return soap->error;
	return soap_out_d__ScopesType(soap, tag, id, *a, type);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %r8, %rax
movq %rcx, %r14
movq %rsi, %rbx
movq %rdi, %r15
movq (%rcx), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x2a
pushq %rax
callq 0x16d41
addq $0x10, %rsp
testl %eax, %eax
js 0xa973
movq (%r14), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
popq %rbx
popq %r14
popq %r15
jmp 0xa04c
movl 0x1f274(%r15), %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_PointerTo_wsa__FaultTo
SOAP_FMAC4 soap_out_PointerTo_wsa__FaultTo(struct soap *soap, const char *tag, int id, struct wsa__EndpointReferenceType *const*a, const char *type)
{
	id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE__wsa__FaultTo);
	if (id < 0)
		return soap->error;
	return soap_out__wsa__FaultTo(soap, tag, id, *a, type);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq (%rcx), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x1a
pushq %rbx
callq 0x16d41
addq $0x10, %rsp
testl %eax, %eax
js 0xa9d4
movq (%r15), %rcx
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %rbx, %r8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xa220
movl 0x1f274(%r12), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_out_PointerTowsa__ReferenceParametersType
SOAP_FMAC4 soap_out_PointerTowsa__ReferenceParametersType(struct soap *soap, const char *tag, int id, struct wsa__ReferenceParametersType *const*a, const char *type)
{
	id = soap_element_id(soap, tag, id, *a, NULL, 0, type, SOAP_TYPE_wsa__ReferenceParametersType);
	if (id < 0)
		return soap->error;
	return soap_out_wsa__ReferenceParametersType(soap, tag, id, *a, type);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r15
movq %rsi, %r14
movq %rdi, %r12
movq (%rcx), %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x9
pushq %rbx
callq 0x16d41
addq $0x10, %rsp
testl %eax, %eax
js 0xabe8
movq (%r15), %rcx
movq %r12, %rdi
movq %r14, %rsi
movl %eax, %edx
movq %rbx, %r8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0xa49f
movl 0x1f274(%r12), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_serialize_d__ResolveMatchType
SOAP_FMAC4 soap_serialize_d__ResolveMatchType(struct soap *soap, const struct d__ResolveMatchType *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize__wsa__EndpointReference(soap, &a->wsa__EndpointReference);
	soap_serialize_d__QNameListType(soap, &a->Types);
	soap_serialize_PointerTod__ScopesType(soap, &a->Scopes);
	soap_serialize_d__UriListType(soap, &a->XAddrs);
	soap_embedded(soap, &a->MetadataVersion, SOAP_TYPE_unsignedInt);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xaeed
leaq 0x40(%rbx), %rsi
movq %r14, %rdi
callq 0xb0f0
leaq 0x48(%rbx), %rsi
movq %r14, %rdi
callq 0xb0bd
leaq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0xb0f0
addq $0x58, %rbx
pushq $0x1b
popq %rdx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x168c1
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_serialize_d__ProbeMatchesType
SOAP_FMAC4 soap_serialize_d__ProbeMatchesType(struct soap *soap, const struct d__ProbeMatchesType *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	if (a->ProbeMatch)
	{	int i;
		for (i = 0; i < a->__sizeProbeMatch; i++)
		{
			soap_embedded(soap, a->ProbeMatch + i, SOAP_TYPE_d__ProbeMatchType);
			soap_serialize_d__ProbeMatchType(soap, a->ProbeMatch + i);
		}
	}
}

// Assembly:
cmpq $0x0, 0x8(%rsi)
je 0xae2d
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
pushq $0x30
popq %rbp
xorl %r12d, %r12d
movslq (%rbx), %rax
cmpq %rax, %r12
jge 0xae25
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x168c1
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0xad8a
incq %r12
addq $0x70, %r15
jmp 0xadf4
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_serialize_d__ByeType
SOAP_FMAC4 soap_serialize_d__ByeType(struct soap *soap, const struct d__ByeType *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize__wsa__EndpointReference(soap, &a->wsa__EndpointReference);
	soap_serialize_d__QNameListType(soap, &a->Types);
	soap_serialize_PointerTod__ScopesType(soap, &a->Scopes);
	soap_serialize_d__UriListType(soap, &a->XAddrs);
	soap_serialize_PointerTounsignedInt(soap, &a->MetadataVersion);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xaeed
leaq 0x40(%rbx), %rsi
movq %r14, %rdi
callq 0xb0f0
leaq 0x48(%rbx), %rsi
movq %r14, %rdi
callq 0xb0bd
leaq 0x50(%rbx), %rsi
movq %r14, %rdi
callq 0xb0f0
addq $0x58, %rbx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xb0b2
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_serialize_wsa__EndpointReferenceType
SOAP_FMAC4 soap_serialize_wsa__EndpointReferenceType(struct soap *soap, const struct wsa__EndpointReferenceType *a)
{
	(void)soap; (void)a; /* appease -Wall -Werror */
	soap_serialize_string(soap, &a->Address);
	soap_serialize_PointerTowsa__ReferencePropertiesType(soap, &a->ReferenceProperties);
	soap_serialize_PointerTowsa__ReferenceParametersType(soap, &a->ReferenceParameters);
	soap_serialize_PointerTo_QName(soap, &a->PortType);
	soap_serialize_PointerTowsa__ServiceNameType(soap, &a->ServiceName);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0xb0f0
leaq 0x8(%rbx), %rsi
movq %r14, %rdi
callq 0xb238
leaq 0x10(%rbx), %rsi
movq %r14, %rdi
callq 0xb22d
leaq 0x18(%rbx), %rsi
movq %r14, %rdi
callq 0xb1fa
addq $0x20, %rbx
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xb1c7
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_put_unsignedInt
SOAP_FMAC4 soap_put_unsignedInt(struct soap *soap, const unsigned int *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_unsignedInt);
	if (soap_out_unsignedInt(soap, tag?tag:"unsignedInt", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
pushq $0x1b
popq %r9
xorl %edx, %edx
xorl %ecx, %ecx
movq %r15, %r8
callq 0x162ad
testq %r15, %r15
leaq 0x17195(%rip), %rsi     # 0x22554
cmovneq %r15, %rsi
movq %rbx, %rdi
movl %eax, %edx
movq %r12, %rcx
movq %r14, %r8
callq 0x938e
testl %eax, %eax
je 0xb3e9
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8e7f
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_s2d__FaultCodeType
SOAP_FMAC4S soap_s2d__FaultCodeType(struct soap *soap, const char *s, enum d__FaultCodeType *a)
{
	const struct soap_code_map *map;
	char *t;
	if (!s)
		return soap->error;
	soap_s2QName(soap, s, &t, 0, -1);
	map = soap_code(soap_codes_d__FaultCodeType, t);
	if (map)
		*a = (enum d__FaultCodeType)map->code;
	else
	{	long n;
		if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 0)))
			return soap->error = SOAP_TYPE;
		*a = (enum d__FaultCodeType)n;
	}
	return SOAP_OK;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r15
testq %rsi, %rsi
je 0xb4bc
movq %rdx, %r14
movq %rsi, %r12
xorl %ebx, %ebx
leaq 0x8(%rsp), %r13
pushq $-0x1
popq %r8
movq %r15, %rdi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x1ae9f
movq (%r13), %rsi
leaq 0x26f15(%rip), %rdi     # 0x323c0
callq 0xffa6
testq %rax, %rax
je 0xb4c5
movl (%rax), %eax
movl %eax, (%r14)
jmp 0xb500
movl 0x1f274(%r15), %ebx
jmp 0xb500
movq %rsp, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x1b9eb
testl %eax, %eax
jne 0xb4f2
testb $0x10, 0x5(%r15)
sete %cl
movq (%rsp), %rax
testq %rax, %rax
sete %dl
orb %cl, %dl
je 0xb4f2
movl %eax, (%r14)
jmp 0xb500
movl $0x4, 0x1f274(%r15)
pushq $0x4
popq %rbx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_put_d__FaultCodeType
SOAP_FMAC4 soap_put_d__FaultCodeType(struct soap *soap, const enum d__FaultCodeType *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_d__FaultCodeType);
	if (soap_out_d__FaultCodeType(soap, tag?tag:"d:FaultCodeType", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
pushq $0x28
popq %r9
xorl %edx, %edx
xorl %ecx, %ecx
movq %r15, %r8
callq 0x162ad
testq %r15, %r15
leaq 0x17022(%rip), %rsi     # 0x22560
cmovneq %r15, %rsi
movq %rbx, %rdi
movl %eax, %edx
movq %r12, %rcx
movq %r14, %r8
callq 0x9397
testl %eax, %eax
je 0xb568
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8e7f
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_s2d__RelationshipType
SOAP_FMAC4S soap_s2d__RelationshipType(struct soap *soap, const char *s, enum d__RelationshipType *a)
{
	const struct soap_code_map *map;
	char *t;
	if (!s)
		return soap->error;
	soap_s2QName(soap, s, &t, 0, -1);
	map = soap_code(soap_codes_d__RelationshipType, t);
	if (map)
		*a = (enum d__RelationshipType)map->code;
	else
	{	long n;
		if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 0)))
			return soap->error = SOAP_TYPE;
		*a = (enum d__RelationshipType)n;
	}
	return SOAP_OK;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r15
testq %rsi, %rsi
je 0xb63b
movq %rdx, %r14
movq %rsi, %r12
xorl %ebx, %ebx
leaq 0x8(%rsp), %r13
pushq $-0x1
popq %r8
movq %r15, %rdi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x1ae9f
movq (%r13), %rsi
leaq 0x26db6(%rip), %rdi     # 0x323e0
callq 0xffa6
testq %rax, %rax
je 0xb644
movl (%rax), %eax
movl %eax, (%r14)
jmp 0xb67f
movl 0x1f274(%r15), %ebx
jmp 0xb67f
movq %rsp, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x1b9eb
testl %eax, %eax
jne 0xb671
testb $0x10, 0x5(%r15)
sete %cl
movq (%rsp), %rax
testq %rax, %rax
sete %dl
orb %cl, %dl
je 0xb671
movl %eax, (%r14)
jmp 0xb67f
movl $0x4, 0x1f274(%r15)
pushq $0x4
popq %rbx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_put_d__RelationshipType
SOAP_FMAC4 soap_put_d__RelationshipType(struct soap *soap, const enum d__RelationshipType *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_d__RelationshipType);
	if (soap_out_d__RelationshipType(soap, tag?tag:"d:RelationshipType", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
pushq $0x27
popq %r9
xorl %edx, %edx
xorl %ecx, %ecx
movq %r15, %r8
callq 0x162ad
testq %r15, %r15
leaq 0x16eb3(%rip), %rsi     # 0x22570
cmovneq %r15, %rsi
movq %rbx, %rdi
movl %eax, %edx
movq %r12, %rcx
movq %r14, %r8
callq 0x940f
testl %eax, %eax
je 0xb6e7
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8e7f
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_s2wsa__FaultSubcodeValues
SOAP_FMAC4S soap_s2wsa__FaultSubcodeValues(struct soap *soap, const char *s, enum wsa__FaultSubcodeValues *a)
{
	const struct soap_code_map *map;
	char *t;
	if (!s)
		return soap->error;
	soap_s2QName(soap, s, &t, 0, -1);
	map = soap_code(soap_codes_wsa__FaultSubcodeValues, t);
	if (map)
		*a = (enum wsa__FaultSubcodeValues)map->code;
	else
	{	long n;
		if (soap_s2long(soap, s, &n) || ((soap->mode & SOAP_XML_STRICT) && (n < 0 || n > 4)))
			return soap->error = SOAP_TYPE;
		*a = (enum wsa__FaultSubcodeValues)n;
	}
	return SOAP_OK;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r15
testq %rsi, %rsi
je 0xb7ba
movq %rdx, %r14
movq %rsi, %r12
xorl %ebx, %ebx
leaq 0x8(%rsp), %r13
pushq $-0x1
popq %r8
movq %r15, %rdi
movq %r13, %rdx
xorl %ecx, %ecx
callq 0x1ae9f
movq (%r13), %rsi
leaq 0x26c57(%rip), %rdi     # 0x32400
callq 0xffa6
testq %rax, %rax
je 0xb7c3
movl (%rax), %eax
movl %eax, (%r14)
jmp 0xb7fc
movl 0x1f274(%r15), %ebx
jmp 0xb7fc
movq %rsp, %rdx
movq %r15, %rdi
movq %r12, %rsi
callq 0x1b9eb
testl %eax, %eax
jne 0xb7ee
movb 0x5(%r15), %cl
shrb $0x4, %cl
movq (%rsp), %rax
cmpq $0x5, %rax
setae %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0xb80c
movl $0x4, 0x1f274(%r15)
pushq $0x4
popq %rbx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl %eax, (%r14)
jmp 0xb7fc
// File: /workspace/github_c_makefile_star2_O2/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_put_wsa__FaultSubcodeValues
SOAP_FMAC4 soap_put_wsa__FaultSubcodeValues(struct soap *soap, const enum wsa__FaultSubcodeValues *a, const char *tag, const char *type)
{
	register int id = soap_embed(soap, (void*)a, NULL, 0, tag, SOAP_TYPE_wsa__FaultSubcodeValues);
	if (soap_out_wsa__FaultSubcodeValues(soap, tag?tag:"wsa:FaultSubcodeValues", id, a, type))
		return soap->error;
	return soap_putindependent(soap);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
pushq $0xd
popq %r9
xorl %edx, %edx
xorl %ecx, %ecx
movq %r15, %r8
callq 0x162ad
testq %r15, %r15
leaq 0x16d44(%rip), %rsi     # 0x22583
cmovneq %r15, %rsi
movq %rbx, %rdi
movl %eax, %edx
movq %r12, %rcx
movq %r14, %r8
callq 0x9487
testl %eax, %eax
je 0xb869
movl 0x1f274(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8e7f