	.file	"465214.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.ascii	"Usage: %s <mode> <file_1> <file_2> [filename]\n\nModes:\n   "
	.ascii	"create <file_license> <file_pattern>\n     - create a licens"
	.ascii	"e pattern file <file_pattern>\n       from the license text "
	.ascii	"file <file_license>\n\n   check-pattern <file_pattern> <file"
	.ascii	"_to_check>\n     - check if a license in <file_to_check>\n  "
	.ascii	"     matches the license pattern in <file_pattern>,\n       "
	.ascii	"if it does, copyright dates are printed out (see below)\n\n "
	.ascii	"  check-license <file_license> <file_to_check>\n     - check"
	.ascii	" if a license in <file_to_check>\n       matches the license"
	.ascii	" text in <file_license>,\n       if it does, cop"
	.string	"yright dates are printed out (see below)\n\nIn case of 'check_pattern' and 'check_license' modes,\nif the license is correct, it prints out copyright dates\nin the following format: OLDEST_YEAR-NEWEST_YEAR\n\nReturn value: returns 0 on success and -1 on error.\n\n"
	.section	.data.rel.local,"aw"
	.align 8
	.type	help_str, @object
	.size	help_str, 8
help_str:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	"error: open(): %s: %s\n"
.LC2:
	.string	"error: read(): %s: %s\n"
	.align 8
.LC3:
	.string	"error: read(): incorrect format of the license pattern file (%s)\n"
	.text
	.type	read_pattern, @function
read_pattern:
.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	QWORD PTR -8[rbp], -1
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L3
.L4:
	cmp	QWORD PTR -8[rbp], 2048
	je	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L3
.L5:
	mov	eax, 0
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_pattern, .-read_pattern
	.section	.rodata
.LC4:
	.string	"error: write(): %s: %s\n"
	.text
	.type	write_pattern, @function
write_pattern:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 292
	mov	esi, 193
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L8
.L7:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	QWORD PTR -8[rbp], 2047
	jg	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L8
.L9:
	mov	eax, 0
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	write_pattern, .-write_pattern
	.type	strstr2, @function
strstr2:
.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	QWORD PTR -40[rbp], r8
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L12
.L11:
	mov	eax, -1
	jmp	.L13
.L12:
	mov	eax, 0
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	strstr2, .-strstr2
	.type	format_license, @function
format_license:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L15
.L16:
	sub	QWORD PTR -48[rbp], 1
.L15:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L16
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	cmp	QWORD PTR -72[rbp], rax
	je	.L17
	mov	rcx, QWORD PTR -48[rbp]
	lea	rax, -13[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -13[rbp]
	add	rax, 1
	mov	QWORD PTR -48[rbp], rax
	jmp	.L18
.L19:
	add	QWORD PTR -48[rbp], 1
.L18:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L19
	jmp	.L20
.L21:
	add	QWORD PTR -48[rbp], 1
.L20:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 0
	lea	rax, -13[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 2
	jbe	.L27
	jmp	.L23
.L26:
	mov	QWORD PTR -40[rbp], 1
	jmp	.L24
.L25:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 32
	add	QWORD PTR -40[rbp], 1
.L24:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jb	.L25
.L23:
	lea	rdx, -13[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L26
	jmp	.L17
.L28:
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 32
.L27:
	lea	rdx, -13[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L28
.L17:
	mov	DWORD PTR -52[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L29
.L34:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L30
	cmp	DWORD PTR -52[rbp], 0
	je	.L31
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	rdx, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 32
	mov	DWORD PTR -52[rbp], 0
.L31:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jnb	.L32
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
.L32:
	add	QWORD PTR -40[rbp], 1
	jmp	.L33
.L30:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L33
	mov	DWORD PTR -52[rbp], 1
.L33:
	add	QWORD PTR -32[rbp], 1
.L29:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -80[rbp]
	jb	.L34
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	format_license, .-format_license
	.section	.rodata
	.align 8
.LC5:
	.string	"THE POSSIBILITY OF SUCH DAMAGE."
.LC6:
	.string	"Redistribution and use"
	.align 8
.LC7:
	.string	"%s:1: error: incorrect license (license should start with the string '%s')\n"
	.align 8
.LC8:
	.string	"%s:1: error: incorrect license (license should end with the string '%s')\n"
.LC9:
	.string	"the_stack_data/465214.c"
	.align 8
.LC10:
	.string	"(uintptr_t)end_str > (uintptr_t)beg_str"
	.text
	.type	analyze_license, @function
analyze_license:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rcx, -32[rbp]
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC5[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr2
	test	eax, eax
	je	.L37
	mov	rax, QWORD PTR -40[rbp]
	test	rax, rax
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rcx, .LC6[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L39
.L38:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rcx, .LC5[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L39:
	mov	eax, -1
	jmp	.L42
.L37:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	cmp	rdx, rax
	ja	.L41
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 252
	lea	rsi, .LC9[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L41:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	sub	rax, rdx
	add	rax, 31
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	format_license
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, 0
.L42:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	analyze_license, .-analyze_license
	.type	create_pattern, @function
create_pattern:
.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, 2112
	mov	QWORD PTR -2104[rbp], rdi
	mov	QWORD PTR -2112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -2104[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -2084[rbp], eax
	cmp	DWORD PTR -2084[rbp], -1
	jne	.L45
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2104[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L49
.L45:
	lea	rax, -2064[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2084[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -2072[rbp], rax
	mov	eax, DWORD PTR -2084[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	QWORD PTR -2072[rbp], -1
	jne	.L47
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2104[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L49
.L47:
	lea	rdx, -2080[rbp]
	lea	rcx, -2064[rbp]
	mov	rax, QWORD PTR -2104[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	analyze_license
	cmp	eax, -1
	jne	.L48
	mov	eax, -1
	jmp	.L49
.L48:
	mov	rax, QWORD PTR -2112[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -2080[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rcx, QWORD PTR -2080[rbp]
	mov	rax, QWORD PTR -2112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, 0
.L49:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	create_pattern, .-create_pattern
	.section	.rodata
	.align 8
.LC11:
	.string	"   The first difference is at the end of the line:\n"
.LC12:
	.string	"   * License: %s\n"
.LC13:
	.string	"   * Pattern: %s\n"
	.text
	.type	print_diff, @function
print_diff:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
	jmp	.L52
.L54:
	add	QWORD PTR -8[rbp], 1
.L52:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jnb	.L53
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L54
.L53:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	QWORD PTR -8[rbp], 50
	je	.L55
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, 50
	jmp	.L56
.L55:
	mov	eax, 0
.L56:
	mov	QWORD PTR -8[rbp], rax
	jmp	.L57
.L59:
	sub	QWORD PTR -8[rbp], 1
.L57:
	cmp	QWORD PTR -8[rbp], 0
	je	.L58
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L59
.L58:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	print_diff, .-print_diff
	.section	.rodata
.LC14:
	.string	"(c) "
	.align 8
.LC15:
	.string	"no digit just after the 'Copyright ' string"
.LC16:
	.string	"the first year is wrong"
	.align 8
.LC17:
	.string	"'-' or ',' expected after the first year"
.LC18:
	.string	"no digit after '-'"
.LC19:
	.string	"the second year is wrong"
	.align 8
.LC20:
	.string	"',' expected after the second year"
.LC21:
	.string	"Copyright "
.LC22:
	.string	"no 'Copyright ' string found"
	.align 8
.LC23:
	.string	"%s:1: error: incorrect copyright notice: %s\n"
	.align 8
.LC24:
	.string	"%s:1: error: incorrect license\n"
.LC25:
	.string	"%i-%i\n"
.LC26:
	.string	"%i\n"
	.text
	.type	verify_license, @function
verify_license:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2160
	mov	QWORD PTR -2136[rbp], rdi
	mov	QWORD PTR -2144[rbp], rsi
	mov	QWORD PTR -2152[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2124[rbp], 9999
	mov	DWORD PTR -2120[rbp], 0
	mov	QWORD PTR -2088[rbp], 0
	cmp	QWORD PTR -2152[rbp], 0
	je	.L61
	mov	rax, QWORD PTR -2152[rbp]
	jmp	.L62
.L61:
	mov	rax, QWORD PTR -2136[rbp]
.L62:
	mov	QWORD PTR -2080[rbp], rax
	mov	rax, QWORD PTR -2136[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -2116[rbp], eax
	cmp	DWORD PTR -2116[rbp], -1
	jne	.L63
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2136[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L88
.L63:
	lea	rax, -2064[rbp]
	mov	edx, 2048
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2116[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -2072[rbp], rax
	mov	eax, DWORD PTR -2116[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	QWORD PTR -2072[rbp], -1
	jne	.L65
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2080[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L88
.L65:
	lea	rdx, -2104[rbp]
	lea	rcx, -2064[rbp]
	mov	rax, QWORD PTR -2136[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	analyze_license
	cmp	eax, -1
	jne	.L66
	mov	eax, -1
	jmp	.L88
.L66:
	lea	rax, -2064[rbp]
	mov	QWORD PTR -2096[rbp], rax
	jmp	.L67
.L81:
	add	QWORD PTR -2096[rbp], 10
	mov	rax, QWORD PTR -2096[rbp]
	mov	edx, 4
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L68
	add	QWORD PTR -2096[rbp], 4
.L68:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L69
	lea	rax, .LC15[rip]
	mov	QWORD PTR -2088[rbp], rax
	jmp	.L70
.L69:
	mov	rax, QWORD PTR -2096[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2112[rbp], eax
	cmp	DWORD PTR -2112[rbp], 1899
	jle	.L71
	cmp	DWORD PTR -2112[rbp], 9999
	jle	.L72
.L71:
	lea	rax, .LC16[rip]
	mov	QWORD PTR -2088[rbp], rax
	jmp	.L70
.L72:
	add	QWORD PTR -2096[rbp], 4
	mov	eax, DWORD PTR -2112[rbp]
	cmp	eax, DWORD PTR -2124[rbp]
	jge	.L73
	mov	eax, DWORD PTR -2112[rbp]
	mov	DWORD PTR -2124[rbp], eax
.L73:
	mov	eax, DWORD PTR -2112[rbp]
	cmp	eax, DWORD PTR -2120[rbp]
	jle	.L74
	mov	eax, DWORD PTR -2112[rbp]
	mov	DWORD PTR -2120[rbp], eax
.L74:
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	jne	.L75
	jmp	.L67
.L75:
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L76
	lea	rax, .LC17[rip]
	mov	QWORD PTR -2088[rbp], rax
	jmp	.L70
.L76:
	add	QWORD PTR -2096[rbp], 1
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L77
	lea	rax, .LC18[rip]
	mov	QWORD PTR -2088[rbp], rax
	jmp	.L70
.L77:
	mov	rax, QWORD PTR -2096[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2108[rbp], eax
	cmp	DWORD PTR -2108[rbp], 1899
	jle	.L78
	cmp	DWORD PTR -2108[rbp], 9999
	jle	.L79
.L78:
	lea	rax, .LC19[rip]
	mov	QWORD PTR -2088[rbp], rax
	jmp	.L70
.L79:
	add	QWORD PTR -2096[rbp], 4
	mov	eax, DWORD PTR -2108[rbp]
	cmp	eax, DWORD PTR -2120[rbp]
	jle	.L80
	mov	eax, DWORD PTR -2108[rbp]
	mov	DWORD PTR -2120[rbp], eax
.L80:
	mov	rax, QWORD PTR -2096[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 44
	je	.L67
	lea	rax, .LC20[rip]
	mov	QWORD PTR -2088[rbp], rax
	jmp	.L70
.L67:
	mov	rax, QWORD PTR -2096[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -2096[rbp], rax
	cmp	QWORD PTR -2096[rbp], 0
	jne	.L81
.L70:
	cmp	QWORD PTR -2088[rbp], 0
	jne	.L82
	cmp	DWORD PTR -2124[rbp], 9999
	jne	.L82
	lea	rax, .LC22[rip]
	mov	QWORD PTR -2088[rbp], rax
.L82:
	cmp	QWORD PTR -2088[rbp], 0
	je	.L83
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -2088[rbp]
	mov	rdx, QWORD PTR -2080[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L83:
	mov	rax, QWORD PTR -2144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -2104[rbp]
	mov	rcx, QWORD PTR -2144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	je	.L84
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2080[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -2144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -2104[rbp]
	mov	rcx, QWORD PTR -2144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	print_diff
	mov	eax, -1
	jmp	.L88
.L84:
	cmp	QWORD PTR -2088[rbp], 0
	je	.L85
	mov	eax, -1
	jmp	.L88
.L85:
	mov	eax, DWORD PTR -2124[rbp]
	cmp	eax, DWORD PTR -2120[rbp]
	je	.L86
	cmp	DWORD PTR -2120[rbp], 0
	je	.L86
	mov	edx, DWORD PTR -2120[rbp]
	mov	eax, DWORD PTR -2124[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L87
.L86:
	mov	eax, DWORD PTR -2124[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
.L87:
	mov	eax, 0
.L88:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	verify_license, .-verify_license
	.type	mode_create_pattern_file, @function
mode_create_pattern_file:
.LFB14:
	.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	QWORD PTR -2072[rbp], rdi
	mov	QWORD PTR -2080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -2064[rbp]
	mov	rax, QWORD PTR -2072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	create_pattern
	cmp	eax, -1
	jne	.L91
	mov	eax, -1
	jmp	.L93
.L91:
	lea	rdx, -2064[rbp]
	mov	rax, QWORD PTR -2080[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	write_pattern
.L93:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L94
	call	__stack_chk_fail@PLT
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	mode_create_pattern_file, .-mode_create_pattern_file
	.type	mode_check_pattern, @function
mode_check_pattern:
.LFB15:
	.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	QWORD PTR -2072[rbp], rdi
	mov	QWORD PTR -2080[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -2064[rbp]
	mov	rax, QWORD PTR -2072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	create_pattern
	cmp	eax, -1
	jne	.L96
	mov	eax, -1
	jmp	.L98
.L96:
	lea	rcx, -2064[rbp]
	mov	rax, QWORD PTR -2080[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	verify_license
.L98:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	mode_check_pattern, .-mode_check_pattern
	.type	mode_check_license, @function
mode_check_license:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 2096
	mov	QWORD PTR -2072[rbp], rdi
	mov	QWORD PTR -2080[rbp], rsi
	mov	QWORD PTR -2088[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -2064[rbp]
	mov	rax, QWORD PTR -2072[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read_pattern
	cmp	eax, -1
	jne	.L101
	mov	eax, -1
	jmp	.L103
.L101:
	mov	rdx, QWORD PTR -2088[rbp]
	lea	rcx, -2064[rbp]
	mov	rax, QWORD PTR -2080[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	verify_license
.L103:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L104
	call	__stack_chk_fail@PLT
.L104:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	mode_check_license, .-mode_check_license
	.section	.rodata
.LC27:
	.string	"create"
.LC28:
	.string	"check-pattern"
.LC29:
	.string	"check-license"
.LC30:
	.string	"error: wrong mode: %s\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L106
	cmp	DWORD PTR -4[rbp], 4
	jne	.L114
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	mode_create_pattern_file
	jmp	.L109
.L106:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L110
	cmp	DWORD PTR -4[rbp], 5
	jne	.L115
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 32
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	mode_check_license
	jmp	.L109
.L110:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L112
	cmp	DWORD PTR -4[rbp], 4
	jne	.L116
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 24
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	mode_check_pattern
	jmp	.L109
.L112:
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L108
.L114:
	nop
	jmp	.L108
.L115:
	nop
	jmp	.L108
.L116:
	nop
.L108:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR help_str[rip]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
.L109:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 16
__PRETTY_FUNCTION__.0:
	.string	"analyze_license"
	.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	"465214.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s <mode> <file_1> <file_2> [filename]\012\012"
	.ascii	"Modes:\012   create <file_license> <file_pattern>\012"
	.ascii	"     - create a license pattern file <file_pattern>"
	.ascii	"\012       from the license text file <file_license"
	.ascii	">\012\012   check-pattern <file_pattern> <file_to_c"
	.ascii	"heck>\012     - check if a license in <file_to_chec"
	.ascii	"k>\012       matches the license pattern in <file_p"
	.ascii	"attern>,\012       if it does, copyright dates are "
	.ascii	"printed out (see below)\012\012   check-license <fi"
	.ascii	"le_license> <file_to_check>\012     - check if a li"
	.ascii	"cense in <file_to_check>\012       matches the lice"
	.ascii	"nse text in <file_license>,\012       if it does, c"
	.ascii	"opyright dates are printed out (see below)\012\012I"
	.ascii	"n case of 'check_pattern' and 'check_license' modes"
	.ascii	",\012if the license is correct, it prints out copyr"
	.ascii	"ight dates\012in the following format: OLDEST_YEAR-"
	.ascii	"NEWEST_YEAR\012\012Return value: returns 0 on succe"
	.ascii	"ss and -1 on error.\012\012\000"
	.data
	.align	2
	.type	help_str, %object
	.size	help_str, 4
help_str:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"error: open(): %s: %s\012\000"
	.align	2
.LC2:
	.ascii	"error: read(): %s: %s\012\000"
	.align	2
.LC3:
	.ascii	"error: read(): incorrect format of the license patt"
	.ascii	"ern file (%s)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_pattern, %function
read_pattern:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L2
	ldr	r3, .L6
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r1, .L6+4
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L3
.L2:
	mov	r2, #2048
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-20]
	bl	read
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	close
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L4
	ldr	r3, .L6
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r1, .L6+8
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L3
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #2048
	beq	.L5
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r1, .L6+12
	mov	r0, r3
	bl	fprintf
	mvn	r3, #0
	b	.L3
.L5:
	mov	r3, #0
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L7:
	.align	2
.L6:
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	read_pattern, .-read_pattern
	.section	.rodata
	.align	2
.LC4:
	.ascii	"error: write(): %s: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_pattern, %function
write_pattern:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r2, #292
	mov	r1, #193
	ldr	r0, [fp, #-24]
	bl	open
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L9
	ldr	r3, .L12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r1, .L12+4
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L10
.L9:
	mov	r2, #2048
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-20]
	bl	write
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	close
	ldr	r3, [fp, #-16]
	cmp	r3, #2048
	bge	.L11
	ldr	r3, .L12
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-24]
	ldr	r1, .L12+8
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L10
.L11:
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L13:
	.align	2
.L12:
	.word	stderr
	.word	.LC1
	.word	.LC4
	.size	write_pattern, .-write_pattern
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	strstr2, %function
strstr2:
	@ args = 4, 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r2, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #4]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
.L15:
	mvn	r3, #0
	b	.L17
.L16:
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	strstr2, .-strstr2
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	format_license, %function
format_license:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-36]
	b	.L19
.L20:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
.L19:
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L20
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	beq	.L21
	sub	r3, fp, #16
	mov	r2, #5
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #16
	add	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L22
.L23:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L22:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L23
	b	.L24
.L25:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L24:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #16
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bls	.L31
	b	.L27
.L30:
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L28
.L29:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L28:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L29
.L27:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strstr
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L30
	b	.L21
.L32:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r2, #32
	strb	r2, [r3]
.L31:
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strstr
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L32
.L21:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L33
.L38:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-32]
.L35:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcs	.L36
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r1, [fp, #-40]
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L36:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L37
.L34:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L37
	mov	r3, #1
	str	r3, [fp, #-32]
.L37:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L33:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	bcc	.L38
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC5
	.size	format_license, .-format_license
	.section	.rodata
	.align	2
.LC6:
	.ascii	"THE POSSIBILITY OF SUCH DAMAGE.\000"
	.align	2
.LC7:
	.ascii	"Redistribution and use\000"
	.align	2
.LC8:
	.ascii	"%s:1: error: incorrect license (license should star"
	.ascii	"t with the string '%s')\012\000"
	.align	2
.LC9:
	.ascii	"%s:1: error: incorrect license (license should end "
	.ascii	"with the string '%s')\012\000"
	.align	2
.LC10:
	.ascii	"the_stack_data/465214.c\000"
	.align	2
.LC11:
	.ascii	"(uintptr_t)end_str > (uintptr_t)beg_str\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	analyze_license, %function
analyze_license:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r2, fp, #24
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L50+4
	ldr	r1, .L50+8
	ldr	r0, [fp, #-36]
	bl	strstr2
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L50+12
	ldr	r0, [r3]
	ldr	r3, .L50+8
	ldr	r2, [fp, #-32]
	ldr	r1, .L50+16
	bl	fprintf
	b	.L45
.L44:
	ldr	r3, .L50+12
	ldr	r0, [r3]
	ldr	r3, .L50+4
	ldr	r2, [fp, #-32]
	ldr	r1, .L50+20
	bl	fprintf
.L45:
	mvn	r3, #0
	b	.L48
.L43:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bhi	.L47
	ldr	r3, .L50+24
	mov	r2, #252
	ldr	r1, .L50+28
	ldr	r0, .L50+32
	bl	__assert_fail
.L47:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #31
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	format_license
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	mov	r3, #0
.L48:
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC12
	.word	.LC6
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	.LC9
	.word	__PRETTY_FUNCTION__.6244
	.word	.LC10
	.word	.LC11
	.size	analyze_license, .-analyze_license
	.section	.rodata
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_pattern, %function
create_pattern:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2064
	sub	sp, sp, #12
	str	r0, [fp, #-2080]
	str	r1, [fp, #-2084]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, [fp, #-2080]
	bl	open
	str	r0, [fp, #-2072]
	ldr	r3, [fp, #-2072]
	cmn	r3, #1
	bne	.L53
	ldr	r3, .L59+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-2080]
	ldr	r1, .L59+8
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L57
.L53:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2048
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2048
	mov	r1, r3
	ldr	r0, [fp, #-2072]
	bl	read
	str	r0, [fp, #-2068]
	ldr	r0, [fp, #-2072]
	bl	close
	ldr	r3, [fp, #-2068]
	cmn	r3, #1
	bne	.L55
	ldr	r3, .L59+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-2080]
	ldr	r1, .L59+12
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L57
.L55:
	sub	r2, fp, #2064
	sub	r2, r2, #12
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2080]
	bl	analyze_license
	mov	r3, r0
	cmn	r3, #1
	bne	.L56
	mvn	r3, #0
	b	.L57
.L56:
	mov	r2, #2048
	mov	r1, #0
	ldr	r0, [fp, #-2084]
	bl	memset
	ldr	r4, [fp, #-2076]
	ldr	r3, [fp, #-2076]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, r4
	ldr	r0, [fp, #-2084]
	bl	strncpy
	mov	r3, #0
.L57:
	ldr	r2, .L59
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC13
	.word	stderr
	.word	.LC1
	.word	.LC2
	.size	create_pattern, .-create_pattern
	.section	.rodata
	.align	2
.LC14:
	.ascii	"   The first difference is at the end of the line:\012"
	.ascii	"\000"
	.align	2
.LC15:
	.ascii	"   * License: %s\012\000"
	.align	2
.LC16:
	.ascii	"   * Pattern: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_diff, %function
print_diff:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L62
.L64:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L62:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcs	.L63
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L64
.L63:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r3, #50
	beq	.L65
	ldr	r3, [fp, #-8]
	sub	r3, r3, #50
	b	.L66
.L65:
	mov	r3, #0
.L66:
	str	r3, [fp, #-8]
	b	.L67
.L69:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L67:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L68
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L69
.L68:
	ldr	r3, .L70
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L70+4
	bl	fwrite
	ldr	r3, .L70
	ldr	r0, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L70+8
	bl	fprintf
	ldr	r3, .L70
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L70+12
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	stderr
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	print_diff, .-print_diff
	.section	.rodata
	.align	2
.LC17:
	.ascii	"(c) \000"
	.align	2
.LC18:
	.ascii	"no digit just after the 'Copyright ' string\000"
	.align	2
.LC19:
	.ascii	"the first year is wrong\000"
	.align	2
.LC20:
	.ascii	"'-' or ',' expected after the first year\000"
	.align	2
.LC21:
	.ascii	"no digit after '-'\000"
	.align	2
.LC22:
	.ascii	"the second year is wrong\000"
	.align	2
.LC23:
	.ascii	"',' expected after the second year\000"
	.align	2
.LC24:
	.ascii	"Copyright \000"
	.align	2
.LC25:
	.ascii	"no 'Copyright ' string found\000"
	.align	2
.LC26:
	.ascii	"%s:1: error: incorrect copyright notice: %s\012\000"
	.align	2
.LC27:
	.ascii	"%s:1: error: incorrect license\012\000"
	.align	2
.LC28:
	.ascii	"%i-%i\012\000"
	.align	2
.LC29:
	.ascii	"%i\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	verify_license, %function
verify_license:
	@ args = 0, pretend = 0, frame = 2112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2112
	sub	sp, sp, #4
	str	r0, [fp, #-2112]
	str	r1, [fp, #-2116]
	str	r2, [fp, #-2120]
	ldr	r3, .L102
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L102+4
	str	r3, [fp, #-2096]
	mov	r3, #0
	str	r3, [fp, #-2092]
	mov	r3, #0
	str	r3, [fp, #-2088]
	ldr	r3, [fp, #-2120]
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-2120]
	b	.L74
.L73:
	ldr	r3, [fp, #-2112]
.L74:
	str	r3, [fp, #-2084]
	mov	r1, #0
	ldr	r0, [fp, #-2112]
	bl	open
	str	r0, [fp, #-2080]
	ldr	r3, [fp, #-2080]
	cmn	r3, #1
	bne	.L75
	ldr	r3, .L102+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-2112]
	ldr	r1, .L102+12
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L100
.L75:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2048
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #2048
	mov	r1, r3
	ldr	r0, [fp, #-2080]
	bl	read
	str	r0, [fp, #-2076]
	ldr	r0, [fp, #-2080]
	bl	close
	ldr	r3, [fp, #-2076]
	cmn	r3, #1
	bne	.L77
	ldr	r3, .L102+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-2084]
	ldr	r1, .L102+16
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L100
.L77:
	sub	r2, fp, #2080
	sub	r2, r2, #12
	sub	r2, r2, #12
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2112]
	bl	analyze_license
	mov	r3, r0
	cmn	r3, #1
	bne	.L78
	mvn	r3, #0
	b	.L100
.L78:
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [fp, #-2100]
	b	.L79
.L93:
	ldr	r3, [fp, #-2100]
	add	r3, r3, #10
	str	r3, [fp, #-2100]
	mov	r2, #4
	ldr	r1, .L102+20
	ldr	r0, [fp, #-2100]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-2100]
	add	r3, r3, #4
	str	r3, [fp, #-2100]
.L80:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-2100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L81
	ldr	r3, .L102+24
	str	r3, [fp, #-2088]
	b	.L82
.L81:
	ldr	r0, [fp, #-2100]
	bl	atoi
	str	r0, [fp, #-2072]
	ldr	r3, [fp, #-2072]
	ldr	r2, .L102+28
	cmp	r3, r2
	ble	.L83
	ldr	r3, [fp, #-2072]
	ldr	r2, .L102+4
	cmp	r3, r2
	ble	.L84
.L83:
	ldr	r3, .L102+32
	str	r3, [fp, #-2088]
	b	.L82
.L84:
	ldr	r3, [fp, #-2100]
	add	r3, r3, #4
	str	r3, [fp, #-2100]
	ldr	r2, [fp, #-2072]
	ldr	r3, [fp, #-2096]
	cmp	r2, r3
	bge	.L85
	ldr	r3, [fp, #-2072]
	str	r3, [fp, #-2096]
.L85:
	ldr	r2, [fp, #-2072]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	ble	.L86
	ldr	r3, [fp, #-2072]
	str	r3, [fp, #-2092]
.L86:
	ldr	r3, [fp, #-2100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L87
	b	.L79
.L87:
	ldr	r3, [fp, #-2100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L88
	ldr	r3, .L102+36
	str	r3, [fp, #-2088]
	b	.L82
.L88:
	ldr	r3, [fp, #-2100]
	add	r3, r3, #1
	str	r3, [fp, #-2100]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-2100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L89
	ldr	r3, .L102+40
	str	r3, [fp, #-2088]
	b	.L82
.L89:
	ldr	r0, [fp, #-2100]
	bl	atoi
	str	r0, [fp, #-2068]
	ldr	r3, [fp, #-2068]
	ldr	r2, .L102+28
	cmp	r3, r2
	ble	.L90
	ldr	r3, [fp, #-2068]
	ldr	r2, .L102+4
	cmp	r3, r2
	ble	.L91
.L90:
	ldr	r3, .L102+44
	str	r3, [fp, #-2088]
	b	.L82
.L91:
	ldr	r3, [fp, #-2100]
	add	r3, r3, #4
	str	r3, [fp, #-2100]
	ldr	r2, [fp, #-2068]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	ble	.L92
	ldr	r3, [fp, #-2068]
	str	r3, [fp, #-2092]
.L92:
	ldr	r3, [fp, #-2100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #44
	beq	.L79
	ldr	r3, .L102+48
	str	r3, [fp, #-2088]
	b	.L82
.L79:
	ldr	r1, .L102+52
	ldr	r0, [fp, #-2100]
	bl	strstr
	str	r0, [fp, #-2100]
	ldr	r3, [fp, #-2100]
	cmp	r3, #0
	bne	.L93
.L82:
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	bne	.L94
	ldr	r3, [fp, #-2096]
	ldr	r2, .L102+4
	cmp	r3, r2
	bne	.L94
	ldr	r3, .L102+56
	str	r3, [fp, #-2088]
.L94:
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	beq	.L95
	ldr	r3, .L102+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-2088]
	ldr	r2, [fp, #-2084]
	ldr	r1, .L102+60
	bl	fprintf
.L95:
	ldr	r4, [fp, #-2104]
	ldr	r0, [fp, #-2116]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-2116]
	mov	r0, r4
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L96
	ldr	r3, .L102+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-2084]
	ldr	r1, .L102+64
	mov	r0, r3
	bl	fprintf
	ldr	r4, [fp, #-2104]
	ldr	r0, [fp, #-2116]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-2116]
	mov	r0, r4
	bl	print_diff
	mvn	r3, #0
	b	.L100
.L96:
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	beq	.L97
	mvn	r3, #0
	b	.L100
.L97:
	ldr	r2, [fp, #-2096]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	beq	.L98
	ldr	r3, [fp, #-2092]
	cmp	r3, #0
	beq	.L98
	ldr	r2, [fp, #-2092]
	ldr	r1, [fp, #-2096]
	ldr	r0, .L102+68
	bl	printf
	b	.L99
.L98:
	ldr	r1, [fp, #-2096]
	ldr	r0, .L102+72
	bl	printf
.L99:
	mov	r3, #0
.L100:
	ldr	r2, .L102
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L101
	bl	__stack_chk_fail
.L101:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L103:
	.align	2
.L102:
	.word	.LC30
	.word	9999
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC17
	.word	.LC18
	.word	1899
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	verify_license, .-verify_license
	.section	.rodata
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mode_create_pattern_file, %function
mode_create_pattern_file:
	@ 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, .L109
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2064]
	bl	create_pattern
	mov	r3, r0
	cmn	r3, #1
	bne	.L105
	mvn	r3, #0
	b	.L107
.L105:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2068]
	bl	write_pattern
	mov	r3, r0
.L107:
	ldr	r2, .L109
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L108
	bl	__stack_chk_fail
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC31
	.size	mode_create_pattern_file, .-mode_create_pattern_file
	.section	.rodata
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mode_check_pattern, %function
mode_check_pattern:
	@ 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, .L116
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2064]
	bl	create_pattern
	mov	r3, r0
	cmn	r3, #1
	bne	.L112
	mvn	r3, #0
	b	.L114
.L112:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-2068]
	bl	verify_license
	mov	r3, r0
.L114:
	ldr	r2, .L116
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L115
	bl	__stack_chk_fail
.L115:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L117:
	.align	2
.L116:
	.word	.LC32
	.size	mode_check_pattern, .-mode_check_pattern
	.section	.rodata
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mode_check_license, %function
mode_check_license:
	@ args = 0, pretend = 0, frame = 2072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2064
	sub	sp, sp, #8
	str	r0, [fp, #-2064]
	str	r1, [fp, #-2068]
	str	r2, [fp, #-2072]
	ldr	r3, .L123
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-2064]
	bl	read_pattern
	mov	r3, r0
	cmn	r3, #1
	bne	.L119
	mvn	r3, #0
	b	.L121
.L119:
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, [fp, #-2072]
	mov	r1, r3
	ldr	r0, [fp, #-2068]
	bl	verify_license
	mov	r3, r0
.L121:
	ldr	r2, .L123
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L122
	bl	__stack_chk_fail
.L122:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	.LC33
	.size	mode_check_license, .-mode_check_license
	.section	.rodata
	.align	2
.LC34:
	.ascii	"create\000"
	.align	2
.LC35:
	.ascii	"check-pattern\000"
	.align	2
.LC36:
	.ascii	"check-license\000"
	.align	2
.LC37:
	.ascii	"error: wrong mode: %s\012\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L137
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L134
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	mode_create_pattern_file
	mov	r3, r0
	b	.L129
.L126:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L137+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L130
	ldr	r3, [fp, #-8]
	cmp	r3, #5
	bne	.L135
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r2, r3
	bl	mode_check_license
	mov	r3, r0
	b	.L129
.L130:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L137+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L132
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L136
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	mode_check_pattern
	mov	r3, r0
	b	.L129
.L132:
	ldr	r3, .L137+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L137+16
	bl	fprintf
	b	.L128
.L134:
	nop
	b	.L128
.L135:
	nop
	b	.L128
.L136:
	nop
.L128:
	ldr	r3, .L137+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	printf
	mvn	r3, #0
.L129:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L138:
	.align	2
.L137:
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	stderr
	.word	.LC37
	.word	help_str
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6244, %object
	.size	__PRETTY_FUNCTION__.6244, 16
__PRETTY_FUNCTION__.6244:
	.ascii	"analyze_license\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
