// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gff3_parser.c
// Function: parse_target_attributes
static int parse_target_attributes(const char *values, bool tidy,
                                   GtUword *num_of_targets,
                                   GtStr *first_target_id,
                                   GtRange *first_target_range,
                                   GtStrand *first_target_strand,
                                   GtStrArray *target_ids,
                                   GtArray *target_ranges,
                                   GtArray *target_strands,
                                   const char *filename,
                                   unsigned int line_number,
                                   GtError *err)
{
  GtSplitter *splitter;
  GtUword i;
  char *targets;
  int had_err = 0;
  gt_error_check(err);
  gt_assert(values && filename);
  targets = gt_cstr_dup(values);
  splitter = gt_splitter_new();
  gt_splitter_split(splitter, targets, strlen(targets), ',');
  if (num_of_targets)
    *num_of_targets = gt_splitter_size(splitter);
  for (i = 0; !had_err && i < gt_splitter_size(splitter); i++) {
    had_err = parse_target_attribute(gt_splitter_get_token(splitter, i), tidy,
                                     i ? NULL : first_target_id,
                                     i ? NULL : first_target_range,
                                     i ? NULL : first_target_strand,
                                     target_ids, target_ranges, target_strands,
                                     filename, line_number, err);
  }
  gt_free(targets);
  gt_splitter_delete(splitter);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, 0x30(%rsp)
movq %r8, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %rdx, %rbx
movl %esi, 0x4(%rsp)
movq %rdi, %r14
movq 0xb8(%rsp), %r15
testq %r15, %r15
je 0x43b0d
movq %r15, %rdi
callq 0x3566a
testb %al, %al
jne 0x43ef1
testq %r14, %r14
je 0x43eec
cmpq $0x0, 0xa8(%rsp)
je 0x43eec
movq %r14, %rdi
callq 0x722dc
movq %rax, %r12
callq 0x3a794
movq %rax, %r14
movq %r12, %rdi
callq 0xb260
movq %r14, %rdi
movq %r12, 0x10(%rsp)
movq %r12, %rsi
movq %rax, %rdx
movl $0x2c, %ecx
callq 0x3a7af
testq %rbx, %rbx
je 0x43b68
movq %r14, %rdi
callq 0x3a9cc
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x3a9cc
testq %rax, %rax
je 0x43eaf
xorl %ebp, %ebp
movq %r14, 0x18(%rsp)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x3a990
testq %rbp, %rbp
movl $0x0, %r14d
cmoveq 0x20(%rsp), %r14
movq %rax, %r12
movl $0x0, %eax
cmoveq 0x28(%rsp), %rax
movq %rax, 0x40(%rsp)
movl $0x0, %eax
cmoveq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
testq %r15, %r15
je 0x43bd2
movq %r15, %rdi
callq 0x3566a
testb %al, %al
jne 0x43ee7
testq %r12, %r12
je 0x43ee2
callq 0x3a794
movq %rax, %rbx
callq 0x3bfe0
movq %rax, %r15
movq %r12, %rdi
callq 0x722dc
movq %rax, %r13
movq %rax, %rdi
callq 0xb260
movq %rbx, %rdi
movq %r13, 0x38(%rsp)
movq %r13, %rsi
movq %rax, %rdx
movl $0x20, %ecx
callq 0x3a7af
movq %rbx, %rdi
callq 0x3a9cc
addq $-0x3, %rax
cmpq $0x2, %rax
jae 0x43c65
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3a990
movq %rax, %r12
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3a990
movq %rax, %rdi
callq 0xb260
movq %r15, %r13
movq %r15, %rdi
movq %r12, %rsi
movq %rax, %rdx
movq 0xb8(%rsp), %rcx
callq 0x857ea
movl %eax, %r12d
jmp 0x43c96
movq %r15, %r13
movq 0xb8(%rsp), %rdi
leaq 0xa2bee(%rip), %rsi     # 0xe6865
movq %r12, %rdx
movl 0xb0(%rsp), %ecx
movq 0xa8(%rsp), %r8
xorl %eax, %eax
callq 0x3559f
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
testl %r12d, %r12d
jne 0x43cbd
movq %r13, %rdi
movq 0xa8(%rsp), %rsi
movl 0xb0(%rsp), %edx
movq 0xb8(%rsp), %rcx
callq 0x46d1d
movl %eax, %r12d
testq %r14, %r14
je 0x43cd2
testl %r12d, %r12d
jne 0x43cd2
movq %r14, %rdi
movq %r13, %rsi
callq 0x3c12b
cmpq $0x0, 0x90(%rsp)
je 0x43cf2
testl %r12d, %r12d
jne 0x43cf2
movq 0x90(%rsp), %rdi
movq %r13, %rsi
callq 0x3d3a8
testl %r12d, %r12d
movq 0x40(%rsp), %r14
jne 0x43d73
movl $0x1, %esi
movq %rbx, %rdi
callq 0x3a990
movq %rax, %r12
movl $0x2, %esi
movq %rbx, %rdi
callq 0x3a990
cmpb $0x0, 0x4(%rsp)
je 0x43d49
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
movq %rax, %rdx
movl 0xb0(%rsp), %ecx
movq 0xa8(%rsp), %r8
movq 0xb8(%rsp), %r9
callq 0x3a1d3
jmp 0x43d70
leaq 0x48(%rsp), %rdi
movq %r12, %rsi
movq %rax, %rdx
movl 0xb0(%rsp), %ecx
movq 0xa8(%rsp), %r8
movq 0xb8(%rsp), %r9
callq 0x39f1c
movl %eax, %r12d
testq %r14, %r14
je 0x43d86
testl %r12d, %r12d
jne 0x43d86
movups 0x48(%rsp), %xmm0
movups %xmm0, (%r14)
cmpq $0x0, 0x98(%rsp)
je 0x43dad
testl %r12d, %r12d
jne 0x43dad
movl $0x10, %edx
movq 0x98(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x6ec0e
testl %r12d, %r12d
movq 0x18(%rsp), %r14
jne 0x43e66
movq %rbx, %rdi
callq 0x3a9cc
cmpq $0x4, %rax
jne 0x43e2c
movl $0x3, %esi
movq %rbx, %rdi
callq 0x3a990
movq %rsp, %rdi
movq %rax, %rsi
movl 0xb0(%rsp), %edx
movq 0xa8(%rsp), %rcx
movq 0xb8(%rsp), %r8
callq 0x3a2b1
movl %eax, %r12d
testl %eax, %eax
setne %al
movq 0x8(%rsp), %rdx
testq %rdx, %rdx
sete %cl
orb %al, %cl
jne 0x43e14
movl (%rsp), %eax
movl %eax, (%rdx)
testl %r12d, %r12d
sete %al
cmpq $0x0, 0xa0(%rsp)
setne %cl
testb %al, %cl
jne 0x43e4e
jmp 0x43e66
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x43e3c
movl $0x4, (%rax)
cmpq $0x0, 0xa0(%rsp)
je 0x43e63
movl $0x4, (%rsp)
movl $0x4, %edx
movq 0xa0(%rsp), %rdi
movq %rsp, %rsi
callq 0x6ec0e
xorl %r12d, %r12d
movq 0x38(%rsp), %rdi
leaq 0xa266e(%rip), %rsi     # 0xe64e0
movl $0x15a, %edx            # imm = 0x15A
callq 0x362a0
movq %r13, %rdi
callq 0x3d1eb
movq %rbx, %rdi
callq 0x3a9dc
testl %r12d, %r12d
jne 0x43eb2
incq %rbp
movq %r14, %rdi
callq 0x3a9cc
cmpq %rax, %rbp
movq 0xb8(%rsp), %r15
jb 0x43b80
jmp 0x43eb2
xorl %r12d, %r12d
leaq 0xa2627(%rip), %rsi     # 0xe64e0
movq 0x10(%rsp), %rdi
movl $0x17f, %edx            # imm = 0x17F
callq 0x362a0
movq %r14, %rdi
callq 0x3a9dc
movl %r12d, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x11f1b
callq 0x11ee2
callq 0x11ea9
callq 0x11e70