// File: /workspace/github_c_makefile_star2_O0/hkshenSmart[P]ONVIF-discovery_cs/stdsoap2.c
// Function: soap_inLONG64
SOAP_FMAC1
LONG64 *
SOAP_FMAC2
soap_inLONG64(struct soap *soap, const char *tag, LONG64 *p, const char *type, int t)
{ if (soap_element_begin_in(soap, tag, 0, NULL))
    return NULL;
#ifndef WITH_LEAN
  if (*soap->type
   && soap_match_tag(soap, soap->type, type)
   && soap_match_tag(soap, soap->type, ":integer")
   && soap_match_tag(soap, soap->type, ":positiveInteger")
   && soap_match_tag(soap, soap->type, ":negativeInteger")
   && soap_match_tag(soap, soap->type, ":nonPositiveInteger")
   && soap_match_tag(soap, soap->type, ":nonNegativeInteger")
   && soap_match_tag(soap, soap->type, ":long")
   && soap_match_tag(soap, soap->type, ":int")
   && soap_match_tag(soap, soap->type, ":short")
   && soap_match_tag(soap, soap->type, ":byte"))
  { soap->error = SOAP_TYPE;
    soap_revert(soap);
    return NULL;
  }
#endif
  p = (LONG64*)soap_id_enter(soap, soap->id, p, t, sizeof(LONG64), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (LONG64*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(LONG64), 0, NULL);
  else if (p)
  { if (soap_s2LONG64(soap, soap_value(soap), p))
      return NULL;
  }
  if (soap->body && soap_element_end_in(soap, tag))
    return NULL;
  return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %edx, %edx
xorl %eax, %eax
movl %eax, %ecx
callq 0x1b350
cmpl $0x0, %eax
je 0x2d591
movq $0x0, -0x8(%rbp)
jmp 0x2d824
movq -0x10(%rbp), %rax
movsbl 0x1d598(%rax), %eax
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
movq -0x28(%rbp), %rdx
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc453(%rip), %rdx      # 0x39a2f
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc438(%rip), %rdx      # 0x39a38
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc425(%rip), %rdx      # 0x39a49
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc412(%rip), %rdx      # 0x39a5a
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc402(%rip), %rdx      # 0x39a6e
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc3f2(%rip), %rdx      # 0x39a82
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xae83(%rip), %rdx      # 0x38537
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xc350(%rip), %rdx      # 0x39a24
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d598, %rsi          # imm = 0x1D598
leaq 0xae3a(%rip), %rdx      # 0x3852e
callq 0x1d4c0
cmpl $0x0, %eax
je 0x2d722
movq -0x10(%rbp), %rax
movl $0x4, 0x1f274(%rax)
movq -0x10(%rbp), %rdi
callq 0x2ad00
movq $0x0, -0x8(%rbp)
jmp 0x2d824
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1cd98, %rsi          # imm = 0x1CD98
movq -0x20(%rbp), %rdx
movl -0x2c(%rbp), %ecx
movl $0x8, %r8d
xorl %r9d, %r9d
xorl %eax, %eax
movq $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
callq 0x25580
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
cmpb $0x0, 0x1d198(%rax)
je 0x2d7b5
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rsi
addq $0x1d198, %rsi          # imm = 0x1D198
movq -0x20(%rbp), %rdx
movl -0x2c(%rbp), %r8d
xorl %eax, %eax
movl %eax, %ecx
xorl %r9d, %r9d
movq $0x8, (%rsp)
movl $0x0, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
callq 0x25360
movq %rax, -0x20(%rbp)
jmp 0x2d7f0
cmpq $0x0, -0x20(%rbp)
je 0x2d7ee
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
callq 0x2cf30
movq -0x38(%rbp), %rdi
movq %rax, %rsi
movq -0x20(%rbp), %rdx
callq 0x2d4f0
cmpl $0x0, %eax
je 0x2d7ec
movq $0x0, -0x8(%rbp)
jmp 0x2d824
jmp 0x2d7ee
jmp 0x2d7f0
movq -0x10(%rbp), %rax
movswl 0xc166(%rax), %eax
cmpl $0x0, %eax
je 0x2d81c
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x1b620
cmpl $0x0, %eax
je 0x2d81c
movq $0x0, -0x8(%rbp)
jmp 0x2d824
movq -0x20(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
nop