// File: /workspace/github_c_makefile_star2_O0/lh3[P]minimap2/ksw2_dispatch.c
// Function: ksw_extd2_sse
void ksw_extd2_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 e2, int w, int zdrop, int end_bonus, int flag, ksw_extz_t *ez)
{
	extern void ksw_extd2_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 e2, int w, int zdrop, int end_bonus, int flag, ksw_extz_t *ez);
	extern void ksw_extd2_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 e2, int w, int zdrop, int end_bonus, int flag, ksw_extz_t *ez);
	if (ksw_simd < 0) ksw_simd = x86_simd();
	if (ksw_simd & SIMD_SSE4_1)
		ksw_extd2_sse41(km, qlen, query, tlen, target, m, mat, q, e, q2, e2, w, zdrop, end_bonus, flag, ez);
	else if (ksw_simd & SIMD_SSE2)
		ksw_extd2_sse2(km, qlen, query, tlen, target, m, mat, q, e, q2, e2, w, zdrop, end_bonus, flag, ez);
	else abort();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movb %r9b, %al
movq 0x58(%rbp), %r9
movl 0x50(%rbp), %r9d
movl 0x48(%rbp), %r9d
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, 0x2eec5(%rip)     # 0x5e920
jge 0x2fa68
callq 0x2f8c0
movl %eax, 0x2eeb8(%rip)     # 0x5e920
movl 0x2eeb2(%rip), %eax     # 0x5e920
andl $0x10, %eax
cmpl $0x0, %eax
je 0x2fb18
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, -0x61(%rbp)
movb 0x20(%rbp), %r13b
movb 0x28(%rbp), %r12b
movb 0x30(%rbp), %r15b
movl 0x38(%rbp), %r14d
movl 0x40(%rbp), %ebx
movl 0x48(%rbp), %r11d
movl 0x50(%rbp), %r10d
movq 0x58(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x70(%rbp), %rax
movsbl %r9b, %r9d
movq %rax, (%rsp)
movb -0x61(%rbp), %al
movsbl %al, %eax
movl %eax, 0x8(%rsp)
movq -0x60(%rbp), %rax
movsbl %r13b, %r13d
movl %r13d, 0x10(%rsp)
movsbl %r12b, %r12d
movl %r12d, 0x18(%rsp)
movsbl %r15b, %r15d
movl %r15d, 0x20(%rsp)
movl %r14d, 0x28(%rsp)
movl %ebx, 0x30(%rsp)
movl %r11d, 0x38(%rsp)
movl %r10d, 0x40(%rsp)
movq %rax, 0x48(%rsp)
callq 0x34400
jmp 0x2fbd2
movl 0x2ee02(%rip), %eax     # 0x5e920
andl $0x2, %eax
cmpl $0x0, %eax
je 0x2fbcb
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, -0x79(%rbp)
movb 0x20(%rbp), %r13b
movb 0x28(%rbp), %r12b
movb 0x30(%rbp), %r15b
movl 0x38(%rbp), %r14d
movl 0x40(%rbp), %ebx
movl 0x48(%rbp), %r11d
movl 0x50(%rbp), %r10d
movq 0x58(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x88(%rbp), %rax
movsbl %r9b, %r9d
movq %rax, (%rsp)
movb -0x79(%rbp), %al
movsbl %al, %eax
movl %eax, 0x8(%rsp)
movq -0x78(%rbp), %rax
movsbl %r13b, %r13d
movl %r13d, 0x10(%rsp)
movsbl %r12b, %r12d
movl %r12d, 0x18(%rsp)
movsbl %r15b, %r15d
movl %r15d, 0x20(%rsp)
movl %r14d, 0x28(%rsp)
movl %ebx, 0x30(%rsp)
movl %r11d, 0x38(%rsp)
movl %r10d, 0x40(%rsp)
movq %rax, 0x48(%rsp)
callq 0x45f40
jmp 0x2fbd0
callq 0x2050
jmp 0x2fbd2
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nopw %cs:(%rax,%rax)