// File: /workspace/github_c_makefile_star2_O3/hkshenSmart[P]ONVIF-discovery_cs/soapC.c
// Function: soap_putelement
SOAP_FMAC4 soap_putelement(struct soap *soap, const void *ptr, const char *tag, int id, int type)
{
	switch (type)
	{
	case SOAP_TYPE_byte:
		return soap_out_byte(soap, tag, id, (const char *)ptr, "xsd:byte");
	case SOAP_TYPE_int:
		return soap_out_int(soap, tag, id, (const int *)ptr, "xsd:int");
	case SOAP_TYPE__wsa__ReplyAfter:
		return soap_out__wsa__ReplyAfter(soap, "wsa:ReplyAfter", id, (const unsigned int *)ptr, NULL);
	case SOAP_TYPE_unsignedInt:
		return soap_out_unsignedInt(soap, tag, id, (const unsigned int *)ptr, "xsd:unsignedInt");
	case SOAP_TYPE_d__FaultCodeType:
		return soap_out_d__FaultCodeType(soap, tag, id, (const enum d__FaultCodeType *)ptr, "d:FaultCodeType");
	case SOAP_TYPE_d__RelationshipType:
		return soap_out_d__RelationshipType(soap, tag, id, (const enum d__RelationshipType *)ptr, "d:RelationshipType");
	case SOAP_TYPE_wsa__FaultSubcodeValues:
		return soap_out_wsa__FaultSubcodeValues(soap, tag, id, (const enum wsa__FaultSubcodeValues *)ptr, "wsa:FaultSubcodeValues");
	case SOAP_TYPE_wsa__RelationshipTypeValues:
		return soap_out_wsa__RelationshipTypeValues(soap, tag, id, (const enum wsa__RelationshipTypeValues *)ptr, "wsa:RelationshipTypeValues");
	case SOAP_TYPE_d__AppSequenceType:
		return soap_out_d__AppSequenceType(soap, tag, id, (const struct d__AppSequenceType *)ptr, "d:AppSequenceType");
	case SOAP_TYPE_d__SigType:
		return soap_out_d__SigType(soap, tag, id, (const struct d__SigType *)ptr, "d:SigType");
	case SOAP_TYPE_d__SecurityType:
		return soap_out_d__SecurityType(soap, tag, id, (const struct d__SecurityType *)ptr, "d:SecurityType");
	case SOAP_TYPE_d__ResolveMatchType:
		return soap_out_d__ResolveMatchType(soap, tag, id, (const struct d__ResolveMatchType *)ptr, "d:ResolveMatchType");
	case SOAP_TYPE_d__ResolveMatchesType:
		return soap_out_d__ResolveMatchesType(soap, tag, id, (const struct d__ResolveMatchesType *)ptr, "d:ResolveMatchesType");
	case SOAP_TYPE_d__ResolveType:
		return soap_out_d__ResolveType(soap, tag, id, (const struct d__ResolveType *)ptr, "d:ResolveType");
	case SOAP_TYPE_d__ProbeMatchType:
		return soap_out_d__ProbeMatchType(soap, tag, id, (const struct d__ProbeMatchType *)ptr, "d:ProbeMatchType");
	case SOAP_TYPE_d__ProbeMatchesType:
		return soap_out_d__ProbeMatchesType(soap, tag, id, (const struct d__ProbeMatchesType *)ptr, "d:ProbeMatchesType");
	case SOAP_TYPE_d__ProbeType:
		return soap_out_d__ProbeType(soap, tag, id, (const struct d__ProbeType *)ptr, "d:ProbeType");
	case SOAP_TYPE_d__ByeType:
		return soap_out_d__ByeType(soap, tag, id, (const struct d__ByeType *)ptr, "d:ByeType");
	case SOAP_TYPE_d__ScopesType:
		return soap_out_d__ScopesType(soap, tag, id, (const struct d__ScopesType *)ptr, "d:ScopesType");
	case SOAP_TYPE_d__HelloType:
		return soap_out_d__HelloType(soap, tag, id, (const struct d__HelloType *)ptr, "d:HelloType");
	case SOAP_TYPE__wsa__FaultTo:
		return soap_out__wsa__FaultTo(soap, "wsa:FaultTo", id, (const struct wsa__EndpointReferenceType *)ptr, NULL);
	case SOAP_TYPE__wsa__ReplyTo:
		return soap_out__wsa__ReplyTo(soap, "wsa:ReplyTo", id, (const struct wsa__EndpointReferenceType *)ptr, NULL);
	case SOAP_TYPE__wsa__From:
		return soap_out__wsa__From(soap, "wsa:From", id, (const struct wsa__EndpointReferenceType *)ptr, NULL);
	case SOAP_TYPE__wsa__RelatesTo:
		return soap_out__wsa__RelatesTo(soap, "wsa:RelatesTo", id, (const struct wsa__Relationship *)ptr, NULL);
	case SOAP_TYPE__wsa__EndpointReference:
		return soap_out__wsa__EndpointReference(soap, "wsa:EndpointReference", id, (const struct wsa__EndpointReferenceType *)ptr, NULL);
	case SOAP_TYPE_wsa__Relationship:
		return soap_out_wsa__Relationship(soap, tag, id, (const struct wsa__Relationship *)ptr, "wsa:Relationship");
	case SOAP_TYPE_wsa__ServiceNameType:
		return soap_out_wsa__ServiceNameType(soap, tag, id, (const struct wsa__ServiceNameType *)ptr, "wsa:ServiceNameType");
	case SOAP_TYPE_wsa__ReferenceParametersType:
		return soap_out_wsa__ReferenceParametersType(soap, tag, id, (const struct wsa__ReferenceParametersType *)ptr, "wsa:ReferenceParametersType");
	case SOAP_TYPE_wsa__ReferencePropertiesType:
		return soap_out_wsa__ReferencePropertiesType(soap, tag, id, (const struct wsa__ReferencePropertiesType *)ptr, "wsa:ReferencePropertiesType");
	case SOAP_TYPE_wsa__EndpointReferenceType:
		return soap_out_wsa__EndpointReferenceType(soap, tag, id, (const struct wsa__EndpointReferenceType *)ptr, "wsa:EndpointReferenceType");
	case SOAP_TYPE_PointerTod__ByeType:
		return soap_out_PointerTod__ByeType(soap, tag, id, (struct d__ByeType *const*)ptr, "d:ByeType");
	case SOAP_TYPE_PointerTod__ResolveType:
		return soap_out_PointerTod__ResolveType(soap, tag, id, (struct d__ResolveType *const*)ptr, "d:ResolveType");
	case SOAP_TYPE_PointerTod__HelloType:
		return soap_out_PointerTod__HelloType(soap, tag, id, (struct d__HelloType *const*)ptr, "d:HelloType");
	case SOAP_TYPE_PointerTod__ProbeMatchesType:
		return soap_out_PointerTod__ProbeMatchesType(soap, tag, id, (struct d__ProbeMatchesType *const*)ptr, "d:ProbeMatchesType");
	case SOAP_TYPE_PointerTod__ProbeType:
		return soap_out_PointerTod__ProbeType(soap, tag, id, (struct d__ProbeType *const*)ptr, "d:ProbeType");
	case SOAP_TYPE_PointerTod__SigType:
		return soap_out_PointerTod__SigType(soap, tag, id, (struct d__SigType *const*)ptr, "d:SigType");
	case SOAP_TYPE_PointerTod__ResolveMatchType:
		return soap_out_PointerTod__ResolveMatchType(soap, tag, id, (struct d__ResolveMatchType *const*)ptr, "d:ResolveMatchType");
	case SOAP_TYPE_PointerTod__ProbeMatchType:
		return soap_out_PointerTod__ProbeMatchType(soap, tag, id, (struct d__ProbeMatchType *const*)ptr, "d:ProbeMatchType");
	case SOAP_TYPE_PointerTounsignedInt:
		return soap_out_PointerTounsignedInt(soap, tag, id, (unsigned int *const*)ptr, "xsd:unsignedInt");
	case SOAP_TYPE_PointerTod__ScopesType:
		return soap_out_PointerTod__ScopesType(soap, tag, id, (struct d__ScopesType *const*)ptr, "d:ScopesType");
	case SOAP_TYPE_d__FaultCodeOpenType:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "d:FaultCodeOpenType");
	case SOAP_TYPE_d__UriListType:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "d:UriListType");
	case SOAP_TYPE_d__QNameListType:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "d:QNameListType");
	case SOAP_TYPE_d__OpenRelationshipType:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "d:OpenRelationshipType");
	case SOAP_TYPE_xsd__IDREFS:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:IDREFS");
	case SOAP_TYPE_PointerTo_wsa__FaultTo:
		return soap_out_PointerTo_wsa__FaultTo(soap, tag, id, (struct wsa__EndpointReferenceType *const*)ptr, "wsa:FaultTo");
	case SOAP_TYPE_PointerTo_wsa__ReplyTo:
		return soap_out_PointerTo_wsa__ReplyTo(soap, tag, id, (struct wsa__EndpointReferenceType *const*)ptr, "wsa:ReplyTo");
	case SOAP_TYPE_PointerTo_wsa__From:
		return soap_out_PointerTo_wsa__From(soap, tag, id, (struct wsa__EndpointReferenceType *const*)ptr, "wsa:From");
	case SOAP_TYPE_PointerTo_wsa__RelatesTo:
		return soap_out_PointerTo_wsa__RelatesTo(soap, tag, id, (struct wsa__Relationship *const*)ptr, "wsa:RelatesTo");
	case SOAP_TYPE__wsa__Action:
		return soap_out_string(soap, "wsa:Action", id, (char*const*)&ptr, NULL);
	case SOAP_TYPE__wsa__To:
		return soap_out_string(soap, "wsa:To", id, (char*const*)&ptr, NULL);
	case SOAP_TYPE__wsa__MessageID:
		return soap_out_string(soap, "wsa:MessageID", id, (char*const*)&ptr, NULL);
	case SOAP_TYPE_PointerTowsa__ServiceNameType:
		return soap_out_PointerTowsa__ServiceNameType(soap, tag, id, (struct wsa__ServiceNameType *const*)ptr, "wsa:ServiceNameType");
	case SOAP_TYPE_PointerTo_QName:
		return soap_out_PointerTo_QName(soap, tag, id, (char **const*)ptr, "xsd:QName");
	case SOAP_TYPE_PointerTowsa__ReferenceParametersType:
		return soap_out_PointerTowsa__ReferenceParametersType(soap, tag, id, (struct wsa__ReferenceParametersType *const*)ptr, "wsa:ReferenceParametersType");
	case SOAP_TYPE_PointerTowsa__ReferencePropertiesType:
		return soap_out_PointerTowsa__ReferencePropertiesType(soap, tag, id, (struct wsa__ReferencePropertiesType *const*)ptr, "wsa:ReferencePropertiesType");
	case SOAP_TYPE__QName:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:QName");
	case SOAP_TYPE_string:
		return soap_out_string(soap, tag, id, (char*const*)&ptr, "xsd:string");
	}
	return SOAP_OK;
}

// Assembly:
pushq %rax
movq %rsi, (%rsp)
xorl %eax, %eax
decl %r8d
cmpl $0x41, %r8d
ja 0x991d
movq %rsi, %r9
leaq 0x1be1b(%rip), %rsi     # 0x25300
movslq (%rsi,%r8,4), %r8
addq %rsi, %r8
jmpq *%r8
leaq 0x1c052(%rip), %r8      # 0x25548
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
movl $0x1, %r9d
popq %rax
jmp 0x1d3c4
leaq 0x1c105(%rip), %r8      # 0x25616
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa195
leaq 0x1c0a1(%rip), %r8      # 0x255c7
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9c2f
leaq 0x1c0cd(%rip), %r8      # 0x25608
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xad4a
leaq 0x1c0ea(%rip), %r8      # 0x2563a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xae67
leaq 0x1c06c(%rip), %r8      # 0x255d1
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9d6a
leaq 0x1c0cc(%rip), %r8      # 0x25646
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa562
leaq 0x1c0c1(%rip), %r8      # 0x25650
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb048
leaq 0x1c0b9(%rip), %r8      # 0x2565d
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa75f
leaq 0x1c05d(%rip), %r8      # 0x25616
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaf84
leaq 0x1c1da(%rip), %rsi     # 0x257a8
jmp 0x9848
leaq 0x1c166(%rip), %rsi     # 0x25740
jmp 0x9889
leaq 0x1c17d(%rip), %r8      # 0x25763
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb254
leaq 0x1c15a(%rip), %r8      # 0x25755
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb1bc
leaq 0x1bf40(%rip), %r8      # 0x25550
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
jmp 0x96f2
leaq 0x1bf5f(%rip), %r8      # 0x25583
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9a5e
leaq 0x1c0a7(%rip), %r8      # 0x256e0
jmp 0x9907
leaq 0x1c0ef(%rip), %r8      # 0x25734
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb09f
leaq 0x1bef6(%rip), %r8      # 0x25550
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xafe3
leaq 0x1c0c5(%rip), %rsi     # 0x25734
jmp 0x9889
leaq 0x1c013(%rip), %r8      # 0x2568e
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb2b9
leaq 0x1c10d(%rip), %rsi     # 0x2579d
jmp 0x9848
leaq 0x1c0d1(%rip), %r8      # 0x2576d
jmp 0x9907
leaq 0x1c081(%rip), %r8      # 0x25729
jmp 0x9907
leaq 0x1c04e(%rip), %r8      # 0x25702
jmp 0x9907
leaq 0x1bfea(%rip), %r8      # 0x256aa
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xac46
leaq 0x1bfd5(%rip), %r8      # 0x256aa
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb318
leaq 0x1c08e(%rip), %rsi     # 0x25778
movl %ecx, %edx
movq %r9, %rcx
xorl %r8d, %r8d
movl $0x1b, %r9d
popq %rax
jmp 0x1ef23
leaq 0x1bf35(%rip), %r8      # 0x2563a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa44f
leaq 0x1be25(%rip), %r8      # 0x2553f
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
movl $0x3, %r9d
popq %rax
jmp 0x1dd02
leaq 0x1bf59(%rip), %r8      # 0x2568e
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaba1
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xab1d
leaq 0x1beb0(%rip), %r8      # 0x25608
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa09d
leaq 0x1bf0d(%rip), %r8      # 0x2567a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb208
leaq 0x1c005(%rip), %rsi     # 0x25787
jmp 0x9889
leaq 0x1be52(%rip), %r8      # 0x255e0
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaf25
leaq 0x1bf6f(%rip), %r8      # 0x25712
jmp 0x9907
leaq 0x1bfb4(%rip), %r8      # 0x25763
jmp 0x9907
leaq 0x1be38(%rip), %r8      # 0x255f3
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9fb3
leaq 0x1bef6(%rip), %r8      # 0x256c6
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
jmp 0x9891
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa6ec
leaq 0x1bda8(%rip), %r8      # 0x2559a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9ad8
leaq 0x1be20(%rip), %r8      # 0x25627
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xae08
movq %rdx, %rsi
jmp 0x9821
leaq 0x1bf34(%rip), %rsi     # 0x25755
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaa9f
leaq 0x1bd3d(%rip), %r8      # 0x25570
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x99e4
leaq 0x1bf67(%rip), %rsi     # 0x257af
movq %rsp, %rax
movl %ecx, %edx
movq %rax, %rcx
xorl %r8d, %r8d
jmp 0x9912
leaq 0x1bdfe(%rip), %r8      # 0x2565d
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xada9
leaq 0x1bdb3(%rip), %r8      # 0x25627
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa325
leaq 0x1bec3(%rip), %rsi     # 0x2574c
movl %ecx, %edx
movq %r9, %rcx
xorl %r8d, %r8d
popq %rax
jmp 0xa8ef
leaq 0x1bda8(%rip), %r8      # 0x25646
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaceb
leaq 0x1be8d(%rip), %r8      # 0x25740
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb0fe
leaq 0x1be84(%rip), %r8      # 0x2574c
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb15d
leaq 0x1bcd8(%rip), %r8      # 0x255b5
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9b52
leaq 0x1bc6e(%rip), %r8      # 0x25560
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x996a
leaq 0x1bded(%rip), %r8      # 0x256f4
movq %rsp, %rax
movq %rdx, %rsi
movl %ecx, %edx
movq %rax, %rcx
movl $0x4, %r9d
callq 0x1fcff
popq %rcx
retq
leaq 0x1bcba(%rip), %r8      # 0x255e0
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9e07
leaq 0x1bc8c(%rip), %r8      # 0x255c7
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaec6