	.file	"426649.c"
	.intel_syntax noprefix
	.text
	.globl	old_term
	.bss
	.align 32
	.type	old_term, @object
	.size	old_term, 60
old_term:
	.zero	60
	.globl	new_term
	.align 32
	.type	new_term, @object
	.size	new_term, 60
new_term:
	.zero	60
	.section	.rodata
.LC0:
	.string	"\033[?1049h\033[H"
	.text
	.globl	termSetup
	.type	termSetup, @function
termSetup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, old_term[rip]
	mov	edi, 0
	call	tcgetattr@PLT
	mov	rax, QWORD PTR old_term[rip]
	mov	rdx, QWORD PTR old_term[rip+8]
	mov	QWORD PTR new_term[rip], rax
	mov	QWORD PTR new_term[rip+8], rdx
	mov	rax, QWORD PTR old_term[rip+16]
	mov	rdx, QWORD PTR old_term[rip+24]
	mov	QWORD PTR new_term[rip+16], rax
	mov	QWORD PTR new_term[rip+24], rdx
	mov	rax, QWORD PTR old_term[rip+32]
	mov	rdx, QWORD PTR old_term[rip+40]
	mov	QWORD PTR new_term[rip+32], rax
	mov	QWORD PTR new_term[rip+40], rdx
	mov	rax, QWORD PTR old_term[rip+48]
	mov	QWORD PTR new_term[rip+48], rax
	mov	eax, DWORD PTR old_term[rip+56]
	mov	DWORD PTR new_term[rip+56], eax
	mov	eax, DWORD PTR new_term[rip+12]
	and	eax, -11
	mov	DWORD PTR new_term[rip+12], eax
	lea	rdx, new_term[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	termSetup, .-termSetup
	.section	.rodata
.LC1:
	.string	"\033[?1049l"
	.text
	.globl	termReset
	.type	termReset, @function
termReset:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, old_term[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	termReset, .-termReset
	.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	"426649.c"
	.text
	.comm	old_term,60,4
	.comm	new_term,60,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033[?1049h\033[H\000"
	.text
	.align	2
	.global	termSetup
	.syntax unified
	.arm
	.fpu softvfp
	.type	termSetup, %function
termSetup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	ldr	r1, .L2+4
	mov	r0, #0
	bl	tcgetattr
	ldr	r2, .L2+8
	ldr	r3, .L2+4
	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, .L2+8
	ldr	r3, [r3, #12]
	bic	r3, r3, #10
	ldr	r2, .L2+8
	str	r3, [r2, #12]
	ldr	r2, .L2+8
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	old_term
	.word	new_term
	.size	termSetup, .-termSetup
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\033[?1049l\000"
	.text
	.align	2
	.global	termReset
	.syntax unified
	.arm
	.fpu softvfp
	.type	termReset, %function
termReset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L5
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	ldr	r0, .L5+4
	bl	printf
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	old_term
	.word	.LC1
	.size	termReset, .-termReset
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
