	.file	"191612.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Value 1:"
.LC1:
	.string	"Value 2:"
	.align 8
.LC2:
	.string	"Use UP, DOWN arrow keys to switch between fields"
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	initscr@PLT
	call	start_color@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	edx, 4
	mov	esi, 7
	mov	edi, 1
	call	init_pair@PLT
	mov	edx, 4
	mov	esi, 7
	mov	edi, 2
	call	init_pair@PLT
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 18
	mov	edx, 4
	mov	esi, 10
	mov	edi, 1
	call	new_field@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 18
	mov	edx, 6
	mov	esi, 10
	mov	edi, 1
	call	new_field@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	set_field_fore@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	set_field_back@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	field_opts_off@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 131072
	mov	rdi, rax
	call	set_field_back@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 64
	mov	rdi, rax
	call	field_opts_off@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	new_form@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	post_form@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	set_current_field@PLT
	lea	rdx, .LC0[rip]
	mov	esi, 10
	mov	edi, 4
	mov	eax, 0
	call	mvprintw@PLT
	lea	rdx, .LC1[rip]
	mov	esi, 10
	mov	edi, 6
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 2
	lea	rdx, .LC2[rip]
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	jmp	.L2
.L6:
	cmp	DWORD PTR -44[rbp], 258
	je	.L3
	cmp	DWORD PTR -44[rbp], 259
	je	.L4
	jmp	.L9
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 516
	mov	rdi, rax
	call	form_driver@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 537
	mov	rdi, rax
	call	form_driver@PLT
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 517
	mov	rdi, rax
	call	form_driver@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 537
	mov	rdi, rax
	call	form_driver@PLT
	jmp	.L2
.L9:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	form_driver@PLT
	nop
.L2:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 265
	jne	.L6
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	unpost_form@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free_form@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free_field@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free_field@PLT
	call	endwin@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	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	"191612.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Value 1:\000"
	.align	2
.LC1:
	.ascii	"Value 2:\000"
	.align	2
.LC2:
	.ascii	"Use UP, DOWN arrow keys to switch between fields\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	initscr
	bl	start_color
	bl	cbreak
	bl	noecho
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	mov	r2, #4
	mov	r1, #7
	mov	r0, #1
	bl	init_pair
	mov	r2, #4
	mov	r1, #7
	mov	r0, #2
	bl	init_pair
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #18
	mov	r2, #4
	mov	r1, #10
	mov	r0, #1
	bl	new_field
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #18
	mov	r2, #6
	mov	r1, #10
	mov	r0, #1
	bl	new_field
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	mov	r1, #256
	mov	r0, r3
	bl	set_field_fore
	ldr	r3, [fp, #-20]
	mov	r1, #512
	mov	r0, r3
	bl	set_field_back
	ldr	r3, [fp, #-20]
	mov	r1, #64
	mov	r0, r3
	bl	field_opts_off
	ldr	r3, [fp, #-16]
	mov	r1, #131072
	mov	r0, r3
	bl	set_field_back
	ldr	r3, [fp, #-16]
	mov	r1, #64
	mov	r0, r3
	bl	field_opts_off
	sub	r3, fp, #20
	mov	r0, r3
	bl	new_form
	str	r0, [fp, #-28]
	ldr	r0, [fp, #-28]
	bl	post_form
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	set_current_field
	ldr	r2, .L10+8
	mov	r1, #10
	mov	r0, #4
	bl	mvprintw
	ldr	r2, .L10+12
	mov	r1, #10
	mov	r0, #6
	bl	mvprintw
	ldr	r3, .L10+16
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L10+20
	mov	r1, #0
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	b	.L2
.L6:
	ldr	r3, [fp, #-24]
	ldr	r2, .L10+24
	cmp	r3, r2
	beq	.L3
	ldr	r3, [fp, #-24]
	ldr	r2, .L10+28
	cmp	r3, r2
	beq	.L4
	b	.L9
.L3:
	mov	r1, #516
	ldr	r0, [fp, #-28]
	bl	form_driver
	ldr	r1, .L10+32
	ldr	r0, [fp, #-28]
	bl	form_driver
	b	.L2
.L4:
	ldr	r1, .L10+36
	ldr	r0, [fp, #-28]
	bl	form_driver
	ldr	r1, .L10+32
	ldr	r0, [fp, #-28]
	bl	form_driver
	b	.L2
.L9:
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	form_driver
	nop
.L2:
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, .L10+40
	cmp	r3, r2
	bne	.L6
	ldr	r0, [fp, #-28]
	bl	unpost_form
	ldr	r0, [fp, #-28]
	bl	free_form
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free_field
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	free_field
	bl	endwin
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	stdscr
	.word	.LC0
	.word	.LC1
	.word	LINES
	.word	.LC2
	.word	258
	.word	259
	.word	537
	.word	517
	.word	265
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
