	.file	"1102945.c"
	.intel_syntax noprefix
	.text
	.globl	ScoreKBNK
	.type	ScoreKBNK, @function
ScoreKBNK:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	ecx, esi
	mov	eax, edx
	mov	edx, edi
	mov	WORD PTR -12[rbp], dx
	mov	edx, ecx
	mov	WORD PTR -16[rbp], dx
	mov	WORD PTR -20[rbp], ax
	movsx	eax, WORD PTR -16[rbp]
	movsx	edx, WORD PTR -20[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 6
	add	rax, rdx
	lea	rdx, [rax+rax]
	lea	rax, taxidata[rip]
	movzx	eax, WORD PTR [rdx+rax]
	mov	ecx, eax
	movsx	eax, WORD PTR -12[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, PieceList[rip+2]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	movsx	edx, WORD PTR -20[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 6
	add	rax, rdx
	lea	rdx, [rax+rax]
	lea	rax, distdata[rip]
	movzx	eax, WORD PTR [rdx+rax]
	add	eax, ecx
	mov	ebx, eax
	movsx	eax, bx
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	ScoreKBNK, .-ScoreKBNK
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"1102945.c"
	.text
	.align	2
	.global	ScoreKBNK
	.syntax unified
	.arm
	.fpu softvfp
	.type	ScoreKBNK, %function
ScoreKBNK:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, fp}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strh	r3, [fp, #-6]	@ movhi
	mov	r3, r1	@ movhi
	strh	r3, [fp, #-8]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-10]	@ movhi
	ldrsh	r2, [fp, #-8]
	ldrsh	r3, [fp, #-10]
	ldr	r1, .L3
	lsl	r2, r2, #6
	add	r3, r2, r3
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrsh	r3, [fp, #-6]
	ldr	r1, .L3+4
	lsl	r3, r3, #7
	add	r3, r1, r3
	add	r3, r3, #2
	ldrsh	r3, [r3]
	mov	r1, r3
	ldrsh	r3, [fp, #-10]
	ldr	r0, .L3+8
	lsl	r1, r1, #6
	add	r3, r1, r3
	lsl	r3, r3, #1
	add	r3, r0, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r4, r3, #16
	mov	r3, r4
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{r4, fp}
	bx	lr
.L4:
	.align	2
.L3:
	.word	taxidata
	.word	PieceList
	.word	distdata
	.size	ScoreKBNK, .-ScoreKBNK
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
