	.file	"476395.c"
	.intel_syntax noprefix
	.text
	.globl	mystrcpy
	.type	mystrcpy, @function
mystrcpy:
.LFB0:
	.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	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	je	.L2
	cmp	QWORD PTR -32[rbp], 0
	jne	.L3
.L2:
	mov	eax, 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	nop
.L5:
	mov	rdx, QWORD PTR -32[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -8[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	mystrcpy, .-mystrcpy
	.globl	mymemcpy1
	.type	mymemcpy1, @function
mymemcpy1:
.LFB1:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	cmp	QWORD PTR -24[rbp], 0
	je	.L7
	cmp	QWORD PTR -32[rbp], 0
	jne	.L8
.L7:
	mov	eax, 0
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L10
.L11:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -16[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L10:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	test	rax, rax
	jne	.L11
	mov	rax, QWORD PTR -24[rbp]
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mymemcpy1, .-mymemcpy1
	.globl	mymemcpy2
	.type	mymemcpy2, @function
mymemcpy2:
.LFB2:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	cmp	QWORD PTR -24[rbp], 0
	je	.L13
	cmp	QWORD PTR -32[rbp], 0
	jne	.L14
.L13:
	mov	eax, 0
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jnb	.L16
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	cmp	QWORD PTR -24[rbp], rax
	jnb	.L16
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	jmp	.L17
.L18:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, -1[rdx]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, -1[rax]
	mov	QWORD PTR -16[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L17:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	test	rax, rax
	jne	.L18
	jmp	.L19
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L20
.L21:
	mov	rdx, QWORD PTR -8[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -16[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L20:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -40[rbp], rdx
	test	rax, rax
	jne	.L21
.L19:
	mov	rax, QWORD PTR -24[rbp]
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	mymemcpy2, .-mymemcpy2
	.section	.rodata
	.align 8
.LC0:
	.string	" end of memcpy(buf +2,buf,5), buf is :%s\n"
	.align 8
.LC1:
	.string	" end of memmove(buf1 +2,buf1,5), buf1 is :%s\n"
	.align 8
.LC2:
	.string	" end of mymemcpy1(buf2 +2,buf2,5), buf2 is :%s\n"
	.align 8
.LC3:
	.string	" end of mymemcpy2(buf3 +2,buf3,5), buf3 is :%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7523094288207667809
	mov	edx, 7039593
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	lea	rax, -80[rbp]
	add	rax, 2
	lea	rcx, -80[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	lea	rax, -64[rbp]
	add	rax, 2
	lea	rcx, -64[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	lea	rax, -48[rbp]
	add	rax, 2
	lea	rcx, -48[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	mymemcpy1
	lea	rax, -32[rbp]
	add	rax, 2
	lea	rcx, -32[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	mymemcpy2
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	main, .-main
	.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	"476395.c"
	.text
	.align	2
	.global	mystrcpy
	.syntax unified
	.arm
	.fpu softvfp
	.type	mystrcpy, %function
mystrcpy:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L3
.L2:
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	nop
.L5:
	ldr	r2, [fp, #-20]
	add	r3, r2, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-16]
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mystrcpy, .-mystrcpy
	.align	2
	.global	mymemcpy1
	.syntax unified
	.arm
	.fpu softvfp
	.type	mymemcpy1, %function
mymemcpy1:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L8
.L7:
	mov	r3, #0
	b	.L9
.L8:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r2, [fp, #-8]
	add	r3, r2, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L10:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-16]
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mymemcpy1, .-mymemcpy1
	.align	2
	.global	mymemcpy2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mymemcpy2, %function
mymemcpy2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L14
.L13:
	mov	r3, #0
	b	.L15
.L14:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bcs	.L16
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bcs	.L16
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L17
.L18:
	ldr	r2, [fp, #-8]
	sub	r3, r2, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r1, r3, #1
	str	r1, [fp, #-12]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L17:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L18
	b	.L19
.L16:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r2, [fp, #-8]
	add	r3, r2, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	str	r2, [fp, #-24]
	cmp	r3, #0
	bne	.L21
.L19:
	ldr	r3, [fp, #-16]
.L15:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mymemcpy2, .-mymemcpy2
	.section	.rodata
	.align	2
.LC1:
	.ascii	" end of memcpy(buf +2,buf,5), buf is :%s\012\000"
	.align	2
.LC2:
	.ascii	" end of memmove(buf1 +2,buf1,5), buf1 is :%s\012\000"
	.align	2
.LC3:
	.ascii	" end of mymemcpy1(buf2 +2,buf2,5), buf2 is :%s\012\000"
	.align	2
.LC4:
	.ascii	" end of mymemcpy2(buf3 +2,buf3,5), buf3 is :%s\012\000"
	.align	2
.LC0:
	.ascii	"abcdefghijk\000"
	.space	4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L25+4
	sub	r3, fp, #72
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r2, .L25+4
	sub	r3, fp, #56
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r2, .L25+4
	sub	r3, fp, #40
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r2, .L25+4
	sub	r3, fp, #24
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-12]
	sub	r3, fp, #72
	add	r3, r3, #2
	sub	r1, fp, #72
	mov	r2, #5
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #56
	add	r3, r3, #2
	sub	r1, fp, #56
	mov	r2, #5
	mov	r0, r3
	bl	memmove
	sub	r3, fp, #40
	add	r3, r3, #2
	sub	r1, fp, #40
	mov	r2, #5
	mov	r0, r3
	bl	mymemcpy1
	sub	r3, fp, #24
	add	r3, r3, #2
	sub	r1, fp, #24
	mov	r2, #5
	mov	r0, r3
	bl	mymemcpy2
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L25+8
	bl	printf
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L25+12
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L25+16
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L25+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
