	.file	"73574971.c"
	.intel_syntax noprefix
	.text
	.globl	create
	.type	create, @function
create:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	mov	BYTE PTR [rax], 0
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create, .-create
	.globl	length
	.type	length, @function
length:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rdi
	mov	rcx, rsi
	mov	rdx, rcx
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	length, .-length
	.globl	add
	.type	add, @function
add:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 99
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	add, .-add
	.globl	delete
	.type	delete, @function
delete:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L7
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jne	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jge	.L8
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L10
.L8:
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L11
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	delete, .-delete
	.globl	destroy
	.type	destroy, @function
destroy:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -8[rbp], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	destroy, .-destroy
	.section	.rodata
.LC0:
	.string	"UN"
.LC1:
	.string	"the_stack_data/73574971.c"
.LC2:
	.string	"ch.N == 3"
.LC3:
	.string	"DEUX"
.LC4:
	.string	"ch1.N == 5"
.LC5:
	.string	"ch1.str[4] = '\\0'"
	.text
	.globl	test_create
	.type	test_create, @function
test_create:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	create
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 3
	je	.L14
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 87
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L14:
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 85
	lea	rax, -32[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	create
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 5
	je	.L15
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 90
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L15:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	BYTE PTR [rax], 0
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 91
	lea	rsi, .LC1[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
	.cfi_endproc
.LFE11:
	.size	test_create, .-test_create
	.section	.rodata
.LC6:
	.string	"strlen(\"UN\")==length(ch)"
.LC7:
	.string	""
.LC8:
	.string	"length(ch)==strlen(\"\")"
	.text
	.globl	test_length
	.type	test_length, @function
test_length:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	create
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	cmp	eax, 2
	je	.L18
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 105
	lea	rsi, .LC1[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L18:
	lea	rax, -32[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	create
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	test	eax, eax
	je	.L19
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 107
	lea	rsi, .LC1[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L19:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	destroy
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	destroy
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	test_length, .-test_length
	.section	.rodata
.LC9:
	.string	"TROI"
.LC10:
	.string	"length(ch1) == 5"
.LC11:
	.string	"ch1.str[4] == 'S'"
.LC12:
	.string	"length(ch1) == 6"
.LC13:
	.string	"ch1.str[5] == '+'"
	.text
	.globl	test_add
	.type	test_add, @function
test_add:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	create
	lea	rax, -32[rbp]
	mov	esi, 83
	mov	rdi, rax
	call	add
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	cmp	eax, 5
	je	.L22
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 116
	lea	rsi, .LC1[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L22:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	cmp	al, 83
	je	.L23
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 117
	lea	rsi, .LC1[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L23:
	lea	rax, -32[rbp]
	mov	esi, 43
	mov	rdi, rax
	call	add
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	cmp	eax, 6
	je	.L24
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 119
	lea	rsi, .LC1[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L24:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	je	.L25
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 120
	lea	rsi, .LC1[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L25:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	destroy
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	test_add, .-test_add
	.section	.rodata
.LC14:
	.string	"TROIS"
.LC15:
	.string	"length(ch1) == 4"
.LC16:
	.string	"ch1.str[0] == 'R'"
.LC17:
	.string	"length(ch1) == 3"
.LC18:
	.string	"ch1.str[2] == 'S'"
.LC19:
	.string	"length(ch1) == 2"
.LC20:
	.string	"ch1.str[1] == 'O'"
.LC21:
	.string	"length(ch1) == 0"
	.text
	.globl	test_delete
	.type	test_delete, @function
test_delete:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -32[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	create
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	delete
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	cmp	eax, 4
	je	.L28
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 129
	lea	rsi, .LC1[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L28:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 82
	je	.L29
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 130
	lea	rsi, .LC1[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L29:
	lea	rax, -32[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	delete
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	cmp	eax, 3
	je	.L30
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 132
	lea	rsi, .LC1[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L30:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	cmp	al, 83
	je	.L31
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 133
	lea	rsi, .LC1[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L31:
	lea	rax, -32[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	delete
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	cmp	eax, 2
	je	.L32
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 135
	lea	rsi, .LC1[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L32:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 79
	je	.L33
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 136
	lea	rsi, .LC1[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L33:
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	delete
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	delete
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	rsi, rax
	call	length
	test	eax, eax
	je	.L34
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 139
	lea	rsi, .LC1[rip]
	lea	rdi, .LC21[rip]
	call	__assert_fail@PLT
.L34:
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	destroy
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	test_delete, .-test_delete
	.section	.rodata
.LC22:
	.string	"ch.str == NULL"
.LC23:
	.string	"ch1.str == NULL"
	.text
	.globl	test_destroy
	.type	test_destroy, @function
test_destroy:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -48[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	create
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	destroy
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	je	.L37
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 149
	lea	rsi, .LC1[rip]
	lea	rdi, .LC22[rip]
	call	__assert_fail@PLT
.L37:
	lea	rax, -32[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	create
	lea	rax, -32[rbp]
	mov	esi, 83
	mov	rdi, rax
	call	add
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	destroy
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	je	.L40
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 154
	lea	rsi, .LC1[rip]
	lea	rdi, .LC23[rip]
	call	__assert_fail@PLT
.L40:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	test_destroy, .-test_destroy
	.section	.rodata
	.align 8
.LC24:
	.string	"\n Bravo ! Tous les tests passent."
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	test_create
	mov	eax, 0
	call	test_length
	mov	eax, 0
	call	test_add
	mov	eax, 0
	call	test_delete
	mov	eax, 0
	call	test_destroy
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 12
__PRETTY_FUNCTION__.4:
	.string	"test_create"
	.align 8
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 12
__PRETTY_FUNCTION__.3:
	.string	"test_length"
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 9
__PRETTY_FUNCTION__.2:
	.string	"test_add"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 12
__PRETTY_FUNCTION__.1:
	.string	"test_delete"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 13
__PRETTY_FUNCTION__.0:
	.string	"test_destroy"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"73574971.c"
	.text
	.align	2
	.global	create
	.syntax unified
	.arm
	.fpu softvfp
	.type	create, %function
create:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-16]
	ldr	r4, [r3]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	create, .-create
	.align	2
	.global	length
	.syntax unified
	.arm
	.fpu softvfp
	.type	length, %function
length:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	sub	r3, fp, #12
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	length, .-length
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #4]
	add	r3, r3, r2
	mov	r2, #99
	strb	r2, [r3]
.L5:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	add, .-add
	.align	2
	.global	delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	delete, %function
delete:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L11:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L8
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L10
.L8:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	delete, .-delete
	.align	2
	.global	destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	destroy, %function
destroy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-8]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	destroy, .-destroy
	.section	.rodata
	.align	2
.LC0:
	.ascii	"UN\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/73574971.c\000"
	.align	2
.LC2:
	.ascii	"ch.N == 3\000"
	.align	2
.LC3:
	.ascii	"DEUX\000"
	.align	2
.LC4:
	.ascii	"ch1.N == 5\000"
	.align	2
.LC5:
	.ascii	"ch1.str[4] = '\\0'\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_create, %function
test_create:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	ldr	r1, .L17+4
	mov	r0, r3
	bl	create
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	beq	.L14
	ldr	r3, .L17+8
	mov	r2, #87
	ldr	r1, .L17+12
	ldr	r0, .L17+16
	bl	__assert_fail
.L14:
	ldr	r3, [fp, #-24]
	mov	r2, #85
	strb	r2, [r3]
	sub	r3, fp, #16
	ldr	r1, .L17+20
	mov	r0, r3
	bl	create
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	beq	.L15
	ldr	r3, .L17+8
	mov	r2, #90
	ldr	r1, .L17+12
	ldr	r0, .L17+24
	bl	__assert_fail
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L17+8
	mov	r2, #91
	ldr	r1, .L17+12
	ldr	r0, .L17+28
	bl	__assert_fail
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	.LC0
	.word	__PRETTY_FUNCTION__.5345
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	test_create, .-test_create
	.section	.rodata
	.align	2
.LC7:
	.ascii	"strlen(\"UN\")==length(ch)\000"
	.align	2
.LC8:
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"length(ch)==strlen(\"\")\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_length
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_length, %function
test_length:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	ldr	r1, .L23+4
	mov	r0, r3
	bl	create
	sub	r3, fp, #24
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #2
	beq	.L20
	ldr	r3, .L23+8
	mov	r2, #105
	ldr	r1, .L23+12
	ldr	r0, .L23+16
	bl	__assert_fail
.L20:
	sub	r3, fp, #16
	ldr	r1, .L23+20
	mov	r0, r3
	bl	create
	sub	r3, fp, #24
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L23+8
	mov	r2, #107
	ldr	r1, .L23+12
	ldr	r0, .L23+24
	bl	__assert_fail
.L21:
	sub	r3, fp, #24
	mov	r0, r3
	bl	destroy
	sub	r3, fp, #16
	mov	r0, r3
	bl	destroy
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC10
	.word	.LC0
	.word	__PRETTY_FUNCTION__.5350
	.word	.LC1
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	test_length, .-test_length
	.section	.rodata
	.align	2
.LC11:
	.ascii	"TROI\000"
	.align	2
.LC12:
	.ascii	"length(ch1) == 5\000"
	.align	2
.LC13:
	.ascii	"ch1.str[4] == 'S'\000"
	.align	2
.LC14:
	.ascii	"length(ch1) == 6\000"
	.align	2
.LC15:
	.ascii	"ch1.str[5] == '+'\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_add, %function
test_add:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	ldr	r1, .L31+4
	mov	r0, r3
	bl	create
	sub	r3, fp, #16
	mov	r1, #83
	mov	r0, r3
	bl	add
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #5
	beq	.L26
	ldr	r3, .L31+8
	mov	r2, #116
	ldr	r1, .L31+12
	ldr	r0, .L31+16
	bl	__assert_fail
.L26:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L27
	ldr	r3, .L31+8
	mov	r2, #117
	ldr	r1, .L31+12
	ldr	r0, .L31+20
	bl	__assert_fail
.L27:
	sub	r3, fp, #16
	mov	r1, #43
	mov	r0, r3
	bl	add
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #6
	beq	.L28
	ldr	r3, .L31+8
	mov	r2, #119
	ldr	r1, .L31+12
	ldr	r0, .L31+24
	bl	__assert_fail
.L28:
	ldr	r3, [fp, #-16]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L29
	ldr	r3, .L31+8
	mov	r2, #120
	ldr	r1, .L31+12
	ldr	r0, .L31+28
	bl	__assert_fail
.L29:
	sub	r3, fp, #16
	mov	r0, r3
	bl	destroy
	nop
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC16
	.word	.LC11
	.word	__PRETTY_FUNCTION__.5354
	.word	.LC1
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	test_add, .-test_add
	.section	.rodata
	.align	2
.LC17:
	.ascii	"TROIS\000"
	.align	2
.LC18:
	.ascii	"length(ch1) == 4\000"
	.align	2
.LC19:
	.ascii	"ch1.str[0] == 'R'\000"
	.align	2
.LC20:
	.ascii	"length(ch1) == 3\000"
	.align	2
.LC21:
	.ascii	"ch1.str[2] == 'S'\000"
	.align	2
.LC22:
	.ascii	"length(ch1) == 2\000"
	.align	2
.LC23:
	.ascii	"ch1.str[1] == 'O'\000"
	.align	2
.LC24:
	.ascii	"length(ch1) == 0\000"
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_delete, %function
test_delete:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	ldr	r1, .L42+4
	mov	r0, r3
	bl	create
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	delete
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #4
	beq	.L34
	ldr	r3, .L42+8
	mov	r2, #129
	ldr	r1, .L42+12
	ldr	r0, .L42+16
	bl	__assert_fail
.L34:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	beq	.L35
	ldr	r3, .L42+8
	mov	r2, #130
	ldr	r1, .L42+12
	ldr	r0, .L42+20
	bl	__assert_fail
.L35:
	sub	r3, fp, #16
	mov	r1, #2
	mov	r0, r3
	bl	delete
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #3
	beq	.L36
	ldr	r3, .L42+8
	mov	r2, #132
	ldr	r1, .L42+12
	ldr	r0, .L42+24
	bl	__assert_fail
.L36:
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L37
	ldr	r3, .L42+8
	mov	r2, #133
	ldr	r1, .L42+12
	ldr	r0, .L42+28
	bl	__assert_fail
.L37:
	sub	r3, fp, #16
	mov	r1, #2
	mov	r0, r3
	bl	delete
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #2
	beq	.L38
	ldr	r3, .L42+8
	mov	r2, #135
	ldr	r1, .L42+12
	ldr	r0, .L42+32
	bl	__assert_fail
.L38:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #79
	beq	.L39
	ldr	r3, .L42+8
	mov	r2, #136
	ldr	r1, .L42+12
	ldr	r0, .L42+36
	bl	__assert_fail
.L39:
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	delete
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	delete
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	bl	length
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L42+8
	mov	r2, #139
	ldr	r1, .L42+12
	ldr	r0, .L42+40
	bl	__assert_fail
.L40:
	sub	r3, fp, #16
	mov	r0, r3
	bl	destroy
	nop
	ldr	r3, .L42
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC25
	.word	.LC17
	.word	__PRETTY_FUNCTION__.5358
	.word	.LC1
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	test_delete, .-test_delete
	.section	.rodata
	.align	2
.LC26:
	.ascii	"ch.str == NULL\000"
	.align	2
.LC27:
	.ascii	"ch1.str == NULL\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_destroy
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_destroy, %function
test_destroy:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #24
	ldr	r1, .L49+4
	mov	r0, r3
	bl	create
	sub	r3, fp, #24
	mov	r0, r3
	bl	destroy
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L49+8
	mov	r2, #149
	ldr	r1, .L49+12
	ldr	r0, .L49+16
	bl	__assert_fail
.L45:
	sub	r3, fp, #16
	ldr	r1, .L49+20
	mov	r0, r3
	bl	create
	sub	r3, fp, #16
	mov	r1, #83
	mov	r0, r3
	bl	add
	sub	r3, fp, #16
	mov	r0, r3
	bl	destroy
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L48
	ldr	r3, .L49+8
	mov	r2, #154
	ldr	r1, .L49+12
	ldr	r0, .L49+24
	bl	__assert_fail
.L48:
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC28
	.word	.LC0
	.word	__PRETTY_FUNCTION__.5363
	.word	.LC1
	.word	.LC26
	.word	.LC11
	.word	.LC27
	.size	test_destroy, .-test_destroy
	.section	.rodata
	.align	2
.LC29:
	.ascii	"\012 Bravo ! Tous les tests passent.\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	test_create
	bl	test_length
	bl	test_add
	bl	test_delete
	bl	test_destroy
	ldr	r0, .L53
	bl	puts
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC29
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5345, %object
	.size	__PRETTY_FUNCTION__.5345, 12
__PRETTY_FUNCTION__.5345:
	.ascii	"test_create\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5350, %object
	.size	__PRETTY_FUNCTION__.5350, 12
__PRETTY_FUNCTION__.5350:
	.ascii	"test_length\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5354, %object
	.size	__PRETTY_FUNCTION__.5354, 9
__PRETTY_FUNCTION__.5354:
	.ascii	"test_add\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5358, %object
	.size	__PRETTY_FUNCTION__.5358, 12
__PRETTY_FUNCTION__.5358:
	.ascii	"test_delete\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5363, %object
	.size	__PRETTY_FUNCTION__.5363, 13
__PRETTY_FUNCTION__.5363:
	.ascii	"test_destroy\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
