// File: /workspace/github_c_makefile_star2_O0/loversmile[P]sugarcrm/sugar_stdsoap2.c
// Function: soap_outliteral
SOAP_FMAC2
soap_outliteral(struct soap *soap, const char *tag, char *const*p, const char *type)
{ int i;
  const char *t = NULL;
  if (tag && *tag != '-')
  { if (soap->local_namespaces && (t = strchr(tag, ':')))
    { strncpy(soap->tmpbuf, tag, t-tag);
      soap->tmpbuf[t-tag] = '\0';
      for (i = 0; soap->local_namespaces[i].id; i++)
        if (!strcmp(soap->tmpbuf, soap->local_namespaces[i].id))
          break;
      t++;
      if (soap_element(soap, t, 0, type)
       || soap_attribute(soap, "xmlns", soap->local_namespaces[i].ns ? soap->local_namespaces[i].ns : SOAP_STR_EOS)
       || soap_element_start_end_out(soap, NULL))
        return soap->error;
    }
    else
    { t = tag;
      if (soap_element_begin_out(soap, t, 0, type))
        return soap->error;
    }
  }
  if (p && *p)
  { if (soap_send(soap, *p))
      return soap->error;
  }
  if (t)
    return soap_element_end_out(soap, t);
  return SOAP_OK;
}

// 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)
movq $0x0, -0x38(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x68277
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2d, %eax
je 0x68277
movq -0x10(%rbp), %rax
cmpq $0x0, 0x80(%rax)
je 0x68244
movq -0x18(%rbp), %rdi
movl $0x3a, %esi
callq 0x3130
movq %rax, -0x38(%rbp)
cmpq $0x0, %rax
je 0x68244
movq -0x10(%rbp), %rdi
addq $0x16538, %rdi          # imm = 0x16538
movq -0x18(%rbp), %rsi
movq -0x38(%rbp), %rdx
movq -0x18(%rbp), %rax
subq %rax, %rdx
callq 0x3070
movq -0x10(%rbp), %rax
movq -0x38(%rbp), %rcx
movq -0x18(%rbp), %rdx
subq %rdx, %rcx
movb $0x0, 0x16538(%rax,%rcx)
movl $0x0, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x2c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
je 0x6818f
movq -0x10(%rbp), %rdi
addq $0x16538, %rdi          # imm = 0x16538
movq -0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x2c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq (%rax), %rsi
callq 0x3210
cmpl $0x0, %eax
jne 0x68182
jmp 0x6818f
jmp 0x68184
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x68136
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq -0x28(%rbp), %rcx
xorl %edx, %edx
callq 0x5f8b0
cmpl $0x0, %eax
jne 0x68230
movq -0x10(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x2c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
cmpq $0x0, 0x8(%rax)
je 0x681f8
movq -0x10(%rbp), %rax
movq 0x80(%rax), %rax
movslq -0x2c(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rax
movq %rax, -0x48(%rbp)
jmp 0x68205
leaq 0x12282(%rip), %rax     # 0x7a481
movq %rax, -0x48(%rbp)
jmp 0x68205
movq -0x40(%rbp), %rdi
movq -0x48(%rbp), %rdx
leaq 0x126fa(%rip), %rsi     # 0x7a90e
callq 0x60430
cmpl $0x0, %eax
jne 0x68230
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x60640
cmpl $0x0, %eax
je 0x68242
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x682ce
jmp 0x68275
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movq -0x38(%rbp), %rsi
movq -0x28(%rbp), %rcx
xorl %edx, %edx
callq 0x5bbd0
cmpl $0x0, %eax
je 0x68273
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x682ce
jmp 0x68275
jmp 0x68277
cmpq $0x0, -0x20(%rbp)
je 0x682ae
movq -0x20(%rbp), %rax
cmpq $0x0, (%rax)
je 0x682ae
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq (%rax), %rsi
callq 0x4f310
cmpl $0x0, %eax
je 0x682ac
movq -0x10(%rbp), %rax
movl 0x19214(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x682ce
jmp 0x682ae
cmpq $0x0, -0x38(%rbp)
je 0x682c7
movq -0x10(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x5bcc0
movl %eax, -0x4(%rbp)
jmp 0x682ce
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)