	.file "X:\\777001.PlasticsFingerprint\\dsPicController\\PlasticsController.X\\BatterySignalDecode.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	_DecodeBatterySignals	; export
	.type	_DecodeBatterySignals,@function
_DecodeBatterySignals:
.LFB0:
.LSM0:
	.set ___PA___,1
	lnk	#20
	mov.d	w8,[w15++]
	mov	w0,[w14+16]
	mov	w1,[w14+18]
.LSM1:
	mov	_first.9417,w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	z,.L2
.LSM2:
	mov	#18373,w4
	mov	#16461,w5
	mov	w4,_K1.9418
	mov	w5,_K1.9418+2
.LSM3:
	mov	#21794,w4
	mov	#14480,w5
	mov	w4,_K2.9419
	mov	w5,_K2.9419+2
.LSM4:
	mov	#44339,w4
	mov	#21551,w5
	mov	w4,_K3.9420
	mov	w5,_K3.9420+2
.LSM5:
	mov	#51200,w4
	mov	#18539,w5
	mov	w4,_K4.9421
	mov	w5,_K4.9421+2
.LSM6:
	mov	#3350,w4
	mov	#19855,w5
	mov	w4,_K5.9422
	mov	w5,_K5.9422+2
.LSM7:
	clr	w4
	mov	w4,_first.9417
.L2:
.LSM8:
	mov	_K1.9418,w4
	mov	_K1.9418+2,w5
	mov	[w14+16],w2
	mov	[w14+18],w3
	mov.d	w4,w0
	rcall	___mulsf3
	mov.d	w0,w4
	mov	w4,[w14+4]
	mov	w5,[w14+6]
.LSM9:
	mov	[w14+4],w2
	mov	[w14+6],w3
	mov	#52429,w0
	mov	#16748,w1
	rcall	___subsf3
	mov.d	w0,w4
	mov.d	w4,w8
	mov	#16384,w2
	mov	#17948,w3
	mov	[w14+4],w0
	mov	[w14+6],w1
	rcall	___mulsf3
	mov.d	w0,w4
	mov.d	w4,w2
	mov.d	w8,w0
	rcall	___divsf3
	mov.d	w0,w4
	mov	w4,[w14+8]
	mov	w5,[w14+10]
.LSM10:
	mov	_K2.9419,w4
	mov	_K2.9419+2,w5
	mov.d	w4,w2
	mov	[w14+8],w0
	mov	[w14+10],w1
	rcall	___subsf3
	mov.d	w0,w4
	mov	w4,[w14+12]
	mov	w5,[w14+14]
.LSM11:
	mov	_K3.9420,w4
	mov	_K3.9420+2,w5
	mov	[w14+12],w2
	mov	[w14+14],w3
	mov.d	w4,w0
	rcall	___mulsf3
	mov.d	w0,w4
	mov.d	w4,w6
	mov	_K4.9421,w4
	mov	_K4.9421+2,w5
	mov.d	w4,w2
	mov.d	w6,w0
	rcall	___subsf3
	mov.d	w0,w4
	mov.d	w4,w6
	mov	_K5.9422,w4
	mov	_K5.9422+2,w5
	mov.d	w4,w2
	mov.d	w6,w0
	rcall	___divsf3
	mov.d	w0,w4
	mov.d	w4,[w14]
.LSM12:
	mov.b	#1,w8
	mul.uu	w2,#0,w2
		
	mov.d	[w14],w0
	rcall	___ltsf2
	mov	w0,w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	lt,.L3
	clr.b	w8
.L3:
	sub.b	w8,#0,[w15]
	.set ___BP___,0
	bra	z,.L4
	mul.uu	w4,#0,w4
		
	mov.d	w4,[w14]
.L4:
.LSM13:
	mov.b	#1,w8
	mov	#0,w2
	mov	#16832,w3
	mov.d	[w14],w0
	rcall	___gtsf2
	mov	w0,w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	gt,.L5
	clr.b	w8
.L5:
	sub.b	w8,#0,[w15]
	.set ___BP___,0
	bra	z,.L6
	mov	#0,w4
	mov	#16832,w5
	mov.d	w4,[w14]
.L6:
.LSM14:
	mov	#0,w2
	mov	#16128,w3
	mov.d	[w14],w0
	rcall	___addsf3
	mov.d	w0,w4
	mov.d	w4,w0
	rcall	___fixunssfsi
	mov.d	w0,w4
	mov.b	w4,w4
.LSM15:
	mov.b	w4,w0
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE0:
	.section	.ndata,data,near
	.align	2
	.type	_first.9417,@object
_first.9417:
	.word	1
	.pushsection	.nbss,bss,near
	.align	2
_K1.9418:	.space	4
	.popsection
	.pushsection	.nbss,bss,near
	.align	2
_K2.9419:	.space	4
	.popsection
	.pushsection	.nbss,bss,near
	.align	2
_K3.9420:	.space	4
	.popsection
	.pushsection	.nbss,bss,near
	.align	2
_K4.9421:	.space	4
	.popsection
	.pushsection	.nbss,bss,near
	.align	2
_K5.9422:	.space	4
	.popsection
	.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
	.align	4
.LEFDE0:
	.section	.text,code
.Letext0:
	.section	.debug_info,info
	.4byte	0x210
	.2byte	0x2
	.4byte	.Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.asciz	"GNU C 4.5.1 (XC16, Microchip v1_20) (A) Build date: Sep 30 2013"
	.byte	0x1
	.asciz	"BatterySignalDecode.c"
	.ascii	"X:\\\\777001.PlasticsFingerprint\\\\dsPicController\\\\PlasticsContr"
	.asciz	"oller.X"
	.4byte	.Ltext0
	.4byte	.Letext0
	.4byte	.Ldebug_line0
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.asciz	"int"
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"unsigned int"
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"short unsigned int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x5
	.asciz	"long int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x7
	.asciz	"long unsigned int"
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.asciz	"char"
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.asciz	"short int"
	.uleb128 0x2
	.byte	0x1
	.byte	0x8
	.asciz	"unsigned char"
	.uleb128 0x3
	.byte	0x1
	.asciz	"DecodeBatterySignals"
	.byte	0x1
	.byte	0x15
	.byte	0x1
	.4byte	0x118
	.4byte	.LFB0
	.4byte	.LFE0
	.byte	0x1
	.byte	0x5e
	.4byte	0x20a
	.uleb128 0x4
	.asciz	"VR3"
	.byte	0x1
	.byte	0x15
	.4byte	0x20a
	.byte	0x2
	.byte	0x7e
	.sleb128 16
	.uleb128 0x5
	.asciz	"N_fp"
	.byte	0x1
	.byte	0x17
	.4byte	0x20a
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x5
	.asciz	"VR2"
	.byte	0x1
	.byte	0x18
	.4byte	0x20a
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.uleb128 0x5
	.asciz	"Rlow_inv"
	.byte	0x1
	.byte	0x19
	.4byte	0x20a
	.byte	0x2
	.byte	0x7e
	.sleb128 8
	.uleb128 0x5
	.asciz	"Rext_inv"
	.byte	0x1
	.byte	0x19
	.4byte	0x20a
	.byte	0x2
	.byte	0x7e
	.sleb128 12
	.uleb128 0x5
	.asciz	"first"
	.byte	0x1
	.byte	0x1a
	.4byte	0xb5
	.byte	0x5
	.byte	0x3
	.4byte	_first.9417
	.uleb128 0x5
	.asciz	"K1"
	.byte	0x1
	.byte	0x1b
	.4byte	0x20a
	.byte	0x5
	.byte	0x3
	.4byte	_K1.9418
	.uleb128 0x5
	.asciz	"K2"
	.byte	0x1
	.byte	0x1b
	.4byte	0x20a
	.byte	0x5
	.byte	0x3
	.4byte	_K2.9419
	.uleb128 0x5
	.asciz	"K3"
	.byte	0x1
	.byte	0x1b
	.4byte	0x20a
	.byte	0x5
	.byte	0x3
	.4byte	_K3.9420
	.uleb128 0x5
	.asciz	"K4"
	.byte	0x1
	.byte	0x1b
	.4byte	0x20a
	.byte	0x5
	.byte	0x3
	.4byte	_K4.9421
	.uleb128 0x5
	.asciz	"K5"
	.byte	0x1
	.byte	0x1b
	.4byte	0x20a
	.byte	0x5
	.byte	0x3
	.4byte	_K5.9422
	.byte	0x0
	.uleb128 0x2
	.byte	0x4
	.byte	0x4
	.asciz	"float"
	.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 0x24
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0x8
	.byte	0x0
	.byte	0x0
	.uleb128 0x3
	.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 0x4
	.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 0x5
	.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
	.byte	0x0
	.section	.debug_pubnames,info
	.4byte	0x27
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x214
	.4byte	0x129
	.asciz	"DecodeBatterySignals"
	.4byte	0x0
	.section	.debug_pubtypes,info
	.4byte	0xe
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x214
	.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_line,info
	.4byte	.LELT0-.LSLT0
.LSLT0:
	.2byte	0x2
	.4byte	.LELTP0-.LASLTP0
.LASLTP0:
	.byte	0x1
	.byte	0x1
	.byte	0xf6
	.byte	0xf5
	.byte	0xa
	.byte	0x0
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.byte	0x1
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.byte	0x1
	.byte	0x0
	.asciz	"BatterySignalDecode.c"
	.uleb128 0x0
	.uleb128 0x0
	.uleb128 0x0
	.byte	0x0
.LELTP0:
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.Letext0
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM0
	.byte	0x29
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM1
	.byte	0x1b
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM2
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM3
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM4
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM5
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM6
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM7
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM8
	.byte	0x17
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM9
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM10
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM11
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM12
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM13
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM14
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM15
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE0
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
.LELT0:
	.section	.debug_str,info
	.section	.text,code

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

; MCHP configuration words

	.set ___PA___,0
	.end
