	.file	"701254.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: %s jambase.c Jambase ...\n"
.LC1:
	.string	"w"
.LC2:
	.string	".c"
	.align 8
.LC3:
	.string	"/* Generated by mkjambase from Jambase */\n"
.LC4:
	.string	"const char *jambase[] = {\n"
.LC5:
	.string	"r"
.LC6:
	.string	"/* %s */\n"
.LC7:
	.string	"### %s ###\n"
.LC8:
	.string	"\\n\",\n"
.LC9:
	.string	"0 };\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1120
	mov	DWORD PTR -1092[rbp], edi
	mov	QWORD PTR -1104[rbp], rsi
	mov	QWORD PTR -1112[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1076[rbp], 0
	cmp	DWORD PTR -1092[rbp], 2
	jg	.L2
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L26
.L2:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, -1
	jmp	.L26
.L4:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	je	.L5
	mov	rax, QWORD PTR -1056[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	add	DWORD PTR -1076[rbp], 1
.L5:
	sub	DWORD PTR -1092[rbp], 2
	add	QWORD PTR -1104[rbp], 16
	cmp	DWORD PTR -1076[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -1064[rbp]
	mov	rcx, rax
	mov	edx, 42
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -1064[rbp]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	jmp	.L7
.L24:
	mov	rax, QWORD PTR -1104[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -1104[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	eax, -1
	jmp	.L26
.L8:
	cmp	DWORD PTR -1076[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1064[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L11
.L9:
	mov	rax, QWORD PTR -1104[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1064[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L11
.L23:
	cmp	DWORD PTR -1076[rbp], 0
	je	.L12
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1072[rbp], rax
	jmp	.L13
.L14:
	add	QWORD PTR -1072[rbp], 1
.L13:
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L14
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L14
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L14
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L11
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L16
	jmp	.L11
.L16:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rax
	mov	edi, 34
	call	putc@PLT
	jmp	.L17
.L22:
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 34
	je	.L18
	cmp	eax, 92
	jne	.L19
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rax
	mov	edi, 92
	call	putc@PLT
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rax
	mov	edi, 92
	call	putc@PLT
	jmp	.L20
.L18:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rax
	mov	edi, 92
	call	putc@PLT
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rax
	mov	edi, 34
	call	putc@PLT
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	rdx, QWORD PTR -1064[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	nop
.L20:
	add	QWORD PTR -1072[rbp], 1
.L17:
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L21
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L21
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L22
.L21:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	jmp	.L11
.L12:
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L11:
	mov	rdx, QWORD PTR -1048[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L23
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	fclose@PLT
	add	QWORD PTR -1104[rbp], 8
.L7:
	mov	eax, DWORD PTR -1092[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -1092[rbp], edx
	test	eax, eax
	jne	.L24
	cmp	DWORD PTR -1076[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -1064[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
.L25:
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L26:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-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	"701254.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: %s jambase.c Jambase ...\012\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.align	2
.LC2:
	.ascii	".c\000"
	.align	2
.LC3:
	.ascii	"/* Generated by mkjambase from Jambase */\012\000"
	.align	2
.LC4:
	.ascii	"const char *jambase[] = {\012\000"
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"/* %s */\012\000"
	.align	2
.LC7:
	.ascii	"### %s ###\012\000"
	.align	2
.LC8:
	.ascii	"\\n\",\012\000"
	.align	2
.LC9:
	.ascii	"0 };\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	sub	sp, sp, #8
	str	r0, [fp, #-1056]
	str	r1, [fp, #-1060]
	str	r2, [fp, #-1064]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1052]
	ldr	r3, [fp, #-1056]
	cmp	r3, #2
	bgt	.L2
	ldr	r3, .L28+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1060]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L28+8
	bl	fprintf
	mvn	r3, #0
	b	.L26
.L2:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L28+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-1060]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mvn	r3, #0
	b	.L26
.L4:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #46
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	beq	.L5
	ldr	r1, .L28+16
	ldr	r0, [fp, #-1040]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-1052]
	add	r3, r3, #1
	str	r3, [fp, #-1052]
.L5:
	ldr	r3, [fp, #-1056]
	sub	r3, r3, #2
	str	r3, [fp, #-1056]
	ldr	r3, [fp, #-1060]
	add	r3, r3, #8
	str	r3, [fp, #-1060]
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-1044]
	mov	r2, #42
	mov	r1, #1
	ldr	r0, .L28+20
	bl	fwrite
	ldr	r3, [fp, #-1044]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L28+24
	bl	fwrite
	b	.L7
.L24:
	ldr	r3, [fp, #-1060]
	ldr	r3, [r3]
	ldr	r1, .L28+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-1060]
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mvn	r3, #0
	b	.L26
.L8:
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-1060]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L28+32
	ldr	r0, [fp, #-1044]
	bl	fprintf
	b	.L11
.L9:
	ldr	r3, [fp, #-1060]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L28+36
	ldr	r0, [fp, #-1044]
	bl	fprintf
	b	.L11
.L23:
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	beq	.L12
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1048]
	b	.L13
.L14:
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L13:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L14
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L14
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L14
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L11
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L16
	b	.L11
.L16:
	ldr	r1, [fp, #-1044]
	mov	r0, #34
	bl	putc
	b	.L17
.L22:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L18
	cmp	r3, #92
	bne	.L19
	ldr	r1, [fp, #-1044]
	mov	r0, #92
	bl	putc
	ldr	r1, [fp, #-1044]
	mov	r0, #92
	bl	putc
	b	.L20
.L18:
	ldr	r1, [fp, #-1044]
	mov	r0, #92
	bl	putc
	ldr	r1, [fp, #-1044]
	mov	r0, #34
	bl	putc
	b	.L20
.L19:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-1044]
	mov	r0, r3
	bl	putc
	nop
.L20:
	ldr	r3, [fp, #-1048]
	add	r3, r3, #1
	str	r3, [fp, #-1048]
.L17:
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L21
	ldr	r3, [fp, #-1048]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L22
.L21:
	ldr	r3, [fp, #-1044]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L28+40
	bl	fwrite
	b	.L11
.L12:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1044]
	mov	r0, r3
	bl	fputs
.L11:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-1036]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r0, [fp, #-1036]
	bl	fclose
	ldr	r3, [fp, #-1060]
	add	r3, r3, #4
	str	r3, [fp, #-1060]
.L7:
	ldr	r3, [fp, #-1056]
	sub	r2, r3, #1
	str	r2, [fp, #-1056]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-1052]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-1044]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L28+44
	bl	fwrite
.L25:
	ldr	r0, [fp, #-1044]
	bl	fclose
	mov	r3, #0
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC10
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
