// File: /workspace/github_c_makefile_star2_O2/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 0x9350
movq %rsi, %r9
leaq 0x193d0(%rip), %rsi     # 0x22300
movslq (%rsi,%r8,4), %r8
addq %rsi, %r8
jmpq *%r8
leaq 0x19607(%rip), %r8      # 0x22548
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9385
leaq 0x196c0(%rip), %r8      # 0x22616
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9b5b
leaq 0x1965c(%rip), %r8      # 0x225c7
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x964a
leaq 0x19688(%rip), %r8      # 0x22608
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa63c
leaq 0x196a5(%rip), %r8      # 0x2263a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa759
leaq 0x19627(%rip), %r8      # 0x225d1
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9775
leaq 0x19687(%rip), %r8      # 0x22646
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9ee1
leaq 0x1967c(%rip), %r8      # 0x22650
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa934
leaq 0x19674(%rip), %r8      # 0x2265d
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa0b5
leaq 0x19618(%rip), %r8      # 0x22616
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa876
leaq 0x19795(%rip), %rsi     # 0x227a8
jmp 0x9281
leaq 0x19721(%rip), %rsi     # 0x22740
jmp 0x92c2
leaq 0x19738(%rip), %r8      # 0x22763
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xab3e
leaq 0x19715(%rip), %r8      # 0x22755
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaaa6
leaq 0x194fb(%rip), %r8      # 0x22550
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
jmp 0x9137
leaq 0x1951a(%rip), %r8      # 0x22583
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9487
leaq 0x19662(%rip), %r8      # 0x226e0
jmp 0x9340
leaq 0x196aa(%rip), %r8      # 0x22734
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa989
leaq 0x194b1(%rip), %r8      # 0x22550
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa8d5
leaq 0x19680(%rip), %rsi     # 0x22734
jmp 0x92c2
leaq 0x195ce(%rip), %r8      # 0x2268e
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xab9d
leaq 0x196c8(%rip), %rsi     # 0x2279d
jmp 0x9281
leaq 0x1968c(%rip), %r8      # 0x2276d
jmp 0x9340
leaq 0x1963c(%rip), %r8      # 0x22729
jmp 0x9340
leaq 0x19609(%rip), %r8      # 0x22702
jmp 0x9340
leaq 0x195a5(%rip), %r8      # 0x226aa
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa53e
leaq 0x19590(%rip), %r8      # 0x226aa
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xabfc
leaq 0x19649(%rip), %rsi     # 0x22778
movl %ecx, %edx
movq %r9, %rcx
xorl %r8d, %r8d
popq %rax
jmp 0x938e
leaq 0x194f6(%rip), %r8      # 0x2263a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9de1
leaq 0x193e6(%rip), %r8      # 0x2253f
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x937c
leaq 0x19520(%rip), %r8      # 0x2268e
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa49f
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa425
leaq 0x19477(%rip), %r8      # 0x22608
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9a6e
leaq 0x194d4(%rip), %r8      # 0x2267a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaaf2
leaq 0x195cc(%rip), %rsi     # 0x22787
jmp 0x92c2
leaq 0x19419(%rip), %r8      # 0x225e0
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa817
leaq 0x19536(%rip), %r8      # 0x22712
jmp 0x9340
leaq 0x1957b(%rip), %r8      # 0x22763
jmp 0x9340
leaq 0x193ff(%rip), %r8      # 0x225f3
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x998f
leaq 0x194bd(%rip), %r8      # 0x226c6
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
jmp 0x92ca
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa04c
leaq 0x1936f(%rip), %r8      # 0x2259a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x94ff
leaq 0x193e7(%rip), %r8      # 0x22627
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa6fa
movq %rdx, %rsi
jmp 0x925a
leaq 0x194fb(%rip), %rsi     # 0x22755
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa3b1
leaq 0x19304(%rip), %r8      # 0x22570
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x940f
leaq 0x1952e(%rip), %rsi     # 0x227af
movq %rsp, %rax
movl %ecx, %edx
movq %rax, %rcx
xorl %r8d, %r8d
jmp 0x934b
leaq 0x193c5(%rip), %r8      # 0x2265d
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa69b
leaq 0x1937a(%rip), %r8      # 0x22627
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9cc6
leaq 0x1948a(%rip), %rsi     # 0x2274c
movl %ecx, %edx
movq %r9, %rcx
xorl %r8d, %r8d
popq %rax
jmp 0xa220
leaq 0x1936f(%rip), %r8      # 0x22646
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa5dd
leaq 0x19454(%rip), %r8      # 0x22740
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa9e8
leaq 0x1944b(%rip), %r8      # 0x2274c
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaa47
leaq 0x1929f(%rip), %r8      # 0x225b5
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9577
leaq 0x19235(%rip), %r8      # 0x22560
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9397
leaq 0x193b4(%rip), %r8      # 0x226f4
movq %rsp, %rax
movq %rdx, %rsi
movl %ecx, %edx
movq %rax, %rcx
callq 0xa980
popq %rcx
retq
leaq 0x19287(%rip), %r8      # 0x225e0
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x980c
leaq 0x19259(%rip), %r8      # 0x225c7
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa7b8