	.file	"193894288.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	CRCTBH, @object
	.size	CRCTBH, 256
CRCTBH:
	.string	""
	.ascii	"\300\301\001\303\003\002\302\306\006\007\307\005\305\304\004"
	.ascii	"\314\f\r\315\017\317\316\016\n\312\313\013\311\t\b\310\330\030"
	.ascii	"\031\331\033\333\332\032\036\336\337\037\335\035\034\334\024"
	.ascii	"\324\325\025\327\027\026\326\322\022\023\323\021\321\320\020"
	.ascii	"\36001\3613\363\36226\366\3677\36554\364<\374\375=\377?>\376"
	.ascii	"\372:;\3739\371\3708(\350\351)\353+*\352\356./\357-\355\354,"
	.ascii	"\344$%\345'\347\346&\"\342\343#\341! \340\240`a\241c\243\242"
	.ascii	"bf\246\247g\245ed\244l\254\255m\257on\256\252jk\253i\251\250"
	.ascii	"hx\270\271y\273{z\272\276~\177\277}\275\274|\264tu\265w\267\266"
	.ascii	"vr\262\263s\261qp\260P\220\221Q\223SR\222\226VW\227U\225\224"
	.ascii	"T\234\\]\235_\237\236^Z\232\233[\231YX\230\210HI\211K\213\212"
	.ascii	"JN\216\217O\215ML\214D\204\205E\207GF\206\202BC\203A\201\200"
	.ascii	"@"
	.align 32
	.type	CRCTBL, @object
	.size	CRCTBL, 256
CRCTBL:
	.string	""
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.string	"\301\201@"
	.string	"\301\201@\001\300\200A"
	.string	"\301\201@\001\300\200A\001\300\200A"
	.ascii	"\301\201@"
	.text
	.globl	crc16_calc
	.type	crc16_calc, @function
crc16_calc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	mov	BYTE PTR -7[rbp], 0
	mov	BYTE PTR -6[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR -7[rbp]
	xor	eax, edx
	mov	BYTE PTR -5[rbp], al
	movzx	eax, BYTE PTR -5[rbp]
	cdqe
	lea	rdx, CRCTBL[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	xor	al, BYTE PTR -6[rbp]
	mov	BYTE PTR -7[rbp], al
	movzx	eax, BYTE PTR -5[rbp]
	cdqe
	lea	rdx, CRCTBH[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	mov	BYTE PTR -6[rbp], al
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L3
	movzx	eax, BYTE PTR -6[rbp]
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -7[rbp]
	or	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	crc16_calc, .-crc16_calc
	.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	"193894288.c"
	.text
	.data
	.align	2
	.type	CRCTBH, %object
	.size	CRCTBH, 256
CRCTBH:
	.ascii	"\000\300\301\001\303\003\002\302\306\006\007\307\005"
	.ascii	"\305\304\004\314\014\015\315\017\317\316\016\012\312"
	.ascii	"\313\013\311\011\010\310\330\030\031\331\033\333\332"
	.ascii	"\032\036\336\337\037\335\035\034\334\024\324\325\025"
	.ascii	"\327\027\026\326\322\022\023\323\021\321\320\020\360"
	.ascii	"01\3613\363\36226\366\3677\36554\364<\374\375=\377?"
	.ascii	">\376\372:;\3739\371\3708(\350\351)\353+*\352\356./"
	.ascii	"\357-\355\354,\344$%\345'\347\346&\"\342\343#\341! "
	.ascii	"\340\240`a\241c\243\242bf\246\247g\245ed\244l\254\255"
	.ascii	"m\257on\256\252jk\253i\251\250hx\270\271y\273{z\272"
	.ascii	"\276~\177\277}\275\274|\264tu\265w\267\266vr\262\263"
	.ascii	"s\261qp\260P\220\221Q\223SR\222\226VW\227U\225\224T"
	.ascii	"\234\\]\235_\237\236^Z\232\233[\231YX\230\210HI\211"
	.ascii	"K\213\212JN\216\217O\215ML\214D\204\205E\207GF\206\202"
	.ascii	"BC\203A\201\200@"
	.align	2
	.type	CRCTBL, %object
	.size	CRCTBL, 256
CRCTBL:
	.ascii	"\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\001\300\200A\000\301\201@\000\301\201@\001\300\200"
	.ascii	"A\000\301\201@\001\300\200A\001\300\200A\000\301\201"
	.ascii	"@"
	.text
	.align	2
	.global	crc16_calc
	.syntax unified
	.arm
	.fpu softvfp
	.type	crc16_calc, %function
crc16_calc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-11]
	mov	r3, #0
	strb	r3, [fp, #-10]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-11]
	eor	r3, r3, r2
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L5
	ldrb	r2, [r2, r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-10]
	eor	r3, r3, r2
	strb	r3, [fp, #-11]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	ldr	r2, .L5+4
	ldrb	r3, [r2, r3]
	strb	r3, [fp, #-10]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L3
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	CRCTBL
	.word	CRCTBH
	.size	crc16_calc, .-crc16_calc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
