	.file	"259733.c"
	.intel_syntax noprefix
	.text
	.globl	segNum
	.section	.rodata
	.align 16
	.type	segNum, @object
	.size	segNum, 20
segNum:
	.value	63
	.value	6
	.value	91
	.value	79
	.value	102
	.value	109
	.value	125
	.value	39
	.value	127
	.value	111
	.globl	segSelMask
	.align 8
	.type	segSelMask, @object
	.size	segSelMask, 12
segSelMask:
	.value	-512
	.value	-768
	.value	-1280
	.value	-2304
	.value	-4352
	.value	-8448
	.local	oldt
	.comm	oldt,60,32
	.local	newt
	.comm	newt,60,32
	.text
	.globl	changemode
	.type	changemode, @function
changemode:
.LFB6:
	.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], 1
	jne	.L2
	lea	rsi, oldt[rip]
	mov	edi, 0
	call	tcgetattr@PLT
	mov	rax, QWORD PTR oldt[rip]
	mov	rdx, QWORD PTR oldt[rip+8]
	mov	QWORD PTR newt[rip], rax
	mov	QWORD PTR newt[rip+8], rdx
	mov	rax, QWORD PTR oldt[rip+16]
	mov	rdx, QWORD PTR oldt[rip+24]
	mov	QWORD PTR newt[rip+16], rax
	mov	QWORD PTR newt[rip+24], rdx
	mov	rax, QWORD PTR oldt[rip+32]
	mov	rdx, QWORD PTR oldt[rip+40]
	mov	QWORD PTR newt[rip+32], rax
	mov	QWORD PTR newt[rip+40], rdx
	mov	rax, QWORD PTR oldt[rip+48]
	mov	QWORD PTR newt[rip+48], rax
	mov	eax, DWORD PTR oldt[rip+56]
	mov	DWORD PTR newt[rip+56], eax
	mov	eax, DWORD PTR newt[rip+12]
	and	eax, -11
	mov	DWORD PTR newt[rip+12], eax
	lea	rdx, newt[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	jmp	.L4
.L2:
	lea	rdx, oldt[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	changemode, .-changemode
	.globl	kbhit
	.type	kbhit, @function
kbhit:
.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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -144[rbp]
	mov	rdi, rdx
#APP
# 75 "the_stack_data/259733.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -168[rbp], edx
	mov	DWORD PTR -164[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	or	rax, 1
	mov	QWORD PTR -144[rbp], rax
	lea	rdx, -160[rbp]
	lea	rax, -144[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 1
	call	select@PLT
	mov	rax, QWORD PTR -144[rbp]
	and	eax, 1
	test	rax, rax
	setne	al
	movzx	eax, al
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	kbhit, .-kbhit
	.section	.rodata
.LC0:
	.string	"totalcounter: %d\n"
.LC1:
	.string	"Exit fndtest"
	.text
	.globl	fndDisp
	.type	fndDisp, @function
fndDisp:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	DWORD PTR -108[rbp], edx
	mov	DWORD PTR -112[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	and	eax, DWORD PTR -108[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	add	DWORD PTR -76[rbp], 1
.L9:
	cmp	DWORD PTR -76[rbp], 5
	jle	.L10
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1125899907
	shr	rdx, 32
	sar	edx, 18
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	edx, edx, 1000000
	sub	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 351843721
	shr	rdx, 32
	sar	edx, 13
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 351843721
	shr	rdx, 32
	sar	edx, 13
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	edx, edx, 100000
	sub	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1759218605
	shr	rdx, 32
	sar	edx, 12
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1759218605
	shr	rdx, 32
	sar	edx, 12
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	edx, edx, 10000
	sub	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	edx, edx, 1000
	sub	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -104[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	edx, edx, 100
	sub	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -16[rbp], eax
	mov	ecx, DWORD PTR -104[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -112[rbp]
	imul	eax, eax, 1000
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -80[rbp], 0
.L17:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -32[rbp+rax*4]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, segNum[rip]
	movzx	ecx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, segSelMask[rip]
	movzx	eax, WORD PTR [rdx+rax]
	or	eax, ecx
	mov	WORD PTR -86[rbp], ax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	test	eax, eax
	je	.L11
	movzx	eax, WORD PTR -86[rbp]
	or	al, -128
	mov	WORD PTR -86[rbp], ax
.L11:
	lea	rcx, -86[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -84[rbp], 1
	cmp	DWORD PTR -84[rbp], 5
	jle	.L12
	mov	DWORD PTR -84[rbp], 0
.L12:
	mov	edi, 1000
	call	usleep@PLT
	add	DWORD PTR -80[rbp], 1
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jg	.L21
	call	kbhit
	test	eax, eax
	je	.L17
	call	getchar@PLT
	cmp	eax, 113
	jne	.L17
	mov	WORD PTR -86[rbp], 0
	lea	rcx, -86[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L18
.L21:
	nop
	mov	WORD PTR -86[rbp], 0
	lea	rcx, -86[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, 1
.L18:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fndDisp, .-fndDisp
	.section	.rodata
.LC2:
	.string	"/dev/cnfnd"
.LC3:
	.string	"driver open error.\n"
	.text
	.globl	fnd
	.type	fnd, @function
fnd:
.LFB9:
	.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	DWORD PTR -20[rbp], edi
	mov	esi, 2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L23
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L24
.L23:
	mov	edi, 1
	call	changemode
	mov	esi, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, 1
	mov	edx, 0
	mov	edi, eax
	call	fndDisp
	mov	edi, 0
	call	changemode
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fnd, .-fnd
	.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	"259733.c"
	.text
	.global	segNum
	.section	.rodata
	.align	2
	.type	segNum, %object
	.size	segNum, 20
segNum:
	.short	63
	.short	6
	.short	91
	.short	79
	.short	102
	.short	109
	.short	125
	.short	39
	.short	127
	.short	111
	.global	segSelMask
	.align	2
	.type	segSelMask, %object
	.size	segSelMask, 12
segSelMask:
	.short	-512
	.short	-768
	.short	-1280
	.short	-2304
	.short	-4352
	.short	-8448
	.local	oldt
	.comm	oldt,60,4
	.local	newt
	.comm	newt,60,4
	.text
	.align	2
	.global	changemode
	.syntax unified
	.arm
	.fpu softvfp
	.type	changemode, %function
changemode:
	@ 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, #1
	bne	.L2
	ldr	r1, .L5
	mov	r0, #0
	bl	tcgetattr
	ldr	r2, .L5+4
	ldr	r3, .L5
	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, .L5+4
	ldr	r3, [r3, #12]
	bic	r3, r3, #10
	ldr	r2, .L5+4
	str	r3, [r2, #12]
	ldr	r2, .L5+4
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	b	.L4
.L2:
	ldr	r2, .L5
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	oldt
	.word	newt
	.size	changemode, .-changemode
	.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 = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	sub	r3, fp, #136
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L8
.L9:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-152]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L8:
	ldr	r3, [fp, #-152]
	cmp	r3, #31
	bls	.L9
	ldr	r3, [fp, #-136]
	orr	r3, r3, #1
	str	r3, [fp, #-136]
	sub	r1, fp, #136
	sub	r3, fp, #144
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r0, #1
	bl	select
	ldr	r3, [fp, #-136]
	and	r3, r3, #1
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	kbhit, .-kbhit
	.section	.rodata
	.align	2
.LC1:
	.ascii	"totalcounter: %d\012\000"
	.align	2
.LC2:
	.ascii	"Exit fndtest\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fndDisp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fndDisp, %function
fndDisp:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	str	r3, [fp, #-100]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L15
.L16:
	mov	r2, #1
	ldr	r3, [fp, #-68]
	lsl	r2, r2, r3
	ldr	r3, [fp, #-96]
	and	r2, r2, r3
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-52]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L15:
	ldr	r3, [fp, #-68]
	cmp	r3, #5
	ble	.L16
	ldr	r1, [fp, #-92]
	ldr	r3, .L28+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #18
	asr	r3, r1, #31
	sub	r0, r2, r3
	mov	r2, r0
	lsl	r2, r2, #5
	sub	r2, r2, r0
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r0
	lsl	r3, r3, #6
	sub	r3, r1, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	ldr	r2, .L28+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #13
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-92]
	ldr	r2, .L28+8
	smull	r1, r2, r3, r2
	asr	r1, r2, #13
	asr	r2, r3, #31
	sub	r2, r1, r2
	ldr	r1, .L28+12
	mul	r2, r1, r2
	sub	r3, r3, r2
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	ldr	r2, .L28+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #12
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-92]
	ldr	r3, .L28+16
	smull	r1, r3, r2, r3
	asr	r1, r3, #12
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	sub	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	ldr	r2, .L28+20
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-92]
	ldr	r3, .L28+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #6
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #5
	sub	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	ldr	r2, .L28+24
	smull	r1, r2, r3, r2
	asr	r2, r2, #5
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-92]
	ldr	r3, .L28+24
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-64]
	ldr	r2, .L28+28
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-92]
	ldr	r3, .L28+28
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-100]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	str	r3, [fp, #-60]
	ldr	r1, [fp, #-60]
	ldr	r0, .L28+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
.L23:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-28]
	ldr	r2, .L28+36
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r2, [r3]
	ldr	r1, .L28+40
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrh	r3, [r3]
	orr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-78]	@ movhi
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-52]
	cmp	r3, #0
	beq	.L17
	ldrh	r3, [fp, #-78]
	orr	r3, r3, #128
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-78]	@ movhi
.L17:
	sub	r3, fp, #78
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	write
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #5
	ble	.L18
	mov	r3, #0
	str	r3, [fp, #-76]
.L18:
	mov	r0, #1000
	bl	usleep
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bgt	.L27
	bl	kbhit
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	bl	getchar
	mov	r3, r0
	cmp	r3, #113
	bne	.L23
	mov	r3, #0
	strh	r3, [fp, #-78]	@ movhi
	sub	r3, fp, #78
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	write
	ldr	r0, .L28+44
	bl	puts
	mov	r3, #0
	b	.L24
.L27:
	nop
	mov	r3, #0
	strh	r3, [fp, #-78]	@ movhi
	sub	r3, fp, #78
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	write
	mov	r3, #1
.L24:
	ldr	r2, .L28
	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}
.L29:
	.align	2
.L28:
	.word	.LC3
	.word	1125899907
	.word	351843721
	.word	100000
	.word	1759218605
	.word	274877907
	.word	1374389535
	.word	1717986919
	.word	.LC1
	.word	segNum
	.word	segSelMask
	.word	.LC2
	.size	fndDisp, .-fndDisp
	.section	.rodata
	.align	2
.LC4:
	.ascii	"/dev/cnfnd\000"
	.align	2
.LC5:
	.ascii	"driver open error.\012\000"
	.text
	.align	2
	.global	fnd
	.syntax unified
	.arm
	.fpu softvfp
	.type	fnd, %function
fnd:
	@ 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]
	mov	r1, #2
	ldr	r0, .L33
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L31
	ldr	r0, .L33+4
	bl	perror
	mov	r3, #1
	b	.L32
.L31:
	mov	r0, #1
	bl	changemode
	mov	r3, #1
	mov	r2, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	fndDisp
	mov	r0, #0
	bl	changemode
	ldr	r0, [fp, #-8]
	bl	close
	mov	r3, #0
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC4
	.word	.LC5
	.size	fnd, .-fnd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
