	.file	"176545.c"
	.intel_syntax noprefix
	.text
	.globl	first_hist
	.bss
	.align 8
	.type	first_hist, @object
	.size	first_hist, 8
first_hist:
	.zero	8
	.globl	currentHistoryAddress
	.align 8
	.type	currentHistoryAddress, @object
	.size	currentHistoryAddress, 8
currentHistoryAddress:
	.zero	8
	.globl	c
	.type	c, @object
	.size	c, 1
c:
	.zero	1
	.globl	line
	.align 32
	.type	line, @object
	.size	line, 100
line:
	.zero	100
	.globl	historyDirection
	.data
	.align 4
	.type	historyDirection, @object
	.size	historyDirection, 4
historyDirection:
	.long	-1
	.section	.rodata
	.align 8
.LC0:
	.ascii	"                                                            "
	.ascii	"     \n                                                     "
	.ascii	"       ,--, \n                                          .--."
	.ascii	"--.         ,--.'| \n            ,---,         ,---,        "
	.ascii	"  /  /    '.    ,--,  | : \n   ,---.  ,---.'|       ,---.'| "
	.ascii	"  ,---. |  :  /`. / ,---.'|  : ' \n  '   ,'\\ |   | :       "
	.ascii	"|   | :  '   ,'\\;  |  |--`  |   | : _' | \n /   /   |:   : "
	.ascii	":       |   | | /   /   |  :  ;_    :   : |.'  | \n.   ; ,. "
	.ascii	"::     |,-.  ,--.__| |.   ; ,. :\\  \\    `. |   ' '  ; : \n"
	.ascii	"'   | |: :|   : '  | /   ,'   |'   | |: : `----.   \\'   |  "
	.ascii	".'. | \n'   | .; :|   |  / :.   '  /  |'   | .; : __ \\  \\ "
	.ascii	" ||   | :  | ' \n|   :    |'   : |: |'   ; |:  ||   :    |/ "
	.ascii	" /`--'  /'   : |  : ; \n \\   \\  / |   | '/ :|   | '/  ' \\"
	.ascii	"   \\  /'--'.     / |   | '  ,/  \n  `----'  |   :    ||   :"
	.ascii	"    :|  `----'   `--'---'  ;   : ;--'   \n          /    \\ "
	.ascii	" /  \\   \\  /                       |   ,/       \n        "
	.ascii	"  `-'----'    `----'               "
	.string	"         '---'        \n                                                                 \nThis is a simple open source shell. \nYou may find the source code at https://github.com/onurdev/obdoSH\n\nLicence: MIT Licence\nAuthors: Osman Sekerlen, Onur Baris Dev.\n\n"
.LC1:
	.string	"%s"
	.align 8
.LC2:
	.string	"The number of characters in a line cannot exceed 70!"
.LC3:
	.string	"\n%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	rbx
	sub	rsp, 392
	.cfi_offset 3, -24
	mov	DWORD PTR -388[rbp], edi
	mov	QWORD PTR -400[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	esi, 1
	mov	edi, 2
	call	signal@PLT
	lea	rsi, handle_signal[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, oldt.1[rip]
	mov	edi, 0
	call	tcgetattr@PLT
	mov	rax, QWORD PTR oldt.1[rip]
	mov	rdx, QWORD PTR oldt.1[rip+8]
	mov	QWORD PTR newt.0[rip], rax
	mov	QWORD PTR newt.0[rip+8], rdx
	mov	rax, QWORD PTR oldt.1[rip+16]
	mov	rdx, QWORD PTR oldt.1[rip+24]
	mov	QWORD PTR newt.0[rip+16], rax
	mov	QWORD PTR newt.0[rip+24], rdx
	mov	rax, QWORD PTR oldt.1[rip+32]
	mov	rdx, QWORD PTR oldt.1[rip+40]
	mov	QWORD PTR newt.0[rip+32], rax
	mov	QWORD PTR newt.0[rip+40], rdx
	mov	rax, QWORD PTR oldt.1[rip+48]
	mov	QWORD PTR newt.0[rip+48], rax
	mov	eax, DWORD PTR oldt.1[rip+56]
	mov	DWORD PTR newt.0[rip+56], eax
	mov	eax, DWORD PTR newt.0[rip+12]
	and	eax, -3
	mov	DWORD PTR newt.0[rip+12], eax
	lea	rdx, newt.0[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	DWORD PTR -256[rbp], 0
	mov	DWORD PTR -376[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	DWORD PTR -144[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -368[rbp], rax
	mov	rax, QWORD PTR -368[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -376[rbp]
	lea	rax, -352[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printCommand
	jmp	.L2
.L22:
	cmp	DWORD PTR -372[rbp], 127
	jne	.L3
	mov	eax, DWORD PTR -376[rbp]
	test	eax, eax
	jle	.L3
	mov	eax, DWORD PTR -376[rbp]
	lea	edx, -1[rax]
	lea	rax, -352[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	removeCharAt
	jmp	.L4
.L6:
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR currentHistoryAddress[rip], rax
.L4:
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L6
.L5:
	mov	eax, DWORD PTR -376[rbp]
	sub	eax, 1
	mov	DWORD PTR -376[rbp], eax
.L3:
	cmp	DWORD PTR -372[rbp], 10
	jne	.L7
	lea	rax, -352[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	BYTE PTR -240[rbp+rax], 0
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	add_history
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	checkBuiltInFunctions
	test	eax, eax
	jne	.L8
	lea	rax, -352[rbp]
	mov	rdx, rax
	mov	esi, 1
	mov	edi, 0
	call	fork_exec
.L8:
	lea	rax, -352[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -240[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -376[rbp], 0
.L7:
	cmp	DWORD PTR -372[rbp], 27
	jne	.L9
	call	getchar@PLT
	call	getchar@PLT
	cmp	eax, 68
	je	.L10
	cmp	eax, 68
	jg	.L17
	cmp	eax, 67
	je	.L12
	cmp	eax, 67
	jg	.L17
	cmp	eax, 65
	je	.L13
	cmp	eax, 66
	je	.L14
	jmp	.L17
.L13:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	setPreviousCommandInHistory
	lea	rcx, -376[rbp]
	lea	rdx, -128[rbp]
	lea	rsi, -352[rbp]
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	changeCommand
	jmp	.L17
.L14:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	setNextCommandInHistory
	lea	rcx, -376[rbp]
	lea	rdx, -128[rbp]
	lea	rsi, -352[rbp]
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	changeCommand
	jmp	.L17
.L12:
	mov	eax, DWORD PTR -376[rbp]
	movsx	rbx, eax
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L25
	mov	eax, DWORD PTR -376[rbp]
	add	eax, 1
	mov	DWORD PTR -376[rbp], eax
	jmp	.L25
.L10:
	mov	eax, DWORD PTR -376[rbp]
	test	eax, eax
	jle	.L26
	mov	eax, DWORD PTR -376[rbp]
	sub	eax, 1
	mov	DWORD PTR -376[rbp], eax
	jmp	.L26
.L9:
	mov	eax, DWORD PTR -372[rbp]
	movsx	eax, al
	mov	edi, eax
	call	isInputValid
	test	eax, eax
	je	.L18
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 69
	ja	.L18
	mov	eax, DWORD PTR -372[rbp]
	movsx	ecx, al
	mov	eax, DWORD PTR -376[rbp]
	lea	rdx, -352[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	setCharAt
	mov	eax, DWORD PTR -376[rbp]
	add	eax, 1
	mov	DWORD PTR -376[rbp], eax
	jmp	.L19
.L21:
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR currentHistoryAddress[rip], rax
.L19:
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	test	rax, rax
	je	.L27
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L21
	jmp	.L27
.L18:
	lea	rax, -352[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 70
	jne	.L17
	lea	rax, .LC2[rip]
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L17
.L25:
	nop
	jmp	.L17
.L26:
	nop
	jmp	.L17
.L27:
	nop
.L17:
	mov	edx, DWORD PTR -376[rbp]
	lea	rax, -352[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printCommand
.L2:
	call	getchar@PLT
	mov	DWORD PTR -372[rbp], eax
	cmp	DWORD PTR -372[rbp], -1
	jne	.L22
	lea	rdx, oldt.1[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC4:
	.string	"exit"
	.string	""
.LC5:
	.string	"history"
	.string	""
.LC6:
	.string	""
.LC7:
	.string	"%d: %s\n"
	.text
	.globl	checkBuiltInFunctions
	.type	checkBuiltInFunctions, @function
checkBuiltInFunctions:
.LFB7:
	.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]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	edi, 0
	call	exit@PLT
.L29:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	rax, QWORD PTR first_hist[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 16[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -12[rbp], ecx
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
.L31:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L32
	mov	eax, 1
	jmp	.L33
.L30:
	mov	eax, 0
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	checkBuiltInFunctions, .-checkBuiltInFunctions
	.section	.rodata
.LC8:
	.string	"child couldn't be executed"
.LC9:
	.string	"id<0"
	.text
	.globl	fork_exec
	.type	fork_exec, @function
fork_exec:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	QWORD PTR -96[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	strchr@PLT
	test	rax, rax
	jne	.L35
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	parse_line
	mov	QWORD PTR -24[rbp], rax
	call	fork@PLT
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 0
	jne	.L36
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L36:
	cmp	DWORD PTR -60[rbp], 0
	jle	.L37
	lea	rcx, -68[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	waitpid@PLT
	jmp	.L47
.L37:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	jmp	.L47
.L35:
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 1
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L39
.L40:
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 0
	sub	QWORD PTR -56[rbp], 1
.L39:
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L40
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	QWORD PTR -96[rbp], rax
	jmp	.L41
.L42:
	add	QWORD PTR -96[rbp], 1
.L41:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L42
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	pipe@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	parse_line
	mov	QWORD PTR -32[rbp], rax
	call	fork@PLT
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -64[rbp], 0
	jne	.L43
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	edi, 0
	call	exit@PLT
.L43:
	cmp	DWORD PTR -64[rbp], 0
	jle	.L44
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	esi, 1
	mov	edi, eax
	call	fork_exec
	lea	rcx, -68[rbp]
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	waitpid@PLT
	jmp	.L47
.L44:
	lea	rdi, .LC9[rip]
	call	puts@PLT
.L47:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L46
	call	__stack_chk_fail@PLT
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fork_exec, .-fork_exec
	.globl	parse_line
	.type	parse_line, @function
parse_line:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	jmp	.L49
.L51:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L50
	add	DWORD PTR -40[rbp], 1
.L50:
	add	DWORD PTR -44[rbp], 1
.L49:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L51
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -44[rbp], 0
.L58:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L52
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L53
.L52:
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cdqe
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	cdqe
	lea	rdx, [rsi+rax]
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -32[rbp], 1
.L54:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L55
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	cdqe
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -36[rbp], 1
	add	DWORD PTR -32[rbp], 1
.L53:
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L61
	add	DWORD PTR -44[rbp], 1
	jmp	.L58
.L61:
	nop
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parse_line, .-parse_line
	.globl	add_history
	.type	add_history, @function
add_history:
.LFB10:
	.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 first_hist[rip]
	test	rax, rax
	jne	.L63
	mov	edi, 120
	call	malloc@PLT
	mov	QWORD PTR first_hist[rip], rax
	mov	rax, QWORD PTR first_hist[rip]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR first_hist[rip]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR first_hist[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR first_hist[rip]
	mov	QWORD PTR currentHistoryAddress[rip], rax
	jmp	.L67
.L63:
	mov	rax, QWORD PTR first_hist[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR first_hist[rip]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
.L65:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L66
	mov	edi, 120
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR currentHistoryAddress[rip], rax
.L67:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	add_history, .-add_history
	.globl	changeCommand
	.type	changeCommand, @function
changeCommand:
.LFB11:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	test	eax, eax
	je	.L69
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L70
.L69:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L70:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	changeCommand, .-changeCommand
	.globl	setPreviousCommandInHistory
	.type	setPreviousCommandInHistory, @function
setPreviousCommandInHistory:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	test	rax, rax
	je	.L72
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L74
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR currentHistoryAddress[rip], rax
	jmp	.L74
.L72:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L74:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	setPreviousCommandInHistory, .-setPreviousCommandInHistory
	.globl	setNextCommandInHistory
	.type	setNextCommandInHistory, @function
setNextCommandInHistory:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	test	rax, rax
	je	.L78
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L77
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR currentHistoryAddress[rip], rax
	mov	rax, QWORD PTR currentHistoryAddress[rip]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	jmp	.L78
.L77:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L78:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	setNextCommandInHistory, .-setNextCommandInHistory
	.globl	handle_signal
	.type	handle_signal, @function
handle_signal:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE14:
	.size	handle_signal, .-handle_signal
	.globl	setCharAt
	.type	setCharAt, @function
setCharAt:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	eax, esi
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR -40[rbp], al
	mov	DWORD PTR -28[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jne	.L81
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
	jmp	.L85
.L81:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L85
	jmp	.L83
.L84:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -28[rbp]
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -28[rbp], 1
.L83:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	sub	rax, rdx
	cmp	rbx, rax
	jb	.L84
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L85:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	setCharAt, .-setCharAt
	.globl	removeCharAt
	.type	removeCharAt, @function
removeCharAt:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -132[rbp], 0
	jmp	.L87
.L89:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -148[rbp]
	je	.L88
	mov	eax, DWORD PTR -136[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	mov	BYTE PTR -128[rbp+rax], dl
	add	DWORD PTR -132[rbp], 1
.L88:
	add	DWORD PTR -136[rbp], 1
.L87:
	mov	eax, DWORD PTR -136[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -160[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L89
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L90
	call	__stack_chk_fail@PLT
.L90:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	removeCharAt, .-removeCharAt
	.section	.rodata
.LC10:
	.string	"%c[2K"
.LC11:
	.string	"obdosh -> %s"
	.text
	.globl	printCommand
	.type	printCommand, @function
printCommand:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	esi, 27
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 100
	call	moveCursorToLeftBy
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, DWORD PTR -12[rbp]
	sub	eax, edx
	mov	edi, eax
	call	moveCursorToLeftBy
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	printCommand, .-printCommand
	.section	.rodata
.LC12:
	.string	"%c[%dD"
	.text
	.globl	moveCursorToLeftBy
	.type	moveCursorToLeftBy, @function
moveCursorToLeftBy:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	jle	.L94
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	esi, 27
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L94:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	moveCursorToLeftBy, .-moveCursorToLeftBy
	.globl	isInputValid
	.type	isInputValid, @function
isInputValid:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 97
	je	.L96
	cmp	BYTE PTR -4[rbp], 98
	je	.L96
	cmp	BYTE PTR -4[rbp], 99
	je	.L96
	cmp	BYTE PTR -4[rbp], 100
	je	.L96
	cmp	BYTE PTR -4[rbp], 101
	je	.L96
	cmp	BYTE PTR -4[rbp], 102
	je	.L96
	cmp	BYTE PTR -4[rbp], 103
	je	.L96
	cmp	BYTE PTR -4[rbp], 104
	je	.L96
	cmp	BYTE PTR -4[rbp], 105
	je	.L96
	cmp	BYTE PTR -4[rbp], 106
	je	.L96
	cmp	BYTE PTR -4[rbp], 107
	je	.L96
	cmp	BYTE PTR -4[rbp], 108
	je	.L96
	cmp	BYTE PTR -4[rbp], 109
	je	.L96
	cmp	BYTE PTR -4[rbp], 110
	je	.L96
	cmp	BYTE PTR -4[rbp], 111
	je	.L96
	cmp	BYTE PTR -4[rbp], 112
	je	.L96
	cmp	BYTE PTR -4[rbp], 113
	je	.L96
	cmp	BYTE PTR -4[rbp], 114
	je	.L96
	cmp	BYTE PTR -4[rbp], 115
	je	.L96
	cmp	BYTE PTR -4[rbp], 116
	je	.L96
	cmp	BYTE PTR -4[rbp], 117
	je	.L96
	cmp	BYTE PTR -4[rbp], 118
	je	.L96
	cmp	BYTE PTR -4[rbp], 119
	je	.L96
	cmp	BYTE PTR -4[rbp], 120
	je	.L96
	cmp	BYTE PTR -4[rbp], 121
	je	.L96
	cmp	BYTE PTR -4[rbp], 122
	je	.L96
	cmp	BYTE PTR -4[rbp], 65
	je	.L96
	cmp	BYTE PTR -4[rbp], 66
	je	.L96
	cmp	BYTE PTR -4[rbp], 67
	je	.L96
	cmp	BYTE PTR -4[rbp], 68
	je	.L96
	cmp	BYTE PTR -4[rbp], 69
	je	.L96
	cmp	BYTE PTR -4[rbp], 70
	je	.L96
	cmp	BYTE PTR -4[rbp], 71
	je	.L96
	cmp	BYTE PTR -4[rbp], 72
	je	.L96
	cmp	BYTE PTR -4[rbp], 73
	je	.L96
	cmp	BYTE PTR -4[rbp], 74
	je	.L96
	cmp	BYTE PTR -4[rbp], 75
	je	.L96
	cmp	BYTE PTR -4[rbp], 76
	je	.L96
	cmp	BYTE PTR -4[rbp], 77
	je	.L96
	cmp	BYTE PTR -4[rbp], 78
	je	.L96
	cmp	BYTE PTR -4[rbp], 79
	je	.L96
	cmp	BYTE PTR -4[rbp], 80
	je	.L96
	cmp	BYTE PTR -4[rbp], 81
	je	.L96
	cmp	BYTE PTR -4[rbp], 82
	je	.L96
	cmp	BYTE PTR -4[rbp], 83
	je	.L96
	cmp	BYTE PTR -4[rbp], 84
	je	.L96
	cmp	BYTE PTR -4[rbp], 85
	je	.L96
	cmp	BYTE PTR -4[rbp], 86
	je	.L96
	cmp	BYTE PTR -4[rbp], 87
	je	.L96
	cmp	BYTE PTR -4[rbp], 88
	je	.L96
	cmp	BYTE PTR -4[rbp], 89
	je	.L96
	cmp	BYTE PTR -4[rbp], 90
	je	.L96
	cmp	BYTE PTR -4[rbp], 96
	je	.L96
	cmp	BYTE PTR -4[rbp], 49
	je	.L96
	cmp	BYTE PTR -4[rbp], 50
	je	.L96
	cmp	BYTE PTR -4[rbp], 51
	je	.L96
	cmp	BYTE PTR -4[rbp], 52
	je	.L96
	cmp	BYTE PTR -4[rbp], 53
	je	.L96
	cmp	BYTE PTR -4[rbp], 54
	je	.L96
	cmp	BYTE PTR -4[rbp], 55
	je	.L96
	cmp	BYTE PTR -4[rbp], 56
	je	.L96
	cmp	BYTE PTR -4[rbp], 57
	je	.L96
	cmp	BYTE PTR -4[rbp], 48
	je	.L96
	cmp	BYTE PTR -4[rbp], 45
	je	.L96
	cmp	BYTE PTR -4[rbp], 61
	je	.L96
	cmp	BYTE PTR -4[rbp], 126
	je	.L96
	cmp	BYTE PTR -4[rbp], 33
	je	.L96
	cmp	BYTE PTR -4[rbp], 64
	je	.L96
	cmp	BYTE PTR -4[rbp], 35
	je	.L96
	cmp	BYTE PTR -4[rbp], 36
	je	.L96
	cmp	BYTE PTR -4[rbp], 37
	je	.L96
	cmp	BYTE PTR -4[rbp], 94
	je	.L96
	cmp	BYTE PTR -4[rbp], 38
	je	.L96
	cmp	BYTE PTR -4[rbp], 42
	je	.L96
	cmp	BYTE PTR -4[rbp], 40
	je	.L96
	cmp	BYTE PTR -4[rbp], 41
	je	.L96
	cmp	BYTE PTR -4[rbp], 95
	je	.L96
	cmp	BYTE PTR -4[rbp], 43
	je	.L96
	cmp	BYTE PTR -4[rbp], 91
	je	.L96
	cmp	BYTE PTR -4[rbp], 93
	je	.L96
	cmp	BYTE PTR -4[rbp], 92
	je	.L96
	cmp	BYTE PTR -4[rbp], 59
	je	.L96
	cmp	BYTE PTR -4[rbp], 39
	je	.L96
	cmp	BYTE PTR -4[rbp], 44
	je	.L96
	cmp	BYTE PTR -4[rbp], 46
	je	.L96
	cmp	BYTE PTR -4[rbp], 47
	je	.L96
	cmp	BYTE PTR -4[rbp], 123
	je	.L96
	cmp	BYTE PTR -4[rbp], 125
	je	.L96
	cmp	BYTE PTR -4[rbp], 124
	je	.L96
	cmp	BYTE PTR -4[rbp], 58
	je	.L96
	cmp	BYTE PTR -4[rbp], 34
	je	.L96
	cmp	BYTE PTR -4[rbp], 60
	je	.L96
	cmp	BYTE PTR -4[rbp], 62
	je	.L96
	cmp	BYTE PTR -4[rbp], 63
	je	.L96
	cmp	BYTE PTR -4[rbp], 32
	jne	.L97
.L96:
	mov	eax, 1
	jmp	.L98
.L97:
	mov	eax, 0
.L98:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	isInputValid, .-isInputValid
	.local	oldt.1
	.comm	oldt.1,60,32
	.local	newt.0
	.comm	newt.0,60,32
	.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	"176545.c"
	.text
	.global	first_hist
	.bss
	.align	2
	.type	first_hist, %object
	.size	first_hist, 4
first_hist:
	.space	4
	.global	currentHistoryAddress
	.align	2
	.type	currentHistoryAddress, %object
	.size	currentHistoryAddress, 4
currentHistoryAddress:
	.space	4
	.global	c
	.type	c, %object
	.size	c, 1
c:
	.space	1
	.comm	line,100,4
	.global	historyDirection
	.data
	.align	2
	.type	historyDirection, %object
	.size	historyDirection, 4
historyDirection:
	.word	-1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"                                                   "
	.ascii	"              \012                                 "
	.ascii	"                           ,--, \012               "
	.ascii	"                           .--.--.         ,--.'| \012"
	.ascii	"            ,---,         ,---,          /  /    '."
	.ascii	"    ,--,  | : \012   ,---.  ,---.'|       ,---.'|  "
	.ascii	" ,---. |  :  /`. / ,---.'|  : ' \012  '   ,'\\ |   "
	.ascii	"| :       |   | :  '   ,'\\;  |  |--`  |   | : _' |"
	.ascii	" \012 /   /   |:   : :       |   | | /   /   |  :  "
	.ascii	";_    :   : |.'  | \012.   ; ,. ::     |,-.  ,--.__"
	.ascii	"| |.   ; ,. :\\  \\    `. |   ' '  ; : \012'   | |:"
	.ascii	" :|   : '  | /   ,'   |'   | |: : `----.   \\'   | "
	.ascii	" .'. | \012'   | .; :|   |  / :.   '  /  |'   | .; "
	.ascii	": __ \\  \\  ||   | :  | ' \012|   :    |'   : |: |"
	.ascii	"'   ; |:  ||   :    |/  /`--'  /'   : |  : ; \012 \\"
	.ascii	"   \\  / |   | '/ :|   | '/  ' \\   \\  /'--'.     "
	.ascii	"/ |   | '  ,/  \012  `----'  |   :    ||   :    :| "
	.ascii	" `----'   `--'---'  ;   : ;--'   \012          /   "
	.ascii	" \\  /  \\   \\  /                       |   ,/    "
	.ascii	"   \012          `-'----'    `----'                "
	.ascii	"        '---'        \012                          "
	.ascii	"                                       \012This is "
	.ascii	"a simple open source shell. \012You may find the so"
	.ascii	"urce code at https://github.com/onurdev/obdoSH\012\012"
	.ascii	"Licence: MIT Licence\012Authors: Osman Sekerlen, On"
	.ascii	"ur Baris Dev.\012\012\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"The number of characters in a line cannot exceed 70"
	.ascii	"!\000"
	.align	2
.LC3:
	.ascii	"\012%s\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 328
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #328
	str	r0, [fp, #-328]
	str	r1, [fp, #-332]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #1
	mov	r0, #2
	bl	signal
	ldr	r1, .L29+4
	mov	r0, #2
	bl	signal
	ldr	r1, .L29+8
	mov	r0, #0
	bl	tcgetattr
	ldr	r2, .L29+12
	ldr	r3, .L29+8
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L29+12
	ldr	r3, [r3, #12]
	bic	r3, r3, #2
	ldr	r2, .L29+12
	str	r3, [r2, #12]
	ldr	r2, .L29+12
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	mov	r3, #0
	str	r3, [fp, #-308]
	sub	r3, fp, #304
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-324]
	mov	r3, #0
	str	r3, [fp, #-208]
	sub	r3, fp, #204
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L29+16
	str	r3, [fp, #-320]
	ldr	r1, [fp, #-320]
	ldr	r0, .L29+20
	bl	printf
	ldr	r2, [fp, #-324]
	sub	r3, fp, #308
	mov	r1, r2
	mov	r0, r3
	bl	printCommand
	b	.L2
.L23:
	ldr	r3, [fp, #-316]
	cmp	r3, #127
	bne	.L3
	ldr	r3, [fp, #-324]
	cmp	r3, #0
	ble	.L3
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	sub	r2, fp, #308
	mov	r1, r2
	mov	r0, r3
	bl	removeCharAt
	b	.L4
.L6:
	ldr	r3, .L29+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L29+24
	str	r3, [r2]
.L4:
	ldr	r3, .L29+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L29+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L6
.L5:
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	str	r3, [fp, #-324]
.L3:
	ldr	r3, [fp, #-316]
	cmp	r3, #10
	bne	.L7
	sub	r3, fp, #308
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #308
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-204]
	sub	r3, fp, #308
	mov	r0, r3
	bl	add_history
	sub	r3, fp, #308
	mov	r0, r3
	bl	checkBuiltInFunctions
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	sub	r3, fp, #308
	mov	r2, r3
	mov	r1, #1
	mov	r0, #0
	bl	fork_exec
.L8:
	sub	r3, fp, #308
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #208
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-324]
.L7:
	ldr	r3, [fp, #-316]
	cmp	r3, #27
	bne	.L9
	bl	getchar
	bl	getchar
	mov	r3, r0
	sub	r3, r3, #65
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L18
.L12:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L11
.L15:
	sub	r3, fp, #108
	mov	r0, r3
	bl	setPreviousCommandInHistory
	sub	r3, fp, #324
	sub	r2, fp, #108
	sub	r1, fp, #308
	sub	r0, fp, #208
	bl	changeCommand
	b	.L18
.L14:
	sub	r3, fp, #108
	mov	r0, r3
	bl	setNextCommandInHistory
	sub	r3, fp, #324
	sub	r2, fp, #108
	sub	r1, fp, #308
	sub	r0, fp, #208
	bl	changeCommand
	b	.L18
.L13:
	sub	r3, fp, #308
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	ldr	r2, [fp, #-324]
	cmp	r3, r2
	bls	.L26
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
	b	.L26
.L11:
	ldr	r3, [fp, #-324]
	cmp	r3, #0
	ble	.L27
	ldr	r3, [fp, #-324]
	sub	r3, r3, #1
	str	r3, [fp, #-324]
	b	.L27
.L9:
	ldr	r3, [fp, #-316]
	and	r3, r3, #255
	mov	r0, r3
	bl	isInputValid
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #308
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #69
	bhi	.L19
	ldr	r0, [fp, #-324]
	ldr	r3, [fp, #-316]
	and	r3, r3, #255
	sub	r2, fp, #308
	mov	r1, r3
	bl	setCharAt
	ldr	r3, [fp, #-324]
	add	r3, r3, #1
	str	r3, [fp, #-324]
	b	.L20
.L22:
	ldr	r3, .L29+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L29+24
	str	r3, [r2]
.L20:
	ldr	r3, .L29+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L28
	ldr	r3, .L29+24
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L22
	b	.L28
.L19:
	sub	r3, fp, #308
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #70
	bne	.L18
	ldr	r3, .L29+28
	str	r3, [fp, #-312]
	ldr	r1, [fp, #-312]
	ldr	r0, .L29+32
	bl	printf
	b	.L18
.L26:
	nop
	b	.L18
.L27:
	nop
	b	.L18
.L28:
	nop
.L18:
	ldr	r2, [fp, #-324]
	sub	r3, fp, #308
	mov	r1, r2
	mov	r0, r3
	bl	printCommand
.L2:
	bl	getchar
	str	r0, [fp, #-316]
	ldr	r3, [fp, #-316]
	cmn	r3, #1
	bne	.L23
	ldr	r2, .L29+8
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC4
	.word	handle_signal
	.word	oldt.6342
	.word	newt.6343
	.word	.LC0
	.word	.LC1
	.word	currentHistoryAddress
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.section	.rodata
	.align	2
.LC5:
	.ascii	"exit\000\000"
	.align	2
.LC6:
	.ascii	"history\000\000"
	.align	2
.LC7:
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"%d: %s\012\000"
	.text
	.align	2
	.global	checkBuiltInFunctions
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkBuiltInFunctions, %function
checkBuiltInFunctions:
	@ 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	r1, .L37
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	mov	r0, #0
	bl	exit
.L32:
	ldr	r1, .L37+4
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r0, .L37+8
	bl	puts
	ldr	r3, .L37+12
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L34
.L35:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	ldr	r2, [fp, #-12]
	add	r2, r2, #8
	mov	r1, r3
	ldr	r0, .L37+16
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L34:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L35
	mov	r3, #1
	b	.L36
.L33:
	mov	r3, #0
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	first_hist
	.word	.LC8
	.size	checkBuiltInFunctions, .-checkBuiltInFunctions
	.section	.rodata
	.align	2
.LC9:
	.ascii	"child couldn't be executed\000"
	.align	2
.LC10:
	.ascii	"id<0\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fork_exec
	.syntax unified
	.arm
	.fpu softvfp
	.type	fork_exec, %function
fork_exec:
	@ 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, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #124
	ldr	r0, [fp, #-64]
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L40
	ldr	r0, [fp, #-64]
	bl	parse_line
	str	r0, [fp, #-24]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L41
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	dup2
	mov	r1, #1
	ldr	r0, [fp, #-60]
	bl	dup2
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	execvp
	ldr	r0, .L53+4
	bl	puts
	mov	r0, #0
	bl	exit
.L41:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L42
	sub	r3, fp, #48
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	waitpid
	b	.L52
.L42:
	ldr	r0, .L53+8
	bl	puts
	b	.L52
.L40:
	mov	r1, #124
	ldr	r0, [fp, #-64]
	bl	strchr
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	mov	r2, #0
	strb	r2, [r3]
	b	.L44
.L45:
	ldr	r3, [fp, #-44]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
.L44:
	ldr	r3, [fp, #-44]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L45
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L46
.L47:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L46:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L47
	sub	r3, fp, #16
	mov	r0, r3
	bl	pipe
	ldr	r0, [fp, #-36]
	bl	parse_line
	str	r0, [fp, #-32]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L48
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	dup2
	ldr	r3, [fp, #-12]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	execvp
	mov	r0, #0
	bl	exit
.L48:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L49
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-64]
	mov	r1, #1
	mov	r0, r3
	bl	fork_exec
	sub	r3, fp, #48
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	waitpid
	b	.L52
.L49:
	ldr	r0, .L53+8
	bl	puts
.L52:
	nop
	ldr	r3, .L53
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC11
	.word	.LC9
	.word	.LC10
	.size	fork_exec, .-fork_exec
	.align	2
	.global	parse_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_line, %function
parse_line:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L56
.L58:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L57
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L57:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L56:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L58
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
.L65:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L59
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L60
.L59:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r1, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L61
.L62:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r0, r3, #1
	str	r0, [fp, #-20]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L61:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L62
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	str	r1, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L60:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L65
.L68:
	nop
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	parse_line, .-parse_line
	.align	2
	.global	add_history
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_history, %function
add_history:
	@ 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, .L75
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L70
	mov	r0, #108
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L75
	str	r2, [r3]
	ldr	r3, .L75
	ldr	r3, [r3]
	add	r3, r3, #8
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L75
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L75
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L75
	ldr	r3, [r3]
	ldr	r2, .L75+4
	str	r3, [r2]
	b	.L74
.L70:
	ldr	r3, .L75
	ldr	r3, [r3]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L72
.L73:
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L72:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L73
	mov	r0, #108
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, .L75+4
	ldr	r3, [fp, #-12]
	str	r3, [r2]
.L74:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	first_hist
	.word	currentHistoryAddress
	.size	add_history, .-add_history
	.align	2
	.global	changeCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	changeCommand, %function
changeCommand:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r2, #100
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	memset
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L78
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	strcpy
	b	.L79
.L78:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	strcpy
.L79:
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	changeCommand, .-changeCommand
	.align	2
	.global	setPreviousCommandInHistory
	.syntax unified
	.arm
	.fpu softvfp
	.type	setPreviousCommandInHistory, %function
setPreviousCommandInHistory:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L84
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L81
	ldr	r3, .L84
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r3, .L84
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L83
	ldr	r3, .L84
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L84
	str	r3, [r2]
	b	.L83
.L81:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
.L83:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L85:
	.align	2
.L84:
	.word	currentHistoryAddress
	.size	setPreviousCommandInHistory, .-setPreviousCommandInHistory
	.align	2
	.global	setNextCommandInHistory
	.syntax unified
	.arm
	.fpu softvfp
	.type	setNextCommandInHistory, %function
setNextCommandInHistory:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L90
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L89
	ldr	r3, .L90
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L88
	ldr	r3, .L90
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L90
	str	r3, [r2]
	ldr	r3, .L90
	ldr	r3, [r3]
	add	r3, r3, #8
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	strcpy
	b	.L89
.L88:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
.L89:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L91:
	.align	2
.L90:
	.word	currentHistoryAddress
	.size	setNextCommandInHistory, .-setNextCommandInHistory
	.align	2
	.global	handle_signal
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_signal, %function
handle_signal:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L93
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #0
	bl	exit
.L94:
	.align	2
.L93:
	.word	stdout
	.size	handle_signal, .-handle_signal
	.align	2
	.global	setCharAt
	.syntax unified
	.arm
	.fpu softvfp
	.type	setCharAt, %function
setCharAt:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	mov	r3, r1
	str	r2, [fp, #-32]
	strb	r3, [fp, #-25]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L96
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	b	.L100
.L96:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L100
	b	.L98
.L99:
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L98:
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-24]
	sub	r2, r2, r3
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bhi	.L99
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
.L100:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	setCharAt, .-setCharAt
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	removeCharAt
	.syntax unified
	.arm
	.fpu softvfp
	.type	removeCharAt, %function
removeCharAt:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L106
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L102
.L104:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	beq	.L103
	ldr	r3, [fp, #-116]
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #108
	ldr	r3, [fp, #-112]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L103:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L102:
	ldr	r0, [fp, #-124]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	bhi	.L104
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	strcpy
	nop
	ldr	r3, .L106
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L105
	bl	__stack_chk_fail
.L105:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L107:
	.align	2
.L106:
	.word	.LC12
	.size	removeCharAt, .-removeCharAt
	.section	.rodata
	.align	2
.LC13:
	.ascii	"%c[2K\000"
	.align	2
.LC14:
	.ascii	"obdosh -> %s\000"
	.text
	.align	2
	.global	printCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	printCommand, %function
printCommand:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r1, #27
	ldr	r0, .L109
	bl	printf
	mov	r0, #100
	bl	moveCursorToLeftBy
	ldr	r1, [fp, #-8]
	ldr	r0, .L109+4
	bl	printf
	ldr	r0, [fp, #-8]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r0, r3
	bl	moveCursorToLeftBy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC13
	.word	.LC14
	.size	printCommand, .-printCommand
	.section	.rodata
	.align	2
.LC15:
	.ascii	"%c[%dD\000"
	.text
	.align	2
	.global	moveCursorToLeftBy
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveCursorToLeftBy, %function
moveCursorToLeftBy:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L113
	ldr	r2, [fp, #-8]
	mov	r1, #27
	ldr	r0, .L114
	bl	printf
.L113:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	.LC15
	.size	moveCursorToLeftBy, .-moveCursorToLeftBy
	.align	2
	.global	isInputValid
	.syntax unified
	.arm
	.fpu softvfp
	.type	isInputValid, %function
isInputValid:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #97
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #98
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #99
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #100
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #101
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #102
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #103
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #104
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #105
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #106
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #107
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #108
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #109
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #111
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #112
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #113
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #114
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #115
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #116
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #117
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #118
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #119
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #122
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #65
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #66
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #67
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #68
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #69
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #70
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #71
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #72
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #73
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #74
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #75
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #76
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #77
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #78
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #79
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #80
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #81
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #82
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #84
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #85
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #86
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #87
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #89
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #90
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #96
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #49
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #50
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #51
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #52
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #53
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #54
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #55
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #56
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #126
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #33
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #36
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #94
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #38
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #40
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #41
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #93
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #59
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #39
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #123
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #125
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #124
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #60
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L117
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L118
.L117:
	mov	r3, #1
	b	.L119
.L118:
	mov	r3, #0
.L119:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isInputValid, .-isInputValid
	.local	oldt.6342
	.comm	oldt.6342,60,4
	.local	newt.6343
	.comm	newt.6343,60,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
