	.file	"extr_terminal-unix.c_do_deactivate_getch2.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	do_deactivate_getch2, @function
do_deactivate_getch2:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR getch2_active[rip], 0
	jne	.L9
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	edi, edi
	call	enable_kx@PLT
	cmp	QWORD PTR tio_orig_set[rip], 0
	jne	.L10
	mov	QWORD PTR getch2_active[rip], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR TCSANOW[rip]
	mov	edi, DWORD PTR tty_in[rip]
	lea	rdx, tio_orig[rip]
	call	tcsetattr@PLT
	mov	QWORD PTR getch2_active[rip], 0
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	do_deactivate_getch2, .-do_deactivate_getch2
	.comm	tty_in,4,4
	.comm	tio_orig_set,8,8
	.comm	tio_orig,4,4
	.comm	getch2_active,8,8
	.comm	TCSANOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_terminal-unix.c_do_deactivate_getch2.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_deactivate_getch2, %function
do_deactivate_getch2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L13
	ldr	r3, [r4]
	cmp	r3, #0
	popeq	{r4, pc}
	mov	r0, #0
	bl	enable_kx
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
.L3:
	mov	r3, #0
	str	r3, [r4]
	pop	{r4, pc}
.L12:
	ldr	r2, .L13+8
	ldr	r3, .L13+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r2, .L13+16
	bl	tcsetattr
	b	.L3
.L14:
	.align	2
.L13:
	.word	getch2_active
	.word	tio_orig_set
	.word	TCSANOW
	.word	tty_in
	.word	tio_orig
	.size	do_deactivate_getch2, .-do_deactivate_getch2
	.comm	tty_in,4,4
	.comm	tio_orig_set,4,4
	.comm	tio_orig,4,4
	.comm	getch2_active,4,4
	.comm	TCSANOW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
