	.file "D:\\Projects\\FOCE\\SensorNode\\SensorNode\\sensorNodeMain\\SensorNodeMainStandalone\\..\\buffer.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	_bufPut	; export
	.type	_bufPut,@function
_bufPut:
.LFB0:
.LSM0:
	.set ___PA___,1
	lnk	#4
	mov.b	w0,[w14]
	mov	w1,[w14+2]
.LSM1:
	mov	[w14+2],w0
	rcall	_bufIsFull
	mov	w0,w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	z,.L2
.LSM2:
	clr	w4
	bra	.L3
.L2:
.LSM3:
	mov	[w14+2],w4
	mov	[w4],w5
	mov	[w14+2],w4
	mov	[w4+2],w4
	add	w5,w4,w4
	mov.b	[w14],[w4]
.LSM4:
	mov	[w14+2],w4
	mov	[w4+2],w4
	inc	w4,w5
	mov	[w14+2],w4
	mov	[w4+6],w4
	and	w5,w4,w5
	mov	[w14+2],w4
	mov	w5,[w4+2]
.LSM5:
	mov	#1,w4
.L3:
.LSM6:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE0:
	.align	2
	.global	_bufGet	; export
	.type	_bufGet,@function
_bufGet:
.LFB1:
.LSM7:
	.set ___PA___,1
	lnk	#4
	mov	w0,[w14]
	mov	w1,[w14+2]
.LSM8:
	mov	[w14+2],w0
	rcall	_bufIsEmpty
	mov	w0,w4
	sub	w4,#0,[w15]
	.set ___BP___,0
	bra	z,.L5
.LSM9:
	mov	[w14],w5
	clr.b	w4
	mov.b	w4,[w5]
.LSM10:
	clr	w4
	bra	.L6
.L5:
.LSM11:
	mov	[w14+2],w4
	mov	[w4],w5
	mov	[w14+2],w4
	mov	[w4+4],w4
	add	w5,w4,w4
	mov.b	[w4],w4
	mov	[w14],w5
	mov.b	w4,[w5]
.LSM12:
	mov	[w14+2],w4
	mov	[w4+4],w4
	inc	w4,w5
	mov	[w14+2],w4
	mov	[w4+6],w4
	and	w5,w4,w5
	mov	[w14+2],w4
	mov	w5,[w4+4]
.LSM13:
	mov	#1,w4
.L6:
.LSM14:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE1:
	.align	2
	.global	_bufClear	; export
	.type	_bufClear,@function
_bufClear:
.LFB2:
.LSM15:
	.set ___PA___,1
	lnk	#2
	mov	w0,[w14]
.LSM16:
	mov	[w14],w4
	clr	w5
	mov	w5,[w4+4]
.LSM17:
	mov	[w14],w4
	clr	w5
	mov	w5,[w4+2]
.LSM18:
	ulnk	
	return	
	.set ___PA___,0
.LFE2:
	.align	2
	.global	_bufIsFull	; export
	.type	_bufIsFull,@function
_bufIsFull:
.LFB3:
.LSM19:
	.set ___PA___,1
	lnk	#2
	mov	w0,[w14]
.LSM20:
	mov	[w14],w4
	mov	[w4+2],w4
	inc	w4,w5
	mov	[w14],w4
	mov	[w4+6],w4
	and	w5,w4,w5
	mov	[w14],w4
	mov	[w4+4],w4
	sub	w5,w4,[w15]
	.set ___BP___,0
	bra	nz,.L9
.LSM21:
	mov	#1,w4
	bra	.L10
.L9:
.LSM22:
	clr	w4
.L10:
.LSM23:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE3:
	.align	2
	.global	_bufIsEmpty	; export
	.type	_bufIsEmpty,@function
_bufIsEmpty:
.LFB4:
.LSM24:
	.set ___PA___,1
	lnk	#2
	mov	w0,[w14]
.LSM25:
	mov	[w14],w4
	mov	[w4+4],w5
	mov	[w14],w4
	mov	[w4+2],w4
	sub	w5,w4,[w15]
	.set ___BP___,0
	bra	nz,.L12
.LSM26:
	mov	#1,w4
	bra	.L13
.L12:
.LSM27:
	clr	w4
.L13:
.LSM28:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE4:
	.align	2
	.global	_bufAvailable	; export
	.type	_bufAvailable,@function
_bufAvailable:
.LFB5:
.LSM29:
	.set ___PA___,1
	lnk	#2
	mov	w0,[w14]
.LSM30:
	mov	[w14],w4
	mov	[w4+2],w5
	mov	[w14],w4
	mov	[w4+4],w4
	sub	w5,w4,w5
	mov	[w14],w4
	mov	[w4+6],w4
	and	w5,w4,w4
.LSM31:
	mov	w4,w0
	ulnk	
	return	
	.set ___PA___,0
.LFE5:
	.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:
.LSFDE2:
	.4byte	.LEFDE2-.LASFDE2
.LASFDE2:
	.4byte	.Lframe0
	.4byte	.LFB1
	.4byte	.LFE1-.LFB1
	.align	4
.LEFDE2:
.LSFDE4:
	.4byte	.LEFDE4-.LASFDE4
.LASFDE4:
	.4byte	.Lframe0
	.4byte	.LFB2
	.4byte	.LFE2-.LFB2
	.align	4
.LEFDE4:
.LSFDE6:
	.4byte	.LEFDE6-.LASFDE6
.LASFDE6:
	.4byte	.Lframe0
	.4byte	.LFB3
	.4byte	.LFE3-.LFB3
	.align	4
.LEFDE6:
.LSFDE8:
	.4byte	.LEFDE8-.LASFDE8
.LASFDE8:
	.4byte	.Lframe0
	.4byte	.LFB4
	.4byte	.LFE4-.LFB4
	.align	4
.LEFDE8:
.LSFDE10:
	.4byte	.LEFDE10-.LASFDE10
.LASFDE10:
	.4byte	.Lframe0
	.4byte	.LFB5
	.4byte	.LFE5-.LFB5
	.align	4
.LEFDE10:
	.section	.text,code
.Letext0:
	.section	.debug_info,info
	.4byte	0x263
	.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	"../buffer.c"
	.ascii	"D:\\\\Projects\\\\FOCE\\\\SensorNode\\\\SensorNode\\\\sensorNodeMain"
	.asciz	"\\\\SensorNodeMainStandalone"
	.4byte	.Ltext0
	.4byte	.Letext0
	.4byte	.Ldebug_line0
	.uleb128 0x2
	.byte	0x8
	.byte	0x2
	.byte	0xb
	.4byte	0x103
	.uleb128 0x3
	.asciz	"data"
	.byte	0x2
	.byte	0xd
	.4byte	0x103
	.byte	0x2
	.byte	0x23
	.uleb128 0x0
	.uleb128 0x3
	.asciz	"head"
	.byte	0x2
	.byte	0xe
	.4byte	0x11a
	.byte	0x2
	.byte	0x23
	.uleb128 0x2
	.uleb128 0x3
	.asciz	"tail"
	.byte	0x2
	.byte	0xf
	.4byte	0x11a
	.byte	0x2
	.byte	0x23
	.uleb128 0x4
	.uleb128 0x3
	.asciz	"ptr_mask"
	.byte	0x2
	.byte	0x10
	.4byte	0x11a
	.byte	0x2
	.byte	0x23
	.uleb128 0x6
	.byte	0x0
	.uleb128 0x4
	.byte	0x2
	.4byte	0x109
	.uleb128 0x5
	.byte	0x1
	.byte	0x8
	.asciz	"unsigned char"
	.uleb128 0x5
	.byte	0x2
	.byte	0x5
	.asciz	"int"
	.uleb128 0x6
	.asciz	"ByteBuffer"
	.byte	0x2
	.byte	0x11
	.4byte	0xba
	.uleb128 0x7
	.byte	0x1
	.asciz	"bufPut"
	.byte	0x1
	.byte	0x12
	.byte	0x1
	.4byte	0x11a
	.4byte	.LFB0
	.4byte	.LFE0
	.byte	0x1
	.byte	0x5e
	.4byte	0x16c
	.uleb128 0x8
	.asciz	"b"
	.byte	0x1
	.byte	0x12
	.4byte	0x109
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x9
	.4byte	.LASF0
	.byte	0x1
	.byte	0x12
	.4byte	0x16c
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.byte	0x0
	.uleb128 0x4
	.byte	0x2
	.4byte	0x121
	.uleb128 0x7
	.byte	0x1
	.asciz	"bufGet"
	.byte	0x1
	.byte	0x20
	.byte	0x1
	.4byte	0x11a
	.4byte	.LFB1
	.4byte	.LFE1
	.byte	0x1
	.byte	0x5e
	.4byte	0x1ab
	.uleb128 0x8
	.asciz	"b"
	.byte	0x1
	.byte	0x20
	.4byte	0x103
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.uleb128 0x9
	.4byte	.LASF0
	.byte	0x1
	.byte	0x20
	.4byte	0x16c
	.byte	0x2
	.byte	0x7e
	.sleb128 2
	.byte	0x0
	.uleb128 0xa
	.byte	0x1
	.asciz	"bufClear"
	.byte	0x1
	.byte	0x2f
	.byte	0x1
	.4byte	.LFB2
	.4byte	.LFE2
	.byte	0x1
	.byte	0x5e
	.4byte	0x1d6
	.uleb128 0x9
	.4byte	.LASF0
	.byte	0x1
	.byte	0x2f
	.4byte	0x16c
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.byte	0x0
	.uleb128 0x7
	.byte	0x1
	.asciz	"bufIsFull"
	.byte	0x1
	.byte	0x35
	.byte	0x1
	.4byte	0x11a
	.4byte	.LFB3
	.4byte	.LFE3
	.byte	0x1
	.byte	0x5e
	.4byte	0x206
	.uleb128 0x9
	.4byte	.LASF0
	.byte	0x1
	.byte	0x35
	.4byte	0x16c
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.byte	0x0
	.uleb128 0x7
	.byte	0x1
	.asciz	"bufIsEmpty"
	.byte	0x1
	.byte	0x3d
	.byte	0x1
	.4byte	0x11a
	.4byte	.LFB4
	.4byte	.LFE4
	.byte	0x1
	.byte	0x5e
	.4byte	0x237
	.uleb128 0x9
	.4byte	.LASF0
	.byte	0x1
	.byte	0x3d
	.4byte	0x16c
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.byte	0x0
	.uleb128 0xb
	.byte	0x1
	.asciz	"bufAvailable"
	.byte	0x1
	.byte	0x45
	.byte	0x1
	.4byte	0x11a
	.4byte	.LFB5
	.4byte	.LFE5
	.byte	0x1
	.byte	0x5e
	.uleb128 0x9
	.4byte	.LASF0
	.byte	0x1
	.byte	0x45
	.4byte	0x16c
	.byte	0x2
	.byte	0x7e
	.sleb128 0
	.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 0x13
	.byte	0x1
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x1
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x3
	.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 0x4
	.uleb128 0xf
	.byte	0x0
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.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 0x16
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x7
	.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 0x8
	.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 0x9
	.uleb128 0x5
	.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 0xa
	.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 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x40
	.uleb128 0xa
	.uleb128 0x1
	.uleb128 0x13
	.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
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,info
	.4byte	0x5f
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x267
	.4byte	0x133
	.asciz	"bufPut"
	.4byte	0x172
	.asciz	"bufGet"
	.4byte	0x1ab
	.asciz	"bufClear"
	.4byte	0x1d6
	.asciz	"bufIsFull"
	.4byte	0x206
	.asciz	"bufIsEmpty"
	.4byte	0x237
	.asciz	"bufAvailable"
	.4byte	0x0
	.section	.debug_pubtypes,info
	.4byte	0x1d
	.2byte	0x2
	.4byte	.Ldebug_info0
	.4byte	0x267
	.4byte	0x121
	.asciz	"ByteBuffer"
	.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
	.ascii	".."
	.byte 0
	.byte	0x0
	.asciz	"buffer.c"
	.uleb128 0x1
	.uleb128 0x0
	.uleb128 0x0
	.asciz	"buffer.h"
	.uleb128 0x1
	.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	0x26
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM1
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM2
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM3
	.byte	0x18
	.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	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE0
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM7
	.byte	0x34
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM8
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM9
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM10
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM11
	.byte	0x18
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM12
	.byte	0x15
	.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	.LFE1
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM15
	.byte	0x43
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM16
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM17
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM18
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE2
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM19
	.byte	0x49
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM20
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM21
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM22
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM23
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE3
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM24
	.byte	0x51
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM25
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM26
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM27
	.byte	0x16
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM28
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE4
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM29
	.byte	0x59
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM30
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LSM31
	.byte	0x15
	.byte	0x0
	.uleb128 0x5
	.byte	0x2
	.4byte	.LFE5
	.byte	0x0
	.uleb128 0x1
	.byte	0x1
.LELT0:
	.section	.debug_str,info
.LASF0:
	.asciz	"buff"
	.section	.text,code

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

; MCHP configuration words

	.set ___PA___,0
	.end
