// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/mapping.c
// Function: map_generic
static int map_generic(GtMapping *m, GtStr **stroutput, GtWord *integeroutput,
                       const char *input, GtError *err)
{
  gt_error_check(err);
  gt_assert(m && input);
  gt_assert((m->type == GT_MAPPINGTYPE_STRING  && stroutput) ||
            (m->type == GT_MAPPINGTYPE_INTEGER && integeroutput));
  if (m->is_table)
    return map_table(m, stroutput, integeroutput, input, err);
  return map_function(m, stroutput, integeroutput, input, err);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
testq %r8, %r8
je 0x484b5
movq %r14, %rdi
callq 0x34fea
testb %al, %al
jne 0x4884d
testq %rbx, %rbx
je 0x48848
testq %r13, %r13
je 0x48848
movl 0x10(%rbx), %eax
testl %eax, %eax
sete %cl
testq %r15, %r15
setne %dl
testb %cl, %dl
jne 0x484eb
testq %rbp, %rbp
je 0x48852
cmpl $0x1, %eax
jne 0x48852
cmpb $0x1, 0x20(%rbx)
jne 0x485dd
testq %r14, %r14
je 0x4850d
movq %r14, %rdi
callq 0x34fea
testb %al, %al
jne 0x48866
movl 0x10(%rbx), %eax
testq %r15, %r15
setne %cl
testl %eax, %eax
sete %dl
testb %dl, %cl
jne 0x4852e
testq %rbp, %rbp
je 0x48870
cmpl $0x1, %eax
jne 0x48870
movq 0x18(%rbx), %rdi
callq 0x56afc
testl %eax, %eax
jne 0x48857
movq 0x8(%rbx), %rdx
movq 0x18(%rbx), %rdi
movl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
callq 0x57f56
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0x5790a
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x57e45
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x56f9b
testl %eax, %eax
je 0x486ba
movl 0x10(%rbx), %eax
xorl %r12d, %r12d
cmpl $0x1, %eax
je 0x48730
testl %eax, %eax
jne 0x487c7
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x5706f
testl %eax, %eax
je 0x48783
movq 0x18(%rbx), %rdi
xorl %r12d, %r12d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x573f8
movq %rax, %rdi
callq 0x3b785
movq %rax, (%r15)
jmp 0x487c7
testq %r14, %r14
je 0x485f5
movq %r14, %rdi
callq 0x34fea
testb %al, %al
jne 0x4886b
movl 0x10(%rbx), %eax
testq %r15, %r15
setne %cl
testl %eax, %eax
sete %dl
testb %dl, %cl
jne 0x48616
testq %rbp, %rbp
je 0x48875
cmpl $0x1, %eax
jne 0x48875
movq 0x18(%rbx), %rdi
callq 0x56afc
testl %eax, %eax
jne 0x4885c
movq 0x8(%rbx), %rdx
movq 0x18(%rbx), %rdi
movl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
callq 0x57f56
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0x5790a
movq 0x18(%rbx), %rdi
xorl %r12d, %r12d
movl $0x1, %esi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x588cb
testl %eax, %eax
je 0x486e5
movq 0x8(%rbx), %r15
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x573f8
leaq 0xa05dc(%rip), %rsi     # 0xe8c62
movq %r14, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x34f1f
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x56b09
movq 0x18(%rbx), %rdi
callq 0x56afc
testl %eax, %eax
je 0x487f0
callq 0x136dc
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3bb5d
leaq 0xa0514(%rip), %rsi     # 0xe8be1
movq %r14, %rdi
movq %r15, %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x34f1f
jmp 0x487c7
movl 0x10(%rbx), %eax
cmpl $0x1, %eax
je 0x48756
testl %eax, %eax
jne 0x48696
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x5706f
testl %eax, %eax
je 0x48802
movq 0x18(%rbx), %rdi
xorl %r12d, %r12d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x573f8
movq %rax, %rdi
callq 0x3b785
movq %rax, (%r15)
jmp 0x48696
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x56ff1
testl %eax, %eax
je 0x4879b
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x573a3
movq %rax, (%rbp)
jmp 0x487c7
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x56ff1
testl %eax, %eax
je 0x4881a
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x573a3
movq %rax, (%rbp)
jmp 0x48696
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3bb5d
leaq 0xa046b(%rip), %rsi     # 0xe8c01
jmp 0x486cd
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3bb5d
leaq 0xa047c(%rip), %rsi     # 0xe8c2a
movq %r14, %rdi
movq %r15, %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x34f1f
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x56b09
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x56b09
movq 0x18(%rbx), %rdi
callq 0x56afc
testl %eax, %eax
jne 0x48861
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3bb5d
leaq 0xa0467(%rip), %rsi     # 0xe8c7c
jmp 0x48686
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3bb5d
leaq 0xa0484(%rip), %rsi     # 0xe8cb1
movq %r14, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x34f1f
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
jmp 0x48696
callq 0x135bf
callq 0x13586
callq 0x135f8
callq 0x13783
callq 0x136a3
callq 0x137ba
callq 0x13715
callq 0x13631
callq 0x1374c
callq 0x1366a