	.file	"extr_video_console.c_gc_putc_askcmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gc_putc_askcmd, @function
gc_putc_askcmd:
.LFB0:
	.cfi_startproc
	endbr64
	lea	edx, -48[rdi]
	mov	rax, QWORD PTR gc_par[rip]
	cmp	dl, 9
	jbe	.L7
	mov	edx, DWORD PTR ESnormal[rip]
	mov	DWORD PTR gc_vt100state[rip], edx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 6
	je	.L4
	cmp	eax, 7
	je	.L5
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	cmp	dil, 104
	sete	al
	mov	DWORD PTR gc_wrap_mode[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
	cmp	dil, 104
	sete	al
	mov	DWORD PTR gc_relative_origin[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, QWORD PTR gc_numpars[rip]
	movzx	edi, dil
	lea	rax, [rax+rdx*4]
	mov	edx, DWORD PTR [rax]
	lea	edx, [rdx+rdx*4]
	lea	edx, -48[rdi+rdx*2]
	mov	DWORD PTR [rax], edx
	ret
	.cfi_endproc
.LFE0:
	.size	gc_putc_askcmd, .-gc_putc_askcmd
	.comm	gc_wrap_mode,4,4
	.comm	gc_vt100state,4,4
	.comm	gc_relative_origin,4,4
	.comm	gc_par,8,8
	.comm	gc_numpars,8,8
	.comm	ESnormal,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_video_console.c_gc_putc_askcmd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gc_putc_askcmd, %function
gc_putc_askcmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	r3, r0, #48
	ldr	r2, .L9
	and	r1, r3, #255
	cmp	r1, #9
	ldr	r2, [r2]
	bls	.L8
	ldr	r1, .L9+4
	ldr	r3, .L9+8
	ldr	r1, [r1]
	str	r1, [r3]
	ldr	r3, [r2]
	cmp	r3, #6
	beq	.L4
	cmp	r3, #7
	bxne	lr
	sub	r0, r0, #104
	clz	r0, r0
	ldr	r3, .L9+12
	lsr	r0, r0, #5
	str	r0, [r3]
	bx	lr
.L4:
	sub	r0, r0, #104
	clz	r0, r0
	ldr	r3, .L9+16
	lsr	r0, r0, #5
	str	r0, [r3]
	bx	lr
.L8:
	ldr	r1, .L9+20
	ldr	r0, [r1]
	ldr	r1, [r2, r0, lsl #2]
	add	r1, r1, r1, lsl #2
	add	r3, r3, r1, lsl #1
	str	r3, [r2, r0, lsl #2]
	bx	lr
.L10:
	.align	2
.L9:
	.word	gc_par
	.word	ESnormal
	.word	gc_vt100state
	.word	gc_wrap_mode
	.word	gc_relative_origin
	.word	gc_numpars
	.size	gc_putc_askcmd, .-gc_putc_askcmd
	.comm	gc_wrap_mode,4,4
	.comm	gc_vt100state,4,4
	.comm	gc_relative_origin,4,4
	.comm	gc_par,4,4
	.comm	gc_numpars,4,4
	.comm	ESnormal,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
