	.file	"897575.c"
	.intel_syntax noprefix
	.text
	.globl	crc16_add
	.type	crc16_add, @function
crc16_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	BYTE PTR -4[rbp], dl
	mov	WORD PTR -8[rbp], ax
	movzx	eax, BYTE PTR -4[rbp]
	xor	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -8[rbp]
	shr	ax, 8
	mov	edx, eax
	movzx	eax, WORD PTR -8[rbp]
	sal	eax, 8
	or	eax, edx
	mov	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -8[rbp]
	sal	eax, 4
	and	ax, -4096
	mov	edx, eax
	movzx	eax, WORD PTR -8[rbp]
	xor	eax, edx
	mov	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -8[rbp]
	shr	ax, 12
	xor	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -8[rbp]
	sar	eax, 5
	and	ax, 2040
	mov	edx, eax
	movzx	eax, WORD PTR -8[rbp]
	xor	eax, edx
	mov	WORD PTR -8[rbp], ax
	movzx	eax, WORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	crc16_add, .-crc16_add
	.globl	crc16_data
	.type	crc16_data, @function
crc16_data:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, edx
	mov	WORD PTR -32[rbp], ax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L5:
	movzx	edx, WORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, edx
	mov	edi, eax
	call	crc16_add
	mov	WORD PTR -32[rbp], ax
	add	QWORD PTR -24[rbp], 1
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L5
	movzx	eax, WORD PTR -32[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	crc16_data, .-crc16_data
	.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	"897575.c"
	.text
	.align	2
	.global	crc16_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	crc16_add, %function
crc16_add:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-5]
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-8]	@ movhi
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-8]	@ movhi
	eor	r3, r3, r2
	strh	r3, [fp, #-8]	@ movhi
	ldrh	r3, [fp, #-8]
	lsr	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrh	r3, [fp, #-8]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldrh	r3, [fp, #-8]
	lsl	r3, r3, #4
	lsl	r3, r3, #16
	asr	r3, r3, #16
	bic	r3, r3, #4080
	bic	r3, r3, #15
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrsh	r3, [fp, #-8]
	eor	r3, r3, r2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldrh	r3, [fp, #-8]
	lsr	r3, r3, #12
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-8]	@ movhi
	eor	r3, r3, r2
	strh	r3, [fp, #-8]	@ movhi
	ldrh	r3, [fp, #-8]
	asr	r3, r3, #5
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, .L3
	and	r3, r3, r2
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrsh	r3, [fp, #-8]
	eor	r3, r3, r2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-8]	@ movhi
	ldrh	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L4:
	.align	2
.L3:
	.word	2040
	.size	crc16_add, .-crc16_add
	.align	2
	.global	crc16_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	crc16_data, %function
crc16_data:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrh	r2, [fp, #-22]
	mov	r1, r2
	mov	r0, r3
	bl	crc16_add
	mov	r3, r0
	strh	r3, [fp, #-22]	@ movhi
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L7
	ldrh	r3, [fp, #-22]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	crc16_data, .-crc16_data
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
