	.file	"263427.c"
	.intel_syntax noprefix
	.text
	.globl	buffer
	.bss
	.align 32
	.type	buffer, @object
	.size	buffer, 100
buffer:
	.zero	100
	.section	.rodata
.LC0:
	.string	"\nbuffer is:\n\t%s\n"
.LC1:
	.string	"After assignment, s is:\n\t%s\n"
	.align 8
.LC2:
	.string	"\nAfter modifying s, it is:\n\t%s\n"
.LC3:
	.string	"But buffer is:\n\t%s\n"
.LC4:
	.string	"\nTry again..."
	.align 8
.LC5:
	.string	"After modifying s, it is:\n\t%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movabs	r14, 7358993290422677103
	movabs	r15, 8318260062580928367
	mov	QWORD PTR buffer[rip], r14
	mov	QWORD PTR buffer[rip+8], r15
	movabs	rbx, 7959937949068848928
	mov	QWORD PTR buffer[rip+16], rbx
	mov	BYTE PTR buffer[rip+24], 0
	lea	rsi, buffer[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movabs	r12, 2841604750744366638
	movabs	r13, 2338042715740971123
	mov	QWORD PTR [rax], r12
	mov	QWORD PTR 8[rax], r13
	movabs	rcx, 7306353861976225381
	mov	QWORD PTR 16[rax], rcx
	mov	DWORD PTR 24[rax], 1868701806
	mov	WORD PTR 28[rax], 28274
	mov	BYTE PTR 30[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, buffer[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	QWORD PTR buffer[rip], r14
	mov	QWORD PTR buffer[rip+8], r15
	mov	QWORD PTR buffer[rip+16], rbx
	mov	BYTE PTR buffer[rip+24], 0
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, buffer[rip]
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], r12
	mov	QWORD PTR 8[rax], r13
	movabs	rcx, 7306353861976225381
	mov	QWORD PTR 16[rax], rcx
	mov	DWORD PTR 24[rax], 1868701806
	mov	WORD PTR 28[rax], 28274
	mov	BYTE PTR 30[rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, buffer[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -56[rbp], 0
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"263427.c"
	.text
	.comm	buffer,100,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"on the footsteps of dawn\000"
	.align	2
.LC1:
	.ascii	"\012buffer is:\012\011%s\012\000"
	.align	2
.LC2:
	.ascii	"After assignment, s is:\012\011%s\012\000"
	.align	2
.LC3:
	.ascii	"... who's never ever been born\000"
	.align	2
.LC4:
	.ascii	"\012After modifying s, it is:\012\011%s\012\000"
	.align	2
.LC5:
	.ascii	"But buffer is:\012\011%s\012\000"
	.align	2
.LC6:
	.ascii	"\012Try again...\000"
	.align	2
.LC7:
	.ascii	"After modifying s, it is:\012\011%s\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r2, .L3
	ldr	r3, .L3+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #25
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L3
	ldr	r0, .L3+8
	bl	printf
	ldr	r3, .L3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L3+12
	bl	printf
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L3+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #31
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-8]
	ldr	r0, .L3+20
	bl	printf
	ldr	r1, .L3
	ldr	r0, .L3+24
	bl	printf
	ldr	r0, .L3+28
	bl	puts
	ldr	r2, .L3
	ldr	r3, .L3+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #25
	mov	r2, r3
	bl	memcpy
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, .L3
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, .L3+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #31
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-8]
	ldr	r0, .L3+32
	bl	printf
	ldr	r1, .L3
	ldr	r0, .L3+24
	bl	printf
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	buffer
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
