// File: /workspace/github_c_makefile_star2_O1/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 0x12ff7
testl %eax, %eax
jne 0x2000e
cmpb $0x0, 0x1d598(%rbx)
je 0x1ff43
leaq 0x1d598(%rbx), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x1432a
testl %eax, %eax
je 0x1ff43
leaq 0x677f(%rip), %rdx      # 0x26603
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1432a
testl %eax, %eax
je 0x1ff43
leaq 0x679b(%rip), %rdx      # 0x26639
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1432a
testl %eax, %eax
je 0x1ff43
leaq 0x67d1(%rip), %rdx      # 0x26689
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1432a
testl %eax, %eax
je 0x1ff43
leaq 0x5685(%rip), %rdx      # 0x25553
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1432a
testl %eax, %eax
je 0x1ff43
leaq 0x6792(%rip), %rdx      # 0x26676
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1432a
testl %eax, %eax
je 0x1ff43
leaq 0x676e(%rip), %rdx      # 0x26668
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1432a
testl %eax, %eax
je 0x1ff43
movl $0x4, 0x1f274(%rbx)
cmpw $0x0, 0x1e5f6(%rbx)
jne 0x2000b
movw $0x1, 0x1e5f6(%rbx)
cmpw $0x0, 0xc166(%rbx)
je 0x2000b
decl 0xc168(%rbx)
jmp 0x2000b
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 0x19303
movq %rax, %r12
cmpb $0x0, 0x1d198(%rbx)
je 0x1ffcd
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 0x191b1
movq %rax, %r12
cmpw $0x0, 0xc166(%rbx)
je 0x2000e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x131c3
testl %eax, %eax
jne 0x2000b
jmp 0x2000e
testq %r12, %r12
je 0x20020
movq %rbx, %rdi
callq 0x1df48
testq %rax, %rax
je 0x20002
leaq 0x669f(%rip), %rsi      # 0x26685
movq %rax, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x3250
cmpl $0x1, %eax
je 0x20002
movl $0x4, 0x1f274(%rbx)
cmpl $0x0, 0x1f274(%rbx)
je 0x1ffb2
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 0x1ffb2