// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/id_to_md5_visitor.c
// Function: i2m_change_seqid
static int i2m_change_seqid(GtFeatureNode *fn, void *data, GtError *err)
{
  I2MChangeSeqidInfo *info = (I2MChangeSeqidInfo*) data;
  const char *target;
  gt_error_check(err);
  gt_assert(fn && info);
  gt_genome_node_change_seqid((GtGenomeNode*) fn, info->new_seqid);
  if (info->offset) {
    GtRange old_range, new_range;
    old_range = gt_genome_node_get_range((GtGenomeNode*) fn);
    new_range = gt_range_offset(&old_range, -info->offset);
    gt_genome_node_set_range((GtGenomeNode*) fn, &new_range);
  }
  if ((target = gt_feature_node_get_attribute(fn, GT_GFF_TARGET)) &&
      info->substitute_target_ids) {
    return i2m_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 $0x68, %rsp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
testq %rdx, %rdx
je 0xf2c50
movq %r12, %rdi
callq 0x89eb7
testb %al, %al
jne 0xf2f0e
testq %r14, %r14
je 0xf2ee4
testq %r15, %r15
je 0xf2ee4
movq (%r15), %rsi
movq %r14, %rdi
callq 0xdd346
cmpq $0x0, 0x18(%r15)
je 0xf2ca7
movq %r14, %rdi
callq 0xdd1f4
leaq 0x48(%rsp), %rdi
movq %rax, (%rdi)
movq %rdx, 0x8(%rdi)
xorl %esi, %esi
subq 0x18(%r15), %rsi
callq 0xa3459
leaq 0x58(%rsp), %rsi
movq %rax, (%rsi)
movq %rdx, 0x8(%rsi)
movq %r14, %rdi
callq 0xdd2bb
leaq 0x1f9c68(%rip), %rsi    # 0x2ec916
movq %r14, %rdi
callq 0xd9628
xorl %ebx, %ebx
testq %rax, %rax
je 0xf2ea6
cmpb $0x1, 0x10(%r15)
jne 0xf2ea6
movq %rax, %r13
movq 0x8(%r15), %rax
movq %rax, 0x30(%rsp)
testq %r12, %r12
je 0xf2ced
movq %r12, %rdi
callq 0x89eb7
testb %al, %al
jne 0xf2f62
movq %r14, 0x38(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0xf2f38
callq 0xacb84
movq %rax, 0x28(%rsp)
callq 0xae154
movq %rax, %r15
pushq $0x10
popq %rdi
callq 0x5809c
movq %rax, %rbx
pushq $0x4
popq %rdi
callq 0x5809c
movq %r12, 0x8(%rsp)
andl $0x0, (%rsp)
leaq 0x27783d(%rip), %r9     # 0x36a570
xorl %ebp, %ebp
movq %r13, %rdi
xorl %esi, %esi
movq %r15, %rdx
movq %rbx, 0x18(%rsp)
movq %rbx, %rcx
movq %rax, 0x20(%rsp)
movq %rax, %r8
callq 0xe125a
movl %eax, %ebx
movq %r12, 0x40(%rsp)
testl %ebx, %ebx
jne 0xf2e80
movq %r15, %rdi
callq 0xae61c
cmpq %rax, %rbp
jae 0xf2e3f
movq %r15, %rdi
movq %rbp, %rsi
callq 0xae3f2
movq %rax, %r13
movq 0x18(%rsp), %rdi
movq %rbp, %rsi
callq 0x581aa
movq %rax, %r14
movq 0x30(%rsp), %rdi
movq %r13, %rsi
movq %rax, %rdx
leaq 0x48(%rsp), %rcx
movq %r12, %r8
callq 0x110a80
movq %rax, %r12
xorl %ebx, %ebx
testq %rax, %rax
sete %al
je 0xf2e2e
movb %al, 0x17(%rsp)
movq %r15, %rbx
movq 0x28(%rsp), %r15
movq %r15, %rdi
leaq 0x21970e(%rip), %rsi    # 0x30c4d9
callq 0xacc8b
movq %r15, %rdi
movq %r12, %rsi
callq 0xacbfb
movq %r15, %rdi
pushq $0x3a
popq %rsi
callq 0xaced9
movq %r15, %rdi
movq %r13, %rsi
callq 0xacd13
movq %rbx, %r12
movq %rbx, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0xae4d0
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0xf2eb7
pushq $0x1
popq %rsi
subq %rax, %rsi
movq %r14, %rdi
callq 0xa3459
movq %rax, (%r14)
movq %rdx, 0x8(%r14)
movq %r12, %r15
xorl %ebx, %ebx
movb 0x17(%rsp), %al
movb %al, %bl
negl %ebx
incq %rbp
movq 0x40(%rsp), %r12
jmp 0xf2d59
callq 0xacb84
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
callq 0xe1292
movq %r14, %rdi
callq 0xad1fa
leaq 0x1f9aab(%rip), %rsi    # 0x2ec916
movq 0x38(%rsp), %rdi
movq %rax, %rdx
callq 0xda48b
movq %r14, %rdi
callq 0xae103
movq 0x20(%rsp), %rdi
callq 0x58eb9
movq 0x18(%rsp), %rdi
callq 0x58eb9
movq %r15, %rdi
callq 0xae662
movq 0x28(%rsp), %rdi
callq 0xae103
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3450aa(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f214b(%rip), %rsi    # 0x2e5013
leaq 0x215277(%rip), %rdx    # 0x308146
leaq 0x231f22(%rip), %rcx    # 0x324df8
leaq 0x231ea8(%rip), %r8     # 0x324d85
pushq $0x5b
jmp 0xf2f8a
movq 0x34507d(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f211e(%rip), %rsi    # 0x2e5013
leaq 0x22bc28(%rip), %rdx    # 0x31eb24
leaq 0x231ee4(%rip), %rcx    # 0x324de7
leaq 0x231e7b(%rip), %r8     # 0x324d85
pushq $0x74
jmp 0xf2f8a
movq 0x345053(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f20f4(%rip), %rsi    # 0x2e5013
leaq 0x1f2299(%rip), %rdx    # 0x2e51bf
leaq 0x231eba(%rip), %rcx    # 0x324de7
leaq 0x231e51(%rip), %r8     # 0x324d85
pushq $0x73
jmp 0xf2f8a
movq 0x345029(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f20ca(%rip), %rsi    # 0x2e5013
leaq 0x231ec1(%rip), %rdx    # 0x324e11
leaq 0x231ea1(%rip), %rcx    # 0x324df8
leaq 0x231e27(%rip), %r8     # 0x324d85
pushq $0x3f
jmp 0xf2f8a
movq 0x344fff(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1f20a0(%rip), %rsi    # 0x2e5013
leaq 0x1f2245(%rip), %rdx    # 0x2e51bf
leaq 0x231e77(%rip), %rcx    # 0x324df8
leaq 0x231dfd(%rip), %r8     # 0x324d85
pushq $0x3e
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390