	.file	"392743.c"
	.intel_syntax noprefix
	.text
	.globl	stripnl
	.type	stripnl, @function
stripnl:
.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]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L3
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	stripnl, .-stripnl
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s <path to gitinfo.h>\n"
.LC1:
	.string	"r"
	.align 8
.LC2:
	.string	"git describe --tags --dirty=-m && git log -1 --format=%ai*%H"
	.align 8
.LC3:
	.string	"Failed to get commit info: %s\n"
.LC4:
	.string	"w"
	.align 8
.LC5:
	.string	"// %s\n//\n// This file was automatically generated by the\n// updaterevision tool. Do not edit by hand.\n\n#define GIT_DESCRIPTION \"%s\"\n#define GIT_HASH \"%s\"\n#define GIT_TIME \"%s\"\n"
.LC6:
	.string	"%s updated to commit %s.\n"
	.align 8
.LC7:
	.string	"%s is up to date at commit %s.\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 448
	mov	DWORD PTR -436[rbp], edi
	mov	QWORD PTR -448[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	DWORD PTR -424[rbp], 0
	mov	DWORD PTR -420[rbp], 1
	mov	BYTE PTR -400[rbp], 0
	mov	BYTE PTR -272[rbp], 0
	cmp	DWORD PTR -436[rbp], 2
	je	.L5
	mov	rax, QWORD PTR -448[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L17
.L5:
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	popen@PLT
	mov	QWORD PTR -408[rbp], rax
	cmp	QWORD PTR -408[rbp], 0
	je	.L7
	mov	rdx, QWORD PTR -408[rbp]
	lea	rax, -400[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -400[rbp]
	cmp	rax, rdx
	jne	.L8
	mov	rdx, QWORD PTR -408[rbp]
	lea	rax, -272[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -272[rbp]
	cmp	rax, rdx
	jne	.L8
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	stripnl
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	stripnl
	mov	DWORD PTR -424[rbp], 1
.L8:
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	pclose@PLT
.L7:
	cmp	DWORD PTR -424[rbp], 0
	je	.L9
	lea	rax, -272[rbp]
	mov	esi, 42
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -416[rbp], rax
	cmp	QWORD PTR -416[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -416[rbp]
	mov	BYTE PTR [rax], 0
	add	QWORD PTR -416[rbp], 1
.L9:
	cmp	QWORD PTR -416[rbp], 0
	jne	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -400[rbp]
	movabs	rsi, 7959953386440127804
	movabs	rdi, 7957695011148363296
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	WORD PTR 16[rax], 62
	mov	BYTE PTR -272[rbp], 0
	mov	BYTE PTR -271[rbp], 48
	mov	BYTE PTR -270[rbp], 0
	lea	rax, -272[rbp]
	add	rax, 1
	mov	QWORD PTR -416[rbp], rax
.L10:
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -408[rbp], rax
	cmp	QWORD PTR -408[rbp], 0
	je	.L11
	cmp	DWORD PTR -424[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L17
.L12:
	mov	rdx, QWORD PTR -408[rbp]
	lea	rax, -144[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -144[rbp]
	cmp	rax, rdx
	jne	.L13
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	stripnl
	lea	rax, -144[rbp]
	add	rax, 3
	mov	rdx, QWORD PTR -416[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR -420[rbp], 0
.L13:
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L11:
	cmp	DWORD PTR -420[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -408[rbp], rax
	cmp	QWORD PTR -408[rbp], 0
	jne	.L15
	mov	eax, 1
	jmp	.L17
.L15:
	lea	rdi, -272[rbp]
	mov	rsi, QWORD PTR -416[rbp]
	lea	rcx, -400[rbp]
	mov	rdx, QWORD PTR -416[rbp]
	mov	rax, QWORD PTR -408[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, -400[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L16
.L14:
	mov	rax, QWORD PTR -448[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, -400[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L16:
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"392743.c"
	.text
	.align	2
	.global	stripnl
	.syntax unified
	.arm
	.fpu softvfp
	.type	stripnl, %function
stripnl:
	@ 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	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r0, [fp, #-16]
	bl	strlen
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L3
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	stripnl, .-stripnl
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s <path to gitinfo.h>\012\000"
	.align	2
.LC1:
	.ascii	"r\000"
	.align	2
.LC2:
	.ascii	"git describe --tags --dirty=-m && git log -1 --form"
	.ascii	"at=%ai*%H\000"
	.align	2
.LC3:
	.ascii	"Failed to get commit info: %s\012\000"
	.align	2
.LC4:
	.ascii	"<unknown version>\000"
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"// %s\012//\012// This file was automatically gener"
	.ascii	"ated by the\012// updaterevision tool. Do not edit "
	.ascii	"by hand.\012\012#define GIT_DESCRIPTION \"%s\"\012#"
	.ascii	"define GIT_HASH \"%s\"\012#define GIT_TIME \"%s\"\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"%s updated to commit %s.\012\000"
	.align	2
.LC8:
	.ascii	"%s is up to date at commit %s.\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #428
	str	r0, [fp, #-424]
	str	r1, [fp, #-428]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-416]
	mov	r3, #0
	str	r3, [fp, #-404]
	mov	r3, #0
	str	r3, [fp, #-412]
	mov	r3, #1
	str	r3, [fp, #-408]
	mov	r3, #0
	strb	r3, [fp, #-400]
	mov	r3, #0
	strb	r3, [fp, #-272]
	ldr	r3, [fp, #-424]
	cmp	r3, #2
	beq	.L5
	ldr	r3, .L19+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L19+8
	bl	fprintf
	mov	r3, #1
	b	.L17
.L5:
	ldr	r1, .L19+12
	ldr	r0, .L19+16
	bl	popen
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	beq	.L7
	sub	r3, fp, #400
	ldr	r2, [fp, #-404]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r2, r0
	sub	r3, fp, #400
	cmp	r2, r3
	bne	.L8
	sub	r3, fp, #272
	ldr	r2, [fp, #-404]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r2, r0
	sub	r3, fp, #272
	cmp	r2, r3
	bne	.L8
	sub	r3, fp, #400
	mov	r0, r3
	bl	stripnl
	sub	r3, fp, #272
	mov	r0, r3
	bl	stripnl
	mov	r3, #1
	str	r3, [fp, #-412]
.L8:
	ldr	r0, [fp, #-404]
	bl	pclose
.L7:
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	beq	.L9
	sub	r3, fp, #272
	mov	r1, #42
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-416]
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-416]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L9:
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L19+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L19+20
	mov	r0, r4
	bl	fprintf
	sub	r3, fp, #400
	ldr	r2, .L19+24
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	mov	r3, #0
	strb	r3, [fp, #-272]
	mov	r3, #48
	strb	r3, [fp, #-271]
	mov	r3, #0
	strb	r3, [fp, #-270]
	sub	r3, fp, #272
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L10:
	ldr	r3, [fp, #-428]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L19+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-412]
	cmp	r3, #0
	bne	.L12
	ldr	r0, [fp, #-404]
	bl	fclose
	mov	r3, #0
	b	.L17
.L12:
	sub	r3, fp, #144
	ldr	r2, [fp, #-404]
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r2, r0
	sub	r3, fp, #144
	cmp	r2, r3
	bne	.L13
	sub	r3, fp, #144
	mov	r0, r3
	bl	stripnl
	sub	r3, fp, #144
	add	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-416]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-408]
.L13:
	ldr	r0, [fp, #-404]
	bl	fclose
.L11:
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-428]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L19+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	bne	.L15
	mov	r3, #1
	b	.L17
.L15:
	sub	r2, fp, #400
	sub	r3, fp, #272
	str	r3, [sp, #4]
	ldr	r3, [fp, #-416]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-416]
	ldr	r1, .L19+32
	ldr	r0, [fp, #-404]
	bl	fprintf
	ldr	r0, [fp, #-404]
	bl	fclose
	ldr	r3, .L19+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #400
	ldr	r1, .L19+36
	bl	fprintf
	b	.L16
.L14:
	ldr	r3, .L19+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-428]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #400
	ldr	r1, .L19+40
	bl	fprintf
.L16:
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC9
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
