// File: /workspace/github_c_makefile_star2_O1/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 0x99e6
movq %rsi, %r9
leaq 0x1bd52(%rip), %rsi     # 0x25300
movslq (%rsi,%r8,4), %r8
addq %rsi, %r8
jmpq *%r8
leaq 0x1bf89(%rip), %r8      # 0x25548
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
movl $0x1, %r9d
popq %rax
jmp 0x1dca4
leaq 0x1c03c(%rip), %r8      # 0x25616
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa25e
leaq 0x1bfd8(%rip), %r8      # 0x255c7
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9cf8
leaq 0x1c004(%rip), %r8      # 0x25608
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xae4c
leaq 0x1c021(%rip), %r8      # 0x2563a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaf69
leaq 0x1bfa3(%rip), %r8      # 0x255d1
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9e33
leaq 0x1c003(%rip), %r8      # 0x25646
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa664
leaq 0x1bff8(%rip), %r8      # 0x25650
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb14a
leaq 0x1bff0(%rip), %r8      # 0x2565d
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa861
leaq 0x1bf94(%rip), %r8      # 0x25616
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb086
leaq 0x1c111(%rip), %rsi     # 0x257a8
jmp 0x9911
leaq 0x1c09d(%rip), %rsi     # 0x25740
jmp 0x9952
leaq 0x1c0b4(%rip), %r8      # 0x25763
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb356
leaq 0x1c091(%rip), %r8      # 0x25755
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb2be
leaq 0x1be77(%rip), %r8      # 0x25550
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
jmp 0x97bb
leaq 0x1be96(%rip), %r8      # 0x25583
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9b27
leaq 0x1bfde(%rip), %r8      # 0x256e0
jmp 0x99d0
leaq 0x1c026(%rip), %r8      # 0x25734
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb1a1
leaq 0x1be2d(%rip), %r8      # 0x25550
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb0e5
leaq 0x1bffc(%rip), %rsi     # 0x25734
jmp 0x9952
leaq 0x1bf4a(%rip), %r8      # 0x2568e
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb3bb
leaq 0x1c044(%rip), %rsi     # 0x2579d
jmp 0x9911
leaq 0x1c008(%rip), %r8      # 0x2576d
jmp 0x99d0
leaq 0x1bfb8(%rip), %r8      # 0x25729
jmp 0x99d0
leaq 0x1bf85(%rip), %r8      # 0x25702
jmp 0x99d0
leaq 0x1bf21(%rip), %r8      # 0x256aa
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xad48
leaq 0x1bf0c(%rip), %r8      # 0x256aa
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb41a
leaq 0x1bfc5(%rip), %rsi     # 0x25778
movl %ecx, %edx
movq %r9, %rcx
xorl %r8d, %r8d
movl $0x1b, %r9d
popq %rax
jmp 0x1f80f
leaq 0x1be6c(%rip), %r8      # 0x2563a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa551
leaq 0x1bd5c(%rip), %r8      # 0x2553f
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
movl $0x3, %r9d
popq %rax
jmp 0x1e5ee
leaq 0x1be90(%rip), %r8      # 0x2568e
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaca3
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xac1f
leaq 0x1bde7(%rip), %r8      # 0x25608
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa166
leaq 0x1be44(%rip), %r8      # 0x2567a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb30a
leaq 0x1bf3c(%rip), %rsi     # 0x25787
jmp 0x9952
leaq 0x1bd89(%rip), %r8      # 0x255e0
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb027
leaq 0x1bea6(%rip), %r8      # 0x25712
jmp 0x99d0
leaq 0x1beeb(%rip), %r8      # 0x25763
jmp 0x99d0
leaq 0x1bd6f(%rip), %r8      # 0x255f3
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa07c
leaq 0x1be2d(%rip), %r8      # 0x256c6
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
jmp 0x995a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa7ee
leaq 0x1bcdf(%rip), %r8      # 0x2559a
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9ba1
leaq 0x1bd57(%rip), %r8      # 0x25627
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaf0a
movq %rdx, %rsi
jmp 0x98ea
leaq 0x1be6b(%rip), %rsi     # 0x25755
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaba1
leaq 0x1bc74(%rip), %r8      # 0x25570
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9aad
leaq 0x1be9e(%rip), %rsi     # 0x257af
movq %rsp, %rax
movl %ecx, %edx
movq %rax, %rcx
xorl %r8d, %r8d
jmp 0x99db
leaq 0x1bd35(%rip), %r8      # 0x2565d
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaeab
leaq 0x1bcea(%rip), %r8      # 0x25627
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xa3ee
leaq 0x1bdfa(%rip), %rsi     # 0x2574c
movl %ecx, %edx
movq %r9, %rcx
xorl %r8d, %r8d
popq %rax
jmp 0xa9f1
leaq 0x1bcdf(%rip), %r8      # 0x25646
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xaded
leaq 0x1bdc4(%rip), %r8      # 0x25740
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb200
leaq 0x1bdbb(%rip), %r8      # 0x2574c
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xb25f
leaq 0x1bc0f(%rip), %r8      # 0x255b5
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9c1b
leaq 0x1bba5(%rip), %r8      # 0x25560
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9a33
leaq 0x1bd24(%rip), %r8      # 0x256f4
movq %rsp, %rax
movq %rdx, %rsi
movl %ecx, %edx
movq %rax, %rcx
movl $0x4, %r9d
callq 0x20632
popq %rcx
retq
leaq 0x1bbf1(%rip), %r8      # 0x255e0
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0x9ed0
leaq 0x1bbc3(%rip), %r8      # 0x255c7
movq %rdx, %rsi
movl %ecx, %edx
movq %r9, %rcx
popq %rax
jmp 0xafc8