	.file "X:\\902001_4K_ROVCameraDevelopment\\Software\\cameracontrol\\BottomSideController.X\\..\\CommonCode\\crc.c"
	.section	.debug_abbrev,info
.Ldebug_abbrev0:
	.section	.debug_info,info
.Ldebug_info0:
	.section	.debug_line,info
.Ldebug_line0:
	.section	.text,code
.Ltext0:
	.section	.text,code
	.align	2
	.global	_calcCRC	; export
	.type	_calcCRC,@function
_calcCRC:
.LFB0:
	.file 1 "../CommonCode/crc.c"
	.loc 1 2 0
	.set ___PA___,1
	lnk	#10
.LCFI0:
	add	w14,#6,w2
	mov	w0,[w2]
	add	w14,#8,w0
	mov	w1,[w0]
	.loc 1 6 0
	mov	#7439,w1
	add	w14,#4,w0
	mov	w1,[w0]
	.loc 1 7 0
	clr	w0
	mov	w0,[w14]
	bra	.L2
.L7:
	.loc 1 9 0
	add	w14,#6,w0
	mov	[w0],w0
	add	w0,[w14],w0
	mov.b	[w0],w0
	se	w0,w0
	sl	w0,#8,w0
	add	w14,#4,w1
	mov	[w1],w1
	xor	w1,w0,w1
	add	w14,#4,w0
	mov	w1,[w0]
	.loc 1 10 0
	clr	w1
	inc2	w14,w0
	mov	w1,[w0]
	bra	.L3
.L6:
	.loc 1 12 0
	add	w14,#4,w0
	mov	[w0],w0
	cp0	w0
	.set ___BP___,0
	bra	ge,.L4
	.loc 1 13 0
	add	w14,#4,w0
	mov	[w0],w0
	add	w0,w0,w0
	mov	w0,w1
	mov	#4129,w0
	xor	w1,w0,w1
	add	w14,#4,w0
	mov	w1,[w0]
	bra	.L5
.L4:
	.loc 1 15 0
	add	w14,#4,w0
	mov	[w0],w0
	add	w0,w0,w1
	add	w14,#4,w0
	mov	w1,[w0]
.L5:
	.loc 1 10 0
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w1
	inc2	w14,w0
	mov	w1,[w0]
.L3:
	inc2	w14,w0
	mov	[w0],w0
	sub	w0,#7,[w15]
	.set ___BP___,0
	bra	le,.L6
	.loc 1 7 0
	inc	[w14],[w14]
.L2:
	add	w14,#8,w0
	mov	[w0],w0
	sub	w0,[w14],[w15]
	.set ___BP___,0
	bra	gtu,.L7
	.loc 1 18 0
	add	w14,#4,w0
	mov	[w0],w0
	.loc 1 19 0
	ulnk	
	return	
	.set ___PA___,0
.LFE0:
	.size	_calcCRC, .-_calcCRC
	.section	.debug_frame,info
.Lframe0:
	.4byte	.LECIE0-.LSCIE0
.LSCIE0:
	.4byte	0xffffffff
	.byte	0x1
	.byte	0
	.uleb128 0x1
	.sleb128 2
	.byte	0x25
	.byte	0x12
	.uleb128 0xf
	.sleb128 -2
	.byte	0x9
	.uleb128 0x25
	.uleb128 0xf
	.align	4
.LECIE0:
.LSFDE0:
	.4byte	.LEFDE0-.LASFDE0
.LASFDE0:
	.4byte	.Lframe0
	.4byte	.LFB0
	.4byte	.LFE0-.LFB0
	.byte	0x4
	.4byte	.LCFI0-.LFB0
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.align	4
.LEFDE0:
	.section	.text,code
.Letext0:
	.section	.debug_info,info
	.4byte	0x14f
	.2byte	0x2
	.4byte	.Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.asciz	"GNU C 4.5.1 (XC16, Microchip v2.00) (B) Build date: Jan 24 2022"
	.byte	0x1
	.asciz	"../CommonCode/crc.c"
	.ascii	"X:\\902001_4K_ROVCameraDevelopment\\Software\\cameracontrol\\BottomS"
	.asciz	"ideController.X"
	.4byte	.Ltext0
	.4byte	.Letext0
	.4byte	.Ldebug_line0
	.uleb128 0x2
	.byte	0x1
	.asciz	"calcCRC"
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.4byte	0x128
	.4byte	.LFB0
	.4byte	.LFE0
	.byte	0x1
	.byte	0x5e
	.4byte	0x128
	.uleb128 0x3
	.asciz	"recvbuf"
	.byte	0x1
	.byte	0x1
	.4byte	0x138
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.uleb128 0x3
	.asciz	"datasize"
	.byte	0x1
	.byte	0x1
	.4byte	0x14b
	.byte	0x2
	.byte	0x7e
	.sleb128 8
	.uleb128 0x4
	.asciz	"i"
	.byte	0x1
	.byte	0x3
	.4byte	0x128
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x4
	.asciz	"j"
	.byte	0x1
	.byte	0x4
	.4byte	0x14b
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0x4
	.asciz	"crc"
	.byte	0x1
	.byte	0x6
	.4byte	0x128
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.byte	0x7
	.asciz	"unsigned int"
	.uleb128 0x6
	.byte	0x2
	.4byte	0x13e
	.uleb128 0x7
	.4byte	0x143
	.uleb128 0x5
	.byte	0x1
	.byte	0x6
	.asciz	"char"
	.uleb128 0x5
	.byte	0x2
	.byte	0x5
	.asciz	"int"
	.byte	0x0
	.section	.debug_abbrev,info
	.uleb128 0x1
	.uleb128 0x11
	.byte	0x1
	.uleb128 0x25
	.uleb128 0x8
	.uleb128 0x13
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x1b
	.uleb128 0x8
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x10
	.uleb128 0x6
	.byte	0x0
	.byte	0x0
	.uleb128 0x2
	.uleb128 0x2e
	.byte	0x1
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x27
	.uleb128 0xc
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x40
	.uleb128 0xa
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x5
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x4
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x5
	.uleb128 0x24
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0x8
	.byte	0x0
	.byte	0x0
	.uleb128 0x6
	.uleb128 0xf
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x7
	.uleb128 0x26
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,info
	.4byte	0x1a
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x153
	.4byte	0xbd
	.asciz	"calcCRC"
	.4byte	0x0
	.section	.debug_aranges,info
	.4byte	0x14
	.2byte	0x2
	.4byte	.Ldebug_info0
	.byte	0x4
	.byte	0x0
	.2byte	0x0
	.2byte	0x0
	.4byte	0x0
	.4byte	0x0
	.section	.debug_str,info
	.section	.text,code



	.section __c30_info, info, bss
__large_data_scalar:

	.section __c30_signature, info, data
	.word 0x0001
	.word 0x0006
	.word 0x0000

; MCHP configuration words

	.set ___PA___,0
	.end
