	.file	"156392599.c"
	.intel_syntax noprefix
	.text
	.globl	spliteq
	.type	spliteq, @function
spliteq:
.LFB6:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L2
.L4:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -8[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L2:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L4
.L3:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 61
	jne	.L5
	add	QWORD PTR -16[rbp], 1
.L5:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L6
.L7:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, 1[rdx]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -8[rbp], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L6:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	spliteq, .-spliteq
	.section	.rodata
.LC0:
	.string	"rb"
	.text
	.globl	loadfile
	.type	loadfile, @function
loadfile:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L10
	mov	eax, 0
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 64
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 64
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	loadfile, .-loadfile
	.section	.rodata
.LC1:
	.string	"\\x%02X"
	.text
	.globl	cify
	.type	cify, @function
cify:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L13
.L20:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 10
	jne	.L14
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 92
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 110
	jmp	.L13
.L14:
	cmp	DWORD PTR -20[rbp], 9
	jne	.L15
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 92
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 116
	jmp	.L13
.L15:
	cmp	DWORD PTR -20[rbp], 31
	jle	.L16
	cmp	DWORD PTR -20[rbp], 126
	jle	.L17
.L16:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	QWORD PTR -8[rbp], 4
	jmp	.L13
.L17:
	cmp	DWORD PTR -20[rbp], 34
	je	.L18
	cmp	DWORD PTR -20[rbp], 92
	jne	.L19
.L18:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 92
.L19:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	BYTE PTR [rax], dl
.L13:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L20
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cify, .-cify
	.section	.rodata
.LC2:
	.string	"-o"
.LC3:
	.string	"no output file"
.LC4:
	.string	"no input names"
.LC5:
	.string	"wt"
.LC6:
	.string	"fail open %s\n"
.LC7:
	.string	"char *%s[]={\n"
.LC8:
	.string	"\"%s\",\n"
.LC9:
	.string	"(char *)0};\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1104
	mov	DWORD PTR -1092[rbp], edi
	mov	QWORD PTR -1104[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1080[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1076[rbp], 1
	jmp	.L23
.L27:
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L24
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L40
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -1064[rbp], rax
	add	DWORD PTR -1076[rbp], 1
	jmp	.L26
.L24:
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -272[rbp]
	lea	rcx, -528[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	spliteq
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -1080[rbp]
	cdqe
	mov	QWORD PTR -1040[rbp+rax*8], rdx
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -1080[rbp]
	cdqe
	mov	QWORD PTR -784[rbp+rax*8], rdx
	add	DWORD PTR -1080[rbp], 1
	jmp	.L26
.L40:
	nop
.L26:
	add	DWORD PTR -1076[rbp], 1
.L23:
	mov	eax, DWORD PTR -1076[rbp]
	cmp	eax, DWORD PTR -1092[rbp]
	jl	.L27
	cmp	QWORD PTR -1064[rbp], 0
	jne	.L28
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L38
.L28:
	cmp	DWORD PTR -1080[rbp], 0
	jne	.L30
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L38
.L30:
	mov	rax, QWORD PTR -1064[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L31
	mov	rax, QWORD PTR -1064[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L38
.L31:
	mov	DWORD PTR -1076[rbp], 0
	jmp	.L32
.L37:
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	mov	rax, QWORD PTR -784[rbp+rax*8]
	lea	rdx, -1084[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	loadfile
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	je	.L41
	mov	eax, DWORD PTR -1076[rbp]
	cdqe
	mov	rdx, QWORD PTR -1040[rbp+rax*8]
	mov	rax, QWORD PTR -1056[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -1084[rbp]
	add	eax, 31
	lea	edx, 31[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 5
	mov	DWORD PTR -1068[rbp], eax
	mov	DWORD PTR -1072[rbp], 0
	jmp	.L35
.L36:
	mov	eax, DWORD PTR -1072[rbp]
	sal	eax, 5
	movsx	rdx, eax
	mov	rax, QWORD PTR -1048[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -528[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	BYTE PTR -496[rbp], 0
	lea	rdx, -272[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cify
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -1072[rbp], 1
.L35:
	mov	eax, DWORD PTR -1072[rbp]
	cmp	eax, DWORD PTR -1068[rbp]
	jl	.L36
	mov	rax, QWORD PTR -1056[rbp]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	jmp	.L34
.L41:
	nop
.L34:
	add	DWORD PTR -1076[rbp], 1
.L32:
	mov	eax, DWORD PTR -1076[rbp]
	cmp	eax, DWORD PTR -1080[rbp]
	jl	.L37
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L38:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"156392599.c"
	.text
	.align	2
	.global	spliteq
	.syntax unified
	.arm
	.fpu softvfp
	.type	spliteq, %function
spliteq:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r2, [fp, #-12]
	add	r3, r2, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L2:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L5
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	b	.L6
.L7:
	ldr	r2, [fp, #-12]
	add	r3, r2, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	str	r1, [fp, #-8]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L6:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	spliteq, .-spliteq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.text
	.align	2
	.global	loadfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	loadfile, %function
loadfile:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, .L12
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	b	.L11
.L10:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r0, [fp, #-16]
	bl	ftell
	str	r0, [fp, #-12]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	fseek
	ldr	r3, [fp, #-12]
	add	r3, r3, #64
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #64
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	memset
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	fread
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.size	loadfile, .-loadfile
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\\x%02X\000"
	.text
	.align	2
	.global	cify
	.syntax unified
	.arm
	.fpu softvfp
	.type	cify, %function
cify:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	b	.L15
.L22:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L16
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #92
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #110
	strb	r2, [r3]
	b	.L15
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bne	.L17
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #92
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #116
	strb	r2, [r3]
	b	.L15
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	ble	.L18
	ldr	r3, [fp, #-8]
	cmp	r3, #126
	ble	.L19
.L18:
	ldr	r2, [fp, #-8]
	ldr	r1, .L24
	ldr	r0, [fp, #-12]
	bl	sprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	b	.L15
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #34
	beq	.L20
	ldr	r3, [fp, #-8]
	cmp	r3, #92
	bne	.L21
.L20:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #92
	strb	r2, [r3]
.L21:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
.L15:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC1
	.size	cify, .-cify
	.section	.rodata
	.align	2
.LC2:
	.ascii	"-o\000"
	.align	2
.LC3:
	.ascii	"no output file\000"
	.align	2
.LC4:
	.ascii	"no input names\000"
	.align	2
.LC5:
	.ascii	"wt\000"
	.align	2
.LC6:
	.ascii	"fail open %s\012\000"
	.align	2
.LC7:
	.ascii	"char *%s[]={\012\000"
	.align	2
.LC8:
	.ascii	"\"%s\",\012\000"
	.align	2
.LC9:
	.ascii	"(char *)0};\012\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 = 816
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #816
	str	r0, [fp, #-816]
	str	r1, [fp, #-820]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-800]
	mov	r3, #0
	str	r3, [fp, #-804]
	mov	r3, #1
	str	r3, [fp, #-796]
	b	.L27
.L31:
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-820]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L28
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-820]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L46+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-796]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-820]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-804]
	ldr	r3, [fp, #-796]
	add	r3, r3, #1
	str	r3, [fp, #-796]
	b	.L30
.L28:
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-820]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #264
	sub	r1, fp, #520
	mov	r0, r3
	bl	spliteq
	sub	r3, fp, #520
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-800]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-772]
	sub	r3, fp, #264
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-800]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-644]
	ldr	r3, [fp, #-800]
	add	r3, r3, #1
	str	r3, [fp, #-800]
	b	.L30
.L44:
	nop
.L30:
	ldr	r3, [fp, #-796]
	add	r3, r3, #1
	str	r3, [fp, #-796]
.L27:
	ldr	r2, [fp, #-796]
	ldr	r3, [fp, #-816]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-804]
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L46+8
	bl	puts
	mvn	r3, #0
	b	.L42
.L32:
	ldr	r3, [fp, #-800]
	cmp	r3, #0
	bne	.L34
	ldr	r0, .L46+12
	bl	printf
	mvn	r3, #0
	b	.L42
.L34:
	ldr	r1, .L46+16
	ldr	r0, [fp, #-804]
	bl	fopen
	str	r0, [fp, #-788]
	ldr	r3, [fp, #-788]
	cmp	r3, #0
	bne	.L35
	ldr	r1, [fp, #-804]
	ldr	r0, .L46+20
	bl	printf
	mvn	r3, #0
	b	.L42
.L35:
	mov	r3, #0
	str	r3, [fp, #-796]
	b	.L36
.L41:
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-644]
	sub	r2, fp, #808
	mov	r1, r2
	mov	r0, r3
	bl	loadfile
	str	r0, [fp, #-784]
	ldr	r3, [fp, #-784]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-772]
	mov	r2, r3
	ldr	r1, .L46+24
	ldr	r0, [fp, #-788]
	bl	fprintf
	ldr	r3, [fp, #-808]
	add	r3, r3, #31
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	str	r3, [fp, #-780]
	mov	r3, #0
	str	r3, [fp, #-792]
	b	.L39
.L40:
	ldr	r3, [fp, #-792]
	lsl	r3, r3, #5
	mov	r2, r3
	ldr	r3, [fp, #-784]
	add	r1, r3, r2
	sub	r3, fp, #520
	mov	r2, #32
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	strb	r3, [fp, #-488]
	sub	r2, fp, #264
	sub	r3, fp, #520
	mov	r1, r2
	mov	r0, r3
	bl	cify
	sub	r3, fp, #264
	mov	r2, r3
	ldr	r1, .L46+28
	ldr	r0, [fp, #-788]
	bl	fprintf
	ldr	r3, [fp, #-792]
	add	r3, r3, #1
	str	r3, [fp, #-792]
.L39:
	ldr	r2, [fp, #-792]
	ldr	r3, [fp, #-780]
	cmp	r2, r3
	blt	.L40
	ldr	r3, [fp, #-788]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L46+32
	bl	fwrite
	b	.L38
.L45:
	nop
.L38:
	ldr	r3, [fp, #-796]
	add	r3, r3, #1
	str	r3, [fp, #-796]
.L36:
	ldr	r2, [fp, #-796]
	ldr	r3, [fp, #-800]
	cmp	r2, r3
	blt	.L41
	ldr	r0, [fp, #-788]
	bl	fclose
	mov	r3, #0
.L42:
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC10
	.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
