// File: /workspace/github_c_makefile_star2_O0/lh3[P]minimap2/ksw2_dispatch.c
// Function: ksw_exts2_sse
void ksw_exts2_sse(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *target, int8_t m, const int8_t *mat,
				   int8_t q, int8_t e, int8_t q2, int8_t noncan, int zdrop, int end_bonus, int8_t junc_bonus, int8_t junc_pen, int flag, const uint8_t *junc, ksw_extz_t *ez)
{
	extern void ksw_exts2_sse2(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *target, int8_t m, const int8_t *mat,
				   int8_t q, int8_t e, int8_t q2, int8_t noncan, int zdrop, int end_bonus, int8_t junc_bonus, int8_t junc_pen, int flag, const uint8_t *junc, ksw_extz_t *ez);
	extern void ksw_exts2_sse41(void *km, int qlen, const uint8_t *query, int tlen, const uint8_t *target, int8_t m, const int8_t *mat,
				   int8_t q, int8_t e, int8_t q2, int8_t noncan, int zdrop, int end_bonus, int8_t junc_bonus, int8_t junc_pen, int flag, const uint8_t *junc, ksw_extz_t *ez);
	if (ksw_simd < 0) ksw_simd = x86_simd();
	if (ksw_simd & SIMD_SSE4_1)
		ksw_exts2_sse41(km, qlen, query, tlen, target, m, mat, q, e, q2, noncan, zdrop, end_bonus, junc_bonus, junc_pen, flag, junc, ez);
	else if (ksw_simd & SIMD_SSE2)
		ksw_exts2_sse2(km, qlen, query, tlen, target, m, mat, q, e, q2, noncan, zdrop, end_bonus, junc_bonus, junc_pen, flag, junc, ez);
	else abort();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movb %r9b, %al
movq 0x68(%rbp), %r9
movq 0x60(%rbp), %r9
movl 0x58(%rbp), %r9d
movb 0x50(%rbp), %r9b
movb 0x48(%rbp), %r9b
movl 0x40(%rbp), %r9d
movl 0x38(%rbp), %r9d
movb 0x30(%rbp), %r9b
movb 0x28(%rbp), %r9b
movb 0x20(%rbp), %r9b
movb 0x18(%rbp), %r9b
movq 0x10(%rbp), %r9
movq %rdi, -0x30(%rbp)
movl %esi, -0x34(%rbp)
movq %rdx, -0x40(%rbp)
movl %ecx, -0x44(%rbp)
movq %r8, -0x50(%rbp)
movb %al, -0x51(%rbp)
cmpl $0x0, 0x2eccd(%rip)     # 0x5e920
jge 0x2fc60
callq 0x2f8c0
movl %eax, 0x2ecc0(%rip)     # 0x5e920
movl 0x2ecba(%rip), %eax     # 0x5e920
andl $0x10, %eax
cmpl $0x0, %eax
je 0x2fd2f
movq -0x30(%rbp), %rdi
movl -0x34(%rbp), %esi
movq -0x40(%rbp), %rdx
movl -0x44(%rbp), %ecx
movq -0x50(%rbp), %r8
movb -0x51(%rbp), %r9b
movq 0x10(%rbp), %rax
movq %rax, -0x70(%rbp)
movb 0x18(%rbp), %al
movb %al, -0x63(%rbp)
movb 0x20(%rbp), %al
movb %al, -0x62(%rbp)
movb 0x28(%rbp), %al
movb %al, -0x61(%rbp)
movb 0x30(%rbp), %r13b
movl 0x38(%rbp), %r12d
movl 0x40(%rbp), %r15d
movb 0x48(%rbp), %r14b
movb 0x50(%rbp), %bl
movl 0x58(%rbp), %r11d
movq 0x60(%rbp), %r10
movq 0x68(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x70(%rbp), %rax
movsbl %r9b, %r9d
movq %rax, (%rsp)
movb -0x63(%rbp), %al
movsbl %al, %eax
movl %eax, 0x8(%rsp)
movb -0x62(%rbp), %al
movsbl %al, %eax
movl %eax, 0x10(%rsp)
movb -0x61(%rbp), %al
movsbl %al, %eax
movl %eax, 0x18(%rsp)
movq -0x60(%rbp), %rax
movsbl %r13b, %r13d
movl %r13d, 0x20(%rsp)
movl %r12d, 0x28(%rsp)
movl %r15d, 0x30(%rsp)
movsbl %r14b, %r14d
movl %r14d, 0x38(%rsp)
movsbl %bl, %ebx
movl %ebx, 0x40(%rsp)
movl %r11d, 0x48(%rsp)
movq %r10, 0x50(%rsp)
movq %rax, 0x58(%rsp)
callq 0x3ab90
jmp 0x2fe08
movl 0x2ebeb(%rip), %eax     # 0x5e920
andl $0x2, %eax
cmpl $0x0, %eax
je 0x2fe01
movq -0x30(%rbp), %rdi
movl -0x34(%rbp), %esi
movq -0x40(%rbp), %rdx
movl -0x44(%rbp), %ecx
movq -0x50(%rbp), %r8
movb -0x51(%rbp), %r9b
movq 0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
movb 0x18(%rbp), %al
movb %al, -0x7b(%rbp)
movb 0x20(%rbp), %al
movb %al, -0x7a(%rbp)
movb 0x28(%rbp), %al
movb %al, -0x79(%rbp)
movb 0x30(%rbp), %r13b
movl 0x38(%rbp), %r12d
movl 0x40(%rbp), %r15d
movb 0x48(%rbp), %r14b
movb 0x50(%rbp), %bl
movl 0x58(%rbp), %r11d
movq 0x60(%rbp), %r10
movq 0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x88(%rbp), %rax
movsbl %r9b, %r9d
movq %rax, (%rsp)
movb -0x7b(%rbp), %al
movsbl %al, %eax
movl %eax, 0x8(%rsp)
movb -0x7a(%rbp), %al
movsbl %al, %eax
movl %eax, 0x10(%rsp)
movb -0x79(%rbp), %al
movsbl %al, %eax
movl %eax, 0x18(%rsp)
movq -0x78(%rbp), %rax
movsbl %r13b, %r13d
movl %r13d, 0x20(%rsp)
movl %r12d, 0x28(%rsp)
movl %r15d, 0x30(%rsp)
movsbl %r14b, %r14d
movl %r14d, 0x38(%rsp)
movsbl %bl, %ebx
movl %ebx, 0x40(%rsp)
movl %r11d, 0x48(%rsp)
movq %r10, 0x50(%rsp)
movq %rax, 0x58(%rsp)
callq 0x4d2c0
jmp 0x2fe06
callq 0x2050
jmp 0x2fe08
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw (%rax,%rax)