	.file	"30305.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Hello!!>"
.LC1:
	.string	"exit"
.LC2:
	.string	" "
.LC3:
	.string	"&&"
.LC4:
	.string	"Error number is %d\n"
.LC5:
	.string	"Hello!!: %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
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 704
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L16:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1040[rbp]
	mov	esi, 1023
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L19
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -17064[rbp], eax
	mov	eax, DWORD PTR -17064[rbp]
	sub	eax, 1
	mov	eax, eax
	movzx	eax, BYTE PTR -1040[rbp+rax]
	cmp	al, 10
	jne	.L4
	mov	eax, DWORD PTR -17064[rbp]
	sub	eax, 1
	mov	eax, eax
	mov	BYTE PTR -1040[rbp+rax], 0
.L4:
	lea	rax, -1040[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L20
	lea	rax, -1040[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -17048[rbp], rax
	mov	DWORD PTR -17072[rbp], 0
	mov	DWORD PTR -17068[rbp], 0
	jmp	.L6
.L11:
	mov	rax, QWORD PTR -17048[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -17048[rbp], rax
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -17068[rbp]
	cdqe
	mov	rdx, QWORD PTR -17048[rbp]
	mov	QWORD PTR -9040[rbp+rax*8], rdx
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -17048[rbp], rax
	add	DWORD PTR -17068[rbp], 1
.L8:
	cmp	QWORD PTR -17048[rbp], 0
	jne	.L9
	jmp	.L10
.L7:
	mov	eax, DWORD PTR -17072[rbp]
	cdqe
	mov	rdx, QWORD PTR -17048[rbp]
	mov	QWORD PTR -17040[rbp+rax*8], rdx
	lea	rsi, .LC2[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -17048[rbp], rax
	add	DWORD PTR -17072[rbp], 1
.L6:
	cmp	QWORD PTR -17048[rbp], 0
	jne	.L11
.L10:
	mov	eax, DWORD PTR -17072[rbp]
	cdqe
	mov	QWORD PTR -17040[rbp+rax*8], 0
	mov	eax, DWORD PTR -17068[rbp]
	cdqe
	mov	QWORD PTR -9040[rbp+rax*8], 0
	call	fork@PLT
	mov	DWORD PTR -17060[rbp], eax
	cmp	DWORD PTR -17060[rbp], 0
	jne	.L12
	lea	rdx, -17040[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -17052[rbp], eax
	cmp	DWORD PTR -17052[rbp], -1
	jne	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	lea	rax, -17076[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	wait@PLT
	mov	eax, DWORD PTR -17076[rbp]
	test	eax, eax
	jne	.L16
	call	fork@PLT
	mov	DWORD PTR -17060[rbp], eax
	cmp	DWORD PTR -17060[rbp], 0
	jne	.L15
	mov	rax, QWORD PTR -9040[rbp]
	lea	rdx, -9040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -17056[rbp], eax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	edi, 1
	mov	eax, 0
	call	wait@PLT
	jmp	.L16
.L19:
	nop
	jmp	.L3
.L20:
	nop
.L3:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.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	"30305.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Hello!!>\000"
	.align	2
.LC1:
	.ascii	"exit\000"
	.align	2
.LC2:
	.ascii	" \000"
	.align	2
.LC3:
	.ascii	"&&\000"
	.align	2
.LC4:
	.ascii	"Error number is %d\012\000"
	.align	2
.LC5:
	.ascii	"Hello!!: %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 9064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #9024
	sub	sp, sp, #44
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L16:
	ldr	r0, .L21+4
	bl	printf
	ldr	r3, .L21+8
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+12
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	str	r0, [r4, #-852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-852]
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-1028]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L4
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-852]
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
.L4:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L21+20
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-864]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-860]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-856]
	b	.L6
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, .L21+24
	ldr	r0, [r3, #-864]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L21+20
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-864]
	b	.L8
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-856]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-864]
	str	r2, [r3, #-932]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L21+20
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-864]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-856]
	add	r3, r3, #1
	str	r3, [r2, #-856]
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-864]
	cmp	r3, #0
	bne	.L9
	b	.L10
.L7:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-860]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-864]
	str	r2, [r3, #-836]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L21+20
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-864]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-860]
	add	r3, r3, #1
	str	r3, [r2, #-860]
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-864]
	cmp	r3, #0
	bne	.L11
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-860]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-836]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-856]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-932]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-848]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-848]
	cmp	r3, #0
	bne	.L12
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #9024
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	execvp
	mov	r3, r0
	str	r3, [r4, #-840]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-840]
	cmn	r3, #1
	bne	.L16
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+28
	bl	printf
	ldr	r3, .L21+32
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L21+36
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L12:
	sub	r3, fp, #9024
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r0, r3
	bl	wait
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-868]
	cmp	r3, #0
	bne	.L16
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-848]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-848]
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-932]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4992
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r3, r0
	str	r3, [r4, #-844]
	ldr	r3, .L21+32
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L21+36
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	mov	r0, #1
	bl	wait
	b	.L16
.L19:
	nop
	b	.L3
.L20:
	nop
.L3:
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	.LC0
	.word	stdin
	.word	1023
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stderr
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
