	.file	"512301.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"replicate(\""
.LC1:
	.string	"\");\n\t"
	.text
	.globl	replicate
	.type	replicate, @function
replicate:
.LFB0:
	.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 588
	jle	.L3
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L11:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L5
	mov	edi, 92
	call	putchar@PLT
	mov	edi, 110
	call	putchar@PLT
	jmp	.L6
.L5:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L7
	mov	edi, 92
	call	putchar@PLT
	mov	edi, 116
	call	putchar@PLT
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	jne	.L8
	mov	edi, 92
	call	putchar@PLT
	mov	edi, 34
	call	putchar@PLT
	jmp	.L6
.L8:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 39
	jne	.L9
	mov	edi, 92
	call	putchar@PLT
	mov	edi, 39
	call	putchar@PLT
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	jne	.L10
	mov	edi, 92
	call	putchar@PLT
	mov	edi, 92
	call	putchar@PLT
	jmp	.L6
.L10:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L6:
	add	QWORD PTR -8[rbp], 1
.L4:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L11
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
.L12:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	replicate, .-replicate
	.section	.rodata
	.align 8
.LC2:
	.ascii	"#include <stdio.h>\n\nvoid replicate(char* s)\n{\n\tint i;\n"
	.ascii	"\tchar* t = s;\n\n\tfor (i = 0; i < 589; i++)\n\t\tputchar(*"
	.ascii	"s++);\n\n\tprintf(\"replicate(\\\"\");\n\n\twhile (*t != '\\"
	.ascii	"0') {\n\t\tif (*t == '\\n') {\n\t\t\tputchar('\\\\');\n\t\t\t"
	.ascii	"putchar('n');\n\t\t}\n\t\telse if (*t == '\\t') {\n\t\t\tput"
	.ascii	"char('\\\\');\n\t\t\tputchar('t');\n\t\t}\n\t\telse if (*t ="
	.ascii	"= '\"') {\n\t\t\tputchar('\\\\');\n\t\t\tputchar('\"');\n"
	.string	"\t\t}\n\t\telse if (*t == '\\'') {\n\t\t\tputchar('\\\\');\n\t\t\tputchar('\\'');\n\t\t}\n\t\telse if (*t == '\\\\') {\n\t\t\tputchar('\\\\');\n\t\t\tputchar('\\\\');\n\t\t}\n\t\telse\n\t\t\tputchar(*t);\n\n\t\tt++;\n\t}\n\n\tprintf(\"\\\");\\n\\t\");\n\n\twhile (*s != '\\0')\n\t\tputchar(*s++);\n}\n\nint main()\n{\n\treturn 0;\n}"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC2[rip]
	call	replicate
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"512301.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"replicate(\"\000"
	.align	2
.LC1:
	.ascii	"\");\012\011\000"
	.text
	.align	2
	.global	replicate
	.syntax unified
	.arm
	.fpu softvfp
	.type	replicate, %function
replicate:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #588
	ble	.L3
	ldr	r0, .L14
	bl	printf
	b	.L4
.L11:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L5
	mov	r0, #92
	bl	putchar
	mov	r0, #110
	bl	putchar
	b	.L6
.L5:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L7
	mov	r0, #92
	bl	putchar
	mov	r0, #116
	bl	putchar
	b	.L6
.L7:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	bne	.L8
	mov	r0, #92
	bl	putchar
	mov	r0, #34
	bl	putchar
	b	.L6
.L8:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L9
	mov	r0, #92
	bl	putchar
	mov	r0, #39
	bl	putchar
	b	.L6
.L9:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	bne	.L10
	mov	r0, #92
	bl	putchar
	mov	r0, #92
	bl	putchar
	b	.L6
.L10:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L14+4
	bl	printf
	b	.L12
.L13:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
.L12:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	.LC1
	.size	replicate, .-replicate
	.section	.rodata
	.align	2
.LC2:
	.ascii	"#include <stdio.h>\012\012void replicate(char* s)\012"
	.ascii	"{\012\011int i;\012\011char* t = s;\012\012\011for "
	.ascii	"(i = 0; i < 589; i++)\012\011\011putchar(*s++);\012"
	.ascii	"\012\011printf(\"replicate(\\\"\");\012\012\011whil"
	.ascii	"e (*t != '\\0') {\012\011\011if (*t == '\\n') {\012"
	.ascii	"\011\011\011putchar('\\\\');\012\011\011\011putchar"
	.ascii	"('n');\012\011\011}\012\011\011else if (*t == '\\t'"
	.ascii	") {\012\011\011\011putchar('\\\\');\012\011\011\011"
	.ascii	"putchar('t');\012\011\011}\012\011\011else if (*t ="
	.ascii	"= '\"') {\012\011\011\011putchar('\\\\');\012\011\011"
	.ascii	"\011putchar('\"');\012\011\011}\012\011\011else if "
	.ascii	"(*t == '\\'') {\012\011\011\011putchar('\\\\');\012"
	.ascii	"\011\011\011putchar('\\'');\012\011\011}\012\011\011"
	.ascii	"else if (*t == '\\\\') {\012\011\011\011putchar('\\"
	.ascii	"\\');\012\011\011\011putchar('\\\\');\012\011\011}\012"
	.ascii	"\011\011else\012\011\011\011putchar(*t);\012\012\011"
	.ascii	"\011t++;\012\011}\012\012\011printf(\"\\\");\\n\\t\""
	.ascii	");\012\012\011while (*s != '\\0')\012\011\011putcha"
	.ascii	"r(*s++);\012}\012\012int main()\012{\012\011return "
	.ascii	"0;\012}\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
	ldr	r0, .L18
	bl	replicate
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
