// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/md5_to_id_visitor.c
// Function: m2i_change_seqid
static int m2i_change_seqid(GtFeatureNode *fn, void *data, GtError *err)
{
  const char *target;
  M2IChangeSeqidInfo *info = (M2IChangeSeqidInfo*) data;
  gt_error_check(err);
  gt_assert(fn && info);
  gt_genome_node_change_seqid((GtGenomeNode*) fn, info->new_seqid);
  if ((target = gt_feature_node_get_attribute(fn, GT_GFF_TARGET)))
    return m2i_change_target_seqids(fn, target, info->region_mapping, err);
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %r12
testq %rdx, %rdx
je 0x16879d
movq %rbp, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1689c8
testq %r12, %r12
je 0x1689c3
testq %r15, %r15
je 0x1689c3
movq (%r15), %rsi
movq %r12, %rdi
callq 0x14b96f
leaq 0x1ed184(%rip), %rsi    # 0x355945
movq %r12, %rdi
callq 0x14918c
testq %rax, %rax
je 0x16886e
movq %rax, %rbx
movq %r12, 0x18(%rsp)
movq 0x8(%r15), %rax
movq %rax, 0x20(%rsp)
testq %rbp, %rbp
je 0x1687f8
movq %rbp, %rdi
callq 0x101a9a
testb %al, %al
jne 0x1689cd
callq 0x121b54
movq %rax, %r15
movl $0x10, %edi
callq 0xd46fc
movq %rax, %r12
movl $0x4, %edi
callq 0xd46fc
movq %rax, %r14
callq 0x1208f8
movq %rax, 0x8(%rsp)
callq 0x1208f8
movq %rax, %r13
leaq 0x26b05d(%rip), %r9     # 0x3d3890
movq %rbx, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %r12, (%rsp)
movq %r12, %rcx
movq %r14, 0x10(%rsp)
movq %r14, %r8
movq %rbp, %r14
pushq %rbp
pushq $0x0
callq 0x14ea2a
addq $0x10, %rsp
movl %eax, %r12d
testl %eax, %eax
je 0x168876
movq (%rsp), %r14
movq 0x8(%rsp), %rbp
jmp 0x168987
xorl %r12d, %r12d
jmp 0x1689b1
movq %r15, %rdi
callq 0x121e78
testq %rax, %rax
movq 0x8(%rsp), %rbp
je 0x16893e
xorl %ebx, %ebx
movq %rbp, %rdi
callq 0x120db4
movq %r13, %rdi
callq 0x120db4
movq %r15, %rdi
movq %rbx, %rsi
callq 0x121d35
movq %rax, %r12
movq %rax, %rdi
callq 0x120d4c
cmpq $0x26, %rax
jb 0x1688d0
movq %r12, %rdi
callq 0x120d23
leaq 0x25(%rax), %rsi
movq %r13, %rdi
callq 0x12097f
jmp 0x168914
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x1688ed
movq %rbp, %rsi
movq %r12, %rdx
movq %r14, %rcx
callq 0x176433
movl %eax, %r12d
jmp 0x168904
movq %r14, %rdi
leaq 0x2284ca(%rip), %rsi    # 0x390dc1
xorl %eax, %eax
callq 0x1019cf
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
testl %r12d, %r12d
jne 0x168917
movq %r13, %rdi
movq %rbp, %rsi
callq 0x177174
xorl %r12d, %r12d
testl %r12d, %r12d
jne 0x168983
movq %r15, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq 0x121db1
incq %rbx
movq %r15, %rdi
callq 0x121e78
cmpq %rax, %rbx
jb 0x16888e
callq 0x1208f8
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
movq (%rsp), %r14
movq %r14, %rdx
movq 0x10(%rsp), %rcx
callq 0x14ea62
movq %rbx, %rdi
callq 0x120d23
leaq 0x1ecfd9(%rip), %rsi    # 0x355945
movq 0x18(%rsp), %rdi
movq %rax, %rdx
callq 0x149c3c
movq %rbx, %rdi
callq 0x121b03
jmp 0x168987
movq (%rsp), %r14
movq %r13, %rdi
callq 0x121b03
movq %rbp, %rdi
callq 0x121b03
movq 0x10(%rsp), %rdi
callq 0xd4ef4
movq %r14, %rdi
callq 0xd4ef4
movq %r15, %rdi
callq 0x121e8b
movl %r12d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x4dd69
callq 0x4dd32
callq 0x4dda0
nop