// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_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 0x3a388
testl %eax, %eax
jne 0x4633b
cmpb $0x0, 0x17538(%rbx)
je 0x46270
leaq 0x17538(%rbx), %r12
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x3b608
testl %eax, %eax
je 0x46270
leaq 0xc596(%rip), %rdx      # 0x52747
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3b608
testl %eax, %eax
je 0x46270
leaq 0xc5b2(%rip), %rdx      # 0x5277d
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3b608
testl %eax, %eax
je 0x46270
leaq 0xc5f5(%rip), %rdx      # 0x527da
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3b608
testl %eax, %eax
je 0x46270
leaq 0xc5ce(%rip), %rdx      # 0x527c9
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3b608
testl %eax, %eax
je 0x46270
leaq 0xc5a9(%rip), %rdx      # 0x527ba
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3b608
testl %eax, %eax
je 0x46270
leaq 0xc585(%rip), %rdx      # 0x527ac
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3b608
testl %eax, %eax
je 0x46270
movl $0x4, 0x19214(%rbx)
cmpw $0x0, 0x18594(%rbx)
jne 0x46338
movw $0x1, 0x18594(%rbx)
cmpw $0x0, 0x6106(%rbx)
je 0x46338
decl 0x6108(%rbx)
jmp 0x46338
leaq 0x16d38(%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 0x3ff41
movq %rax, %r12
cmpb $0x0, 0x17138(%rbx)
je 0x462fa
leaq 0x17138(%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 0x3fdf4
movq %rax, %r12
cmpw $0x0, 0x6106(%rbx)
je 0x4633b
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a563
testl %eax, %eax
jne 0x46338
jmp 0x4633b
testq %r12, %r12
je 0x4634d
movq %rbx, %rdi
callq 0x4428f
testq %rax, %rax
je 0x4632f
leaq 0xc4c3(%rip), %rsi      # 0x527d6
movq %rax, %rdi
movq %r12, %rdx
xorl %eax, %eax
callq 0x32a0
cmpl $0x1, %eax
je 0x4632f
movl $0x4, 0x19214(%rbx)
cmpl $0x0, 0x19214(%rbx)
je 0x462df
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 0x462df