	format	MS COFF
	extrn	___bb_audio_audio
	extrn	___bb_basic_basic
	extrn	___bb_blitz_blitz
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_wavloader_wavloader
	extrn	_bbGCFree
	extrn	_bbIncbinAdd
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDtor
	extrn	_bbObjectFree
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbStringClass
	extrn	_brl_audio_LoadSound
	extrn	_brl_blitz_NullObjectError
	public	___bb_hardwire_sounds
	public	__bb_Sound_Click
	public	__bb_Sound_Delete
	public	__bb_Sound_Init
	public	__bb_Sound_New
	public	__bb_Sound_Path
	public	__bb_Sound_Pop
	public	__bb_Sound_Process
	public	__bb_Sound_clicksfx
	public	__bb_Sound_pathsfx
	public	__bb_Sound_play_click
	public	__bb_Sound_play_path
	public	__bb_Sound_play_pop
	public	__bb_Sound_popsfx
	public	_bb_Sound
	section	"code" code
___bb_hardwire_sounds:
	push	ebp
	mov	ebp,esp
	push	ebx
	cmp	dword [_67],0
	je	_68
	mov	eax,0
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_68:
	mov	dword [_67],1
	mov	eax,_58
	sub	eax,_57
	push	eax
	push	_57
	push	_56
	call	_bbIncbinAdd
	add	esp,12
	mov	eax,_61
	sub	eax,_60
	push	eax
	push	_60
	push	_59
	call	_bbIncbinAdd
	add	esp,12
	mov	eax,_64
	sub	eax,_63
	push	eax
	push	_63
	push	_62
	call	_bbIncbinAdd
	add	esp,12
	push	ebp
	push	_65
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_audio_audio
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_wavloader_wavloader
	call	___bb_basic_basic
	push	_49
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_51
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_52
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_53
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_54
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_55
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_Sound
	call	_bbObjectRegisterType
	add	esp,4
	mov	ebx,0
_31:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_70
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Sound
	push	ebp
	push	_69
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
_34:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_37:
	mov	dword [eax],_bbObjectClass
	push	eax
	call	_bbObjectDtor
	add	esp,4
	mov	eax,0
_73:
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_Init:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_92
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_74
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_18
	call	_brl_audio_LoadSound
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_Sound_popsfx]
	dec	dword [eax+4]
	jnz	_78
	push	eax
	call	_bbGCFree
	add	esp,4
_78:
	mov	dword [__bb_Sound_popsfx],ebx
	push	_79
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_19
	call	_brl_audio_LoadSound
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_Sound_clicksfx]
	dec	dword [eax+4]
	jnz	_83
	push	eax
	call	_bbGCFree
	add	esp,4
_83:
	mov	dword [__bb_Sound_clicksfx],ebx
	push	_84
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_20
	call	_brl_audio_LoadSound
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [__bb_Sound_pathsfx]
	dec	dword [eax+4]
	jnz	_88
	push	eax
	call	_bbGCFree
	add	esp,4
_88:
	mov	dword [__bb_Sound_pathsfx],ebx
	push	_89
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_pop],0
	push	_90
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_click],0
	push	_91
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_path],0
	mov	ebx,0
_39:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_Pop:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_94
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_93
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_pop],1
	mov	ebx,0
_41:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_Click:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_96
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_95
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_click],1
	mov	ebx,0
_43:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_Path:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_98
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_97
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_path],1
	mov	ebx,0
_45:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Sound_Process:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	ebp
	push	_120
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_99
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [__bb_Sound_play_pop],0
	je	_100
	push	ebp
	push	_104
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_101
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Sound_popsfx]
	cmp	ebx,_bbNullObject
	jne	_103
	call	_brl_blitz_NullObjectError
_103:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_100:
	push	_105
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [__bb_Sound_play_click],0
	je	_106
	push	ebp
	push	_110
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_107
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Sound_clicksfx]
	cmp	ebx,_bbNullObject
	jne	_109
	call	_brl_blitz_NullObjectError
_109:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_106:
	push	_111
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [__bb_Sound_play_path],0
	je	_112
	push	ebp
	push	_116
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_113
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [__bb_Sound_pathsfx]
	cmp	ebx,_bbNullObject
	jne	_115
	call	_brl_blitz_NullObjectError
_115:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_112:
	push	_117
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_pop],0
	push	_118
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_click],0
	push	_119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__bb_Sound_play_path],0
	mov	ebx,0
_47:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_67:
	dd	0
	align	4
_57:
	file	"E:/Src/BlitzMAX/Hardwire/SFX/pop.wav"
_58:
	align	4
_56:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,70,88,47,112,111,112,46,119,97,118
	align	4
_60:
	file	"E:/Src/BlitzMAX/Hardwire/SFX/click.wav"
_61:
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,70,88,47,99,108,105,99,107,46,119,97,118
	align	4
_63:
	file	"E:/Src/BlitzMAX/Hardwire/SFX/path.wav"
_64:
	align	4
_62:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	83,70,88,47,112,97,116,104,46,119,97,118
_66:
	db	"sounds",0
	align	4
_65:
	dd	1
	dd	_66
	dd	0
_50:
	db	"E:/Src/BlitzMAX/Hardwire/sounds.bmx",0
	align	4
_49:
	dd	_50
	dd	33
	dd	2
	align	4
__bb_Sound_popsfx:
	dd	_bbNullObject
	align	4
_51:
	dd	_50
	dd	34
	dd	2
	align	4
__bb_Sound_clicksfx:
	dd	_bbNullObject
	align	4
_52:
	dd	_50
	dd	35
	dd	2
	align	4
__bb_Sound_pathsfx:
	dd	_bbNullObject
	align	4
_53:
	dd	_50
	dd	37
	dd	2
	align	4
__bb_Sound_play_pop:
	dd	0
	align	4
_54:
	dd	_50
	dd	38
	dd	2
	align	4
__bb_Sound_play_click:
	dd	0
	align	4
_55:
	dd	_50
	dd	39
	dd	2
	align	4
__bb_Sound_play_path:
	dd	0
_22:
	db	"Sound",0
_23:
	db	"New",0
_24:
	db	"()i",0
_25:
	db	"Delete",0
_26:
	db	"Init",0
_27:
	db	"Pop",0
_28:
	db	"Click",0
_29:
	db	"Path",0
_30:
	db	"Process",0
	align	4
_21:
	dd	2
	dd	_22
	dd	6
	dd	_23
	dd	_24
	dd	16
	dd	6
	dd	_25
	dd	_24
	dd	20
	dd	7
	dd	_26
	dd	_24
	dd	48
	dd	7
	dd	_27
	dd	_24
	dd	52
	dd	7
	dd	_28
	dd	_24
	dd	56
	dd	7
	dd	_29
	dd	_24
	dd	60
	dd	7
	dd	_30
	dd	_24
	dd	64
	dd	0
	align	4
_bb_Sound:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_21
	dd	8
	dd	__bb_Sound_New
	dd	__bb_Sound_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Sound_Init
	dd	__bb_Sound_Pop
	dd	__bb_Sound_Click
	dd	__bb_Sound_Path
	dd	__bb_Sound_Process
_71:
	db	"Self",0
_72:
	db	":Sound",0
	align	4
_70:
	dd	1
	dd	_23
	dd	2
	dd	_71
	dd	_72
	dd	-4
	dd	0
	align	4
_69:
	dd	3
	dd	0
	dd	0
	align	4
_92:
	dd	1
	dd	_26
	dd	0
	align	4
_74:
	dd	_50
	dd	42
	dd	3
	align	4
_18:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	105,110,99,98,105,110,58,58,83,70,88,47,112,111,112,46
	dw	119,97,118
	align	4
_79:
	dd	_50
	dd	43
	dd	3
	align	4
_19:
	dd	_bbStringClass
	dd	2147483647
	dd	21
	dw	105,110,99,98,105,110,58,58,83,70,88,47,99,108,105,99
	dw	107,46,119,97,118
	align	4
_84:
	dd	_50
	dd	44
	dd	3
	align	4
_20:
	dd	_bbStringClass
	dd	2147483647
	dd	20
	dw	105,110,99,98,105,110,58,58,83,70,88,47,112,97,116,104
	dw	46,119,97,118
	align	4
_89:
	dd	_50
	dd	45
	dd	3
	align	4
_90:
	dd	_50
	dd	46
	dd	3
	align	4
_91:
	dd	_50
	dd	47
	dd	3
	align	4
_94:
	dd	1
	dd	_27
	dd	0
	align	4
_93:
	dd	_50
	dd	51
	dd	3
	align	4
_96:
	dd	1
	dd	_28
	dd	0
	align	4
_95:
	dd	_50
	dd	55
	dd	3
	align	4
_98:
	dd	1
	dd	_29
	dd	0
	align	4
_97:
	dd	_50
	dd	59
	dd	3
	align	4
_120:
	dd	1
	dd	_30
	dd	0
	align	4
_99:
	dd	_50
	dd	63
	dd	3
	align	4
_104:
	dd	3
	dd	0
	dd	0
	align	4
_101:
	dd	_50
	dd	63
	dd	20
	align	4
_105:
	dd	_50
	dd	64
	dd	3
	align	4
_110:
	dd	3
	dd	0
	dd	0
	align	4
_107:
	dd	_50
	dd	64
	dd	22
	align	4
_111:
	dd	_50
	dd	65
	dd	3
	align	4
_116:
	dd	3
	dd	0
	dd	0
	align	4
_113:
	dd	_50
	dd	65
	dd	21
	align	4
_117:
	dd	_50
	dd	66
	dd	3
	align	4
_118:
	dd	_50
	dd	67
	dd	3
	align	4
_119:
	dd	_50
	dd	68
	dd	3
