LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_attribute
SOAP_FMAC2
soap_attribute(struct soap *soap, const char *name, const char *value)
{ 
  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Attribute '%s'='%s'\n", name, value));
#ifdef WITH_DOM
  if ((soap->mode & SOAP_XML_DOM) && !(soap->mode & SOAP_XML_CANONICAL) && soap->dom)
  { register struct soap_dom_attribute *a = (struct soap_dom_attribute*)soap_malloc(soap, sizeof(struct soap_dom_attribute));
    if (!a)
      return soap->error;
    a->next = soap->dom->atts;
    a->nstr = NULL;
    a->name = soap_strdup(soap, name);
    a->data = soap_strdup(soap, value);
    a->wide = NULL;
    a->soap = soap;
    soap->dom->atts = a;
    return SOAP_OK;
  }
#endif
#ifndef WITH_LEAN
  if (soap->mode & SOAP_XML_CANONICAL)
  { /* TODO: consider using this code to handle default namespace bindings
    if (!strncmp(name, "xmlns", 5) && (name[5] == ':' || name[5] == '\0'))
    { if (name[5] == ':')
        soap_push_ns(soap, name + 6, value, 0);
      else
        soap_push_ns(soap, "", value, 0);
    }
    */
    if (!strncmp(name, "xmlns:", 6))
      soap_push_ns(soap, name + 6, value, 0);
    else if (soap_set_attr(soap, name, value))
      return soap->error;
  }
  else
#endif
  { if (soap_send(soap, " ") || soap_send(soap, name))
      return soap->error;
    if (value)
      if (soap_send_raw(soap, "=\"", 2)
       || soap_string_out(soap, value, 1)
       || soap_send_raw(soap, "\"", 1))
        return soap->error;
  }
  return SOAP_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testb $0x1, 0x6(%rdi)
jne 0x420cd
leaq 0x108c5(%rip), %rsi     # 0x5291d
movl $0x1, %edx
movq %rbx, %rdi
callq 0x376e8
testl %eax, %eax
jne 0x420f7
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3798b
testl %eax, %eax
jne 0x420f7
xorl %ebp, %ebp
testq %r14, %r14
je 0x42119
leaq 0x10a6d(%rip), %rsi     # 0x52afb
movl $0x2, %edx
movq %rbx, %rdi
callq 0x376e8
testl %eax, %eax
jne 0x420f7
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %edx
callq 0x4296e
testl %eax, %eax
jne 0x420f7
leaq 0x10734(%rip), %rsi     # 0x527ee
movl $0x1, %edx
movq %rbx, %rdi
callq 0x376e8
testl %eax, %eax
jne 0x420f7
jmp 0x42119
leaq 0x10598(%rip), %rsi     # 0x5266c
movl $0x6, %edx
movq %r15, %rdi
callq 0x3080
testl %eax, %eax
je 0x420ff
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x425f4
testl %eax, %eax
je 0x42117
movl 0x19214(%rbx), %ebp
jmp 0x42119
addq $0x6, %r15
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x41eea
jmp 0x42119
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_utilize_ns
static void
soap_utilize_ns(struct soap *soap, const char *tag, size_t n)
{ register struct soap_nlist *np = soap_lookup_ns(soap, tag, n);
  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Utilizing namespace of '%s'\n", tag));
  if (np)
  { if (np->index == 0)
      soap_push_ns(soap, np->id, np->ns, 1);
  }
  else if (strncmp(tag, "xml", 3))
  { strncpy(soap->tmpbuf, tag, n);
    soap->tmpbuf[n] = '\0';
    soap_push_ns(soap, soap->tmpbuf, NULL, 1);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
callq 0x418ec
testq %rax, %rax
je 0x42158
cmpw $0x0, 0xc(%rax)
jne 0x421ab
movq %rax, %rsi
addq $0x18, %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
jmp 0x42196
leaq 0x10946(%rip), %rsi     # 0x52aa5
movl $0x3, %edx
movq %r15, %rdi
callq 0x3080
testl %eax, %eax
je 0x421ab
leaq 0x16538(%rbx), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x3070
movb $0x0, 0x16538(%rbx,%r14)
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
movl $0x1, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x41eea
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_array_begin_out
SOAP_FMAC2
soap_array_begin_out(struct soap *soap, const char *tag, int id, const char *type, const char *offset)
{ if (!type || !*type)
    return soap_element_begin_out(soap, tag, id, NULL);
  if (soap_element(soap, tag, id, "SOAP-ENC:Array"))
    return soap->error;
  if (soap->version == 2)
  { const char *s;
    s = soap_strrchr(type, '[');
    if ((size_t)(s - type) < sizeof(soap->tmpbuf))
    { strncpy(soap->tmpbuf, type, s - type);
      soap->tmpbuf[s - type] = '\0';
      if (soap_attribute(soap, "SOAP-ENC:itemType", soap->tmpbuf))
        return soap->error;
      if (s && (soap_attribute(soap, "SOAP-ENC:arraySize", s + 1)))
        return soap->error;
    }
  }
  else
  { if (offset && soap_attribute(soap, "SOAP-ENC:offset", offset))
      return soap->error;
    if (soap_attribute(soap, "SOAP-ENC:arrayType", type))
      return soap->error;
  }
#ifndef WITH_LEAN
  if ((soap->mode & SOAP_XML_CANONICAL))
  { const char *s = strchr(type, ':');
    if (s)
      soap_utilize_ns(soap, type, s - type);
  }
#endif
  return soap_element_start_end_out(soap, NULL);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rcx, %rcx
je 0x424ce
movq %rcx, %r14
cmpb $0x0, (%rcx)
je 0x424ce
movq %r8, %r15
leaq 0xf214(%rip), %rcx      # 0x516c1
movq %rbx, %rdi
callq 0x4193c
testl %eax, %eax
je 0x424e6
movl 0x19214(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
xorl %ecx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3f71a
cmpw $0x2, 0x2(%rbx)
jne 0x42551
movq %r14, %rdi
movl $0x5b, %esi
callq 0x3160
movq %rax, %r12
subq %r14, %r12
movb $0x1, %bpl
cmpq $0x3ff, %r12            # imm = 0x3FF
ja 0x425aa
movq %rax, %r15
leaq 0x16538(%rbx), %r13
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3070
movb $0x0, 0x16538(%rbx,%r12)
leaq 0x100ad(%rip), %rsi     # 0x525e5
movq %rbx, %rdi
movq %r13, %rdx
callq 0x4203b
testl %eax, %eax
je 0x4258c
movl 0x19214(%rbx), %eax
xorl %ebp, %ebp
jmp 0x425aa
testq %r15, %r15
je 0x42570
leaq 0x100ad(%rip), %rsi     # 0x5260a
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4203b
testl %eax, %eax
jne 0x424b9
leaq 0x100a3(%rip), %rsi     # 0x5261a
movq %rbx, %rdi
movq %r14, %rdx
callq 0x4203b
testl %eax, %eax
jne 0x424b9
jmp 0x425b3
testq %r15, %r15
je 0x425aa
incq %r15
leaq 0x1005c(%rip), %rsi     # 0x525f7
movq %rbx, %rdi
movq %r15, %rdx
callq 0x4203b
testl %eax, %eax
jne 0x42547
testb %bpl, %bpl
je 0x424bf
testb $0x1, 0x6(%rbx)
je 0x425dc
movq %r14, %rdi
movl $0x3a, %esi
callq 0x3130
testq %rax, %rax
je 0x425dc
subq %r14, %rax
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x42126
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x421b7
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_element_ref
SOAP_FMAC2
soap_element_ref(struct soap *soap, const char *tag, int id, int href)
{ register int n = 0;
  const char *s = "href";
  if (soap->version == 2)
  { s = "SOAP-ENC:ref";
    n = 1;
  }
  sprintf(soap->href, "#_%d", href);
  return soap_element_href(soap, tag, id, s, soap->href + n);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
xorl %r13d, %r13d
cmpw $0x2, 0x2(%rdi)
sete %r13b
leaq 0xfa6a(%rip), %rax      # 0x52633
leaq 0xf943(%rip), %r12      # 0x52513
cmoveq %rax, %r12
addq $0x17138, %rdi          # imm = 0x17138
leaq 0xfa5e(%rip), %rsi      # 0x52640
movl %ecx, %edx
xorl %eax, %eax
callq 0x3350
leaq (%r15,%r13), %r8
addq $0x17138, %r8           # imm = 0x17138
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
movq %r12, %rcx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x3f741
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_element_null
SOAP_FMAC2
soap_element_null(struct soap *soap, const char *tag, int id, const char *type)
{ struct soap_attribute *tp;
  for (tp = soap->attributes; tp; tp = tp->next)
    if (tp->visible)
      break;
  if (tp || (soap->version == 2 && soap->position > 0) || id > 0 || (soap->mode & SOAP_XML_NIL))
  { if (soap_element(soap, tag, id, type))
      return soap->error;
    if (!tp && soap_attribute(soap, "xsi:nil", "true"))
      return soap->error;
    return soap_element_start_end_out(soap, tag);
  }
  soap->null = 1;
  soap->position = 0;
  soap->mustUnderstand = 0;
  return SOAP_OK;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18580(%rdi), %r15
movq (%r15), %r15
testq %r15, %r15
je 0x42c33
cmpw $0x0, 0x20(%r15)
je 0x42c21
jmp 0x42c6b
cmpw $0x2, 0x2(%rbx)
jne 0x42c4a
testl %edx, %edx
jg 0x42c6b
cmpw $0x0, 0x1853a(%rbx)
jle 0x42c4e
jmp 0x42c6b
testl %edx, %edx
jg 0x42c6b
testb $0x8, 0x6(%rbx)
jne 0x42c6b
movw $0x0, 0x1853a(%rbx)
movl $0x10000, 0x1858a(%rbx) # imm = 0x10000
xorl %eax, %eax
jmp 0x42c80
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4193c
testl %eax, %eax
je 0x42c86
movl 0x19214(%rbx), %eax
popq %rbx
popq %r14
popq %r15
retq
testq %r15, %r15
je 0x42c9b
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x421b7
leaq 0xf9a3(%rip), %rsi      # 0x52645
leaq 0xebbe(%rip), %rdx      # 0x51867
movq %rbx, %rdi
callq 0x4203b
testl %eax, %eax
jne 0x42c7a
jmp 0x42c8b
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_element_result
SOAP_FMAC2
soap_element_result(struct soap *soap, const char *tag)
{ if (soap->version == 2 && soap->encodingStyle)
  { if (soap_element(soap, "SOAP-RPC:result", 0, NULL)
     || soap_attribute(soap, "xmlns:SOAP-RPC", soap_rpc)
     || soap_element_start_end_out(soap, NULL)
     || soap_string_out(soap, tag, 0)
     || soap_element_end_out(soap, "SOAP-RPC:result"))
      return soap->error;
  }
  return SOAP_OK;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
xorl %ebp, %ebp
cmpw $0x2, 0x2(%rdi)
jne 0x42d3c
movq %rdi, %rbx
cmpq $0x0, 0x38(%rdi)
je 0x42d3c
movq %rsi, %r14
leaq 0xf975(%rip), %rsi      # 0x5264d
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x4193c
testl %eax, %eax
jne 0x42d36
leaq 0xf96e(%rip), %rsi      # 0x5265d
leaq 0xf4ba(%rip), %rdx      # 0x521b0
movq %rbx, %rdi
callq 0x4203b
testl %eax, %eax
jne 0x42d36
movq %rbx, %rdi
xorl %esi, %esi
callq 0x421b7
testl %eax, %eax
jne 0x42d36
xorl %ebp, %ebp
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
jne 0x42d36
leaq 0xf923(%rip), %rsi      # 0x5264d
movq %rbx, %rdi
callq 0x3f797
testl %eax, %eax
je 0x42d3c
movl 0x19214(%rbx), %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_attr_value
SOAP_FMAC1
const char *
SOAP_FMAC2
soap_attr_value(struct soap *soap, const char *name, int flag)
{ register struct soap_attribute *tp;
  if (*name == '-')
    return SOAP_STR_EOS;
  for (tp = soap->attributes; tp; tp = tp->next)
  { if (tp->visible && !soap_match_tag(soap, tp->name, name))
      break;
  }
  if (tp)
  { if (flag == 2 && (soap->mode & SOAP_XML_STRICT))
      soap->error = SOAP_PROHIBITED;
    else
      return tp->value;
  }
  else if (flag == 1 && (soap->mode & SOAP_XML_STRICT))
    soap->error = SOAP_REQUIRED;
  else
    soap->error = SOAP_OK;
  return NULL;
}

// Assembly:
cmpb $0x2d, (%rsi)
jne 0x42f32
leaq 0xf230(%rip), %rax      # 0x52161
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rdi, %rbx
movq 0x18580(%rdi), %r15
testq %r15, %r15
je 0x42f70
movq %rsi, %r14
cmpw $0x0, 0x20(%r15)
je 0x42f68
leaq 0x22(%r15), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x3b54d
testl %eax, %eax
je 0x42f87
movq (%r15), %r15
testq %r15, %r15
jne 0x42f4d
cmpl $0x1, %ebp
jne 0x42f7b
testb $0x10, 0x5(%rbx)
jne 0x42f98
movl $0x0, 0x19214(%rbx)
jmp 0x42fae
cmpl $0x2, %ebp
jne 0x42f92
testb $0x10, 0x5(%rbx)
jne 0x42fa4
movq 0x8(%r15), %rax
jmp 0x42fb0
movl $0x2a, 0x19214(%rbx)
jmp 0x42fae
movl $0x2b, 0x19214(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_getattrval
static int
soap_getattrval(struct soap *soap, char *s, size_t n, soap_wchar d)
{ register size_t i;
  for (i = 0; i < n; i++)
  { register soap_wchar c = soap_get(soap);
    switch (c)
    {
    case SOAP_TT:
      *s++ = '<';
      soap_unget(soap, '/');
      break;
    case SOAP_LT:
      *s++ = '<';
      break;
    case SOAP_GT:
      if (d == ' ')
      { soap_unget(soap, c);
        *s = '\0';
        return SOAP_OK;
      }
      *s++ = '>';
      break;
    case SOAP_QT:
      if (c == d)
      { *s = '\0';
        return SOAP_OK;
      }
      *s++ = '"';
      break;
    case SOAP_AP:
      if (c == d)
      { *s = '\0';
        return SOAP_OK;
      }
      *s++ = '\'';
      break;
    case '\t':
    case '\n':
    case '\r':
    case ' ':
    case '/':
      if (d == ' ')
      { soap_unget(soap, c);
        *s = '\0';
        return SOAP_OK;
      }
    default:
      if ((int)c == EOF)
        return soap->error = SOAP_EOF;
      *s++ = (char)c;
    }
  }
  return soap->error = SOAP_EOM;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
testq %rdx, %rdx
je 0x430a3
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r12
leaq 0xefaf(%rip), %r13      # 0x51fa0
movq %r15, %rdi
callq 0x382e5
leal 0x6(%rax), %ecx
cmpl $0x13, %ecx
ja 0x43017
movslq (%r13,%rcx,4), %rcx
addq %r13, %rcx
jmpq *%rcx
cmpl $-0x6, %ebx
je 0x4302d
movb $0x27, (%r12)
jmp 0x43091
cmpl $0x20, %eax
je 0x43021
cmpl $0x2f, %eax
jne 0x4303b
cmpl $0x20, %ebx
jne 0x43036
movl %eax, 0x6100(%r15)
movb $0x0, (%r12)
xorl %ebp, %ebp
jmp 0x43051
cmpl $-0x1, %eax
je 0x43041
movb %al, (%r12)
jmp 0x43091
movl $0xffffffff, 0x19214(%r15) # imm = 0xFFFFFFFF
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
xorl %eax, %eax
jmp 0x43096
cmpl $-0x5, %ebx
je 0x4302d
movb $0x22, (%r12)
jmp 0x43091
movb $0x3c, (%r12)
jmp 0x43091
cmpl $0x20, %ebx
jne 0x4308c
movl $0xfffffffc, 0x6100(%r15) # imm = 0xFFFFFFFC
jmp 0x4302d
movb $0x3c, (%r12)
movl $0x2f, 0x6100(%r15)
jmp 0x43091
movb $0x3e, (%r12)
incq %r12
movb $0x1, %al
testb %al, %al
je 0x430b3
decq %r14
jne 0x42ff1
movl $0x14, 0x19214(%r15)
movl $0x14, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_revert
SOAP_FMAC2
soap_revert(struct soap *soap)
{ if (!soap->peeked)
  { soap->peeked = 1;
    if (soap->body)
      soap->level--;
  }
  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Reverting last element (level=%u)\n", soap->level));
}

// Assembly:
cmpw $0x0, 0x18594(%rdi)
je 0x430fe
retq
movw $0x1, 0x18594(%rdi)
cmpw $0x0, 0x6106(%rdi)
je 0x430fd
decl 0x6108(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_wstring_out
SOAP_FMAC2
soap_wstring_out(struct soap *soap, const wchar_t *s, int flag)
{ const char *t;
  char tmp;
  register soap_wchar c;
#ifdef WITH_DOM
  if ((soap->mode & SOAP_XML_DOM) && soap->dom)
  { wchar_t *r = (wchar_t*)s;
    int n = 1;
    while (*r++)
      n++;
    soap->dom->wide = r = (wchar_t*)soap_malloc(soap, n * sizeof(wchar_t));
    while (n--)
      *r++ = *s++;
    return SOAP_OK;
  }
#endif
  while ((c = *s++))
  { switch (c)
    { 
    case 0x09:
      if (flag)
        t = "&#x9;";
      else
        t = "\t";
      break;
    case 0x0A:
      if (flag || !(soap->mode & SOAP_XML_CANONICAL))
        t = "&#xA;";
      else
        t = "\n";
      break;
    case 0x0D:
      t = "&#xD;";
      break;
    case '&':
      t = "&amp;";
      break;
    case '<':
      t = "&lt;";
      break;
    case '>':
      if (flag)
        t = ">";
      else
        t = "&gt;";
      break;
    case '"':
      if (flag)
        t = "&quot;";
      else
        t = "\"";
      break;
    default:
      if (c >= 0x20 && c < 0x80)
      { tmp = (char)c;
        if (soap_send_raw(soap, &tmp, 1))
          return soap->error;
      }
      else if (soap_pututf8(soap, (unsigned long)c))
        return soap->error;
      continue;
    }
    if (soap_send(soap, t))
      return soap->error;
  }
  return SOAP_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movl %edx, 0x4(%rsp)
testl %edx, %edx
leaq 0xe77e(%rip), %rax      # 0x527ee
leaq 0xe6a7(%rip), %rbp      # 0x5271e
cmoveq %rax, %rbp
leaq 0xe697(%rip), %rax      # 0x52719
leaq 0xe5a5(%rip), %r12      # 0x5262e
cmoveq %rax, %r12
leaq 0xe69d(%rip), %rax      # 0x52731
leaq 0xe661(%rip), %rbx      # 0x526fc
cmoveq %rax, %rbx
movslq (%r15), %rsi
addq $0x4, %r15
cmpq $0x21, %rsi
jle 0x440cb
cmpl $0x3b, %esi
jg 0x440e3
movq %rbp, %r13
cmpl $0x22, %esi
je 0x44143
cmpl $0x26, %esi
jne 0x440fb
leaq 0xe645(%rip), %r13      # 0x5270e
jmp 0x44143
cmpl $0x9, %esi
jle 0x440f2
cmpl $0xa, %esi
je 0x44117
leaq 0xe62c(%rip), %r13      # 0x52708
cmpl $0xd, %esi
je 0x44143
jmp 0x440fb
cmpl $0x3c, %esi
je 0x4413c
movq %r12, %r13
cmpl $0x3e, %esi
je 0x44143
jmp 0x440fb
movq %rbx, %r13
je 0x44143
testl %esi, %esi
je 0x44174
leal -0x20(%rsi), %eax
cmpl $0x5f, %eax
ja 0x44163
movb %sil, 0x3(%rsp)
movl $0x1, %edx
movq %r14, %rdi
leaq 0x3(%rsp), %rsi
jmp 0x44154
leaq 0xe5e4(%rip), %r13      # 0x52702
cmpl $0x0, 0x4(%rsp)
jne 0x44143
testb $0x1, 0x6(%r14)
leaq 0xe5d1(%rip), %r13      # 0x52702
je 0x44143
leaq 0xe3e9(%rip), %r13      # 0x52523
jmp 0x44143
leaq 0xe5d1(%rip), %r13      # 0x52714
movq %r13, %rdi
callq 0x3110
movq %r14, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0x376e8
testl %eax, %eax
je 0x4409f
jmp 0x4416d
movq %r14, %rdi
callq 0x38a46
jmp 0x44159
movl 0x19214(%r14), %esi
movl %esi, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outint
SOAP_FMAC2
soap_outint(struct soap *soap, const char *tag, int id, const int *p, const char *type, int n)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
   || soap_string_out(soap, soap_long2s(soap, (long)*p), 0))
    return soap->error;
  return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movq %rcx, %rdx
movl %r9d, %ecx
callq 0x3f1df
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x3f71a
testl %eax, %eax
jne 0x44646
movslq (%r15), %rdx
leaq 0x16538(%r14), %r15
leaq 0xe10f(%rip), %rsi      # 0x5273a
movq %r15, %rdi
xorl %eax, %eax
callq 0x3350
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
je 0x44659
movl 0x19214(%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3f797
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_s2int
SOAP_FMAC2
soap_s2int(struct soap *soap, const char *s, int *p)
{ if (s)
  { char *r;
#ifndef WITH_NOIO
#ifndef WITH_LEAN
    soap_reset_errno;
#endif
#endif
    *p = (int)soap_strtol(s, &r, 10);
    if ((s == r && (soap->mode & SOAP_XML_STRICT)) || *r
#ifndef WITH_NOIO
#ifndef WITH_LEAN
     || soap_errno == SOAP_ERANGE
#endif
#endif
    )
      soap->error = SOAP_TYPE;
  }
  return soap->error;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
testq %rsi, %rsi
je 0x446d5
movq %rdx, %r12
movq %rsi, %r15
callq 0x3060
movq %rax, %r14
movl $0x0, (%rax)
leaq 0x8(%rsp), %r13
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x3220
movl %eax, (%r12)
movq (%r13), %rax
cmpq %r15, %rax
jne 0x446c0
testb $0x10, 0x5(%rbx)
jne 0x446cb
cmpb $0x0, (%rax)
jne 0x446cb
cmpl $0x22, (%r14)
jne 0x446d5
movl $0x4, 0x19214(%rbx)
movl 0x19214(%rbx), %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_inint
SOAP_FMAC1
int *
SOAP_FMAC2
soap_inint(struct soap *soap, const char *tag, int *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, ":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 = (int*)soap_id_enter(soap, soap->id, p, t, sizeof(int), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (int*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(int), 0, NULL);
  else if (p)
  { if (soap_s2int(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, %r12
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3a23a
testl %eax, %eax
jne 0x44868
cmpb $0x0, 0x17538(%rbx)
je 0x447bc
leaq 0x17538(%rbx), %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3b54d
testl %eax, %eax
je 0x447bc
leaq 0xc474(%rip), %rdx      # 0x50bbb
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x447bc
leaq 0xdfd6(%rip), %rdx      # 0x52733
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x447bc
leaq 0xc43f(%rip), %rdx      # 0x50bb2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x447bc
movl $0x4, 0x19214(%rbx)
cmpw $0x0, 0x18594(%rbx)
jne 0x44865
movw $0x1, 0x18594(%rbx)
cmpw $0x0, 0x6106(%rbx)
je 0x44865
decl 0x6108(%rbx)
jmp 0x44865
leaq 0x16d38(%rbx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x4, %r8d
movq %rbx, %rdi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x4000a
movq %rax, %r15
cmpb $0x0, 0x17138(%rbx)
je 0x44846
leaq 0x17138(%rbx), %rsi
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x4, (%rsp)
movq %rbx, %rdi
movq %r15, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x3feb8
movq %rax, %r15
cmpw $0x0, 0x6106(%rbx)
je 0x44868
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a406
testl %eax, %eax
jne 0x44865
jmp 0x44868
testq %r15, %r15
je 0x4487a
movq %rbx, %rdi
callq 0x4487f
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x4466f
testl %eax, %eax
je 0x4482b
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x4482b
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_value
SOAP_FMAC1
const char *
SOAP_FMAC2
soap_value(struct soap *soap)
{ register size_t i;
  register soap_wchar c = 0;
  register char *s = soap->tmpbuf;
  if (!soap->body)
    return SOAP_STR_EOS;
  do c = soap_get(soap);
  while (soap_blank(c));
  for (i = 0; i < sizeof(soap->tmpbuf) - 1; i++)
  { if (c == SOAP_TT || c == SOAP_LT || (int)c == EOF)
      break;
    *s++ = (char)c;
    c = soap_get(soap);
  }
  for (s--; i > 0; i--, s--)
  { if (!soap_blank(*s))
      break;
  }
  s[1] = '\0';
  DBGLOG(TEST, SOAP_MESSAGE(fdebug, "Element content value='%s'\n", soap->tmpbuf));
  if (c == SOAP_TT || c == SOAP_LT || (int)c == EOF)
    soap_unget(soap, c);
  else if (soap->mode & SOAP_XML_STRICT)
  { soap->error = SOAP_LENGTH;
    return NULL;
  }
#ifdef WITH_DOM
  if ((soap->mode & SOAP_XML_DOM) && soap->dom)
    soap->dom->data = soap_strdup(soap, soap->tmpbuf);
#endif
  return soap->tmpbuf; /* return non-null pointer */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
cmpw $0x0, 0x6106(%rdi)
je 0x448b7
movq %rdi, %r14
leaq 0x16538(%rdi), %rbx
movq %r14, %rdi
callq 0x382e5
cmpl $0x21, %eax
jb 0x4489b
cmpl $-0x3, %eax
setae %cl
jb 0x448c0
xorl %edx, %edx
movq %rbx, %r15
jmp 0x448ef
leaq 0xd8a3(%rip), %rbx      # 0x52161
jmp 0x44931
xorl %edx, %edx
movq %rbx, %r15
movq %rdx, %r12
movb %al, (%r15)
incq %r15
movq %r14, %rdi
callq 0x382e5
leaq 0x1(%r12), %rdx
cmpl $-0x3, %eax
setae %cl
cmpq $0x3fd, %r12            # imm = 0x3FD
ja 0x448ef
cmpl $-0x4, %eax
jbe 0x448c5
testq %rdx, %rdx
je 0x4490c
movq %r15, %rsi
subq %rdx, %rsi
cmpb $0x21, -0x1(%r15)
jae 0x4490c
decq %r15
decq %rdx
jne 0x448fa
movq %rsi, %r15
movb $0x0, (%r15)
testb %cl, %cl
je 0x4491d
movl %eax, 0x6100(%r14)
jmp 0x44931
testb $0x10, 0x5(%r14)
je 0x44931
movl $0x2d, 0x19214(%r14)
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outlong
SOAP_FMAC2
soap_outlong(struct soap *soap, const char *tag, int id, const long *p, const char *type, int n)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
   || soap_string_out(soap, soap_long2s(soap, *p), 0))
    return soap->error;
  return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movq %rcx, %rdx
movl %r9d, %ecx
callq 0x3f1df
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x3f71a
testl %eax, %eax
jne 0x449a1
movq (%r15), %rdx
leaq 0x16538(%r14), %r15
leaq 0xddb4(%rip), %rsi      # 0x5273a
movq %r15, %rdi
xorl %eax, %eax
callq 0x3350
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
je 0x449b4
movl 0x19214(%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3f797
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_s2long
SOAP_FMAC2
soap_s2long(struct soap *soap, const char *s, long *p)
{ if (s)
  { char *r;
#ifndef WITH_NOIO
#ifndef WITH_LEAN
    soap_reset_errno;
#endif
#endif
    *p = soap_strtol(s, &r, 10);
    if ((s == r && (soap->mode & SOAP_XML_STRICT)) || *r
#ifndef WITH_NOIO
#ifndef WITH_LEAN
     || soap_errno == SOAP_ERANGE
#endif
#endif
    )
      soap->error = SOAP_TYPE;
  }
  return soap->error;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
testq %rsi, %rsi
je 0x44a30
movq %rdx, %r12
movq %rsi, %r15
callq 0x3060
movq %rax, %r14
movl $0x0, (%rax)
leaq 0x8(%rsp), %r13
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x3220
movq %rax, (%r12)
movq (%r13), %rax
cmpq %r15, %rax
jne 0x44a1b
testb $0x10, 0x5(%rbx)
jne 0x44a26
cmpb $0x0, (%rax)
jne 0x44a26
cmpl $0x22, (%r14)
jne 0x44a30
movl $0x4, 0x19214(%rbx)
movl 0x19214(%rbx), %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_inlong
SOAP_FMAC1
long *
SOAP_FMAC2
soap_inlong(struct soap *soap, const char *tag, long *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, ":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 = (long*)soap_id_enter(soap, soap->id, p, t, sizeof(long), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (long*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(long), 0, NULL);
  else if (p)
  { if (soap_s2long(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, %r12
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3a23a
testl %eax, %eax
jne 0x44bc3
cmpb $0x0, 0x17538(%rbx)
je 0x44b17
leaq 0x17538(%rbx), %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3b54d
testl %eax, %eax
je 0x44b17
leaq 0xc119(%rip), %rdx      # 0x50bbb
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x44b17
leaq 0xdc7b(%rip), %rdx      # 0x52733
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x44b17
leaq 0xc0e4(%rip), %rdx      # 0x50bb2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x44b17
movl $0x4, 0x19214(%rbx)
cmpw $0x0, 0x18594(%rbx)
jne 0x44bc0
movw $0x1, 0x18594(%rbx)
cmpw $0x0, 0x6106(%rbx)
je 0x44bc0
decl 0x6108(%rbx)
jmp 0x44bc0
leaq 0x16d38(%rbx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x8, %r8d
movq %rbx, %rdi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x4000a
movq %rax, %r15
cmpb $0x0, 0x17138(%rbx)
je 0x44ba1
leaq 0x17138(%rbx), %rsi
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x8, (%rsp)
movq %rbx, %rdi
movq %r15, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x3feb8
movq %rax, %r15
cmpw $0x0, 0x6106(%rbx)
je 0x44bc3
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a406
testl %eax, %eax
jne 0x44bc0
jmp 0x44bc3
testq %r15, %r15
je 0x44bd5
movq %rbx, %rdi
callq 0x4487f
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x449ca
testl %eax, %eax
je 0x44b86
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x44b86
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outLONG64
SOAP_FMAC2
soap_outLONG64(struct soap *soap, const char *tag, int id, const LONG64 *p, const char *type, int n)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
   || soap_string_out(soap, soap_LONG642s(soap, *p), 0))
    return soap->error;
  return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movq %rcx, %rdx
movl %r9d, %ecx
callq 0x3f1df
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x3f71a
testl %eax, %eax
jne 0x44c5c
movq (%r15), %rdx
leaq 0x16538(%r14), %r15
leaq 0xdaf9(%rip), %rsi      # 0x5273a
movq %r15, %rdi
xorl %eax, %eax
callq 0x3350
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
je 0x44c6f
movl 0x19214(%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3f797
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outbyte
SOAP_FMAC2
soap_outbyte(struct soap *soap, const char *tag, int id, const char *p, const char *type, int n)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
   || soap_string_out(soap, soap_long2s(soap, (long)*p), 0))
    return soap->error;
  return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movq %rcx, %rdx
movl %r9d, %ecx
callq 0x3f1df
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x3f71a
testl %eax, %eax
jne 0x44f8d
movsbq (%r15), %rdx
leaq 0x16538(%r14), %r15
leaq 0xd7c8(%rip), %rsi      # 0x5273a
movq %r15, %rdi
xorl %eax, %eax
callq 0x3350
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
je 0x44fa0
movl 0x19214(%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3f797
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_s2byte
SOAP_FMAC2
soap_s2byte(struct soap *soap, const char *s, char *p)
{ if (s)
  { long n;
    char *r;
    n = soap_strtol(s, &r, 10);
    if (s == r || *r || n < -128 || n > 127)
      soap->error = SOAP_TYPE;
    *p = (char)n;
  }
  return soap->error;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x4500c
movq %rdx, %r14
movq %rsi, %r15
movq %rsp, %r12
movq %rsi, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x3220
movq (%r12), %rcx
cmpq %r15, %rcx
je 0x44fff
cmpb $0x0, (%rcx)
setne %cl
movsbq %al, %rdx
cmpq %rax, %rdx
setne %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x45009
movl $0x4, 0x19214(%rbx)
movb %al, (%r14)
movl 0x19214(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_inbyte
SOAP_FMAC1
char *
SOAP_FMAC2
soap_inbyte(struct soap *soap, const char *tag, char *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, ":byte"))
  { soap->error = SOAP_TYPE;
    soap_revert(soap);
    return NULL;
  }
#endif
  p = (char*)soap_id_enter(soap, soap->id, p, t, sizeof(char), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (char*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(char), 0, NULL);
  else if (p)
  { if (soap_s2byte(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, %r12
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3a23a
testl %eax, %eax
jne 0x4516d
cmpb $0x0, 0x17538(%rbx)
je 0x450c1
leaq 0x17538(%rbx), %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3b54d
testl %eax, %eax
je 0x450c1
leaq 0xbb3a(%rip), %rdx      # 0x50bb2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x450c1
movl $0x4, 0x19214(%rbx)
cmpw $0x0, 0x18594(%rbx)
jne 0x4516a
movw $0x1, 0x18594(%rbx)
cmpw $0x0, 0x6106(%rbx)
je 0x4516a
decl 0x6108(%rbx)
jmp 0x4516a
leaq 0x16d38(%rbx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x1, %r8d
movq %rbx, %rdi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x4000a
movq %rax, %r15
cmpb $0x0, 0x17138(%rbx)
je 0x4514b
leaq 0x17138(%rbx), %rsi
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x1, (%rsp)
movq %rbx, %rdi
movq %r15, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x3feb8
movq %rax, %r15
cmpw $0x0, 0x6106(%rbx)
je 0x4516d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a406
testl %eax, %eax
jne 0x4516a
jmp 0x4516d
testq %r15, %r15
je 0x4517f
movq %rbx, %rdi
callq 0x4487f
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x44fb6
testl %eax, %eax
je 0x45130
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x45130
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outshort
SOAP_FMAC2
soap_outshort(struct soap *soap, const char *tag, int id, const short *p, const char *type, int n)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
   || soap_string_out(soap, soap_long2s(soap, (long)*p), 0))
    return soap->error;
  return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movq %rcx, %rdx
movl %r9d, %ecx
callq 0x3f1df
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x3f71a
testl %eax, %eax
jne 0x45207
movswq (%r15), %rdx
leaq 0x16538(%r14), %r15
leaq 0xd54e(%rip), %rsi      # 0x5273a
movq %r15, %rdi
xorl %eax, %eax
callq 0x3350
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
je 0x4521a
movl 0x19214(%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3f797
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_s2short
SOAP_FMAC2
soap_s2short(struct soap *soap, const char *s, short *p)
{ if (s)
  { long n;
    char *r;
    n = soap_strtol(s, &r, 10);
    if (s == r || *r || n < -32768 || n > 32767)
      soap->error = SOAP_TYPE;
    *p = (short)n;
  }
  return soap->error;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x45287
movq %rdx, %r14
movq %rsi, %r15
movq %rsp, %r12
movq %rsi, %rdi
movq %r12, %rsi
movl $0xa, %edx
callq 0x3220
movq (%r12), %rcx
cmpq %r15, %rcx
je 0x45279
cmpb $0x0, (%rcx)
setne %cl
movswq %ax, %rdx
cmpq %rax, %rdx
setne %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x45283
movl $0x4, 0x19214(%rbx)
movw %ax, (%r14)
movl 0x19214(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_inshort
SOAP_FMAC1
short *
SOAP_FMAC2
soap_inshort(struct soap *soap, const char *tag, short *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, ":short")
   && soap_match_tag(soap, soap->type, ":byte"))
  { soap->error = SOAP_TYPE;
    soap_revert(soap);
    return NULL;
  }
#endif
  p = (short*)soap_id_enter(soap, soap->id, p, t, sizeof(short), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (short*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(short), 0, NULL);
  else if (p)
  { if (soap_s2short(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, %r12
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3a23a
testl %eax, %eax
jne 0x453fe
cmpb $0x0, 0x17538(%rbx)
je 0x45352
leaq 0x17538(%rbx), %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x3b54d
testl %eax, %eax
je 0x45352
leaq 0xd440(%rip), %rdx      # 0x52733
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x45352
leaq 0xb8a9(%rip), %rdx      # 0x50bb2
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3b54d
testl %eax, %eax
je 0x45352
movl $0x4, 0x19214(%rbx)
cmpw $0x0, 0x18594(%rbx)
jne 0x453fb
movw $0x1, 0x18594(%rbx)
cmpw $0x0, 0x6106(%rbx)
je 0x453fb
decl 0x6108(%rbx)
jmp 0x453fb
leaq 0x16d38(%rbx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x2, %r8d
movq %rbx, %rdi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x4000a
movq %rax, %r15
cmpb $0x0, 0x17138(%rbx)
je 0x453dc
leaq 0x17138(%rbx), %rsi
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x2, (%rsp)
movq %rbx, %rdi
movq %r15, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x3feb8
movq %rax, %r15
cmpw $0x0, 0x6106(%rbx)
je 0x453fe
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3a406
testl %eax, %eax
jne 0x453fb
jmp 0x453fe
testq %r15, %r15
je 0x45410
movq %rbx, %rdi
callq 0x4487f
movq %rbx, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x45230
testl %eax, %eax
je 0x453c1
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x453c1
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_float2s
SOAP_FMAC1
const char*
SOAP_FMAC2
soap_float2s(struct soap *soap, float n)
{ char *s;
  if (soap_isnan((double)n))
    return "NaN";
  if (soap_ispinff(n))
    return "INF";
  if (soap_isninff(n))
    return "-INF";
  s = soap->tmpbuf;
#if defined(HAVE_SPRINTF_L)
  sprintf_l(s, soap->c_locale, soap->float_format, n);
#else
  sprintf(s, soap->float_format, n);
  s = strchr(s, ',');	/* convert decimal comma to DP */
  if (s)
    *s = '.';
#endif
  return soap->tmpbuf;
}

// Assembly:
pushq %rbx
ucomiss %xmm0, %xmm0
jp 0x45479
ucomiss 0xcde6(%rip), %xmm0     # 0x52208
jb 0x4542d
leaq 0xd376(%rip), %rbx      # 0x527a1
jmp 0x45474
movss 0xcdd7(%rip), %xmm1     # 0x5220c
ucomiss %xmm0, %xmm1
jb 0x45443
leaq 0xd35a(%rip), %rbx      # 0x5279b
jmp 0x45474
movq %rdi, %rbx
cvtss2sd %xmm0, %xmm0
movq 0x10(%rdi), %rsi
addq $0x16538, %rbx          # imm = 0x16538
movq %rbx, %rdi
movb $0x1, %al
callq 0x3350
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x3130
testq %rax, %rax
je 0x45474
movb $0x2e, (%rax)
movq %rbx, %rax
popq %rbx
retq
leaq 0xd317(%rip), %rbx      # 0x52797
jmp 0x45474
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outfloat
SOAP_FMAC2
soap_outfloat(struct soap *soap, const char *tag, int id, const float *p, const char *type, int n)
{ if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, p, n), type)
   || soap_string_out(soap, soap_float2s(soap, *p), 0))
    return soap->error;
  return soap_element_end_out(soap, tag);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r12
movq %rcx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %esi
movq %rcx, %rdx
movl %r9d, %ecx
callq 0x3f1df
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
movq %r12, %rcx
callq 0x3f71a
testl %eax, %eax
jne 0x454d5
movss (%r15), %xmm0
movq %r14, %rdi
callq 0x45415
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
callq 0x4296e
testl %eax, %eax
je 0x454e8
movl 0x19214(%r14), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x3f797
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_s2float
SOAP_FMAC2
soap_s2float(struct soap *soap, const char *s, float *p)
{ if (s)
  { if (!*s)
      return soap->error = SOAP_TYPE;
    if (!soap_tag_cmp(s, "INF"))
      *p = FLT_PINFTY;
    else if (!soap_tag_cmp(s, "+INF"))
      *p = FLT_PINFTY;
    else if (!soap_tag_cmp(s, "-INF"))
      *p = FLT_NINFTY;
    else if (!soap_tag_cmp(s, "NaN"))
      *p = FLT_NAN;
    else
    {
/* On some systems strtof requires -std=c99 or does not even link: so we try to use strtod first */
#if defined(HAVE_STRTOD_L)
      char *r;
      *p = (float)strtod_l(s, &r, soap->c_locale);
      if (*r)
#elif defined(HAVE_STRTOD)
      char *r;
      *p = (float)strtod(s, &r);
      if (*r)
#elif defined(HAVE_STRTOF_L)
      char *r;
      *p = strtof_l((char*)s, &r, soap->c_locale);
      if (*r)
#elif defined(HAVE_STRTOF)
      char *r;
      *p = strtof((char*)s, &r);
      if (*r)
#endif
      {
#if defined(HAVE_SSCANF_L) && !defined(HAVE_STRTOF_L) && !defined(HAVE_STRTOD_L)
        if (sscanf_l(s, soap->c_locale, "%g", p) != 1)
          soap->error = SOAP_TYPE;
#elif defined(HAVE_SSCANF)
        if (sscanf(s, "%g", p) != 1)
          soap->error = SOAP_TYPE;
#else
        soap->error = SOAP_TYPE;
#endif
      }
    }
  }
  return soap->error;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x455c1
movq %rsi, %r15
cmpb $0x0, (%rsi)
je 0x455c9
movq %rdx, %r14
leaq 0xd279(%rip), %rsi      # 0x527a1
movq %r15, %rdi
callq 0x3806c
testl %eax, %eax
je 0x455ba
leaq 0xd261(%rip), %rsi      # 0x527a0
movq %r15, %rdi
callq 0x3806c
testl %eax, %eax
je 0x455ba
leaq 0xd249(%rip), %rsi      # 0x5279b
movq %r15, %rdi
callq 0x3806c
testl %eax, %eax
je 0x455e4
leaq 0xd22e(%rip), %rsi      # 0x52797
movq %r15, %rdi
callq 0x3806c
testl %eax, %eax
je 0x455ed
movq %rsp, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x30b0
cvtsd2ss %xmm0, %xmm0
movss %xmm0, (%r14)
movq (%r12), %rax
cmpb $0x0, (%rax)
je 0x455c1
leaq 0xd209(%rip), %rsi      # 0x527a5
movq %r15, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x3290
cmpl $0x1, %eax
je 0x455c1
movl $0x4, 0x19214(%rbx)
jmp 0x455c1
movl $0x7f800000, (%r14)     # imm = 0x7F800000
movl 0x19214(%rbx), %eax
jmp 0x455d8
movl $0x4, 0x19214(%rbx)
movl $0x4, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0xff800000, (%r14)     # imm = 0xFF800000
jmp 0x455c1
movl $0xffffffff, (%r14)     # imm = 0xFFFFFFFF
jmp 0x455c1
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_infloat
SOAP_FMAC1
float *
SOAP_FMAC2
soap_infloat(struct soap *soap, const char *tag, float *p, const char *type, int t)
{ if (soap_element_begin_in(soap, tag, 0, NULL))
    return NULL;
#ifndef WITH_LEAN
  if (*soap->type != '\0' && soap_isnumeric(soap, type))
    return NULL;
#endif
  p = (float*)soap_id_enter(soap, soap->id, p, t, sizeof(float), 0, NULL, NULL, NULL);
  if (*soap->href)
    p = (float*)soap_id_forward(soap, soap->href, p, 0, t, 0, sizeof(float), 0, NULL);
  else if (p)
  { if (soap_s2float(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, %r12
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x3a23a
testl %eax, %eax
jne 0x456f2
cmpb $0x0, 0x17538(%r14)
je 0x45644
movq %r14, %rdi
movq %r13, %rsi
callq 0x45709
testl %eax, %eax
jne 0x456ef
leaq 0x16d38(%r14), %rsi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x4, %r8d
movq %r14, %rdi
movq %r12, %rdx
movl %ebp, %ecx
xorl %r9d, %r9d
callq 0x4000a
movq %rax, %r15
cmpb $0x0, 0x17138(%r14)
je 0x456d0
leaq 0x17138(%r14), %rsi
movq $0x0, 0x10(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x4, (%rsp)
movq %r14, %rdi
movq %r15, %rdx
xorl %ecx, %ecx
movl %ebp, %r8d
xorl %r9d, %r9d
callq 0x3feb8
movq %rax, %r15
cmpw $0x0, 0x6106(%r14)
je 0x456f2
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3a406
testl %eax, %eax
jne 0x456ef
jmp 0x456f2
testq %r15, %r15
je 0x45704
movq %r14, %rdi
callq 0x4487f
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x454fe
testl %eax, %eax
je 0x456b4
xorl %r15d, %r15d
movq %r15, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r15d, %r15d
jmp 0x456b4
// File: /workspace/github_c_makefile_star2_O1/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_double2s
SOAP_FMAC1
const char*
SOAP_FMAC2
soap_double2s(struct soap *soap, double n)
{ char *s;
  if (soap_isnan(n))
    return "NaN";
  if (soap_ispinfd(n))
    return "INF";
  if (soap_isninfd(n))
    return "-INF";
  s = soap->tmpbuf;
#if defined(HAVE_SPRINTF_L)
  sprintf_l(s, soap->c_locale, soap->double_format, n);
#else
  sprintf(s, soap->double_format, n);
  s = strchr(s, ',');	/* convert decimal comma to DP */
  if (s)
    *s = '.';
#endif
  return soap->tmpbuf;
}

// Assembly:
pushq %rbx
ucomisd %xmm0, %xmm0
jp 0x4595f
ucomisd 0xc905(%rip), %xmm0     # 0x52210
jb 0x45916
leaq 0xce8d(%rip), %rbx      # 0x527a1
jmp 0x4595a
movsd 0xc8fa(%rip), %xmm1     # 0x52218
ucomisd %xmm0, %xmm1
jb 0x4592d
leaq 0xce70(%rip), %rbx      # 0x5279b
jmp 0x4595a
movq %rdi, %rbx
movq 0x18(%rdi), %rsi
addq $0x16538, %rbx          # imm = 0x16538
movq %rbx, %rdi
movb $0x1, %al
callq 0x3350
movq %rbx, %rdi
movl $0x2c, %esi
callq 0x3130
testq %rax, %rax
je 0x4595a
movb $0x2e, (%rax)
movq %rbx, %rax
popq %rbx
retq
leaq 0xce31(%rip), %rbx      # 0x52797
jmp 0x4595a