// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/gff3_parser.c
// Function: compare_target_attribute
static int compare_target_attribute(GtFeatureNode *new_gf,
                                    GtFeatureNode *old_gf,
                                    const char *id, GtError *err)
{
  GtUword new_target_num, old_target_num;
  GtStr *new_target_str, *old_target_str;
  const char *new_target, *old_target;
  int had_err;
  gt_error_check(err);
  gt_assert(new_gf && old_gf);
  new_target = gt_feature_node_get_attribute(new_gf, GT_GFF_TARGET);
  old_target = gt_feature_node_get_attribute(old_gf, GT_GFF_TARGET);
  new_target_str = gt_str_new();
  old_target_str = gt_str_new();
  had_err = gt_gff3_parser_parse_target_attributes(new_target, &new_target_num,
                                                   new_target_str, NULL, NULL,
                                                   "", 0, NULL);
  gt_assert(!had_err); /* has been parsed already */
  had_err = gt_gff3_parser_parse_target_attributes(old_target, &old_target_num,
                                                   old_target_str, NULL, NULL,
                                                   "", 0, NULL);
  gt_assert(!had_err); /* has been parsed already */
  if (gt_str_cmp(new_target_str, old_target_str)) {
    gt_error_set(err, "the multi-feature with %s \"%s\" on line %u in file "
                 "\"%s\" has a different %s name than its counterpart on line "
                 "%u", GT_GFF_ID, id,
                 gt_genome_node_get_line_number((GtGenomeNode*) new_gf),
                 gt_genome_node_get_filename((GtGenomeNode*) new_gf),
                 GT_GFF_TARGET,
                 gt_genome_node_get_line_number((GtGenomeNode*) old_gf));
    had_err = -1;
  }
  gt_str_delete(old_target_str);
  gt_str_delete(new_target_str);
  return had_err;
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
cmpq $0x0, 0x68(%rsp)
je 0x2f8ce
movq 0x68(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x2f896
jmp 0x2f8ce
movq 0x18473b(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12e7bf(%rip), %rsi    # 0x15e066
leaq 0x12ed9a(%rip), %rdx    # 0x15e648
leaq 0x1357b3(%rip), %rcx    # 0x165068
leaq 0x133cef(%rip), %r8     # 0x1635ab
movl $0x3c3, %r9d            # imm = 0x3C3
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x2f8d0
jmp 0x2f8d2
cmpq $0x0, 0x80(%rsp)
je 0x2f8e5
cmpq $0x0, 0x78(%rsp)
jne 0x2f91d
movq 0x1846ec(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12e770(%rip), %rsi    # 0x15e066
leaq 0x135472(%rip), %rdx    # 0x164d6f
leaq 0x135764(%rip), %rcx    # 0x165068
leaq 0x133ca0(%rip), %r8     # 0x1635ab
movl $0x3c4, %r9d            # imm = 0x3C4
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x2f91f
movq 0x80(%rsp), %rdi
leaq 0x134f83(%rip), %rsi    # 0x1648b1
callq 0x1fde0
movq %rax, 0x40(%rsp)
movq 0x78(%rsp), %rdi
leaq 0x134f6d(%rip), %rsi    # 0x1648b1
callq 0x1fde0
movq %rax, 0x38(%rsp)
callq 0x18f00
movq %rax, 0x50(%rsp)
callq 0x18f00
movq %rax, 0x48(%rsp)
movq 0x40(%rsp), %rdi
movq 0x50(%rsp), %rdx
leaq 0x60(%rsp), %rsi
xorl %eax, %eax
movl %eax, %r8d
leaq 0x13c566(%rip), %r9     # 0x16bee3
xorl %eax, %eax
movq %r8, %rcx
movl $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
callq 0x29080
movl %eax, 0x34(%rsp)
cmpl $0x0, 0x34(%rsp)
je 0x2f9da
movq 0x18462f(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12e6b3(%rip), %rsi    # 0x15e066
leaq 0x137604(%rip), %rdx    # 0x166fbe
leaq 0x1356a7(%rip), %rcx    # 0x165068
leaq 0x133be3(%rip), %r8     # 0x1635ab
movl $0x3cc, %r9d            # imm = 0x3CC
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x2f9dc
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rdx
leaq 0x58(%rsp), %rsi
xorl %eax, %eax
movl %eax, %r8d
leaq 0x13c4ec(%rip), %r9     # 0x16bee3
xorl %eax, %eax
movq %r8, %rcx
movl $0x0, (%rsp)
movq $0x0, 0x8(%rsp)
callq 0x29080
movl %eax, 0x34(%rsp)
cmpl $0x0, 0x34(%rsp)
je 0x2fa54
movq 0x1845b5(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12e639(%rip), %rsi    # 0x15e066
leaq 0x13758a(%rip), %rdx    # 0x166fbe
leaq 0x13562d(%rip), %rcx    # 0x165068
leaq 0x133b69(%rip), %r8     # 0x1635ab
movl $0x3d0, %r9d            # imm = 0x3D0
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x2fa56
movq 0x50(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x19bd0
cmpl $0x0, %eax
je 0x2faef
movq 0x68(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x80(%rsp), %rdi
callq 0x25850
movl %eax, 0x24(%rsp)
movq 0x80(%rsp), %rdi
callq 0x257c0
movq %rax, 0x28(%rsp)
movq 0x78(%rsp), %rdi
callq 0x25850
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rcx
movl 0x24(%rsp), %r8d
movq 0x28(%rsp), %r9
leaq 0x1355b7(%rip), %rsi    # 0x165081
leaq 0x134d6f(%rip), %rdx    # 0x164840
leaq 0x134dd9(%rip), %r10    # 0x1648b1
movq %r10, (%rsp)
movl %eax, 0x8(%rsp)
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x34(%rsp) # imm = 0xFFFFFFFF
movq 0x48(%rsp), %rdi
callq 0x1afc0
movq 0x50(%rsp), %rdi
callq 0x1afc0
movl 0x34(%rsp), %eax
addq $0x88, %rsp
retq
nop