// File: /workspace/github_c_makefile_star2_O2/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 0x11fde
testl %eax, %eax
jne 0x1d619
cmpb $0x0, 0x1d598(%rbx)
je 0x1d578
leaq 0x1d598(%rbx), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x13169
testl %eax, %eax
je 0x1d578
leaq 0x6123(%rip), %rdx      # 0x23603
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13169
testl %eax, %eax
je 0x1d578
leaq 0x613f(%rip), %rdx      # 0x23639
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13169
testl %eax, %eax
je 0x1d578
leaq 0x6179(%rip), %rdx      # 0x23689
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13169
testl %eax, %eax
je 0x1d578
leaq 0x502d(%rip), %rdx      # 0x22553
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13169
testl %eax, %eax
je 0x1d578
leaq 0x613a(%rip), %rdx      # 0x23676
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13169
testl %eax, %eax
je 0x1d578
leaq 0x6116(%rip), %rdx      # 0x23668
movq %rbx, %rdi
movq %r12, %rsi
callq 0x13169
testl %eax, %eax
je 0x1d578
movl $0x4, 0x1f274(%rbx)
movq %rbx, %rdi
callq 0x1a4da
jmp 0x1d616
leaq 0x1cd98(%rbx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
pushq $0x8
popq %r8
movq %rbx, %rdi
movq %r15, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x17600
movq %rax, %r12
cmpb $0x0, 0x1d198(%rbx)
je 0x1d5f7
leaq 0x1d198(%rbx), %rsi
andq $0x0, 0x10(%rsp)
andl $0x0, 0x8(%rsp)
movq $0x8, (%rsp)
movq %rbx, %rdi
movq %r12, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x174b8
movq %rax, %r12
cmpw $0x0, 0xc166(%rbx)
je 0x1d619
movq %rbx, %rdi
movq %r14, %rsi
callq 0x12190
testl %eax, %eax
jne 0x1d616
jmp 0x1d619
testq %r12, %r12
je 0x1d62b
movq %rbx, %rdi
callq 0x1b8bb
movq %rbx, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x1d44a
testl %eax, %eax
je 0x1d5dc
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 0x1d5dc