	.file "X:\\707976_EPBuoyPrototypeAndTesting\\dsPicCodes\\powerconverter\\PowerConverter.X\\WindingCurrentLimits.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	_CurrentRateLimit	; export
	.type	_CurrentRateLimit,@function
_CurrentRateLimit:
.LFB19:
	.file 1 "WindingCurrentLimits.c"
	.loc 1 22 0
	.set ___PA___,1
	lnk	#4
.LCFI0:
	inc2	w14,w1
	mov	w0,[w1]
	.loc 1 28 0
	mov	_first_time.10724,w0
	cp0	w0
	.set ___BP___,0
	bra	z,.L2
	.loc 1 32 0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	mov	#35769,w0
	mov	#15931,w1
	rcall	_ConvertEngUnitsToFract
	mov	w0,_CurrentRateLimit_ctsperinterpt.10722
	.loc 1 33 0
	mov	_CurrentRateLimit_ctsperinterpt.10722,w0
	cp0	w0
	.set ___BP___,0
	bra	nz,.L3
	.loc 1 34 0
	mov	#1,w0
	mov	w0,_CurrentRateLimit_ctsperinterpt.10722
.L3:
	.loc 1 36 0
	clr	_first_time.10724
.L2:
	.loc 1 40 0
	mov	_local_TargetCurrent.10721,w0
	mov	w0,w1
	inc2	w14,w0
	mov	[w0],w0
	rcall	__Q15sub
	mov	w0,[w14]
	.loc 1 42 0
	mov	_CurrentRateLimit_ctsperinterpt.10722,w0
	cp0	w0
	.set ___BP___,0
	bra	le,.L4
	mov	[w14],w0
	rcall	__Q15abs
	mov	_CurrentRateLimit_ctsperinterpt.10722,w1
	sub	w0,w1,[w15]
	.set ___BP___,0
	bra	le,.L4
	.loc 1 43 0
	mov	[w14],w0
	cp0	w0
	.set ___BP___,0
	bra	le,.L5
	.loc 1 44 0
	mov	_CurrentRateLimit_ctsperinterpt.10722,w1
	mov	_local_TargetCurrent.10721,w0
	rcall	__Q15add
	mov	w0,_local_TargetCurrent.10721
	.loc 1 43 0
	bra	.L7
.L5:
	.loc 1 46 0
	mov	_CurrentRateLimit_ctsperinterpt.10722,w1
	mov	_local_TargetCurrent.10721,w0
	rcall	__Q15sub
	mov	w0,_local_TargetCurrent.10721
	.loc 1 43 0
	bra	.L7
.L4:
	.loc 1 49 0
	inc2	w14,w0
	mov	[w0],w1
	mov	w1,_local_TargetCurrent.10721
.L7:
	.loc 1 51 0
	mov	_local_TargetCurrent.10721,w0
	.loc 1 53 0
	ulnk	
	return	
	.set ___PA___,0
.LFE19:
	.size	_CurrentRateLimit, .-_CurrentRateLimit
	.align	2
	.global	_CurrentMinMax	; export
	.type	_CurrentMinMax,@function
_CurrentMinMax:
.LFB20:
	.loc 1 75 0
	.set ___PA___,1
	lnk	#66
.LCFI1:
	mov.d	w8,[w15++]
.LCFI2:
	mov.d	w10,[w15++]
.LCFI3:
	mov	w12,[w15++]
.LCFI4:
	mov	#62,w2
	add	w2,w14,w2
	mov	w0,[w2]
	mov	#64,w0
	add	w0,w14,w0
	mov	w1,[w0]
	.loc 1 76 0
	add	w14,#14,w1
	mov	#_C.1.13041,w2
	
	repeat	#8-1
	mov	[w2++],[w1++]
		
	.loc 1 77 0
	add	w14,#30,w1
	mov	#_C.2.13042,w2
	
	repeat	#8-1
	mov	[w2++],[w1++]
		
	.loc 1 78 0
	mov	#46,w1
	add	w14,w1,w1
	mov	#_C.3.13043,w2
	
	repeat	#8-1
	mov	[w2++],[w1++]
		
	.loc 1 95 0
	mov	_first_time.10738,w0
	cp0	w0
	.set ___BP___,0
	bra	z,.L9
	.loc 1 97 0
	clr	w1
	inc2	w14,w0
	mov	w1,[w0]
	bra	.L10
.L11:
	.loc 1 98 0
	inc2	w14,w0
	mov	[w0],w0
	sl	w0,#2,w0
	add	w14,#14,w1
	add	w1,w0,w0
	mov.d	[w0],w0
	mov	#_RPMs_eng,w3
	mov	#_RPMs_cnt,w2
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	mov	#_N_cnts.10732,w2
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w2,w0,w0
	mov	w1,[w0]
	.loc 1 99 0
	inc2	w14,w0
	mov	[w0],w0
	sl	w0,#2,w0
	add	w14,#30,w1
	add	w1,w0,w0
	mov.d	[w0],w0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	mov	#_MinCurrent_cnts.10733,w2
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w2,w0,w0
	mov	w1,[w0]
	.loc 1 100 0
	inc2	w14,w0
	mov	[w0],w0
	sl	w0,#2,w0
	mov	#46,w1
	add	w1,w14,w1
	add	w1,w0,w0
	mov.d	[w0],w0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	mov	#_MaxCurrent_cnts.10734,w2
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w2,w0,w0
	mov	w1,[w0]
	.loc 1 97 0
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w1
	inc2	w14,w0
	mov	w1,[w0]
.L10:
	inc2	w14,w0
	mov	[w0],w0
	sub	w0,#3,[w15]
	.set ___BP___,0
	bra	le,.L11
	.loc 1 102 0
	clr	w1
	inc2	w14,w0
	mov	w1,[w0]
	bra	.L12
.L13:
	.loc 1 103 0
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w0
	mov	#_MinCurrent_cnts.10733,w1
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w0
	mul.su	w0,#1,w2
	mov	#_MinCurrent_cnts.10733,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w0
	asr	w0,#15,w1
	sub	w2,w0,w0
	subb	w3,w1,w1
	sl	w1,#15,w4
	lsr	w0,#1,w5
	ior	w4,w5,w5
	sl	w0,#15,w4
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w0
	mov	#_N_cnts.10732,w1
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w2
	mov	#_N_cnts.10732,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w0
	sub	w2,w0,w0
	asr	w0,#15,w1
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___divsi3
	inc2	w14,w2
	mov	[w2],w2
	sl	w2,#2,w3
	mov	#_MinCurrentSlope.10735,w2
	add	w3,w2,w2
	mov.d	w0,[w2]
	.loc 1 104 0
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w0
	mov	#_MaxCurrent_cnts.10734,w1
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w0
	mul.su	w0,#1,w2
	mov	#_MaxCurrent_cnts.10734,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w0
	asr	w0,#15,w1
	sub	w2,w0,w0
	subb	w3,w1,w1
	sl	w1,#15,w4
	lsr	w0,#1,w5
	ior	w4,w5,w5
	sl	w0,#15,w4
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w0
	mov	#_N_cnts.10732,w1
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w2
	mov	#_N_cnts.10732,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w0
	sub	w2,w0,w0
	asr	w0,#15,w1
	mov.d	w0,w2
	mov.d	w4,w0
	rcall	___divsi3
	inc2	w14,w2
	mov	[w2],w2
	sl	w2,#2,w3
	mov	#_MaxCurrentSlope.10736,w2
	add	w3,w2,w2
	mov.d	w0,[w2]
	.loc 1 102 0
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w1
	inc2	w14,w0
	mov	w1,[w0]
.L12:
	inc2	w14,w0
	mov	[w0],w0
	sub	w0,#2,[w15]
	.set ___BP___,0
	bra	le,.L13
	.loc 1 106 0
	mul.uu	w0,#0,w0
	mov	w0,_MinCurrentSlope.10735+12
	mov	w1,_MinCurrentSlope.10735+12+2
	.loc 1 107 0
	mul.uu	w0,#0,w0
	mov	w0,_MaxCurrentSlope.10736+12
	mov	w1,_MaxCurrentSlope.10736+12+2
	.loc 1 109 0
	clr	_first_time.10738
.L9:
	.loc 1 113 0
	mov	#800,w0
	mov	w0,_SC_Range_Max
	.loc 1 114 0
	clr	_SC_Range_Min
	.loc 1 115 0
	mov	#100,w0
	mov	w0,_StopRange
	.loc 1 116 0
	mov	_MaxRPMAdjustment,w1
	mov	_StopRange,w0
	mov	w0,w2
	repeat	#__TARGET_DIVIDE_CYCLES
	div.sw	w1,w2
		
	mov	w0,_StopGain
	.loc 1 118 0
	clr	w1
	add	w14,#8,w0
	mov	w1,[w0]
	.loc 1 120 0
	mov	_status,w1
	mov	#1024,w0
	and	w1,w0,w0
	cp0	w0
	.set ___BP___,0
	bra	z,.L14
	mov	_status,w1
	mov	#2048,w0
	and	w1,w0,w0
	cp0	w0
	.set ___BP___,0
	bra	nz,.L14
	.loc 1 122 0
	mov	#62,w0
	add	w0,w14,w0
	mov	[w0],w0
	cp0	w0
	.set ___BP___,0
	bra	le,.L15
	mov	_SC_Range_Min,w1
	mov	_StopRange,w0
	add	w1,w0,w0
	mov	_SC_Range,w1
	sub	w0,w1,[w15]
	.set ___BP___,0
	bra	leu,.L15
	.loc 1 124 0
	mov	_SC_Range_Min,w1
	mov	_StopRange,w0
	add	w1,w0,w0
	mov	_SC_Range,w1
	sub	w0,w1,w1
	mov	_StopGain,w0
	mul.ss	w1,w0,w0
	mov	w0,w1
	add	w14,#8,w0
	mov	w1,[w0]
.L15:
	.loc 1 126 0
	mov	_MaxRPMAdjustment,w1
	add	w14,#8,w0
	mov	[w0],w0
	sub	w0,w1,[w15]
	.set ___BP___,0
	bra	le,.L16
	.loc 1 127 0
	add	w14,#8,w0
	mov	_MaxRPMAdjustment,w1
	mov	w1,[w0]
.L16:
	.loc 1 129 0
	mov	#62,w0
	add	w0,w14,w0
	mov	[w0],w0
	cp0	w0
	.set ___BP___,0
	bra	ge,.L17
	mov	_SC_Range_Max,w1
	mov	_StopRange,w0
	sub	w1,w0,w0
	mov	_SC_Range,w1
	sub	w0,w1,[w15]
	.set ___BP___,0
	bra	geu,.L17
	.loc 1 130 0
	mov	_SC_Range_Max,w1
	mov	_StopRange,w0
	sub	w1,w0,w0
	mov	_SC_Range,w1
	sub	w0,w1,w1
	mov	_StopGain,w0
	mul.ss	w1,w0,w0
	mov	w0,w1
	add	w14,#8,w0
	mov	w1,[w0]
.L17:
	.loc 1 131 0
	mov	_MaxRPMAdjustment,w0
	neg	w0,w0
	add	w14,#8,w1
	mov	[w1],w1
	sub	w0,w1,[w15]
	.set ___BP___,0
	bra	le,.L14
	.loc 1 132 0
	mov	_MaxRPMAdjustment,w0
	neg	w0,w1
	add	w14,#8,w0
	mov	w1,[w0]
.L14:
	.loc 1 136 0
	mov	#62,w0
	add	w0,w14,w0
	mov	[w0],w1
	add	w14,#8,w0
	mov	[w0],w0
	add	w1,w0,w0
	rcall	__Q15abs
	mov	w0,w1
	add	w14,#10,w0
	mov	w1,[w0]
	.loc 1 138 0
	mov	#_N_cnts.10732,w0
	add	w0,#6,w0
	mov	[w0],w1
	add	w14,#10,w0
	mov	[w0],w0
	sub	w1,w0,[w15]
	.set ___BP___,0
	bra	gt,.L18
	.loc 1 140 0
	mov	#_MinCurrent_cnts.10733,w1
	add	w14,#6,w0
	add	w1,#6,w1
	mov	[w1],[w0]
	.loc 1 141 0
	mov	#_MaxCurrent_cnts.10734,w1
	add	w14,#4,w0
	add	w1,#6,w1
	mov	[w1],[w0]
	bra	.L19
.L18:
	.loc 1 144 0
	clr	w1
	inc2	w14,w0
	mov	w1,[w0]
	bra	.L20
.L22:
	.loc 1 146 0
	mov	#_N_cnts.10732,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w1
	add	w14,#10,w0
	mov	[w0],w0
	sub	w1,w0,[w15]
	.set ___BP___,0
	bra	gt,.L21
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w0
	mov	#_N_cnts.10732,w1
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w1
	add	w14,#10,w0
	mov	[w0],w0
	sub	w1,w0,[w15]
	.set ___BP___,0
	bra	le,.L21
	.loc 1 148 0
	mov	#_MinCurrent_cnts.10733,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w12
	inc2	w14,w0
	mov	[w0],w0
	sl	w0,#2,w1
	mov	#_MinCurrentSlope.10735,w0
	add	w1,w0,w0
	mov.d	[w0],w2
	mov	#_N_cnts.10732,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w1
	add	w14,#10,w0
	mov	[w0],w0
	sub	w0,w1,w0
	asr	w0,#15,w1
	mul.ss	w3,w0,w4
	mov	w4,w4
	mul.ss	w1,w2,w6
	mov	w6,w5
	add	w4,w5,w4
	mul.uu	w2,w0,w0
	add	w4,w1,w4
	mov	w4,w1
	sl	w1,#1,w2
	lsr	w0,#15,w8
	ior	w2,w8,w8
	asr	w1,#15,w9
	mov	w8,w0
	add	w12,w0,w1
	add	w14,#6,w0
	mov	w1,[w0]
	.loc 1 149 0
	mov	#_MaxCurrent_cnts.10734,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w8
	inc2	w14,w0
	mov	[w0],w0
	sl	w0,#2,w1
	mov	#_MaxCurrentSlope.10736,w0
	add	w1,w0,w0
	mov.d	[w0],w2
	mov	#_N_cnts.10732,w1
	inc2	w14,w0
	mov	[w0],w0
	add	w0,w0,w0
	add	w1,w0,w0
	mov	[w0],w1
	add	w14,#10,w0
	mov	[w0],w0
	sub	w0,w1,w0
	asr	w0,#15,w1
	mul.ss	w3,w0,w4
	mov	w4,w4
	mul.ss	w1,w2,w6
	mov	w6,w5
	add	w4,w5,w4
	mul.uu	w2,w0,w0
	add	w4,w1,w4
	mov	w4,w1
	sl	w1,#1,w2
	lsr	w0,#15,w10
	ior	w2,w10,w10
	asr	w1,#15,w11
	mov	w10,w0
	add	w8,w0,w1
	add	w14,#4,w0
	mov	w1,[w0]
	.loc 1 150 0
	bra	.L19
.L21:
	.loc 1 144 0
	inc2	w14,w0
	mov	[w0],w0
	inc	w0,w1
	inc2	w14,w0
	mov	w1,[w0]
.L20:
	inc2	w14,w0
	mov	[w0],w0
	sub	w0,#2,[w15]
	.set ___BP___,0
	bra	le,.L22
.L19:
	.loc 1 154 0
	mov	#62,w0
	add	w0,w14,w0
	mov	[w0],w0
	cp0	w0
	.set ___BP___,0
	bra	ge,.L23
	.loc 1 156 0
	add	w14,#12,w0
	add	w14,#4,w1
	mov	[w1],[w0]
	.loc 1 157 0
	add	w14,#6,w0
	mov	[w0],w0
	rcall	__Q15neg
	mov	w0,w1
	add	w14,#4,w0
	mov	w1,[w0]
	.loc 1 158 0
	add	w14,#12,w0
	mov	[w0],w0
	rcall	__Q15neg
	mov	w0,w1
	add	w14,#6,w0
	mov	w1,[w0]
.L23:
	.loc 1 161 0
	mov	#64,w0
	add	w0,w14,w0
	mov	[w0],[w14]
	.loc 1 162 0
	mov	#64,w0
	add	w0,w14,w0
	mov	[w0],w1
	add	w14,#4,w0
	mov	[w0],w0
	sub	w1,w0,[w15]
	.set ___BP___,0
	bra	lt,.L24
	.loc 1 163 0
	add	w14,#4,w0
	mov	[w0],[w14]
.L24:
	.loc 1 164 0
	mov	#64,w0
	add	w0,w14,w0
	mov	[w0],w1
	add	w14,#6,w0
	mov	[w0],w0
	sub	w1,w0,[w15]
	.set ___BP___,0
	bra	gt,.L25
	.loc 1 165 0
	add	w14,#6,w0
	mov	[w0],[w14]
.L25:
	.loc 1 167 0
	mov	[w14],w0
	.loc 1 168 0
	mov	[--w15],w12
	mov.d	[--w15],w10
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE20:
	.size	_CurrentMinMax, .-_CurrentMinMax
	.section	.const,psv,page
.LC0:
	.asciz	"Ibig/Ismall = %d  %d \015\012"
.LC1:
	.asciz	"%f      %f    %f    %f   \015\012"
	.section	.text,code
	.align	2
	.global	_TestCurrentMinMax	; export
	.type	_TestCurrentMinMax,@function
_TestCurrentMinMax:
.LFB21:
	.loc 1 172 0
	.set ___PA___,1
	lnk	#262
.LCFI5:
	mov.d	w8,[w15++]
.LCFI6:
	mov.d	w10,[w15++]
.LCFI7:
	mov.d	w12,[w15++]
.LCFI8:
	.loc 1 175 0
	clr	w0
	mov	w0,[w14]
	.loc 1 178 0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	mov	#0,w0
	mov	#16908,w1
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	inc2	w14,w0
	mov	w1,[w0]
	.loc 1 179 0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	mov	#0,w0
	mov	#49676,w1
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	add	w14,#4,w0
	mov	w1,[w0]
	.loc 1 180 0
	add	w14,#6,w0
	add	w14,#4,w1
	mov	[w1],[w15++]
	inc2	w14,w1
	mov	[w1],[w15++]
	mov	#.LC0,w1
	mov	w1,[w15++]
.LCFI9:
	rcall	__sprintf_cdfFnopuxX
	sub	w15,#6,w15
	.loc 1 181 0
	add	w14,#6,w0
.LCFI10:
	rcall	_putsU1
	.loc 1 182 0
	mov	#32767,w1
	inc2	w14,w0
	mov	w1,[w0]
	.loc 1 183 0
	mov	#-32768,w1
	add	w14,#4,w0
	mov	w1,[w0]
	.loc 1 196 0
	mov	#-32768,w0
	mov	w0,[w14]
	bra	.L27
.L28:
	.loc 1 198 0
	add	w14,#4,w0
	mov	[w0],w1
	mov	[w14],w0
	rcall	_CurrentMinMax
	mov	#_Cal+4,w2
	mov	#_Cal,w1
	rcall	_ConvertFractToEngUnits
	mov.d	w0,w12
	clr	w1
	mov	[w14],w0
	rcall	_CurrentMinMax
	mov	#_Cal+4,w2
	mov	#_Cal,w1
	rcall	_ConvertFractToEngUnits
	mov.d	w0,w10
	inc2	w14,w0
	mov	[w0],w1
	mov	[w14],w0
	rcall	_CurrentMinMax
	mov	#_Cal+4,w2
	mov	#_Cal,w1
	rcall	_ConvertFractToEngUnits
	mov.d	w0,w8
	mov	#_RPMs_eng,w2
	mov	#_RPMs_cnt,w1
	mov	[w14],w0
	rcall	_ConvertFractToEngUnits
	add	w14,#6,w2
	mov.d	w12,[w15++]
	mov.d	w10,[w15++]
	mov.d	w8,[w15++]
	mov.d	w0,[w15++]
	mov	#.LC1,w0
	mov	w0,[w15++]
	mov	w2,w0
.LCFI11:
	rcall	__sprintf_cdfFnopuxX
	sub	w15,#18,w15
	.loc 1 204 0
	add	w14,#6,w0
.LCFI12:
	rcall	_putsU1
	.loc 1 196 0
	mov	#64,w1
	add	w1,[w14],[w14]
.L27:
	mov	#32703,w0
	mov	[w14],w1
	sub	w1,w0,[w15]
	.set ___BP___,0
	bra	le,.L28
	.loc 1 207 0
	mov.d	[--w15],w12
	mov.d	[--w15],w10
	mov.d	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE21:
	.size	_TestCurrentMinMax, .-_TestCurrentMinMax
	.section	.const,psv,page
.LC2:
	.asciz	"%f  "
.LC3:
	.asciz	"\015\012"
	.section	.text,code
	.align	2
	.global	_TestCurrentMinMaxWithStop	; export
	.type	_TestCurrentMinMaxWithStop,@function
_TestCurrentMinMaxWithStop:
.LFB22:
	.loc 1 209 0
	.set ___PA___,1
	lnk	#266
.LCFI13:
	mov	w8,[w15++]
.LCFI14:
	.loc 1 212 0
	clr	w0
	mov	w0,[w14]
	.loc 1 215 0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	mov	#0,w0
	mov	#16908,w1
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	add	w14,#6,w0
	mov	w1,[w0]
	.loc 1 216 0
	mov	#_Cal+4,w3
	mov	#_Cal,w2
	mov	#0,w0
	mov	#49676,w1
	rcall	_ConvertEngUnitsToFract
	mov	w0,w1
	add	w14,#8,w0
	mov	w1,[w0]
	.loc 1 219 0
	mov	#32767,w1
	add	w14,#6,w0
	mov	w1,[w0]
	.loc 1 220 0
	mov	#-32768,w1
	add	w14,#8,w0
	mov	w1,[w0]
	.loc 1 223 0
	mov	#_RPMs_eng,w3
	mov	#_RPMs_cnt,w2
	mov	#49152,w0
	mov	#17882,w1
	rcall	_ConvertEngUnitsToFract
	mov	w0,[w14]
	bra	.L30
.L34:
	.loc 1 225 0
	mov	#0,w0
	mov	#17060,w1
	inc2	w14,w2
	mov.d	w0,[w2]
	bra	.L31
.L33:
	.loc 1 227 0
	inc2	w14,w0
	mov	#0,w2
	mov	#16672,w3
	mov.d	[w0],w0
	rcall	___mulsf3
	rcall	___fixunssfsi
	mov	w0,w0
	mov	w0,_SC_Range
	.loc 1 228 0
	mov	#150,w0
	mov	w0,_SC_RangeCtr
	.loc 1 229 0
	bset.b	_status+1,#2
	.loc 1 230 0
	bclr.b	_status+1,#3
	.loc 1 231 0
	add	w14,#6,w0
	mov	[w0],w1
	mov	[w14],w0
	rcall	_CurrentMinMax
	mov	#_Cal+4,w2
	mov	#_Cal,w1
	rcall	_ConvertFractToEngUnits
	add	w14,#10,w2
	mov.d	w0,[w15++]
	mov	#.LC2,w0
	mov	w0,[w15++]
	mov	w2,w0
.LCFI15:
	rcall	__sprintf_cdfFnopuxX
	sub	w15,#6,w15
	.loc 1 234 0
	add	w14,#10,w0
.LCFI16:
	rcall	_putsU1
	.loc 1 225 0
	inc2	w14,w0
	mov	#0,w2
	mov	#16000,w3
	mov.d	[w0],w0
	rcall	___subsf3
	inc2	w14,w2
	mov.d	w0,[w2]
.L31:
	mov.b	#1,w8
	inc2	w14,w0
	mov	#0,w2
	mov	#49152,w3
	mov.d	[w0],w0
	rcall	___gtsf2
	cp0	w0
	.set ___BP___,0
	bra	gt,.L32
	clr.b	w8
.L32:
	cp0.b	w8
	.set ___BP___,0
	bra	nz,.L33
	.loc 1 236 0
	add	w14,#10,w0
	mov	#3,w2
	mov	#.LC3,w1
	rcall	_memcpy
	add	w14,#10,w0
	rcall	_putsU1
	.loc 1 223 0
	mov	#_RPMs_eng,w3
	mov	#_RPMs_cnt,w2
	mov	#0,w0
	mov	#17096,w1
	rcall	_ConvertEngUnitsToFract
	subr	w0,[w14],[w14]
.L30:
	mov	#_RPMs_eng,w3
	mov	#_RPMs_cnt,w2
	mul.uu	w0,#0,w0
		
	rcall	_ConvertEngUnitsToFract
	sub	w0,[w14],[w15]
	.set ___BP___,0
	bra	le,.L34
	.loc 1 239 0
	mov	[--w15],w8
	ulnk	
	return	
	.set ___PA___,0
.LFE22:
	.size	_TestCurrentMinMaxWithStop, .-_TestCurrentMinMaxWithStop
	.section	.const,psv,page
	.align	2
	.type	_C.1.13041,@object
	.size	_C.1.13041, 16
_C.1.13041:
	.long	0
	.long	1140457472
	.long	1167867904
	.long	1169915904
	.align	2
	.type	_C.2.13042,@object
	.size	_C.2.13042, 16
_C.2.13042:
	.long	-1039400960
	.long	-1039400960
	.long	-1039400960
	.long	-1039400960
	.align	2
	.type	_C.3.13043,@object
	.size	_C.3.13043, 16
_C.3.13043:
	.long	1108082688
	.long	1108082688
	.long	1108082688
	.long	-1039400960
	.section	.ndata,data,near
	.align	2
	.type	_first_time.10738,@object
	.size	_first_time.10738, 2
_first_time.10738:
	.word	1
	.section	.nbss,bss,near
	.align	2
	.type	_N_cnts.10732,@object
	.size	_N_cnts.10732, 8
_N_cnts.10732:
	.skip	8
	.align	2
	.type	_MinCurrent_cnts.10733,@object
	.size	_MinCurrent_cnts.10733, 8
_MinCurrent_cnts.10733:
	.skip	8
	.align	2
	.type	_MaxCurrent_cnts.10734,@object
	.size	_MaxCurrent_cnts.10734, 8
_MaxCurrent_cnts.10734:
	.skip	8
	.section	.bss,bss
	.align	2
	.type	_MinCurrentSlope.10735,@object
	.size	_MinCurrentSlope.10735, 16
_MinCurrentSlope.10735:
	.skip	16
	.align	2
	.type	_MaxCurrentSlope.10736,@object
	.size	_MaxCurrentSlope.10736, 16
_MaxCurrentSlope.10736:
	.skip	16
	.section	.ndata,data,near
	.align	2
	.type	_first_time.10724,@object
	.size	_first_time.10724, 2
_first_time.10724:
	.word	1
	.section	.nbss,bss,near
	.align	2
	.type	_CurrentRateLimit_ctsperinterpt.10722,@object
	.size	_CurrentRateLimit_ctsperinterpt.10722, 2
_CurrentRateLimit_ctsperinterpt.10722:
	.skip	2
	.align	2
	.type	_local_TargetCurrent.10721,@object
	.size	_local_TargetCurrent.10721, 2
_local_TargetCurrent.10721:
	.skip	2
	.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	.LFB19
	.4byte	.LFE19-.LFB19
	.byte	0x4
	.4byte	.LCFI0-.LFB19
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.align	4
.LEFDE0:
.LSFDE2:
	.4byte	.LEFDE2-.LASFDE2
.LASFDE2:
	.4byte	.Lframe0
	.4byte	.LFB20
	.4byte	.LFE20-.LFB20
	.byte	0x4
	.4byte	.LCFI1-.LFB20
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI4-.LCFI1
	.byte	0x8c
	.uleb128 0x28
	.byte	0x8a
	.uleb128 0x26
	.byte	0x88
	.uleb128 0x24
	.align	4
.LEFDE2:
.LSFDE4:
	.4byte	.LEFDE4-.LASFDE4
.LASFDE4:
	.4byte	.Lframe0
	.4byte	.LFB21
	.4byte	.LFE21-.LFB21
	.byte	0x4
	.4byte	.LCFI5-.LFB21
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI8-.LCFI5
	.byte	0x8c
	.uleb128 0x8a
	.byte	0x8a
	.uleb128 0x88
	.byte	0x88
	.uleb128 0x86
	.byte	0x4
	.4byte	.LCFI9-.LCFI8
	.byte	0x2e
	.uleb128 0x6
	.byte	0x4
	.4byte	.LCFI10-.LCFI9
	.byte	0x2e
	.uleb128 0x0
	.byte	0x4
	.4byte	.LCFI11-.LCFI10
	.byte	0x2e
	.uleb128 0x12
	.byte	0x4
	.4byte	.LCFI12-.LCFI11
	.byte	0x2e
	.uleb128 0x0
	.align	4
.LEFDE4:
.LSFDE6:
	.4byte	.LEFDE6-.LASFDE6
.LASFDE6:
	.4byte	.Lframe0
	.4byte	.LFB22
	.4byte	.LFE22-.LFB22
	.byte	0x4
	.4byte	.LCFI13-.LFB22
	.byte	0x12
	.uleb128 0xe
	.sleb128 -3
	.byte	0x8e
	.uleb128 0x2
	.byte	0x4
	.4byte	.LCFI14-.LCFI13
	.byte	0x88
	.uleb128 0x88
	.byte	0x4
	.4byte	.LCFI15-.LCFI14
	.byte	0x2e
	.uleb128 0x6
	.byte	0x4
	.4byte	.LCFI16-.LCFI15
	.byte	0x2e
	.uleb128 0x0
	.align	4
.LEFDE6:
	.section	.text,code
.Letext0:
	.file 2 "types.h"
	.file 3 "c:\\program files\\microchip\\xc16\\v2.00\\bin\\bin\\../..\\support\\generic\\h/dsp.h"
	.file 4 "extern.h"
	.file 5 "CalibrationConstants.h"
	.section	.debug_info,info
	.4byte	0x99f
	.2byte	0x2
	.4byte	.Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.asciz	"GNU C 4.5.1 (XC16, Microchip v2.00) (A) Build date: Jan 24 2022"
	.byte	0x1
	.asciz	"WindingCurrentLimits.c"
	.ascii	"X:\\707976_EPBuoyPrototypeAndTesting\\dsPicCodes\\powerconverter\\Po"
	.asciz	"werConverter.X"
	.4byte	.Ltext0
	.4byte	.Letext0
	.4byte	.Ldebug_line0
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"short unsigned int"
	.uleb128 0x2
	.byte	0x2
	.byte	0x7
	.asciz	"unsigned int"
	.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	0x6
	.asciz	"signed char"
	.uleb128 0x2
	.byte	0x1
	.byte	0x8
	.asciz	"unsigned char"
	.uleb128 0x2
	.byte	0x4
	.byte	0x7
	.asciz	"long unsigned int"
	.uleb128 0x2
	.byte	0x8
	.byte	0x7
	.asciz	"long long unsigned int"
	.uleb128 0x2
	.byte	0x4
	.byte	0x4
	.asciz	"float"
	.uleb128 0x2
	.byte	0x4
	.byte	0x4
	.asciz	"double"
	.uleb128 0x3
	.asciz	"fractional"
	.byte	0x3
	.byte	0x5c
	.4byte	0xe5
	.uleb128 0x2
	.byte	0x1
	.byte	0x6
	.asciz	"char"
	.uleb128 0x2
	.byte	0x2
	.byte	0x5
	.asciz	"short int"
	.uleb128 0x4
	.asciz	"PowerConverterStatusBits"
	.byte	0x2
	.byte	0x2
	.byte	0x32
	.4byte	0x2fb
	.uleb128 0x5
	.asciz	"Mode"
	.byte	0x2
	.byte	0x33
	.4byte	0xd5
	.byte	0x2
	.byte	0x2
	.byte	0xe
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"TorqueCmdLimited"
	.byte	0x2
	.byte	0x34
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0xd
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"BattSwitchRequest"
	.byte	0x2
	.byte	0x35
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0xc
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"BattSwitchSetting"
	.byte	0x2
	.byte	0x36
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0xb
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"SlowSwitchSetting"
	.byte	0x2
	.byte	0x37
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0xa
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"EXT_Voltage_Detect"
	.byte	0x2
	.byte	0x38
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0x9
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"GainScheduleMode"
	.byte	0x2
	.byte	0x39
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0x8
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"OverCurrentShutdown"
	.byte	0x2
	.byte	0x3a
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0x7
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"OverVoltageShutdown"
	.byte	0x2
	.byte	0x3b
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0x6
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"SpringRangeValid"
	.byte	0x2
	.byte	0x3c
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0x5
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x5
	.asciz	"PermissiveMode"
	.byte	0x2
	.byte	0x3d
	.4byte	0xd5
	.byte	0x2
	.byte	0x1
	.byte	0x4
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.byte	0x0
	.uleb128 0x6
	.byte	0x2
	.byte	0x2
	.byte	0x41
	.4byte	0x321
	.uleb128 0x7
	.asciz	"word"
	.byte	0x2
	.byte	0x43
	.4byte	0xd5
	.uleb128 0x7
	.asciz	"bitfields"
	.byte	0x2
	.byte	0x44
	.4byte	0x192
	.byte	0x0
	.uleb128 0x3
	.asciz	"POWER_CONVERTER_STATUS"
	.byte	0x2
	.byte	0x45
	.4byte	0x2fb
	.uleb128 0x4
	.asciz	"tagCalibrationConstants"
	.byte	0x46
	.byte	0x2
	.byte	0x5c
	.4byte	0x49b
	.uleb128 0x8
	.asciz	"IWind_cnt"
	.byte	0x2
	.byte	0x5e
	.4byte	0x49b
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x8
	.asciz	"IWind_eng"
	.byte	0x2
	.byte	0x5f
	.4byte	0x4ab
	.byte	0x2
	.byte	0x23
	.uleb128 0x4
	.uleb128 0x8
	.asciz	"VBus_cnt"
	.byte	0x2
	.byte	0x61
	.4byte	0x49b
	.byte	0x2
	.byte	0x23
	.uleb128 0xc
	.uleb128 0x8
	.asciz	"VBus_eng"
	.byte	0x2
	.byte	0x62
	.4byte	0x4ab
	.byte	0x2
	.byte	0x23
	.uleb128 0x10
	.uleb128 0x8
	.asciz	"IBatt_cnt"
	.byte	0x2
	.byte	0x64
	.4byte	0x49b
	.byte	0x2
	.byte	0x23
	.uleb128 0x18
	.uleb128 0x8
	.asciz	"IBatt_eng"
	.byte	0x2
	.byte	0x65
	.4byte	0x4ab
	.byte	0x2
	.byte	0x23
	.uleb128 0x1c
	.uleb128 0x8
	.asciz	"DiffPress_cnt"
	.byte	0x2
	.byte	0x67
	.4byte	0x49b
	.byte	0x2
	.byte	0x23
	.uleb128 0x24
	.uleb128 0x8
	.asciz	"DiffPress_eng"
	.byte	0x2
	.byte	0x68
	.4byte	0x4ab
	.byte	0x2
	.byte	0x23
	.uleb128 0x28
	.uleb128 0x8
	.asciz	"AuxTorque_cnt"
	.byte	0x2
	.byte	0x6a
	.4byte	0x49b
	.byte	0x2
	.byte	0x23
	.uleb128 0x30
	.uleb128 0x8
	.asciz	"AuxTorque_eng"
	.byte	0x2
	.byte	0x6b
	.4byte	0x4ab
	.byte	0x2
	.byte	0x23
	.uleb128 0x34
	.uleb128 0x8
	.asciz	"PhaseA_Offset_cnts"
	.byte	0x2
	.byte	0x6d
	.4byte	0xe5
	.byte	0x2
	.byte	0x23
	.uleb128 0x3c
	.uleb128 0x8
	.asciz	"PhaseB_Offset_cnts"
	.byte	0x2
	.byte	0x6e
	.4byte	0xe5
	.byte	0x2
	.byte	0x23
	.uleb128 0x3e
	.uleb128 0x8
	.asciz	"LoadDumpResistance"
	.byte	0x2
	.byte	0x70
	.4byte	0x158
	.byte	0x2
	.byte	0x23
	.uleb128 0x40
	.uleb128 0x8
	.asciz	"CRC"
	.byte	0x2
	.byte	0x72
	.4byte	0xd5
	.byte	0x2
	.byte	0x23
	.uleb128 0x44
	.byte	0x0
	.uleb128 0x9
	.4byte	0xe5
	.4byte	0x4ab
	.uleb128 0xa
	.4byte	0xd5
	.byte	0x1
	.byte	0x0
	.uleb128 0x9
	.4byte	0x158
	.4byte	0x4bb
	.uleb128 0xa
	.4byte	0xd5
	.byte	0x1
	.byte	0x0
	.uleb128 0x3
	.asciz	"CalibrationConstants"
	.byte	0x2
	.byte	0x74
	.4byte	0x33f
	.uleb128 0xb
	.byte	0x1
	.asciz	"CurrentRateLimit"
	.byte	0x1
	.byte	0x16
	.byte	0x1
	.4byte	0x16b
	.4byte	.LFB19
	.4byte	.LFE19
	.byte	0x1
	.byte	0x5e
	.4byte	0x591
	.uleb128 0xc
	.asciz	"current_cmd"
	.byte	0x1
	.byte	0x16
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0xd
	.asciz	"local_TargetCurrent"
	.byte	0x1
	.byte	0x17
	.4byte	0x16b
	.byte	0x5
	.byte	0x3
	.4byte	_local_TargetCurrent.10721
	.uleb128 0xd
	.asciz	"CurrentRateLimit_ctsperinterpt"
	.byte	0x1
	.byte	0x18
	.4byte	0x16b
	.byte	0x5
	.byte	0x3
	.4byte	_CurrentRateLimit_ctsperinterpt.10722
	.uleb128 0xd
	.asciz	"TargetCurrentDelta"
	.byte	0x1
	.byte	0x19
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0xe
	.4byte	.LASF0
	.byte	0x1
	.byte	0x1a
	.4byte	0xe5
	.byte	0x5
	.byte	0x3
	.4byte	_first_time.10724
	.byte	0x0
	.uleb128 0xb
	.byte	0x1
	.asciz	"CurrentMinMax"
	.byte	0x1
	.byte	0x4b
	.byte	0x1
	.4byte	0x16b
	.4byte	.LFB20
	.4byte	.LFE20
	.byte	0x1
	.byte	0x5e
	.4byte	0x736
	.uleb128 0xc
	.asciz	"f_N"
	.byte	0x1
	.byte	0x4b
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 62
	.uleb128 0xc
	.asciz	"locTargetCurrent"
	.byte	0x1
	.byte	0x4b
	.4byte	0x16b
	.byte	0x3
	.byte	0x7e
	.sleb128 64
	.uleb128 0xd
	.asciz	"N_Spec"
	.byte	0x1
	.byte	0x4c
	.4byte	0x746
	.byte	0x2
	.byte	0x7e
	.sleb128 14
	.uleb128 0xd
	.asciz	"MinCurrent_Spec"
	.byte	0x1
	.byte	0x4d
	.4byte	0x74b
	.byte	0x2
	.byte	0x7e
	.sleb128 30
	.uleb128 0xd
	.asciz	"MaxCurrent_Spec"
	.byte	0x1
	.byte	0x4e
	.4byte	0x750
	.byte	0x2
	.byte	0x7e
	.sleb128 46
	.uleb128 0xd
	.asciz	"N_cnts"
	.byte	0x1
	.byte	0x50
	.4byte	0x755
	.byte	0x5
	.byte	0x3
	.4byte	_N_cnts.10732
	.uleb128 0xd
	.asciz	"MinCurrent_cnts"
	.byte	0x1
	.byte	0x51
	.4byte	0x755
	.byte	0x5
	.byte	0x3
	.4byte	_MinCurrent_cnts.10733
	.uleb128 0xd
	.asciz	"MaxCurrent_cnts"
	.byte	0x1
	.byte	0x52
	.4byte	0x755
	.byte	0x5
	.byte	0x3
	.4byte	_MaxCurrent_cnts.10734
	.uleb128 0xd
	.asciz	"MinCurrentSlope"
	.byte	0x1
	.byte	0x54
	.4byte	0x765
	.byte	0x5
	.byte	0x3
	.4byte	_MinCurrentSlope.10735
	.uleb128 0xd
	.asciz	"MaxCurrentSlope"
	.byte	0x1
	.byte	0x55
	.4byte	0x765
	.byte	0x5
	.byte	0x3
	.4byte	_MaxCurrentSlope.10736
	.uleb128 0xd
	.asciz	"LimitedTargetCurrent"
	.byte	0x1
	.byte	0x57
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0xe
	.4byte	.LASF0
	.byte	0x1
	.byte	0x59
	.4byte	0xe5
	.byte	0x5
	.byte	0x3
	.4byte	_first_time.10738
	.uleb128 0xd
	.asciz	"i"
	.byte	0x1
	.byte	0x5a
	.4byte	0xe5
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0xd
	.asciz	"N"
	.byte	0x1
	.byte	0x5b
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 10
	.uleb128 0xd
	.asciz	"Imax"
	.byte	0x1
	.byte	0x5c
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.uleb128 0xd
	.asciz	"Imin"
	.byte	0x1
	.byte	0x5c
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.uleb128 0xd
	.asciz	"Itmp"
	.byte	0x1
	.byte	0x5c
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 12
	.uleb128 0xd
	.asciz	"N_adjust"
	.byte	0x1
	.byte	0x76
	.4byte	0xe5
	.byte	0x2
	.byte	0x7e
	.sleb128 8
	.byte	0x0
	.uleb128 0x9
	.4byte	0x158
	.4byte	0x746
	.uleb128 0xa
	.4byte	0xd5
	.byte	0x3
	.byte	0x0
	.uleb128 0xf
	.4byte	0x736
	.uleb128 0xf
	.4byte	0x736
	.uleb128 0xf
	.4byte	0x736
	.uleb128 0x9
	.4byte	0x16b
	.4byte	0x765
	.uleb128 0xa
	.4byte	0xd5
	.byte	0x3
	.byte	0x0
	.uleb128 0x9
	.4byte	0xec
	.4byte	0x775
	.uleb128 0xa
	.4byte	0xd5
	.byte	0x3
	.byte	0x0
	.uleb128 0x10
	.byte	0x1
	.asciz	"TestCurrentMinMax"
	.byte	0x1
	.byte	0xac
	.4byte	.LFB21
	.4byte	.LFE21
	.byte	0x1
	.byte	0x5e
	.4byte	0x7d4
	.uleb128 0xd
	.asciz	"Ibig"
	.byte	0x1
	.byte	0xae
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.uleb128 0xd
	.asciz	"Ismall"
	.byte	0x1
	.byte	0xae
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 4
	.uleb128 0xd
	.asciz	"f_N"
	.byte	0x1
	.byte	0xaf
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0xd
	.asciz	"s"
	.byte	0x1
	.byte	0xb0
	.4byte	0x7d4
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.byte	0x0
	.uleb128 0x9
	.4byte	0x17d
	.4byte	0x7e4
	.uleb128 0xa
	.4byte	0xd5
	.byte	0xff
	.byte	0x0
	.uleb128 0x10
	.byte	0x1
	.asciz	"TestCurrentMinMaxWithStop"
	.byte	0x1
	.byte	0xd1
	.4byte	.LFB22
	.4byte	.LFE22
	.byte	0x1
	.byte	0x5e
	.4byte	0x85b
	.uleb128 0xd
	.asciz	"Ibig"
	.byte	0x1
	.byte	0xd3
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 6
	.uleb128 0xd
	.asciz	"Ismall"
	.byte	0x1
	.byte	0xd3
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 8
	.uleb128 0xd
	.asciz	"f_N"
	.byte	0x1
	.byte	0xd4
	.4byte	0x16b
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0xd
	.asciz	"s"
	.byte	0x1
	.byte	0xd5
	.4byte	0x7d4
	.byte	0x2
	.byte	0x7e
	.sleb128 10
	.uleb128 0xd
	.asciz	"range"
	.byte	0x1
	.byte	0xde
	.4byte	0x158
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.byte	0x0
	.uleb128 0x11
	.asciz	"Cal"
	.byte	0x4
	.byte	0x12
	.4byte	0x4bb
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF1
	.byte	0x4
	.byte	0x24
	.4byte	0x875
	.byte	0x1
	.byte	0x1
	.uleb128 0x13
	.4byte	0xd5
	.uleb128 0x12
	.4byte	.LASF2
	.byte	0x4
	.byte	0x25
	.4byte	0x875
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF3
	.byte	0x4
	.byte	0x26
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x13
	.4byte	0xe5
	.uleb128 0x12
	.4byte	.LASF4
	.byte	0x4
	.byte	0x27
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF5
	.byte	0x4
	.byte	0x28
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF6
	.byte	0x4
	.byte	0x29
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF7
	.byte	0x4
	.byte	0x2a
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x11
	.asciz	"status"
	.byte	0x4
	.byte	0x93
	.4byte	0x8dd
	.byte	0x1
	.byte	0x1
	.uleb128 0x13
	.4byte	0x321
	.uleb128 0x12
	.4byte	.LASF8
	.byte	0x5
	.byte	0xc
	.4byte	0x8ef
	.byte	0x1
	.byte	0x1
	.uleb128 0xf
	.4byte	0x49b
	.uleb128 0x12
	.4byte	.LASF9
	.byte	0x5
	.byte	0xd
	.4byte	0x901
	.byte	0x1
	.byte	0x1
	.uleb128 0xf
	.4byte	0x4ab
	.uleb128 0x11
	.asciz	"Cal"
	.byte	0x4
	.byte	0x12
	.4byte	0x4bb
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF1
	.byte	0x4
	.byte	0x24
	.4byte	0x875
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF2
	.byte	0x4
	.byte	0x25
	.4byte	0x875
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF3
	.byte	0x4
	.byte	0x26
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF4
	.byte	0x4
	.byte	0x27
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF5
	.byte	0x4
	.byte	0x28
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF6
	.byte	0x4
	.byte	0x29
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF7
	.byte	0x4
	.byte	0x2a
	.4byte	0x894
	.byte	0x1
	.byte	0x1
	.uleb128 0x11
	.asciz	"status"
	.byte	0x4
	.byte	0x93
	.4byte	0x8dd
	.byte	0x1
	.byte	0x1
	.uleb128 0x12
	.4byte	.LASF8
	.byte	0x5
	.byte	0xc
	.4byte	0x98b
	.byte	0x1
	.byte	0x1
	.uleb128 0xf
	.4byte	0x49b
	.uleb128 0x12
	.4byte	.LASF9
	.byte	0x5
	.byte	0xd
	.4byte	0x99d
	.byte	0x1
	.byte	0x1
	.uleb128 0xf
	.4byte	0x4ab
	.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 0x13
	.byte	0x1
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x5
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0xd
	.uleb128 0xb
	.uleb128 0xc
	.uleb128 0xb
	.uleb128 0x38
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x6
	.uleb128 0x17
	.byte	0x1
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x7
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x8
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x38
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x9
	.uleb128 0x1
	.byte	0x1
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xa
	.uleb128 0x21
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2f
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.uleb128 0xb
	.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 0xc
	.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 0xd
	.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 0xe
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0xf
	.uleb128 0x26
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x10
	.uleb128 0x2e
	.byte	0x1
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x40
	.uleb128 0xa
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x11
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3c
	.uleb128 0xc
	.byte	0x0
	.byte	0x0
	.uleb128 0x12
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3c
	.uleb128 0xc
	.byte	0x0
	.byte	0x0
	.uleb128 0x13
	.uleb128 0x35
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,info
	.4byte	0x69
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x9a3
	.4byte	0x4d7
	.asciz	"CurrentRateLimit"
	.4byte	0x591
	.asciz	"CurrentMinMax"
	.4byte	0x775
	.asciz	"TestCurrentMinMax"
	.4byte	0x7e4
	.asciz	"TestCurrentMinMaxWithStop"
	.4byte	0x0
	.section	.debug_pubtypes,info
	.4byte	0x8a
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x9a3
	.4byte	0x16b
	.asciz	"fractional"
	.4byte	0x192
	.asciz	"PowerConverterStatusBits"
	.4byte	0x321
	.asciz	"POWER_CONVERTER_STATUS"
	.4byte	0x33f
	.asciz	"tagCalibrationConstants"
	.4byte	0x4bb
	.asciz	"CalibrationConstants"
	.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
.LASF7:
	.asciz	"MaxRPMAdjustment"
.LASF3:
	.asciz	"SC_Range_Max"
.LASF9:
	.asciz	"RPMs_eng"
.LASF8:
	.asciz	"RPMs_cnt"
.LASF1:
	.asciz	"SC_Range"
.LASF2:
	.asciz	"SC_RangeCtr"
.LASF0:
	.asciz	"first_time"
.LASF5:
	.asciz	"StopRange"
.LASF4:
	.asciz	"SC_Range_Min"
.LASF6:
	.asciz	"StopGain"
	.section	.text,code



	.section __c30_info, info, bss
__large_data_scalar:

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

; MCHP configuration words

	.set ___PA___,0
	.end
