// fromClean7.c: contents copied and modified from cg.exe
//
// copy_string_to_graph2 :: !String !Int !GlobalDynamicInfoDummy -> (.a,!Int)
// copy_string_to_graph2 adr graph_i gdid
// 		= abort "copy_string_to_graph2"
//
// the code following this code should be the function copy_string_to_graph
// do a find on "graph2" replace by "graph__0x00010101"

	.data
	.align 4
	// module name
m__StdDynamic:
	.long	10
	.ascii	"StdDynamic"
	.byte	0,0
	
	// descriptor
	.long	m__StdDynamic
	.align	4
	.long	e____SystemDynamic__dcopy__string__to__graph__0x00010101+2
	.word	0
	.word	4
	.globl	e____SystemDynamic__dcopy__string__to__graph__0x00010101
e____SystemDynamic__dcopy__string__to__graph__0x00010101:
	.word	0
	.word	0
	.long	yet_args_needed_0
	.word	1
	.word	8
	.long	yet_args_needed_1
	.word	2
	.word	16
	.long	yet_args_needed_2
	.word	3
	.word	24
	.long	e____SystemDynamic__lcopy__string__to__graph__0x00010101
	.word	4
	.word	32
i_44:
l_13:
	.long	21
	.ascii	"copy_string_to_g"
	.ascii	"raph2"
	.byte	0,0,0
	
	// text
	
	.align	4
	
	.text
	.align 	4
e____SystemDynamic__lcopy__string__to__graph__0x00010101:
	movl	%ecx,(%esi)
	movl	8(%edx),%ecx
	movl	4(%ecx),%ebp
	movl	%ebp,4(%esi)
	movl	(%ecx),%ecx
	movl	4(%edx),%edx
	leal	8(%esi),%esi
	call	eacopy__string__to__graph__0x00010101_P16
	cmpl	end_heap,%edi
	jae	i_101
i_102:
	movl	$INT+2,(%edi)
	movl	%eax,4(%edi)
	movl	%edi,%eax
	movl	$__Tuple+18,8(%edi)
	movl	%ecx,12(%edi)
	movl	%eax,16(%edi)
	leal	8(%edi),%ecx
	addl	$20,%edi
	ret
i_101:
	call	collect_1
	jmp	i_102
i_103:
	call	collect_1
	jmp	i_104
	.align	4
	.long	e____SystemDynamic__dcopy__string__to__graph__0x00010101
	.long	4
	.globl	e____SystemDynamic__ncopy__string__to__graph__0x00010101
e____SystemDynamic__ncopy__string__to__graph__0x00010101:
	movl	16(%ecx),%ebp
	movl	%ebp,4(%esi)
	movl	12(%ecx),%ebp
	movl	%ebp,8(%esi)
	movl	%ecx,(%esi)
	movl	$__cycle__in__spine,(%ecx)
	movl	4(%ecx),%edx
	movl	8(%ecx),%ecx
	leal	12(%esi),%esi
	call	eacopy__string__to__graph__0x00010101_P16
	cmpl	end_heap,%edi
	jae	i_103
i_104:
	movl	$INT+2,(%edi)
	movl	%eax,4(%edi)
	movl	%edi,%eax
	movl	-4(%esi),%edx
	movl	$__Tuple+18,(%edx)
	movl	%ecx,4(%edx)
	movl	%eax,8(%edx)
	movl	%edx,%ecx
	addl	$8,%edi
	leal	-4(%esi),%esi
	ret
	.globl	e____SystemDynamic__scopy__string__to__graph__0x00010101
e____SystemDynamic__scopy__string__to__graph__0x00010101:
	movl	-4(%esi),%ebx
	movl	4(%ebx),%ebp
	movl	%ebp,-4(%esi)
	jmp	scopy__string__to__graph__0x00010101_P16
eacopy__string__to__graph__0x00010101_P16:
	movl	%ecx,(%esi)
	movl	%edx,%ecx
	movl	-8(%esi),%edx
	leal	4(%esi),%esi
	testb	$2,(%edx)
	jne	e_11
	movl	%ecx,(%esi)
	addl	$4,%esi
	movl	%edx,%ecx
	call	(%edx)
	movl	%ecx,%edx
	movl	-4(%esi),%ecx
	subl	$4,%esi
e_11:
	movl	-8(%esi),%edx
	testb	$2,(%edx)
	jne	e_12
	movl	%ecx,(%esi)
	addl	$4,%esi
	movl	%edx,%ecx
	call	(%edx)
	movl	%ecx,%edx
	movl	-4(%esi),%ecx
	subl	$4,%esi
e_12:
	movl	%ecx,%edx
	movl	-4(%esi),%ecx
	leal	-4(%esi),%esi
	testb	$2,(%ecx)
	jne	e_13
	movl	%edx,(%esi)
	addl	$4,%esi
	call	(%ecx)
	movl	-4(%esi),%edx
	subl	$4,%esi
e_13:
	testb	$2,(%edx)
	jne	e_14
	movl	%ecx,(%esi)
	addl	$4,%esi
	movl	%edx,%ecx
	call	(%edx)
	movl	%ecx,%edx
	movl	-4(%esi),%ecx
	subl	$4,%esi
e_14:
	movl	4(%ecx),%eax
	movl	4(%edx),%edx
	movl	-8(%esi),%ecx
	movl	4(%ecx),%ebp
	movl	%ebp,-8(%esi)
	movl	-4(%esi),%ecx
	movl	4(%ecx),%ecx
	leal	-4(%esi),%esi
scopy__string__to__graph__0x00010101_P16:

	