// File: /workspace/github_c_makefile_star2_O0/ToniWestbrook[P]paladin/bwamem.c
// Function: worker1
static void worker1(void *data, int i, int tid)
{
	worker_t *w = (worker_t*)data;
	if (!(w->opt->flag&MEM_F_PE)) {
		if (bwa_verbose >= 4) printf("=====> Processing read '%s' <=====\n", w->seqs[i].name);
		w->regs[i] = mem_align1_core(w->opt, w->bwt, w->bns, w->pac, w->seqs[i].l_seq, w->seqs[i].seq, w->aux[tid]);
	} else {
		if (bwa_verbose >= 4) printf("=====> Processing read '%s'/1 <=====\n", w->seqs[i<<1|0].name);
		w->regs[i<<1|0] = mem_align1_core(w->opt, w->bwt, w->bns, w->pac, w->seqs[i<<1|0].l_seq, w->seqs[i<<1|0].seq, w->aux[tid]);
		if (bwa_verbose >= 4) printf("=====> Processing read '%s'/2 <=====\n", w->seqs[i<<1|1].name);
		w->regs[i<<1|1] = mem_align1_core(w->opt, w->bwt, w->bns, w->pac, w->seqs[i<<1|1].l_seq, w->seqs[i<<1|1].seq, w->aux[tid]);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movl 0x48(%rax), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x2c6e1
leaq 0x14826(%rip), %rax     # 0x40e30
cmpl $0x4, (%rax)
jl 0x2c634
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0xc(%rbp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0xe9c8(%rip), %rdi      # 0x3aff5
movb $0x0, %al
callq 0x3060
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movslq -0xc(%rbp), %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x80(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rcx
movq -0x18(%rbp), %rax
movq 0x18(%rax), %r8
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0xc(%rbp), %rdi
imulq $0x30, %rdi, %rdi
addq %rdi, %rax
movl (%rax), %r9d
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0xc(%rbp), %rdi
imulq $0x30, %rdi, %rdi
addq %rdi, %rax
movq 0x18(%rax), %r10
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movslq -0x10(%rbp), %rdi
movq (%rax,%rdi,8), %rax
leaq -0x38(%rbp), %rdi
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x2be60
movq -0x80(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, (%rax)
movq -0x30(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x20(%rbp), %rcx
movq %rcx, 0x18(%rax)
jmp 0x2c8d7
leaq 0x14748(%rip), %rax     # 0x40e30
cmpl $0x4, (%rax)
jl 0x2c719
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movl -0xc(%rbp), %ecx
shll %ecx
orl $0x0, %ecx
movslq %ecx, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0xe907(%rip), %rdi      # 0x3b019
movb $0x0, %al
callq 0x3060
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movl -0xc(%rbp), %ecx
shll %ecx
orl $0x0, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x88(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rcx
movq -0x18(%rbp), %rax
movq 0x18(%rax), %r8
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movl -0xc(%rbp), %edi
shll %edi
orl $0x0, %edi
movslq %edi, %rdi
imulq $0x30, %rdi, %rdi
addq %rdi, %rax
movl (%rax), %r9d
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movl -0xc(%rbp), %edi
shll %edi
orl $0x0, %edi
movslq %edi, %rdi
imulq $0x30, %rdi, %rdi
addq %rdi, %rax
movq 0x18(%rax), %r10
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movslq -0x10(%rbp), %rdi
movq (%rax,%rdi,8), %rax
leaq -0x58(%rbp), %rdi
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x2be60
movq -0x88(%rbp), %rax
movq -0x58(%rbp), %rcx
movq %rcx, (%rax)
movq -0x50(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x48(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x40(%rbp), %rcx
movq %rcx, 0x18(%rax)
leaq 0x1464d(%rip), %rax     # 0x40e30
cmpl $0x4, (%rax)
jl 0x2c814
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movl -0xc(%rbp), %ecx
shll %ecx
orl $0x1, %ecx
movslq %ecx, %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %rax
movq 0x8(%rax), %rsi
leaq 0xe832(%rip), %rdi      # 0x3b03f
movb $0x0, %al
callq 0x3060
movq -0x18(%rbp), %rax
movq 0x38(%rax), %rax
movl -0xc(%rbp), %ecx
shll %ecx
orl $0x1, %ecx
movslq %ecx, %rcx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, -0x90(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rcx
movq -0x18(%rbp), %rax
movq 0x18(%rax), %r8
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movl -0xc(%rbp), %edi
shll %edi
orl $0x1, %edi
movslq %edi, %rdi
imulq $0x30, %rdi, %rdi
addq %rdi, %rax
movl (%rax), %r9d
movq -0x18(%rbp), %rax
movq 0x30(%rax), %rax
movl -0xc(%rbp), %edi
shll %edi
orl $0x1, %edi
movslq %edi, %rdi
imulq $0x30, %rdi, %rdi
addq %rdi, %rax
movq 0x18(%rax), %r10
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movslq -0x10(%rbp), %rdi
movq (%rax,%rdi,8), %rax
leaq -0x78(%rbp), %rdi
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x2be60
movq -0x90(%rbp), %rax
movq -0x78(%rbp), %rcx
movq %rcx, (%rax)
movq -0x70(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x68(%rbp), %rcx
movq %rcx, 0x10(%rax)
movq -0x60(%rbp), %rcx
movq %rcx, 0x18(%rax)
addq $0xa0, %rsp
popq %rbp
retq