	.file	"727468.c"
	.intel_syntax noprefix
	.text
	.local	pending_char
	.comm	pending_char,4,4
	.globl	kbhit
	.type	kbhit, @function
kbhit:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR pending_char[rip]
	test	eax, eax
	je	.L2
	mov	eax, 1
	jmp	.L5
.L2:
	lea	rax, -9[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	dbgu_mayget@PLT
	test	eax, eax
	je	.L4
	movzx	eax, BYTE PTR -9[rbp]
	movzx	eax, al
	add	eax, 1
	mov	DWORD PTR pending_char[rip], eax
	mov	eax, 1
	jmp	.L5
.L4:
	mov	eax, 0
.L5:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	kbhit, .-kbhit
	.globl	getkey
	.type	getkey, @function
getkey:
.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, 16
	mov	eax, DWORD PTR pending_char[rip]
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR pending_char[rip]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR pending_char[rip], 0
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L9
.L8:
	mov	eax, 0
	call	ukey@PLT
	movzx	eax, al
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	getkey, .-getkey
	.section	.rodata
.LC0:
	.string	"run-tests"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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	eax, 0
	call	init_io@PLT
	mov	eax, 0
	call	init_forth@PLT
	cdqe
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	execute_word@PLT
	mov	eax, 0
	call	reset@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"727468.c"
	.text
	.local	pending_char
	.comm	pending_char,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kbhit
	.syntax unified
	.arm
	.fpu softvfp
	.type	kbhit, %function
kbhit:
	@ 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	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	mov	r3, #1
	b	.L5
.L2:
	sub	r3, fp, #9
	mov	r0, r3
	bl	dbgu_mayget
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	add	r3, r3, #1
	ldr	r2, .L7+4
	str	r3, [r2]
	mov	r3, #1
	b	.L5
.L4:
	mov	r3, #0
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	pending_char
	.size	kbhit, .-kbhit
	.align	2
	.global	getkey
	.syntax unified
	.arm
	.fpu softvfp
	.type	getkey, %function
getkey:
	@ 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	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L12
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	b	.L11
.L10:
	bl	ukey
	mov	r3, r0
	and	r3, r3, #255
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	pending_char
	.size	getkey, .-getkey
	.section	.rodata
	.align	2
.LC1:
	.ascii	"run-tests\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
	bl	init_io
	bl	init_forth
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L16
	bl	execute_word
	bl	reset
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
