	.file	"850341.c"
	.intel_syntax noprefix
	.text
	.type	lex, @function
lex:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -28[rbp], 0
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -29[rbp], al
	movsx	eax, BYTE PTR -29[rbp]
	cmp	eax, 32
	je	.L6
	cmp	eax, 39
	je	.L29
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jbe	.L30
	nop
.L10:
	add	QWORD PTR -24[rbp], 1
	jmp	.L11
.L33:
	nop
.L11:
	mov	eax, -1
	jmp	.L12
.L6:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -29[rbp], al
	movsx	eax, BYTE PTR -29[rbp]
	cmp	eax, 32
	jne	.L31
	jmp	.L6
.L31:
	nop
.L14:
	jmp	.L2
.L29:
	nop
.L7:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -29[rbp], al
	cmp	BYTE PTR -29[rbp], 0
	jg	.L32
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jbe	.L33
	nop
	jmp	.L17
.L36:
	nop
	jmp	.L17
.L37:
	nop
	jmp	.L17
.L38:
	nop
.L17:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -29[rbp], al
	jmp	.L16
.L32:
	nop
.L16:
	movsx	eax, BYTE PTR -29[rbp]
	cmp	eax, 39
	je	.L34
	cmp	eax, 92
	je	.L35
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	ja	.L36
	jmp	.L24
.L34:
	nop
.L21:
	add	QWORD PTR -24[rbp], 1
	add	DWORD PTR -28[rbp], 1
	jmp	.L2
.L35:
	nop
.L22:
	add	QWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -29[rbp], al
	cmp	BYTE PTR -29[rbp], 0
	jg	.L37
	mov	rax, QWORD PTR -16[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	ja	.L38
	jmp	.L24
.L30:
	nop
.L9:
	mov	eax, DWORD PTR -28[rbp]
	jmp	.L12
.L24:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L11
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	lex, .-lex
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"c/eof/03_eof_rule.re"
.LC2:
	.string	"lex(\"\", sizeof(\"\") - 1) == 0"
.LC3:
	.string	"'qu"
	.string	"tes' 'are' 'fine: \\'' "
	.align 8
.LC4:
	.string	"lex(\"'qu\\0tes' 'are' 'fine: \\\\'' \", sizeof(\"'qu\\0tes' 'are' 'fine: \\\\'' \") - 1) == 3"
.LC5:
	.string	"'unterminated\\'"
	.align 8
.LC6:
	.string	"lex(\"'unterminated\\\\'\", sizeof(\"'unterminated\\\\'\") - 1) == -1"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 0
	lea	rdi, .LC0[rip]
	call	lex
	test	eax, eax
	je	.L40
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 27
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L40:
	mov	esi, 26
	lea	rdi, .LC3[rip]
	call	lex
	cmp	eax, 3
	je	.L41
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 28
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L41:
	mov	esi, 15
	lea	rdi, .LC5[rip]
	call	lex
	cmp	eax, -1
	je	.L42
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 29
	lea	rsi, .LC1[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L42:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"main"
	.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	"850341.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lex, %function
lex:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L6
	cmp	r3, #39
	beq	.L29
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bls	.L30
	nop
.L10:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L11
.L33:
	nop
.L11:
	mvn	r3, #0
	b	.L12
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L31
	b	.L6
.L31:
	nop
.L14:
	b	.L2
.L29:
	nop
.L7:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L32
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bls	.L33
	nop
	b	.L17
.L36:
	nop
	b	.L17
.L37:
	nop
	b	.L17
.L38:
	nop
.L17:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	b	.L16
.L32:
	nop
.L16:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #39
	beq	.L34
	cmp	r3, #92
	beq	.L35
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bhi	.L36
	b	.L24
.L34:
	nop
.L21:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L2
.L35:
	nop
.L22:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L37
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bhi	.L38
	b	.L24
.L30:
	nop
.L9:
	ldr	r3, [fp, #-16]
	b	.L12
.L24:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	b	.L11
.L12:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	lex, .-lex
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"c/eof/03_eof_rule.re\000"
	.align	2
.LC2:
	.ascii	"lex(\"\", sizeof(\"\") - 1) == 0\000"
	.align	2
.LC3:
	.ascii	"'qu\000tes' 'are' 'fine: \\'' \000"
	.align	2
.LC4:
	.ascii	"lex(\"'qu\\0tes' 'are' 'fine: \\\\'' \", sizeof(\"'"
	.ascii	"qu\\0tes' 'are' 'fine: \\\\'' \") - 1) == 3\000"
	.align	2
.LC5:
	.ascii	"'unterminated\\'\000"
	.align	2
.LC6:
	.ascii	"lex(\"'unterminated\\\\'\", sizeof(\"'unterminated\\"
	.ascii	"\\'\") - 1) == -1\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #0
	ldr	r0, .L44
	bl	lex
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L44+4
	mov	r2, #27
	ldr	r1, .L44+8
	ldr	r0, .L44+12
	bl	__assert_fail
.L40:
	mov	r1, #26
	ldr	r0, .L44+16
	bl	lex
	mov	r3, r0
	cmp	r3, #3
	beq	.L41
	ldr	r3, .L44+4
	mov	r2, #28
	ldr	r1, .L44+8
	ldr	r0, .L44+20
	bl	__assert_fail
.L41:
	mov	r1, #15
	ldr	r0, .L44+24
	bl	lex
	mov	r3, r0
	cmn	r3, #1
	beq	.L42
	ldr	r3, .L44+4
	mov	r2, #29
	ldr	r1, .L44+8
	ldr	r0, .L44+28
	bl	__assert_fail
.L42:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC0
	.word	__PRETTY_FUNCTION__.4239
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.4239, %object
	.size	__PRETTY_FUNCTION__.4239, 5
__PRETTY_FUNCTION__.4239:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
