	.file	"640097.c"
	.intel_syntax noprefix
	.text
	.globl	wrarray
	.data
	.align 32
	.type	wrarray, @object
	.size	wrarray, 32
wrarray:
	.value	2
	.value	9
	.zero	28
	.section	.rodata
	.align 8
.LC0:
	.string	"Your display device is not the Lexidata!\n"
	.align 8
.LC1:
	.string	"Syntax: lexconfig [config number]\n"
	.align 8
.LC2:
	.string	"Available configurations are: 0,1,3,4,9\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -20[rbp], 0
	mov	WORD PTR -18[rbp], 2
	mov	WORD PTR -16[rbp], 11
	mov	eax, 0
	call	getdev@PLT
	cmp	eax, 76
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	cmp	DWORD PTR -36[rbp], 2
	jle	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 0
	call	exit@PLT
.L3:
	cmp	DWORD PTR -36[rbp], 2
	jne	.L4
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	WORD PTR wrarray[rip+2], ax
.L4:
	movzx	eax, WORD PTR wrarray[rip+2]
	cwde
	cmp	eax, 9
	seta	dl
	test	dl, dl
	jne	.L5
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	eax, 539
	test	rax, rax
	setne	al
	test	al, al
	jne	.L11
.L5:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	nop
	lea	rdx, -12[rbp]
	lea	rax, -14[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	dsopn_@PLT
	lea	rcx, -20[rbp]
	lea	rdx, -10[rbp]
	lea	rax, -18[rbp]
	mov	rsi, rax
	lea	rdi, wrarray[rip]
	mov	eax, 0
	call	dsesc_@PLT
	mov	edi, 2
	mov	eax, 0
	call	sleep@PLT
	movzx	eax, WORD PTR wrarray[rip+2]
	cmp	ax, 4
	jne	.L7
	mov	WORD PTR wrarray[rip], 32
	mov	WORD PTR wrarray[rip+2], 1
	mov	WORD PTR wrarray[rip+4], 8
	mov	WORD PTR wrarray[rip+6], 1
	mov	WORD PTR wrarray[rip+8], 2
	mov	WORD PTR wrarray[rip+10], 3
	mov	WORD PTR wrarray[rip+12], 4
	mov	WORD PTR wrarray[rip+14], 5
	mov	WORD PTR wrarray[rip+16], 6
	mov	WORD PTR wrarray[rip+18], 7
	mov	WORD PTR wrarray[rip+20], 1
	lea	rcx, -20[rbp]
	lea	rdx, -10[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, wrarray[rip]
	mov	eax, 0
	call	dsesc_@PLT
	mov	edi, 2
	mov	eax, 0
	call	sleep@PLT
.L7:
	mov	eax, 0
	call	dscls_@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"640097.c"
	.text
	.global	wrarray
	.data
	.align	2
	.type	wrarray, %object
	.size	wrarray, 32
wrarray:
	.short	2
	.short	9
	.space	28
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Your display device is not the Lexidata!\012\000"
	.align	2
.LC1:
	.ascii	"Syntax: lexconfig [config number]\012\000"
	.align	2
.LC2:
	.ascii	"Available configurations are: 0,1,3,4,9\012\000"
	.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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	strh	r3, [fp, #-22]	@ movhi
	mov	r3, #2
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #11
	strh	r3, [fp, #-18]	@ movhi
	bl	getdev
	mov	r3, r0
	cmp	r3, #76
	beq	.L2
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L12+8
	bl	fwrite
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	ble	.L3
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L12+12
	bl	fwrite
	mov	r0, #0
	bl	exit
.L3:
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	bne	.L4
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L12+16
	strh	r3, [r2, #2]	@ movhi
.L4:
	ldr	r3, .L12+16
	ldrsh	r3, [r3, #2]
	cmp	r3, #9
	movhi	r2, #1
	movls	r2, #0
	and	r2, r2, #255
	cmp	r2, #0
	bne	.L5
	mov	r2, #1
	lsl	r2, r2, r3
	ldr	r3, .L12+20
	and	r3, r3, r2
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L11
.L5:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L12+24
	bl	fwrite
	mov	r0, #1
	bl	exit
.L11:
	nop
	sub	r2, fp, #14
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	dsopn_
	sub	r3, fp, #22
	sub	r2, fp, #12
	sub	r1, fp, #20
	ldr	r0, .L12+16
	bl	dsesc_
	mov	r0, #2
	bl	sleep
	ldr	r3, .L12+16
	ldrsh	r3, [r3, #2]
	cmp	r3, #4
	bne	.L7
	ldr	r3, .L12+16
	mov	r2, #32
	strh	r2, [r3]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #1
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #8
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #1
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #2
	strh	r2, [r3, #8]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #3
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #4
	strh	r2, [r3, #12]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #5
	strh	r2, [r3, #14]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #6
	strh	r2, [r3, #16]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #7
	strh	r2, [r3, #18]	@ movhi
	ldr	r3, .L12+16
	mov	r2, #1
	strh	r2, [r3, #20]	@ movhi
	sub	r3, fp, #22
	sub	r2, fp, #12
	sub	r1, fp, #18
	ldr	r0, .L12+16
	bl	dsesc_
	mov	r0, #2
	bl	sleep
.L7:
	bl	dscls_
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	wrarray
	.word	539
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
