	.file	"597772.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/597772.c"
.LC1:
	.string	"d < lbuf + BUFFERSIZE"
	.text
	.globl	copy_it
	.type	copy_it, @function
copy_it:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -72[rbp], rax
	lea	rax, -48[rbp]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, -48[rbp]
	add	rax, 15
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	lea	rax, -48[rbp]
	mov	edx, 25
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L2
.L8:
	cmp	BYTE PTR -81[rbp], 60
	jne	.L3
	cmp	DWORD PTR -80[rbp], 0
	jne	.L3
	mov	DWORD PTR -80[rbp], 1
	sub	QWORD PTR -56[rbp], 1
.L3:
	cmp	BYTE PTR -81[rbp], 62
	jne	.L4
	cmp	DWORD PTR -80[rbp], 0
	je	.L4
	mov	DWORD PTR -80[rbp], 0
	add	QWORD PTR -56[rbp], 1
.L4:
	cmp	BYTE PTR -81[rbp], 40
	jne	.L5
	cmp	DWORD PTR -80[rbp], 0
	jne	.L5
	cmp	DWORD PTR -76[rbp], 0
	jne	.L5
	mov	DWORD PTR -76[rbp], 1
.L5:
	cmp	BYTE PTR -81[rbp], 41
	jne	.L6
	cmp	DWORD PTR -80[rbp], 0
	jne	.L6
	cmp	DWORD PTR -76[rbp], 0
	je	.L6
	mov	DWORD PTR -76[rbp], 0
	add	QWORD PTR -56[rbp], 1
.L6:
	mov	rax, QWORD PTR -64[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jnb	.L2
	lea	rax, -48[rbp]
	add	rax, 25
	cmp	QWORD PTR -64[rbp], rax
	jb	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 42
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L7:
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	movzx	edx, BYTE PTR -81[rbp]
	mov	BYTE PTR [rax], dl
.L2:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -81[rbp], al
	cmp	BYTE PTR -81[rbp], 0
	jne	.L8
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	copy_it, .-copy_it
	.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
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L11
.L12:
	call	getchar@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], dl
	add	DWORD PTR -52[rbp], 1
.L11:
	cmp	DWORD PTR -52[rbp], 29
	jle	.L12
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	copy_it
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 8
__PRETTY_FUNCTION__.0:
	.string	"copy_it"
	.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	"597772.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/597772.c\000"
	.align	2
.LC1:
	.ascii	"d < lbuf + BUFFERSIZE\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	copy_it
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_it, %function
copy_it:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-56]
	sub	r3, fp, #36
	str	r3, [fp, #-52]
	sub	r3, fp, #36
	add	r3, r3, #15
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	mov	r2, #25
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L2
.L8:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #60
	bne	.L3
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L3
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
.L3:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L4
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L4
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L4:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #40
	bne	.L5
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L5
	mov	r3, #1
	str	r3, [fp, #-40]
.L5:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #41
	bne	.L6
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L6
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L6:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcs	.L2
	sub	r3, fp, #36
	add	r3, r3, #25
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bcc	.L7
	ldr	r3, .L10+4
	mov	r2, #42
	ldr	r1, .L10+8
	ldr	r0, .L10+12
	bl	__assert_fail
.L7:
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldrb	r2, [fp, #-57]
	strb	r2, [r3]
.L2:
	ldr	r3, [fp, #-56]
	add	r2, r3, #1
	str	r2, [fp, #-56]
	ldrb	r3, [r3]
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	__PRETTY_FUNCTION__.4802
	.word	.LC0
	.word	.LC1
	.size	copy_it, .-copy_it
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L13
.L14:
	bl	getchar
	mov	r3, r0
	and	r1, r3, #255
	sub	r2, fp, #40
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L13:
	ldr	r3, [fp, #-44]
	cmp	r3, #29
	ble	.L14
	sub	r3, fp, #40
	mov	r0, r3
	bl	copy_it
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4802, %object
	.size	__PRETTY_FUNCTION__.4802, 8
__PRETTY_FUNCTION__.4802:
	.ascii	"copy_it\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
