	.file	"975485.c"
	.intel_syntax noprefix
	.text
	.local	original_termios_settings
	.comm	original_termios_settings,60,32
	.type	console_init, @function
console_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, original_termios_settings[rip]
	mov	edi, 0
	call	tcgetattr@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	console_init, .-console_init
	.section	.init_array,"aw"
	.align 8
	.quad	console_init
	.text
	.type	console_cleanup, @function
console_cleanup:
.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, original_termios_settings[rip]
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	console_cleanup, .-console_cleanup
	.section	.fini_array,"aw"
	.align 8
	.quad	console_cleanup
	.text
	.globl	console_ansi_std
	.type	console_ansi_std, @function
console_ansi_std:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	tcgetattr@PLT
	mov	eax, DWORD PTR -80[rbp]
	and	ah, -2
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	or	al, -128
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	or	eax, 10
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	test	eax, eax
	jne	.L4
	mov	DWORD PTR -76[rbp], 0
.L4:
	mov	eax, DWORD PTR -76[rbp]
	or	eax, 5
	mov	DWORD PTR -76[rbp], eax
	lea	rax, -80[rbp]
	mov	rdx, rax
	mov	esi, 0
	mov	edi, 0
	call	tcsetattr@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	console_ansi_std, .-console_ansi_std
	.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	"975485.c"
	.text
	.local	original_termios_settings
	.comm	original_termios_settings,60,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	console_init, %function
console_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r1, .L2
	mov	r0, #0
	bl	tcgetattr
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	original_termios_settings
	.size	console_init, .-console_init
	.section	.init_array,"aw",%init_array
	.align	2
	.word	console_init(target1)
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	console_cleanup, %function
console_cleanup:
	@ 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
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	original_termios_settings
	.size	console_cleanup, .-console_cleanup
	.section	.fini_array,"aw",%fini_array
	.align	2
	.word	console_cleanup(target1)
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	console_ansi_std
	.syntax unified
	.arm
	.fpu softvfp
	.type	console_ansi_std, %function
console_ansi_std:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L10+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r3, .L10+8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	ldr	r3, .L10+12
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	sub	r3, fp, #68
	mov	r1, r3
	mov	r0, #0
	bl	tcgetattr
	ldr	r3, [fp, #-68]
	bic	r3, r3, #256
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	orr	r3, r3, #128
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-56]
	orr	r3, r3, #10
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L8
	mov	r3, #0
	str	r3, [fp, #-64]
.L8:
	ldr	r3, [fp, #-64]
	orr	r3, r3, #5
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	mov	r0, #0
	bl	tcsetattr
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	stdin
	.word	stdout
	.word	stderr
	.size	console_ansi_std, .-console_ansi_std
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
