// File: /workspace/github_c_makefile_star2_O1/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, %r12
movq %rdi, %rbx
testq %r8, %r8
je 0x49128
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0x494c2
testq %rbx, %rbx
je 0x494bd
testq %r13, %r13
je 0x494bd
movl 0x10(%rbx), %eax
testl %eax, %eax
sete %cl
testq %r12, %r12
setne %dl
testb %cl, %dl
jne 0x4915e
testq %rbp, %rbp
je 0x494c7
cmpl $0x1, %eax
jne 0x494c7
cmpb $0x1, 0x20(%rbx)
jne 0x49251
testq %r14, %r14
je 0x4917d
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0x494db
testq %r12, %r12
setne %cl
movl 0x10(%rbx), %eax
testl %eax, %eax
sete %dl
testb %dl, %cl
jne 0x491a1
testq %rbp, %rbp
je 0x494e5
cmpl $0x1, %eax
jne 0x494e5
movq 0x18(%rbx), %rdi
callq 0x578c5
testl %eax, %eax
jne 0x494cc
movq 0x8(%rbx), %rdx
movq 0x18(%rbx), %rdi
movl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
callq 0x58b98
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0x58568
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x58a66
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57c5c
testl %eax, %eax
je 0x4932e
movl 0x10(%rbx), %eax
xorl %r15d, %r15d
cmpl $0x1, %eax
je 0x493a5
testl %eax, %eax
jne 0x4943c
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57d30
testl %eax, %eax
je 0x493f8
movq 0x18(%rbx), %rdi
xorl %r15d, %r15d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x58042
movq %rax, %rdi
callq 0x3c03d
movq %rax, (%r12)
jmp 0x4943c
testq %r14, %r14
je 0x49266
movq %r14, %rdi
callq 0x3566a
testb %al, %al
jne 0x494e0
testq %r12, %r12
setne %cl
movl 0x10(%rbx), %eax
testl %eax, %eax
sete %dl
testb %dl, %cl
jne 0x4928a
testq %rbp, %rbp
je 0x494ea
cmpl $0x1, %eax
jne 0x494ea
movq 0x18(%rbx), %rdi
callq 0x578c5
testl %eax, %eax
jne 0x494d1
movq 0x8(%rbx), %rdx
movq 0x18(%rbx), %rdi
movl $0xffffd8ee, %esi       # imm = 0xFFFFD8EE
callq 0x58b98
movq 0x18(%rbx), %rdi
movq %r13, %rsi
callq 0x58568
movq 0x18(%rbx), %rdi
xorl %r15d, %r15d
movl $0x1, %esi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x59536
testl %eax, %eax
je 0x49359
movq 0x8(%rbx), %r12
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x58042
leaq 0x9f9ba(%rip), %rsi     # 0xe8cb4
movq %r14, %rdi
movq %r12, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3559f
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x578d2
movq 0x18(%rbx), %rdi
callq 0x578c5
testl %eax, %eax
je 0x49465
callq 0x137f7
movq (%rbx), %rdi
movq 0x8(%rbx), %r12
callq 0x3c40b
leaq 0x9f8f2(%rip), %rsi     # 0xe8c33
movq %r14, %rdi
movq %r12, %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x3559f
jmp 0x4943c
movl 0x10(%rbx), %eax
cmpl $0x1, %eax
je 0x493cb
testl %eax, %eax
jne 0x4930a
movq 0x18(%rbx), %rdi
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57d30
testl %eax, %eax
je 0x49477
movq 0x18(%rbx), %rdi
xorl %r15d, %r15d
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
xorl %edx, %edx
callq 0x58042
movq %rax, %rdi
callq 0x3c03d
movq %rax, (%r12)
jmp 0x4930a
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57cb2
testl %eax, %eax
je 0x49410
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57fed
movq %rax, (%rbp)
jmp 0x4943c
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57cb2
testl %eax, %eax
je 0x4948f
movq 0x18(%rbx), %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x57fed
movq %rax, (%rbp)
jmp 0x4930a
movq (%rbx), %rdi
movq 0x8(%rbx), %r12
callq 0x3c40b
leaq 0x9f848(%rip), %rsi     # 0xe8c53
jmp 0x49341
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3c40b
leaq 0x9f859(%rip), %rsi     # 0xe8c7c
movq %r14, %rdi
movq %r15, %rdx
movq %r13, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x3559f
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x578d2
movq 0x18(%rbx), %rdi
movl $0xfffffffe, %esi       # imm = 0xFFFFFFFE
callq 0x578d2
movq 0x18(%rbx), %rdi
callq 0x578c5
testl %eax, %eax
jne 0x494d6
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq (%rbx), %rdi
movq 0x8(%rbx), %r12
callq 0x3c40b
leaq 0x9f844(%rip), %rsi     # 0xe8cce
jmp 0x492fa
movq (%rbx), %rdi
movq 0x8(%rbx), %r15
callq 0x3c40b
leaq 0x9f861(%rip), %rsi     # 0xe8d03
movq %r14, %rdi
movq %r15, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3559f
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
jmp 0x4930a
callq 0x136da
callq 0x136a1
callq 0x13713
callq 0x1389e
callq 0x137be
callq 0x138d5
callq 0x13830
callq 0x1374c
callq 0x13867
callq 0x13785