	.file	"739609.c"
	.intel_syntax noprefix
	.text
	.data
	.align 4
	.type	rule_maxBuildNumber, @object
	.size	rule_maxBuildNumber, 4
rule_maxBuildNumber:
	.long	1000
	.align 4
	.type	rule_maxMinorNumber, @object
	.size	rule_maxMinorNumber, 4
rule_maxMinorNumber:
	.long	10
	.section	.rodata
.LC0:
	.string	"%i:%i"
	.align 8
.LC1:
	.string	"-- The rule is missing or wrong"
	.align 8
.LC2:
	.string	"-- The rule must respect this format max_build_number:max_minor_number"
	.align 8
.LC3:
	.string	"-- The default rule of 1000:10 will be applied"
	.text
	.globl	ParseRule
	.type	ParseRule, @function
ParseRule:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -40[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L2
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 2
	jne	.L2
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR rule_maxBuildNumber[rip], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR rule_maxMinorNumber[rip], eax
	mov	eax, 1
	jmp	.L4
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
.L4:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ParseRule, .-ParseRule
	.section	.rodata
.LC4:
	.string	"r"
	.align 8
.LC5:
	.string	"-- Reading error with code %d\n"
.LC6:
	.string	"#define %s %i"
.LC7:
	.string	"BuildNumber"
.LC8:
	.string	"MinorNumber"
.LC9:
	.string	"MajorNumber"
	.align 8
.LC10:
	.string	"-------------------- BuildInc ----------------------------------------------------------------------"
.LC11:
	.string	"-- Build Id : %i.%i.%i\n"
.LC12:
	.string	"-- In file %s\n"
	.align 8
.LC13:
	.string	"----------------------------------------------------------------------------------------------------"
.LC14:
	.string	"w"
.LC15:
	.string	"#pragma once\n\n"
.LC16:
	.string	"#define %s %i\n"
.LC17:
	.string	"BuildId"
.LC18:
	.string	"#define %s \"%i.%i.%i\"\n"
	.text
	.globl	ParseFile
	.type	ParseFile, @function
ParseFile:
.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, 1360
	mov	QWORD PTR -1352[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1336[rbp], 0
	mov	DWORD PTR -1332[rbp], 0
	mov	DWORD PTR -1328[rbp], 0
	cmp	QWORD PTR -1352[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -1352[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L22
	mov	DWORD PTR -1324[rbp], 0
	mov	rax, QWORD PTR -1352[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1312[rbp], rax
	cmp	QWORD PTR -1312[rbp], 0
	je	.L8
	jmp	.L9
.L15:
	mov	rdx, QWORD PTR -1312[rbp]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -1312[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L10
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L11
.L10:
	mov	BYTE PTR -1296[rbp], 0
	mov	DWORD PTR -1340[rbp], 0
	lea	rcx, -1340[rbp]
	lea	rdx, -1296[rbp]
	lea	rax, -1040[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -1320[rbp], eax
	cmp	DWORD PTR -1320[rbp], 2
	jne	.L9
	lea	rax, -1296[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR -1340[rbp]
	mov	DWORD PTR -1336[rbp], eax
	add	DWORD PTR -1324[rbp], 1
	jmp	.L9
.L13:
	lea	rax, -1296[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	eax, DWORD PTR -1340[rbp]
	mov	DWORD PTR -1332[rbp], eax
	add	DWORD PTR -1324[rbp], 1
	jmp	.L9
.L14:
	lea	rax, -1296[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -1340[rbp]
	mov	DWORD PTR -1328[rbp], eax
	add	DWORD PTR -1324[rbp], 1
.L9:
	mov	rax, QWORD PTR -1312[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L11
	cmp	DWORD PTR -1324[rbp], 2
	jle	.L15
.L11:
	mov	rax, QWORD PTR -1312[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L8:
	cmp	DWORD PTR -1324[rbp], 3
	je	.L16
	cmp	QWORD PTR -1312[rbp], 0
	jne	.L22
.L16:
	add	DWORD PTR -1336[rbp], 1
	mov	eax, DWORD PTR rule_maxBuildNumber[rip]
	cmp	DWORD PTR -1336[rbp], eax
	jle	.L18
	mov	DWORD PTR -1336[rbp], 0
	add	DWORD PTR -1332[rbp], 1
.L18:
	mov	eax, DWORD PTR rule_maxMinorNumber[rip]
	cmp	DWORD PTR -1332[rbp], eax
	jle	.L19
	mov	DWORD PTR -1332[rbp], 0
	add	DWORD PTR -1328[rbp], 1
.L19:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -1336[rbp]
	mov	edx, DWORD PTR -1332[rbp]
	mov	eax, DWORD PTR -1328[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1352[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1352[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1304[rbp], rax
	cmp	QWORD PTR -1304[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -1304[rbp]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR -1336[rbp]
	lea	rax, -1040[rbp]
	mov	r8d, edx
	lea	rcx, .LC7[rip]
	lea	rdx, .LC16[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -1316[rbp], eax
	cmp	DWORD PTR -1316[rbp], 0
	je	.L20
	mov	eax, DWORD PTR -1316[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -1332[rbp]
	lea	rax, -1040[rbp]
	mov	r8d, edx
	lea	rcx, .LC8[rip]
	lea	rdx, .LC16[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -1316[rbp], eax
	cmp	DWORD PTR -1316[rbp], 0
	je	.L20
	mov	eax, DWORD PTR -1316[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -1328[rbp]
	lea	rax, -1040[rbp]
	mov	r8d, edx
	lea	rcx, .LC9[rip]
	lea	rdx, .LC16[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -1316[rbp], eax
	cmp	DWORD PTR -1316[rbp], 0
	je	.L20
	mov	eax, DWORD PTR -1316[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	esi, DWORD PTR -1332[rbp]
	mov	ecx, DWORD PTR -1328[rbp]
	lea	rax, -1040[rbp]
	sub	rsp, 8
	mov	edx, DWORD PTR -1336[rbp]
	push	rdx
	mov	r9d, esi
	mov	r8d, ecx
	lea	rcx, .LC17[rip]
	lea	rdx, .LC18[rip]
	mov	esi, 1024
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	mov	DWORD PTR -1316[rbp], eax
	cmp	DWORD PTR -1316[rbp], 0
	je	.L20
	mov	eax, DWORD PTR -1316[rbp]
	movsx	rsi, eax
	mov	rdx, QWORD PTR -1304[rbp]
	lea	rax, -1040[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	fwrite@PLT
.L20:
	mov	rax, QWORD PTR -1304[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L22:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ParseFile, .-ParseFile
	.section	.rodata
	.align 8
.LC19:
	.string	"-------------------- BuildInc --------------------"
	.align 8
.LC20:
	.string	"-- this func will increment in a c/c++ include file, 3 vars : MajorNumber, MinorNumber and BuildNumber, according to a rule"
	.align 8
.LC21:
	.string	"-- the syntax is : BuildInc rule include_file"
	.align 8
.LC22:
	.string	"-- the rule is 'max_build_number:max_minor_number' "
	.align 8
.LC23:
	.string	"-- by ex with a rule of 1000:10 the corresponding pseudo code will be :"
	.align 8
.LC24:
	.string	"-- if (BuildNumber > 1000) ++MinorNumber;"
	.align 8
.LC25:
	.string	"-- if (MinorNumber > 10) ++MajorNumber"
	.align 8
.LC26:
	.string	"-- the Build id will be MajorNumber.MinorNumber.BuildNumber"
	.align 8
.LC27:
	.string	"--------------------------------------------------"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jne	.L24
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	call	puts@PLT
	lea	rdi, .LC21[rip]
	call	puts@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC27[rip]
	call	puts@PLT
.L24:
	mov	DWORD PTR -8[rbp], 1
	cmp	DWORD PTR -20[rbp], 1
	jle	.L25
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	ParseRule
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L26
	add	DWORD PTR -8[rbp], 1
.L26:
	cmp	DWORD PTR -20[rbp], 2
	jg	.L27
	cmp	DWORD PTR -4[rbp], 0
	jne	.L25
.L27:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	ParseFile
.L25:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"739609.c"
	.text
	.data
	.align	2
	.type	rule_maxBuildNumber, %object
	.size	rule_maxBuildNumber, 4
rule_maxBuildNumber:
	.word	1000
	.align	2
	.type	rule_maxMinorNumber, %object
	.size	rule_maxMinorNumber, 4
rule_maxMinorNumber:
	.word	10
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%i:%i\000"
	.align	2
.LC1:
	.ascii	"-- The rule is missing or wrong\000"
	.align	2
.LC2:
	.ascii	"-- The rule must respect this format max_build_numb"
	.ascii	"er:max_minor_number\000"
	.align	2
.LC3:
	.ascii	"-- The default rule of 1000:10 will be applied\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ParseRule
	.syntax unified
	.arm
	.fpu softvfp
	.type	ParseRule, %function
ParseRule:
	@ 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]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #16
	sub	r2, fp, #20
	ldr	r1, .L6+4
	ldr	r0, [fp, #-24]
	bl	__isoc99_sscanf
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L2
	ldr	r3, [fp, #-20]
	ldr	r2, .L6+8
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	ldr	r2, .L6+12
	str	r3, [r2]
	mov	r3, #1
	b	.L4
.L2:
	ldr	r0, .L6+16
	bl	puts
	ldr	r0, .L6+20
	bl	puts
	ldr	r0, .L6+24
	bl	puts
	mov	r3, #0
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC4
	.word	.LC0
	.word	rule_maxBuildNumber
	.word	rule_maxMinorNumber
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	ParseRule, .-ParseRule
	.section	.rodata
	.align	2
.LC5:
	.ascii	"r\000"
	.align	2
.LC6:
	.ascii	"-- Reading error with code %d\012\000"
	.align	2
.LC7:
	.ascii	"#define %s %i\000"
	.align	2
.LC8:
	.ascii	"BuildNumber\000"
	.align	2
.LC9:
	.ascii	"MinorNumber\000"
	.align	2
.LC10:
	.ascii	"MajorNumber\000"
	.align	2
.LC11:
	.ascii	"-------------------- BuildInc ---------------------"
	.ascii	"-------------------------------------------------\000"
	.align	2
.LC12:
	.ascii	"-- Build Id : %i.%i.%i\012\000"
	.align	2
.LC13:
	.ascii	"-- In file %s\012\000"
	.align	2
.LC14:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------------------------------------------\000"
	.align	2
.LC15:
	.ascii	"w\000"
	.align	2
.LC16:
	.ascii	"#pragma once\012\012\000"
	.align	2
.LC17:
	.ascii	"#define %s %i\012\000"
	.align	2
.LC18:
	.ascii	"BuildId\000"
	.align	2
.LC19:
	.ascii	"#define %s \"%i.%i.%i\"\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ParseFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	ParseFile, %function
ParseFile:
	@ args = 0, pretend = 0, frame = 1336
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #1344
	sub	sp, sp, #12
	str	r0, [fp, #-1344]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1332]
	mov	r3, #0
	str	r3, [fp, #-1328]
	mov	r3, #0
	str	r3, [fp, #-1324]
	ldr	r3, [fp, #-1344]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-1344]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	mov	r3, #0
	str	r3, [fp, #-1320]
	ldr	r1, .L25+4
	ldr	r0, [fp, #-1344]
	bl	fopen
	str	r0, [fp, #-1316]
	ldr	r3, [fp, #-1316]
	cmp	r3, #0
	beq	.L10
	b	.L11
.L17:
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r2, [fp, #-1316]
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	ldr	r0, [fp, #-1316]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L25+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L25+12
	mov	r0, r4
	bl	fprintf
	b	.L13
.L12:
	mov	r3, #0
	strb	r3, [fp, #-1300]
	mov	r3, #0
	str	r3, [fp, #-1336]
	sub	r3, fp, #1312
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r2, fp, #1280
	sub	r2, r2, #12
	sub	r2, r2, #8
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r1, .L25+16
	bl	__isoc99_sscanf
	str	r0, [fp, #-1312]
	ldr	r3, [fp, #-1312]
	cmp	r3, #2
	bne	.L11
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L25+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-1336]
	str	r3, [fp, #-1332]
	ldr	r3, [fp, #-1320]
	add	r3, r3, #1
	str	r3, [fp, #-1320]
	b	.L11
.L15:
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L25+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-1336]
	str	r3, [fp, #-1328]
	ldr	r3, [fp, #-1320]
	add	r3, r3, #1
	str	r3, [fp, #-1320]
	b	.L11
.L16:
	sub	r3, fp, #1280
	sub	r3, r3, #12
	sub	r3, r3, #8
	ldr	r1, .L25+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-1336]
	str	r3, [fp, #-1324]
	ldr	r3, [fp, #-1320]
	add	r3, r3, #1
	str	r3, [fp, #-1320]
.L11:
	ldr	r0, [fp, #-1316]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-1320]
	cmp	r3, #2
	ble	.L17
.L13:
	ldr	r0, [fp, #-1316]
	bl	fclose
.L10:
	ldr	r3, [fp, #-1320]
	cmp	r3, #3
	beq	.L18
	ldr	r3, [fp, #-1316]
	cmp	r3, #0
	bne	.L24
.L18:
	ldr	r3, [fp, #-1332]
	add	r3, r3, #1
	str	r3, [fp, #-1332]
	ldr	r3, .L25+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-1332]
	cmp	r2, r3
	ble	.L20
	mov	r3, #0
	str	r3, [fp, #-1332]
	ldr	r3, [fp, #-1328]
	add	r3, r3, #1
	str	r3, [fp, #-1328]
.L20:
	ldr	r3, .L25+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-1328]
	cmp	r2, r3
	ble	.L21
	mov	r3, #0
	str	r3, [fp, #-1328]
	ldr	r3, [fp, #-1324]
	add	r3, r3, #1
	str	r3, [fp, #-1324]
.L21:
	ldr	r0, .L25+40
	bl	puts
	ldr	r3, [fp, #-1332]
	ldr	r2, [fp, #-1328]
	ldr	r1, [fp, #-1324]
	ldr	r0, .L25+44
	bl	printf
	ldr	r1, [fp, #-1344]
	ldr	r0, .L25+48
	bl	printf
	ldr	r0, .L25+52
	bl	puts
	ldr	r1, .L25+56
	ldr	r0, [fp, #-1344]
	bl	fopen
	str	r0, [fp, #-1308]
	ldr	r3, [fp, #-1308]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-1308]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L25+60
	bl	fwrite
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1332]
	str	r3, [sp]
	ldr	r3, .L25+20
	ldr	r2, .L25+64
	mov	r1, #1024
	bl	snprintf
	str	r0, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	cmp	r3, #0
	beq	.L22
	ldr	r1, [fp, #-1304]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1308]
	mov	r2, #1
	bl	fwrite
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1328]
	str	r3, [sp]
	ldr	r3, .L25+24
	ldr	r2, .L25+64
	mov	r1, #1024
	bl	snprintf
	str	r0, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	cmp	r3, #0
	beq	.L22
	ldr	r1, [fp, #-1304]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1308]
	mov	r2, #1
	bl	fwrite
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1324]
	str	r3, [sp]
	ldr	r3, .L25+28
	ldr	r2, .L25+64
	mov	r1, #1024
	bl	snprintf
	str	r0, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	cmp	r3, #0
	beq	.L22
	ldr	r1, [fp, #-1304]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1308]
	mov	r2, #1
	bl	fwrite
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1332]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-1328]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-1324]
	str	r3, [sp]
	ldr	r3, .L25+68
	ldr	r2, .L25+72
	mov	r1, #1024
	bl	snprintf
	str	r0, [fp, #-1304]
	ldr	r3, [fp, #-1304]
	cmp	r3, #0
	beq	.L22
	ldr	r1, [fp, #-1304]
	sub	r0, fp, #1024
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1308]
	mov	r2, #1
	bl	fwrite
.L22:
	ldr	r0, [fp, #-1308]
	bl	fclose
.L24:
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC20
	.word	.LC5
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	rule_maxBuildNumber
	.word	rule_maxMinorNumber
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	ParseFile, .-ParseFile
	.section	.rodata
	.align	2
.LC21:
	.ascii	"-------------------- BuildInc --------------------\000"
	.align	2
.LC22:
	.ascii	"-- this func will increment in a c/c++ include file"
	.ascii	", 3 vars : MajorNumber, MinorNumber and BuildNumber"
	.ascii	", according to a rule\000"
	.align	2
.LC23:
	.ascii	"-- the syntax is : BuildInc rule include_file\000"
	.align	2
.LC24:
	.ascii	"-- the rule is 'max_build_number:max_minor_number' "
	.ascii	"\000"
	.align	2
.LC25:
	.ascii	"-- by ex with a rule of 1000:10 the corresponding p"
	.ascii	"seudo code will be :\000"
	.align	2
.LC26:
	.ascii	"-- if (BuildNumber > 1000) ++MinorNumber;\000"
	.align	2
.LC27:
	.ascii	"-- if (MinorNumber > 10) ++MajorNumber\000"
	.align	2
.LC28:
	.ascii	"-- the Build id will be MajorNumber.MinorNumber.Bui"
	.ascii	"ldNumber\000"
	.align	2
.LC29:
	.ascii	"--------------------------------------------------\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L28
	ldr	r0, .L33
	bl	puts
	ldr	r0, .L33+4
	bl	puts
	ldr	r0, .L33+8
	bl	puts
	ldr	r0, .L33+12
	bl	puts
	ldr	r0, .L33+16
	bl	puts
	ldr	r0, .L33+20
	bl	puts
	ldr	r0, .L33+24
	bl	puts
	ldr	r0, .L33+28
	bl	puts
	ldr	r0, .L33+32
	bl	puts
.L28:
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	ble	.L29
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	ParseRule
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bgt	.L31
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L29
.L31:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	ParseFile
.L29:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
