	.file	"extr_lex.c_read_char.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unterminated char"
	.text
	.p2align 4
	.type	read_char, @function
read_char:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	readc@PLT
	mov	ebp, eax
	cmp	eax, 92
	je	.L11
.L2:
	xor	eax, eax
	call	readc@PLT
	cmp	eax, 39
	je	.L3
	mov	edi, DWORD PTR pos[rip]
	lea	rsi, .LC0[rip]
	call	errorp@PLT
.L3:
	cmp	DWORD PTR ENC_NONE[rip], r12d
	je	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	make_char@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movsx	edi, bpl
	mov	esi, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	make_char@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	xor	eax, eax
	call	read_escaped_char@PLT
	mov	ebp, eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	read_char, .-read_char
	.comm	pos,4,4
	.comm	ENC_NONE,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_lex.c_read_char.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unterminated char\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_char, %function
read_char:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	readc
	cmp	r0, #92
	movne	r4, r0
	beq	.L11
.L2:
	bl	readc
	cmp	r0, #39
	beq	.L3
	ldr	r3, .L13
	ldr	r1, .L13+4
	ldr	r0, [r3]
	bl	errorp
.L3:
	ldr	r3, .L13+8
	mov	r1, r5
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L12
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	make_char
.L12:
	and	r0, r4, #255
	pop	{r4, r5, r6, lr}
	b	make_char
.L11:
	bl	read_escaped_char
	mov	r4, r0
	b	.L2
.L14:
	.align	2
.L13:
	.word	pos
	.word	.LC0
	.word	ENC_NONE
	.size	read_char, .-read_char
	.comm	pos,4,4
	.comm	ENC_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
