	.file "X:\\707976_EPBuoyPrototypeAndTesting\\dsPicCodes\\ISquaredCPrototype\\ISquaredCPrototype.X\\conv.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	_ConvertIntToEngUnits	; export
	.type	_ConvertIntToEngUnits,@function
_ConvertIntToEngUnits:
.LFB17:
	.file 1 "conv.c"
	.loc 1 5 0
	.set ___PA___,1
	lnk	#6
.LCFI0:
	mov.d	w8,[w15++]
.LCFI1:
	mov	w0,[w14]
	inc2	w14,w0
	mov	w1,[w0]
	add	w14,#4,w0
	mov	w2,[w0]
	.loc 1 6 0
	add	w14,#4,w0
	mov	[w0],w0
	add	w0,#4,w0
	mov.d	[w0],w4
	add	w14,#4,w0
	mov	[w0],w0
	mov.d	[w0],w0
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___subsf3
	mov.d	w0,w8
	inc2	w14,w0
	mov	[w0],w0
	mov	[w0],w0
	subr	w0,[w14],w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___mulsf3
	mov.d	w0,w8
	inc2	w14,w0
	mov	[w0],w0
	inc2	w0,w0
	mov	[w0],w1
	inc2	w14,w0
	mov	[w0],w0
	mov	[w0],w0
	sub	w1,w0,w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___divsf3
	mov.d	w0,w4
	add	w14,#4,w0
	mov	[w0],w0
	mov.d	[w0],w0
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___addsf3
	.loc 1 7 0
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE17:
	.size	_ConvertIntToEngUnits, .-_ConvertIntToEngUnits
	.align	2
	.global	_ConvertEngUnitsToInt	; export
	.type	_ConvertEngUnitsToInt,@function
_ConvertEngUnitsToInt:
.LFB18:
	.loc 1 10 0
	.set ___PA___,1
	lnk	#8
.LCFI2:
	mov.d	w8,[w15++]
.LCFI3:
	mov.d	w0,[w14]
	add	w14,#4,w0
	mov	w2,[w0]
	add	w14,#6,w0
	mov	w3,[w0]
	.loc 1 11 0
	add	w14,#4,w0
	mov	[w0],w0
	inc2	w0,w0
	mov	[w0],w1
	add	w14,#4,w0
	mov	[w0],w0
	mov	[w0],w0
	sub	w1,w0,w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	w0,w8
	add	w14,#6,w0
	mov	[w0],w0
	mov.d	[w0],w0
	mov.d	w0,w2
	mov.d	[w14],w0
	rcall	___subsf3
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___mulsf3
	mov.d	w0,w8
	add	w14,#6,w0
	mov	[w0],w0
	add	w0,#4,w0
	mov.d	[w0],w4
	add	w14,#6,w0
	mov	[w0],w0
	mov.d	[w0],w0
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___subsf3
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___divsf3
	mov.d	w0,w8
	add	w14,#4,w0
	mov	[w0],w0
	mov	[w0],w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___addsf3
	rcall	___fixsfsi
	mov	w0,w0
	.loc 1 12 0
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE18:
	.size	_ConvertEngUnitsToInt, .-_ConvertEngUnitsToInt
	.align	2
	.global	_ConvertFractToEngUnits	; export
	.type	_ConvertFractToEngUnits,@function
_ConvertFractToEngUnits:
.LFB19:
	.loc 1 15 0
	.set ___PA___,1
	lnk	#6
.LCFI4:
	mov.d	w8,[w15++]
.LCFI5:
	mov	w0,[w14]
	inc2	w14,w0
	mov	w1,[w0]
	add	w14,#4,w0
	mov	w2,[w0]
	.loc 1 16 0
	add	w14,#4,w0
	mov	[w0],w0
	add	w0,#4,w0
	mov.d	[w0],w4
	add	w14,#4,w0
	mov	[w0],w0
	mov.d	[w0],w0
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___subsf3
	mov.d	w0,w8
	mov	[w14],w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___mulsf3
	mov.d	w0,w8
	inc2	w14,w0
	mov	[w0],w0
	inc2	w0,w0
	mov	[w0],w1
	inc2	w14,w0
	mov	[w0],w0
	mov	[w0],w0
	sub	w1,w0,w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___divsf3
	.loc 1 17 0
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE19:
	.size	_ConvertFractToEngUnits, .-_ConvertFractToEngUnits
	.align	2
	.global	_ConvertEngUnitsToFract	; export
	.type	_ConvertEngUnitsToFract,@function
_ConvertEngUnitsToFract:
.LFB20:
	.loc 1 20 0
	.set ___PA___,1
	lnk	#8
.LCFI6:
	mov.d	w8,[w15++]
.LCFI7:
	mov.d	w0,[w14]
	add	w14,#4,w0
	mov	w2,[w0]
	add	w14,#6,w0
	mov	w3,[w0]
	.loc 1 21 0
	add	w14,#4,w0
	mov	[w0],w0
	inc2	w0,w0
	mov	[w0],w1
	add	w14,#4,w0
	mov	[w0],w0
	mov	[w0],w0
	sub	w1,w0,w0
	asr	w0,#15,w1
	rcall	___floatsisf
	mov.d	[w14],w2
	rcall	___mulsf3
	mov.d	w0,w8
	add	w14,#6,w0
	mov	[w0],w0
	add	w0,#4,w0
	mov.d	[w0],w4
	add	w14,#6,w0
	mov	[w0],w0
	mov.d	[w0],w0
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___subsf3
	mov.d	w0,w2
	mov.d	w8,w0
	rcall	___divsf3
	rcall	___fixsfsi
	mov	w0,w0
	.loc 1 22 0
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE20:
	.size	_ConvertEngUnitsToFract, .-_ConvertEngUnitsToFract
	.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	.LFB17
	.4byte	.LFE17-.LFB17
	.byte	0x4
	.4byte	.LCFI0-.LFB17
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI1-.LCFI0
	.byte	0x88
	.uleb128 0x6
	.align	4
.LEFDE0:
.LSFDE2:
	.4byte	.LEFDE2-.LASFDE2
.LASFDE2:
	.4byte	.Lframe0
	.4byte	.LFB18
	.4byte	.LFE18-.LFB18
	.byte	0x4
	.4byte	.LCFI2-.LFB18
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI3-.LCFI2
	.byte	0x88
	.uleb128 0x7
	.align	4
.LEFDE2:
.LSFDE4:
	.4byte	.LEFDE4-.LASFDE4
.LASFDE4:
	.4byte	.Lframe0
	.4byte	.LFB19
	.4byte	.LFE19-.LFB19
	.byte	0x4
	.4byte	.LCFI4-.LFB19
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI5-.LCFI4
	.byte	0x88
	.uleb128 0x6
	.align	4
.LEFDE4:
.LSFDE6:
	.4byte	.LEFDE6-.LASFDE6
.LASFDE6:
	.4byte	.Lframe0
	.4byte	.LFB20
	.4byte	.LFE20-.LFB20
	.byte	0x4
	.4byte	.LCFI6-.LFB20
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI7-.LCFI6
	.byte	0x88
	.uleb128 0x7
	.align	4
.LEFDE6:
	.section	.text,code
.Letext0:
	.file 2 "c:\\program files\\microchip\\xc16\\v2.00\\bin\\bin\\../..\\support\\generic\\h/dsp.h"
	.section	.debug_info,info
	.4byte	0x2dc
	.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	"conv.c"
	.ascii	"X:\\707976_EPBuoyPrototypeAndTesting\\dsPicCodes\\ISquaredCPrototype"
	.asciz	"\\ISquaredCPrototype.X"
	.4byte	.Ltext0
	.4byte	.Letext0
	.4byte	.Ldebug_line0
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.asciz	"signed char"
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.asciz	"int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x5
	.asciz	"long int"
	.uleb128 0x2
	.byte	0x8
	.byte	0x5
	.asciz	"long long int"
	.uleb128 0x2
	.byte	0x1
	.byte	0x8
	.asciz	"unsigned char"
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"unsigned int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x7
	.asciz	"long unsigned int"
	.uleb128 0x2
	.byte	0x8
	.byte	0x7
	.asciz	"long long unsigned int"
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"short unsigned int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x4
	.asciz	"float"
	.uleb128 0x2
	.byte	0x4
	.byte	0x4
	.asciz	"double"
	.uleb128 0x3
	.asciz	"fractional"
	.byte	0x2
	.byte	0x5c
	.4byte	0xc6
	.uleb128 0x4
	.byte	0x1
	.asciz	"ConvertIntToEngUnits"
	.byte	0x1
	.byte	0x4
	.byte	0x1
	.4byte	0x150
	.4byte	.LFB17
	.4byte	.LFE17
	.byte	0x1
	.byte	0x5e
	.4byte	0x1ca
	.uleb128 0x5
	.asciz	"x"
	.byte	0x1
	.byte	0x4
	.4byte	0xc6
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x5
	.asciz	"cnt"
	.byte	0x1
	.byte	0x4
	.4byte	0x1ca
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0x5
	.asciz	"eng"
	.byte	0x1
	.byte	0x4
	.4byte	0x1d5
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.byte	0x0
	.uleb128 0x6
	.byte	0x2
	.4byte	0x1d0
	.uleb128 0x7
	.4byte	0xc6
	.uleb128 0x6
	.byte	0x2
	.4byte	0x1db
	.uleb128 0x7
	.4byte	0x150
	.uleb128 0x4
	.byte	0x1
	.asciz	"ConvertEngUnitsToInt"
	.byte	0x1
	.byte	0x9
	.byte	0x1
	.4byte	0xc6
	.4byte	.LFB18
	.4byte	.LFE18
	.byte	0x1
	.byte	0x5e
	.4byte	0x235
	.uleb128 0x5
	.asciz	"x"
	.byte	0x1
	.byte	0x9
	.4byte	0x150
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x5
	.asciz	"cnt"
	.byte	0x1
	.byte	0x9
	.4byte	0x1ca
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.uleb128 0x5
	.asciz	"eng"
	.byte	0x1
	.byte	0x9
	.4byte	0x1d5
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.byte	0x0
	.uleb128 0x4
	.byte	0x1
	.asciz	"ConvertFractToEngUnits"
	.byte	0x1
	.byte	0xe
	.byte	0x1
	.4byte	0x150
	.4byte	.LFB19
	.4byte	.LFE19
	.byte	0x1
	.byte	0x5e
	.4byte	0x28c
	.uleb128 0x5
	.asciz	"x"
	.byte	0x1
	.byte	0xe
	.4byte	0x163
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x5
	.asciz	"cnt"
	.byte	0x1
	.byte	0xe
	.4byte	0x1ca
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0x5
	.asciz	"eng"
	.byte	0x1
	.byte	0xe
	.4byte	0x1d5
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.byte	0x0
	.uleb128 0x8
	.byte	0x1
	.asciz	"ConvertEngUnitsToFract"
	.byte	0x1
	.byte	0x13
	.byte	0x1
	.4byte	0x163
	.4byte	.LFB20
	.4byte	.LFE20
	.byte	0x1
	.byte	0x5e
	.uleb128 0x5
	.asciz	"x"
	.byte	0x1
	.byte	0x13
	.4byte	0x150
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x5
	.asciz	"cnt"
	.byte	0x1
	.byte	0x13
	.4byte	0x1ca
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.uleb128 0x5
	.asciz	"eng"
	.byte	0x1
	.byte	0x13
	.4byte	0x1d5
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.byte	0x0
	.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 0x16
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x4
	.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 0x5
	.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 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
	.uleb128 0x8
	.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
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,info
	.4byte	0x76
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x2e0
	.4byte	0x175
	.asciz	"ConvertIntToEngUnits"
	.4byte	0x1e0
	.asciz	"ConvertEngUnitsToInt"
	.4byte	0x235
	.asciz	"ConvertFractToEngUnits"
	.4byte	0x28c
	.asciz	"ConvertEngUnitsToFract"
	.4byte	0x0
	.section	.debug_pubtypes,info
	.4byte	0x1d
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x2e0
	.4byte	0x163
	.asciz	"fractional"
	.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
