// File: /workspace/github_c_makefile_star2_O3/hkshenSmart[P]ONVIF-discovery_cs/stdsoap2.c
// Function: soap_inULONG64
SOAP_FMAC1
ULONG64 *
SOAP_FMAC2
soap_inULONG64(struct soap *soap, const char *tag, ULONG64 *p, const char *type, int t)
{ if (soap_element_begin_in(soap, tag, 0, NULL))
    return NULL;
  if (*soap->type
   && soap_match_tag(soap, soap->type, type)
   && soap_match_tag(soap, soap->type, ":positiveInteger")
   && soap_match_tag(soap, soap->type, ":nonNegativeInteger")
   && soap_match_tag(soap, soap->type, ":unsignedLong")
   && soap_match_tag(soap, soap->type, ":unsignedInt")
   && soap_match_tag(soap, soap->type, ":unsignedShort")
   && soap_match_tag(soap, soap->type, ":unsignedByte"))
  { soap->error = SOAP_TYPE;
    soap_revert(soap);
    return NULL;
  }
  p = (ULONG64*)soap_id_enter(soap, soap->id, p, t, sizeof(ULONG64), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (ULONG64*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(ULONG64), 0, NULL);
  else if (p)
  { if (soap_s2ULONG64(soap, soap_value(soap), p))
      return NULL;
  }
  if (soap->body && soap_element_end_in(soap, tag))
    return NULL;
  return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
xorl %r12d, %r12d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x12e5d
testl %eax, %eax
jne 0x1f722
cmpb $0x0, 0x1d598(%rbx)
je 0x1f657
leaq 0x1d598(%rbx), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x140fd
testl %eax, %eax
je 0x1f657
leaq 0x706b(%rip), %rdx      # 0x26603
movq %rbx, %rdi
movq %r12, %rsi
callq 0x140fd
testl %eax, %eax
je 0x1f657
leaq 0x7087(%rip), %rdx      # 0x26639
movq %rbx, %rdi
movq %r12, %rsi
callq 0x140fd
testl %eax, %eax
je 0x1f657
leaq 0x70bd(%rip), %rdx      # 0x26689
movq %rbx, %rdi
movq %r12, %rsi
callq 0x140fd
testl %eax, %eax
je 0x1f657
leaq 0x5f71(%rip), %rdx      # 0x25553
movq %rbx, %rdi
movq %r12, %rsi
callq 0x140fd
testl %eax, %eax
je 0x1f657
leaq 0x707e(%rip), %rdx      # 0x26676
movq %rbx, %rdi
movq %r12, %rsi
callq 0x140fd
testl %eax, %eax
je 0x1f657
leaq 0x705a(%rip), %rdx      # 0x26668
movq %rbx, %rdi
movq %r12, %rsi
callq 0x140fd
testl %eax, %eax
je 0x1f657
movl $0x4, 0x1f274(%rbx)
cmpw $0x0, 0x1e5f6(%rbx)
jne 0x1f71f
movw $0x1, 0x1e5f6(%rbx)
cmpw $0x0, 0xc166(%rbx)
je 0x1f71f
decl 0xc168(%rbx)
jmp 0x1f71f
leaq 0x1cd98(%rbx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x8, %r8d
movq %rbx, %rdi
movq %r15, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x18f76
movq %rax, %r12
cmpb $0x0, 0x1d198(%rbx)
je 0x1f6e1
leaq 0x1d198(%rbx), %rsi
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x8, (%rsp)
movq %rbx, %rdi
movq %r12, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x18e29
movq %rax, %r12
cmpw $0x0, 0xc166(%rbx)
je 0x1f722
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13038
testl %eax, %eax
jne 0x1f71f
jmp 0x1f722
testq %r12, %r12
je 0x1f734
movq %rbx, %rdi
callq 0x1d668
testq %rax, %rax
je 0x1f716
leaq 0x6f8b(%rip), %rsi      # 0x26685
movq %rax, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x3250
cmpl $0x1, %eax
je 0x1f716
movl $0x4, 0x1f274(%rbx)
cmpl $0x0, 0x1f274(%rbx)
je 0x1f6c6
xorl %r12d, %r12d
movq %r12, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x1f6c6