	.file	"112250.c"
	.intel_syntax noprefix
	.text
	.globl	dorcs
	.data
	.align 4
	.type	dorcs, @object
	.size	dorcs, 4
dorcs:
	.long	1
	.globl	do83
	.align 4
	.type	do83, @object
	.size	do83, 4
do83:
	.long	1
	.globl	doro
	.align 4
	.type	doro, @object
	.size	doro, 4
doro:
	.long	1
	.globl	dodot
	.align 4
	.type	dodot, @object
	.size	dodot, 4
dodot:
	.long	1
	.globl	dotwiddle
	.align 4
	.type	dotwiddle, @object
	.size	dotwiddle, 4
dotwiddle:
	.long	1
	.section	.rodata
.LC0:
	.string	"Z"
.LC1:
	.string	"PS"
	.text
	.globl	dontcare
	.type	dontcare, @function
dontcare:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 126
	jne	.L2
	mov	eax, 1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
.L5:
	mov	eax, 1
	jmp	.L3
.L4:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dontcare, .-dontcare
	.section	.rodata
.LC2:
	.string	"dot file: %s\n"
	.align 8
.LC3:
	.string	"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_."
.LC4:
	.string	"bad character: %s\n"
.LC5:
	.string	"too long (%d): %s\n"
.LC6:
	.string	"symbolic link: %s\n"
	.align 8
.LC7:
	.string	"directory mode 0%o not minimum 0%o: %s\n"
.LC8:
	.string	"not a regular file: %s\n"
	.align 8
.LC9:
	.string	"file mode 0%o not minimum 0%o: %s\n"
.LC10:
	.string	"%d links instead of 1: %s\n"
.LC11:
	.string	"writable: %s\n"
	.align 8
.LC12:
	.string	"mode 0%o outside maximum set 0%o: %s\n"
	.text
	.globl	checkfile
	.type	checkfile, @function
checkfile:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -16[rbp], 12
	mov	eax, DWORD PTR dodot[rip]
	test	eax, eax
	je	.L8
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L8
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L10
.L15:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC3[rip]
	call	strchr@PLT
	test	rax, rax
	jne	.L11
	mov	eax, DWORD PTR dotwiddle[rip]
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 126
	jne	.L12
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L23
.L12:
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L23
.L11:
	add	DWORD PTR -20[rbp], 1
	add	QWORD PTR -8[rbp], 1
.L10:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L15
	jmp	.L14
.L23:
	nop
.L14:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jle	.L16
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	dontcare
	test	eax, eax
	jne	.L16
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 40960
	cmp	eax, 40960
	jne	.L17
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L17:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	ah, 15
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 16384
	test	eax, eax
	je	.L18
	mov	DWORD PTR -16[rbp], 14
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 509
	cmp	eax, 509
	je	.L19
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rcx, rdx
	mov	edx, 509
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 24[rax]
	and	eax, 32768
	test	eax, eax
	jne	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 292
	cmp	eax, 292
	je	.L21
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 292
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L21:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	cmp	rax, 1
	je	.L22
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	mov	eax, DWORD PTR doro[rip]
	test	eax, eax
	je	.L19
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 146
	test	eax, eax
	je	.L19
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	dontcare
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	eax, DWORD PTR -12[rbp]
	and	eax, -512
	test	eax, eax
	je	.L9
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	rcx, rdx
	mov	edx, 511
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	checkfile, .-checkfile
	.section	.rodata
.LC13:
	.string	"cannot open: %s\n"
.LC14:
	.string	"not used: %s\n"
	.text
	.globl	checkrcs
	.type	checkrcs, @function
checkrcs:
.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, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -200[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L24
.L28:
	mov	rax, QWORD PTR -168[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, 1
	mov	rdx, QWORD PTR -168[rbp]
	cdqe
	movzx	eax, BYTE PTR 19[rdx+rax]
	cmp	al, 118
	jne	.L27
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, 2
	mov	rdx, QWORD PTR -168[rbp]
	cdqe
	movzx	eax, BYTE PTR 19[rdx+rax]
	cmp	al, 44
	jne	.L27
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -180[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -208[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L27
	mov	rax, QWORD PTR -208[rbp]
	mov	DWORD PTR [rax], 793985874
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -168[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	closedir@PLT
.L24:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	checkrcs, .-checkrcs
	.globl	Strncmp
	.type	Strncmp, @function
Strncmp:
.LFB9:
	.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	DWORD PTR -36[rbp], edx
	jmp	.L31
.L39:
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L32
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -2[rbp], al
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -2[rbp], 64
	jle	.L33
	cmp	BYTE PTR -2[rbp], 90
	jg	.L33
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, 32
	mov	BYTE PTR -2[rbp], al
	jmp	.L34
.L33:
	cmp	BYTE PTR -2[rbp], 45
	jne	.L34
	mov	BYTE PTR -2[rbp], 95
.L34:
	cmp	BYTE PTR -1[rbp], 64
	jle	.L35
	cmp	BYTE PTR -1[rbp], 90
	jg	.L35
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 32
	mov	BYTE PTR -1[rbp], al
	jmp	.L36
.L35:
	cmp	BYTE PTR -1[rbp], 45
	jne	.L36
	mov	BYTE PTR -1[rbp], 95
.L36:
	movzx	eax, BYTE PTR -2[rbp]
	cmp	al, BYTE PTR -1[rbp]
	je	.L32
	movsx	eax, BYTE PTR -2[rbp]
	movsx	edx, BYTE PTR -1[rbp]
	sub	eax, edx
	jmp	.L37
.L32:
	add	QWORD PTR -24[rbp], 1
	add	QWORD PTR -32[rbp], 1
.L31:
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	js	.L38
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L38
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L39
.L38:
	cmp	DWORD PTR -36[rbp], 0
	jns	.L40
	mov	eax, 0
	jmp	.L37
.L40:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	eax, edx
	sub	eax, ecx
.L37:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Strncmp, .-Strncmp
	.globl	fncomp
	.type	fncomp, @function
fncomp:
.LFB10:
	.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 -48[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	Strncmp
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L42
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 46
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L43
	cmp	QWORD PTR -8[rbp], 0
	je	.L42
.L43:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L44
	mov	eax, -1
	jmp	.L45
.L44:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L46
	mov	eax, 1
	jmp	.L45
.L46:
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	Strncmp
	mov	DWORD PTR -20[rbp], eax
.L42:
	mov	eax, DWORD PTR -20[rbp]
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	fncomp, .-fncomp
	.section	.rodata
.LC15:
	.string	"RCS"
.LC16:
	.string	"SCCS"
.LC17:
	.string	"CVS.adm"
.LC18:
	.string	"no RCS: %s\n"
.LC19:
	.string	"8+3 clash: %s%s and %s\n"
	.text
	.globl	checkdir
	.type	checkdir, @function
checkdir:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L48
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -216[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L47
.L48:
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	QWORD PTR -200[rbp], rax
	mov	rax, QWORD PTR -200[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L50
	mov	rax, QWORD PTR -200[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -200[rbp], rdx
	mov	BYTE PTR [rax], 47
.L50:
	mov	DWORD PTR -208[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	jmp	.L51
.L63:
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L52
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	perror@PLT
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -136[rbp]
	and	eax, 16384
	test	eax, eax
	je	.L53
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 19[rax]
	cmp	al, 46
	jne	.L54
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 20[rax]
	test	al, al
	je	.L51
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 20[rax]
	cmp	al, 46
	jne	.L54
	mov	rax, QWORD PTR -176[rbp]
	movzx	eax, BYTE PTR 21[rax]
	test	al, al
	jne	.L54
	jmp	.L51
.L54:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L56
	mov	eax, DWORD PTR dorcs[rip]
	test	eax, eax
	je	.L51
	mov	rdx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	checkrcs
	jmp	.L51
.L56:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L58
	jmp	.L51
.L58:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	jmp	.L51
.L59:
	lea	rdx, -160[rbp]
	mov	rcx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	checkfile
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	checkdir
	jmp	.L51
.L53:
	lea	rdx, -160[rbp]
	mov	rcx, QWORD PTR -200[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	checkfile
	mov	eax, DWORD PTR dorcs[rip]
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	mov	rdi, rax
	mov	eax, 0
	call	dontcare
	test	eax, eax
	jne	.L60
	mov	rax, QWORD PTR -200[rbp]
	mov	DWORD PTR [rax], 793985874
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 30252
	mov	BYTE PTR 2[rax], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	lstat@PLT
	test	eax, eax
	jns	.L60
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L60:
	mov	eax, DWORD PTR do83[rip]
	test	eax, eax
	je	.L51
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L61
	add	DWORD PTR -204[rbp], 25
	cmp	QWORD PTR -192[rbp], 0
	je	.L62
	mov	eax, DWORD PTR -204[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -192[rbp], rax
	jmp	.L61
.L62:
	mov	eax, DWORD PTR -204[rbp]
	add	eax, 1
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -192[rbp], rax
.L61:
	mov	eax, DWORD PTR -208[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -208[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR [rdx], rax
.L51:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L63
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	eax, DWORD PTR do83[rip]
	test	eax, eax
	je	.L47
	mov	esi, DWORD PTR -208[rbp]
	mov	rax, QWORD PTR -192[rbp]
	lea	rcx, fncomp[rip]
	mov	edx, 8
	mov	rdi, rax
	mov	eax, 0
	call	qsort@PLT
	mov	eax, DWORD PTR -208[rbp]
	sub	eax, 1
	mov	DWORD PTR -204[rbp], eax
	mov	rax, QWORD PTR -200[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -208[rbp], 0
	jmp	.L65
.L67:
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	fncomp
	test	eax, eax
	jne	.L66
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L66:
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -208[rbp], 1
.L65:
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, DWORD PTR -204[rbp]
	jl	.L67
	cmp	QWORD PTR -192[rbp], 0
	je	.L47
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	free@PLT
.L47:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	checkdir, .-checkdir
	.section	.rodata
.LC20:
	.string	"-rcs"
.LC21:
	.string	"-83"
.LC22:
	.string	"-ro"
.LC23:
	.string	"-dot"
.LC24:
	.string	"-twiddle"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2080
	mov	DWORD PTR -2068[rbp], edi
	mov	QWORD PTR -2080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	sub	DWORD PTR -2068[rbp], 1
	add	QWORD PTR -2080[rbp], 8
	jmp	.L70
.L77:
	mov	rax, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L71
	mov	DWORD PTR dorcs[rip], 0
	sub	DWORD PTR -2068[rbp], 1
	add	QWORD PTR -2080[rbp], 8
	jmp	.L70
.L71:
	mov	rax, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L72
	mov	DWORD PTR do83[rip], 0
	sub	DWORD PTR -2068[rbp], 1
	add	QWORD PTR -2080[rbp], 8
	jmp	.L70
.L72:
	mov	rax, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L73
	mov	DWORD PTR doro[rip], 0
	sub	DWORD PTR -2068[rbp], 1
	add	QWORD PTR -2080[rbp], 8
	jmp	.L70
.L73:
	mov	rax, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L74
	mov	DWORD PTR dodot[rip], 0
	sub	DWORD PTR -2068[rbp], 1
	add	QWORD PTR -2080[rbp], 8
	jmp	.L70
.L74:
	mov	rax, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L84
	mov	DWORD PTR dotwiddle[rip], 0
	sub	DWORD PTR -2068[rbp], 1
	add	QWORD PTR -2080[rbp], 8
.L70:
	cmp	DWORD PTR -2068[rbp], 0
	jg	.L77
	jmp	.L76
.L84:
	nop
.L76:
	cmp	DWORD PTR -2068[rbp], 0
	jne	.L80
	lea	rax, -2064[rbp]
	mov	WORD PTR [rax], 46
	lea	rax, -2064[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	checkdir
	jmp	.L79
.L81:
	mov	rax, QWORD PTR -2080[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -2080[rbp], rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -2064[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -2064[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	checkdir
.L80:
	sub	DWORD PTR -2068[rbp], 1
	cmp	DWORD PTR -2068[rbp], 0
	jns	.L81
.L79:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L83
	call	__stack_chk_fail@PLT
.L83:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.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	"112250.c"
	.text
	.global	dorcs
	.data
	.align	2
	.type	dorcs, %object
	.size	dorcs, 4
dorcs:
	.word	1
	.global	do83
	.align	2
	.type	do83, %object
	.size	do83, 4
do83:
	.word	1
	.global	doro
	.align	2
	.type	doro, %object
	.size	doro, 4
doro:
	.word	1
	.global	dodot
	.align	2
	.type	dodot, %object
	.size	dodot, 4
dodot:
	.word	1
	.global	dotwiddle
	.align	2
	.type	dotwiddle, %object
	.size	dotwiddle, 4
dotwiddle:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Z\000"
	.align	2
.LC1:
	.ascii	"PS\000"
	.text
	.align	2
	.global	dontcare
	.syntax unified
	.arm
	.fpu softvfp
	.type	dontcare, %function
dontcare:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L2
	mov	r3, #1
	b	.L3
.L2:
	mov	r1, #46
	ldr	r0, [fp, #-16]
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r1, .L7
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r1, .L7+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L5:
	mov	r3, #1
	b	.L3
.L4:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.size	dontcare, .-dontcare
	.section	.rodata
	.align	2
.LC2:
	.ascii	"dot file: %s\012\000"
	.align	2
.LC3:
	.ascii	"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY"
	.ascii	"Z0123456789-_.\000"
	.align	2
.LC4:
	.ascii	"bad character: %s\012\000"
	.align	2
.LC5:
	.ascii	"too long (%d): %s\012\000"
	.align	2
.LC6:
	.ascii	"symbolic link: %s\012\000"
	.align	2
.LC7:
	.ascii	"directory mode 0%o not minimum 0%o: %s\012\000"
	.align	2
.LC8:
	.ascii	"not a regular file: %s\012\000"
	.align	2
.LC9:
	.ascii	"file mode 0%o not minimum 0%o: %s\012\000"
	.align	2
.LC10:
	.ascii	"%d links instead of 1: %s\012\000"
	.align	2
.LC11:
	.ascii	"writable: %s\012\000"
	.align	2
.LC12:
	.ascii	"mode 0%o outside maximum set 0%o: %s\012\000"
	.text
	.align	2
	.global	checkfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkfile, %function
checkfile:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #12
	str	r3, [fp, #-12]
	ldr	r3, .L26
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L10
	ldr	r1, [fp, #-24]
	ldr	r0, .L26+4
	bl	printf
	b	.L11
.L10:
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
	b	.L12
.L17:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L26+8
	bl	strchr
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L26+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L14
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
.L14:
	ldr	r1, [fp, #-24]
	ldr	r0, .L26+16
	bl	printf
	b	.L25
.L13:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L12:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
	b	.L16
.L25:
	nop
.L16:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L18
	ldr	r0, [fp, #-28]
	bl	dontcare
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-16]
	ldr	r0, .L26+20
	bl	printf
.L18:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	and	r3, r3, #40960
	cmp	r3, #40960
	bne	.L19
	ldr	r1, [fp, #-24]
	ldr	r0, .L26+24
	bl	printf
	b	.L11
.L19:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	bic	r3, r3, #61440
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L20
	mov	r3, #14
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, .L26+28
	and	r3, r3, r2
	ldr	r2, .L26+28
	cmp	r3, r2
	beq	.L21
	ldr	r3, [fp, #-24]
	ldr	r2, .L26+28
	ldr	r1, [fp, #-8]
	ldr	r0, .L26+32
	bl	printf
	b	.L21
.L20:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #16]
	and	r3, r3, #32768
	cmp	r3, #0
	bne	.L22
	ldr	r1, [fp, #-24]
	ldr	r0, .L26+36
	bl	printf
	b	.L21
.L22:
	ldr	r3, [fp, #-8]
	and	r3, r3, #292
	cmp	r3, #292
	beq	.L23
	ldr	r3, [fp, #-32]
	ldr	r1, [r3, #16]
	ldr	r3, [fp, #-24]
	mov	r2, #292
	ldr	r0, .L26+40
	bl	printf
.L23:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #20]
	cmp	r3, #1
	beq	.L24
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, .L26+44
	bl	printf
.L24:
	ldr	r3, .L26+48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-8]
	and	r3, r3, #146
	cmp	r3, #0
	beq	.L21
	ldr	r0, [fp, #-28]
	bl	dontcare
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r1, [fp, #-24]
	ldr	r0, .L26+52
	bl	printf
.L21:
	ldr	r3, [fp, #-8]
	bic	r3, r3, #508
	bic	r3, r3, #3
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-24]
	ldr	r2, .L26+56
	ldr	r1, [fp, #-8]
	ldr	r0, .L26+60
	bl	printf
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	dodot
	.word	.LC2
	.word	.LC3
	.word	dotwiddle
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	509
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	doro
	.word	.LC11
	.word	511
	.word	.LC12
	.size	checkfile, .-checkfile
	.section	.rodata
	.align	2
.LC13:
	.ascii	"cannot open: %s\012\000"
	.align	2
.LC14:
	.ascii	"RCS/\000"
	.align	2
.LC15:
	.ascii	"not used: %s\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkrcs
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkrcs, %function
checkrcs:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-120]
	bl	opendir
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L31
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	ldr	r1, .L34+8
	mov	r0, r3
	bl	fprintf
	b	.L28
.L32:
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #1
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L31
	ldr	r3, [fp, #-104]
	sub	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L31
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	strcpy
	ldr	r3, [fp, #-104]
	sub	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-120]
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L31
	ldr	r3, [fp, #-124]
	ldr	r2, .L34+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	strcat
	ldr	r1, [fp, #-120]
	ldr	r0, .L34+16
	bl	printf
.L31:
	ldr	r0, [fp, #-112]
	bl	readdir
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-112]
	bl	closedir
.L28:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC16
	.word	stderr
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	checkrcs, .-checkrcs
	.align	2
	.global	Strncmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	Strncmp, %function
Strncmp:
	@ 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]
	b	.L37
.L45:
	ldr	r3, [fp, #-16]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L38
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-6]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L39
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L39
	ldrb	r3, [fp, #-6]
	add	r3, r3, #32
	strb	r3, [fp, #-6]
	b	.L40
.L39:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L40
	mov	r3, #95
	strb	r3, [fp, #-6]
.L40:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L41
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L41
	ldrb	r3, [fp, #-5]
	add	r3, r3, #32
	strb	r3, [fp, #-5]
	b	.L42
.L41:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L42
	mov	r3, #95
	strb	r3, [fp, #-5]
.L42:
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L38
	ldrb	r2, [fp, #-6]	@ zero_extendqisi2
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r2, r3
	b	.L43
.L38:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L37:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L44
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
.L44:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L46
	mov	r3, #0
	b	.L43
.L46:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
.L43:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	Strncmp, .-Strncmp
	.align	2
	.global	fncomp
	.syntax unified
	.arm
	.fpu softvfp
	.type	fncomp, %function
fncomp:
	@ 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]
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, r3
	bl	Strncmp
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r1, #46
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r1, #46
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L48
.L49:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L50
	mvn	r3, #0
	b	.L51
.L50:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L52
	mov	r3, #1
	b	.L51
.L52:
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r2, #3
	mov	r1, r3
	bl	Strncmp
	str	r0, [fp, #-16]
.L48:
	ldr	r3, [fp, #-16]
.L51:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fncomp, .-fncomp
	.section	.rodata
	.align	2
.LC17:
	.ascii	"RCS\000"
	.align	2
.LC18:
	.ascii	"SCCS\000"
	.align	2
.LC19:
	.ascii	"CVS.adm\000"
	.align	2
.LC20:
	.ascii	",v\000"
	.align	2
.LC21:
	.ascii	"no RCS: %s\012\000"
	.align	2
.LC22:
	.ascii	"8+3 clash: %s%s and %s\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkdir
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkdir, %function
checkdir:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #136
	str	r0, [fp, #-136]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-136]
	bl	opendir
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L54
	ldr	r3, .L75+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-136]
	ldr	r1, .L75+8
	mov	r0, r3
	bl	fprintf
	b	.L53
.L54:
	ldr	r0, [fp, #-136]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-136]
	add	r3, r3, r2
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L56
	ldr	r3, [fp, #-128]
	add	r2, r3, #1
	str	r2, [fp, #-128]
	mov	r2, #47
	strb	r2, [r3]
.L56:
	mov	r3, #0
	str	r3, [fp, #-120]
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L57
.L69:
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	strcpy
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L58
	ldr	r0, [fp, #-136]
	bl	perror
	b	.L57
.L58:
	ldr	r3, [fp, #-84]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L60
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3, #12]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L60
	ldr	r3, [fp, #-108]
	ldrb	r3, [r3, #13]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L60
	b	.L57
.L60:
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	ldr	r1, .L75+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
	ldr	r3, .L75+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L57
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-136]
	bl	checkrcs
	b	.L57
.L62:
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	ldr	r1, .L75+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
	b	.L57
.L64:
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	ldr	r1, .L75+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	b	.L57
.L65:
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-136]
	bl	checkfile
	ldr	r0, [fp, #-136]
	bl	checkdir
	b	.L57
.L59:
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, [fp, #-128]
	ldr	r0, [fp, #-136]
	bl	checkfile
	ldr	r3, .L75+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r0, r3
	bl	dontcare
	mov	r3, r0
	cmp	r3, #0
	bne	.L66
	ldr	r3, [fp, #-128]
	ldr	r2, .L75+28
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	strcat
	ldr	r0, [fp, #-128]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r3, r2
	ldr	r2, .L75+32
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-136]
	bl	lstat
	mov	r3, r0
	cmp	r3, #0
	bge	.L66
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-128]
	bl	strcpy
	ldr	r1, [fp, #-136]
	ldr	r0, .L75+36
	bl	printf
.L66:
	ldr	r3, .L75+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	add	r3, r3, #11
	mov	r1, r3
	ldr	r0, [fp, #-104]
	bl	strcpy
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L67
	ldr	r3, [fp, #-116]
	add	r3, r3, #25
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L68
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	realloc
	str	r0, [fp, #-124]
	b	.L67
.L68:
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-124]
.L67:
	ldr	r3, [fp, #-120]
	add	r2, r3, #1
	str	r2, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	ldr	r2, [fp, #-104]
	str	r2, [r3]
.L57:
	ldr	r0, [fp, #-112]
	bl	readdir
	str	r0, [fp, #-108]
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	bne	.L69
	ldr	r0, [fp, #-112]
	bl	closedir
	ldr	r3, .L75+40
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L75+44
	mov	r2, #4
	ldr	r1, [fp, #-120]
	ldr	r0, [fp, #-124]
	bl	qsort
	ldr	r3, [fp, #-120]
	sub	r3, r3, #1
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-128]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L71
.L73:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r0, r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	mov	r1, r3
	bl	fncomp
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, [fp, #-136]
	ldr	r0, .L75+48
	bl	printf
.L72:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L71:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L73
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-124]
	bl	free
.L53:
	ldr	r3, .L75
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC23
	.word	stderr
	.word	.LC13
	.word	.LC17
	.word	dorcs
	.word	.LC18
	.word	.LC19
	.word	.LC14
	.word	.LC20
	.word	.LC21
	.word	do83
	.word	fncomp
	.word	.LC22
	.size	checkdir, .-checkdir
	.section	.rodata
	.align	2
.LC24:
	.ascii	"-rcs\000"
	.align	2
.LC25:
	.ascii	"-83\000"
	.align	2
.LC26:
	.ascii	"-ro\000"
	.align	2
.LC27:
	.ascii	"-dot\000"
	.align	2
.LC28:
	.ascii	"-twiddle\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2064
	str	r0, [fp, #-2064]
	str	r1, [fp, #-2068]
	ldr	r3, .L93
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2068]
	add	r3, r3, #4
	str	r3, [fp, #-2068]
	b	.L78
.L85:
	ldr	r3, [fp, #-2068]
	ldr	r3, [r3]
	ldr	r1, .L93+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L79
	ldr	r3, .L93+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2068]
	add	r3, r3, #4
	str	r3, [fp, #-2068]
	b	.L78
.L79:
	ldr	r3, [fp, #-2068]
	ldr	r3, [r3]
	ldr	r1, .L93+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L80
	ldr	r3, .L93+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2068]
	add	r3, r3, #4
	str	r3, [fp, #-2068]
	b	.L78
.L80:
	ldr	r3, [fp, #-2068]
	ldr	r3, [r3]
	ldr	r1, .L93+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L81
	ldr	r3, .L93+24
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2068]
	add	r3, r3, #4
	str	r3, [fp, #-2068]
	b	.L78
.L81:
	ldr	r3, [fp, #-2068]
	ldr	r3, [r3]
	ldr	r1, .L93+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	ldr	r3, .L93+32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2068]
	add	r3, r3, #4
	str	r3, [fp, #-2068]
	b	.L78
.L82:
	ldr	r3, [fp, #-2068]
	ldr	r3, [r3]
	ldr	r1, .L93+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L92
	ldr	r3, .L93+40
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2068]
	add	r3, r3, #4
	str	r3, [fp, #-2068]
.L78:
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bgt	.L85
	b	.L84
.L92:
	nop
.L84:
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bne	.L88
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #46
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	checkdir
	b	.L87
.L89:
	ldr	r3, [fp, #-2068]
	add	r2, r3, #4
	str	r2, [fp, #-2068]
	ldr	r2, [r3]
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	checkdir
.L88:
	ldr	r3, [fp, #-2064]
	sub	r3, r3, #1
	str	r3, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L89
.L87:
	mov	r3, #0
	ldr	r2, .L93
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L91
	bl	__stack_chk_fail
.L91:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L94:
	.align	2
.L93:
	.word	.LC29
	.word	.LC24
	.word	dorcs
	.word	.LC25
	.word	do83
	.word	.LC26
	.word	doro
	.word	.LC27
	.word	dodot
	.word	.LC28
	.word	dotwiddle
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
