	.file	"202842.c"
	.intel_syntax noprefix
	.text
	.globl	Line
	.bss
	.align 32
	.type	Line, @object
	.size	Line, 256
Line:
	.zero	256
	.globl	Countdown
	.align 32
	.type	Countdown, @object
	.size	Countdown, 256
Countdown:
	.zero	256
	.globl	LoadIdentifier
	.align 32
	.type	LoadIdentifier, @object
	.size	LoadIdentifier, 256
LoadIdentifier:
	.zero	256
	.globl	SystemPartition
	.align 32
	.type	SystemPartition, @object
	.size	SystemPartition, 256
SystemPartition:
	.zero	256
	.globl	OsLoader
	.align 32
	.type	OsLoader, @object
	.size	OsLoader, 256
OsLoader:
	.zero	256
	.globl	OsLoadPartition
	.align 32
	.type	OsLoadPartition, @object
	.size	OsLoadPartition, 256
OsLoadPartition:
	.zero	256
	.globl	OsLoadFilename
	.align 32
	.type	OsLoadFilename, @object
	.size	OsLoadFilename, 256
OsLoadFilename:
	.zero	256
	.globl	OsLoadOptions
	.align 32
	.type	OsLoadOptions, @object
	.size	OsLoadOptions, 256
OsLoadOptions:
	.zero	256
	.globl	DefaultSystemPartition
	.align 32
	.type	DefaultSystemPartition, @object
	.size	DefaultSystemPartition, 256
DefaultSystemPartition:
	.zero	256
	.globl	DefaultOsLoadPartition
	.align 32
	.type	DefaultOsLoadPartition, @object
	.size	DefaultOsLoadPartition, 256
DefaultOsLoadPartition:
	.zero	256
	.globl	DefaultOsLoadOptions
	.align 32
	.type	DefaultOsLoadOptions, @object
	.size	DefaultOsLoadOptions, 256
DefaultOsLoadOptions:
	.zero	256
	.text
	.globl	Trim
	.type	Trim, @function
Trim:
.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	QWORD PTR -16[rbp], rax
	jmp	.L2
.L3:
	add	QWORD PTR -16[rbp], 1
.L2:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L3
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L3
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	sub	rax, 1
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jbe	.L4
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L4
.L6:
	sub	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L6
	add	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
.L4:
	mov	rax, QWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Trim, .-Trim
	.section	.rodata
.LC0:
	.string	"scsi."
.LC1:
	.string	"0"
	.text
	.globl	ParsePartition
	.type	ParsePartition, @function
ParsePartition:
.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, 336
	mov	QWORD PTR -328[rbp], rdi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -328[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -272[rbp]
	mov	edx, 5
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	_strnicmp@PLT
	test	eax, eax
	je	.L9
	mov	eax, 0
	jmp	.L13
.L9:
	lea	rax, .LC1[rip]
	mov	QWORD PTR -296[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -288[rbp], rax
	lea	rax, -272[rbp]
	add	rax, 5
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L11
	mov	eax, 0
	jmp	.L13
.L11:
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 1
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -312[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 1
	mov	QWORD PTR -304[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	mov	esi, 46
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -312[rbp]
	mov	QWORD PTR -288[rbp], rax
	mov	rax, QWORD PTR -304[rbp]
	mov	QWORD PTR -312[rbp], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 1
	mov	QWORD PTR -304[rbp], rax
.L12:
	mov	rax, QWORD PTR -336[rbp]
	movabs	rcx, 7594240125198099315
	mov	QWORD PTR [rax], rcx
	mov	DWORD PTR 8[rax], 2648947
	mov	rdx, QWORD PTR -312[rbp]
	mov	rax, QWORD PTR -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	movabs	rsi, 2965738498057073193
	movabs	rdi, 8028075807038660976
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	mov	WORD PTR 16[rax], 10350
	mov	BYTE PTR 18[rax], 0
	mov	rdx, QWORD PTR -304[rbp]
	mov	rax, QWORD PTR -336[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -336[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 41
	mov	eax, 1
.L13:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	ParsePartition, .-ParsePartition
	.section	.rodata
	.align 8
.LC2:
	.string	"This program accepts no arguments\n"
	.align 8
.LC3:
	.string	"Redirect stdin to build data file\n"
	.align 8
.LC4:
	.string	"Redirect stdout to nvram.exe input file\n"
.LC5:
	.string	"r"
.LC6:
	.string	"Can't open input file %s\n"
	.align 8
.LC7:
	.string	"Error %d reading input at line %d\n"
	.align 8
.LC8:
	.string	"Line %d is too long; %d characters max\n"
.LC9:
	.string	"countdown="
.LC10:
	.string	"default systempartition="
.LC11:
	.string	"default osloadpartition="
.LC12:
	.string	"default options="
.LC13:
	.string	"|"
.LC14:
	.string	"osloader.exe"
.LC15:
	.string	"sysdir="
.LC16:
	.string	"osdir="
.LC17:
	.string	"dir="
.LC18:
	.string	"options="
.LC19:
	.string	"nodef"
.LC20:
	.string	"syspart="
.LC21:
	.string	"ospart="
.LC22:
	.string	"loader="
	.align 8
.LC23:
	.string	"Unreconized optional field at line %d\n"
	.align 8
.LC24:
	.string	"Bad <load-identifier> at line %d\n"
	.align 8
.LC25:
	.string	"Bad <system-directory> at line %d\n"
	.align 8
.LC26:
	.string	"Bad <os-directory> at line %d\n"
	.align 8
.LC27:
	.string	"Missing <system-partition> (no default) at line %d\n"
	.align 8
.LC28:
	.string	"Missing <os-partition> (no default) at line %d\n"
	.align 8
.LC29:
	.string	"Bad <system-partition> at line %d\n"
	.align 8
.LC30:
	.string	"Bad <os-partition> at line %d\n"
.LC31:
	.string	"Bad <loader> at line %d\n"
.LC32:
	.string	"nvram /set COUNTDOWN = \"%s\"\n"
	.align 8
.LC33:
	.string	"nvram /set LOADIDENTIFIER = \"%s\"\n"
	.align 8
.LC34:
	.string	"nvram /set SYSTEMPARTITION = \"%s\"\n"
.LC35:
	.string	"nvram /set OSLOADER = \"%s\"\n"
	.align 8
.LC36:
	.string	"nvram /set OSLOADPARTITION = \"%s\"\n"
	.align 8
.LC37:
	.string	"nvram /set OSLOADFILENAME = \"%s\"\n"
	.align 8
.LC38:
	.string	"nvram /set OSLOADOPTIONS = \"%s\"\n"
	.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, 896
	mov	DWORD PTR -884[rbp], edi
	mov	QWORD PTR -896[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -864[rbp], rax
	cmp	DWORD PTR -884[rbp], 1
	jle	.L16
	cmp	DWORD PTR -884[rbp], 2
	jle	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L53
.L17:
	mov	rax, QWORD PTR -896[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -864[rbp], rax
	cmp	QWORD PTR -864[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -896[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L16:
	mov	BYTE PTR Countdown[rip], 0
	mov	BYTE PTR LoadIdentifier[rip], 0
	mov	BYTE PTR SystemPartition[rip], 0
	mov	BYTE PTR OsLoader[rip], 0
	mov	BYTE PTR OsLoadPartition[rip], 0
	mov	BYTE PTR OsLoadFilename[rip], 0
	mov	BYTE PTR OsLoadOptions[rip], 0
	mov	BYTE PTR DefaultOsLoadOptions[rip], 0
	mov	BYTE PTR DefaultOsLoadPartition[rip], 0
	mov	BYTE PTR DefaultSystemPartition[rip], 0
	mov	DWORD PTR -872[rbp], 0
.L51:
	add	DWORD PTR -872[rbp], 1
	mov	rax, QWORD PTR -864[rbp]
	mov	rdx, rax
	mov	esi, 256
	lea	rdi, Line[rip]
	call	fgets@PLT
	mov	QWORD PTR -808[rbp], rax
	cmp	QWORD PTR -808[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR -864[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR -864[rbp]
	mov	rdi, rax
	call	ferror@PLT
	mov	esi, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	mov	ecx, edx
	mov	edx, esi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -864[rbp]
	mov	rdi, rax
	call	ferror@PLT
	jmp	.L53
.L19:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -808[rbp], rax
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -868[rbp], eax
	cmp	DWORD PTR -868[rbp], 0
	je	.L57
	mov	rax, QWORD PTR -808[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L24
	mov	rax, QWORD PTR -808[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L58
.L24:
	mov	eax, DWORD PTR -868[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -808[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L25
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	mov	ecx, 254
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L25:
	cmp	DWORD PTR -868[rbp], 1
	je	.L59
	mov	eax, DWORD PTR -868[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -808[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -808[rbp], rax
	jne	.L27
	mov	rax, QWORD PTR -808[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rsi, rax
	lea	rdi, Countdown[rip]
	call	strcpy@PLT
	jmp	.L23
.L27:
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -808[rbp], rax
	jne	.L28
	mov	rax, QWORD PTR -808[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	rsi, rax
	lea	rdi, DefaultSystemPartition[rip]
	call	strcpy@PLT
	jmp	.L23
.L28:
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -808[rbp], rax
	jne	.L29
	mov	rax, QWORD PTR -808[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	rsi, rax
	lea	rdi, DefaultOsLoadPartition[rip]
	call	strcpy@PLT
	jmp	.L23
.L29:
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -808[rbp], rax
	jne	.L30
	mov	rax, QWORD PTR -808[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	rsi, rax
	lea	rdi, DefaultOsLoadOptions[rip]
	call	strcpy@PLT
	lea	rdi, DefaultOsLoadOptions[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, DefaultOsLoadOptions[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	jmp	.L23
.L30:
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -800[rbp], rax
	mov	rax, QWORD PTR -800[rbp]
	mov	QWORD PTR -848[rbp], rax
	mov	rax, QWORD PTR -800[rbp]
	mov	QWORD PTR -856[rbp], rax
	lea	rax, DefaultOsLoadOptions[rip]
	mov	QWORD PTR -840[rbp], rax
	lea	rax, DefaultSystemPartition[rip]
	mov	QWORD PTR -832[rbp], rax
	lea	rax, DefaultOsLoadPartition[rip]
	mov	QWORD PTR -824[rbp], rax
	lea	rax, .LC14[rip]
	mov	QWORD PTR -816[rbp], rax
	jmp	.L31
.L40:
	mov	rax, QWORD PTR -792[rbp]
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -792[rbp], rax
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L32
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -856[rbp], rax
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L33
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -848[rbp], rax
	jmp	.L31
.L33:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L34
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -856[rbp], rax
	mov	rax, QWORD PTR -856[rbp]
	mov	QWORD PTR -848[rbp], rax
	jmp	.L31
.L34:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L35
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -840[rbp], rax
	mov	rax, QWORD PTR -840[rbp]
	mov	edx, 5
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	_strnicmp@PLT
	test	eax, eax
	jne	.L36
	add	QWORD PTR -840[rbp], 5
	jmp	.L31
.L36:
	lea	rax, -784[rbp]
	lea	rsi, DefaultOsLoadOptions[rip]
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR -840[rbp]
	lea	rax, -784[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -784[rbp]
	mov	QWORD PTR -840[rbp], rax
	jmp	.L31
.L35:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L37
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -832[rbp], rax
	jmp	.L31
.L37:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L38
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -824[rbp], rax
	jmp	.L31
.L38:
	mov	rax, QWORD PTR -792[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strstr@PLT
	cmp	QWORD PTR -792[rbp], rax
	jne	.L39
	mov	rax, QWORD PTR -792[rbp]
	mov	esi, 61
	mov	rdi, rax
	call	strchr@PLT
	add	rax, 1
	mov	rdi, rax
	call	Trim
	mov	QWORD PTR -816[rbp], rax
	jmp	.L31
.L39:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L31:
	lea	rsi, .LC13[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -792[rbp], rax
	cmp	QWORD PTR -792[rbp], 0
	jne	.L40
	mov	rax, QWORD PTR -800[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L41
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L41:
	mov	rax, QWORD PTR -856[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L42
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L42:
	mov	rax, QWORD PTR -848[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L43
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L43:
	mov	rax, QWORD PTR -832[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L44
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L44:
	mov	rax, QWORD PTR -824[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L45
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L45:
	lea	rdx, -528[rbp]
	mov	rax, QWORD PTR -832[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ParsePartition
	test	eax, eax
	jne	.L46
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L46:
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -824[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ParsePartition
	test	eax, eax
	jne	.L47
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L47:
	mov	rax, QWORD PTR -816[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L48
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -872[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L53
.L48:
	lea	rax, LoadIdentifier[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L49
	lea	rdi, LoadIdentifier[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, LoadIdentifier[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 59
	lea	rdi, SystemPartition[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, SystemPartition[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 59
	lea	rdi, OsLoader[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoader[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 59
	lea	rdi, OsLoadPartition[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoadPartition[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 59
	lea	rdi, OsLoadFilename[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoadFilename[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 59
	lea	rdi, OsLoadOptions[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoadOptions[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 59
.L49:
	mov	rax, QWORD PTR -800[rbp]
	mov	rsi, rax
	lea	rdi, LoadIdentifier[rip]
	call	strcat@PLT
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, SystemPartition[rip]
	call	strcat@PLT
	lea	rax, -528[rbp]
	mov	rsi, rax
	lea	rdi, OsLoader[rip]
	call	strcat@PLT
	mov	rax, QWORD PTR -816[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 92
	je	.L50
	lea	rdi, OsLoader[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoader[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 92
	mov	rax, QWORD PTR -856[rbp]
	mov	rsi, rax
	lea	rdi, OsLoader[rip]
	call	strcat@PLT
	lea	rdi, OsLoader[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoader[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 92
.L50:
	mov	rax, QWORD PTR -816[rbp]
	mov	rsi, rax
	lea	rdi, OsLoader[rip]
	call	strcat@PLT
	lea	rax, -272[rbp]
	mov	rsi, rax
	lea	rdi, OsLoadPartition[rip]
	call	strcat@PLT
	lea	rdi, OsLoadFilename[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, OsLoadFilename[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 92
	mov	rax, QWORD PTR -848[rbp]
	mov	rsi, rax
	lea	rdi, OsLoadFilename[rip]
	call	strcat@PLT
	mov	rax, QWORD PTR -840[rbp]
	mov	rsi, rax
	lea	rdi, OsLoadOptions[rip]
	call	strcat@PLT
	lea	rdi, OsLoadOptions[rip]
	call	Trim
	jmp	.L51
.L57:
	nop
	jmp	.L51
.L58:
	nop
	jmp	.L51
.L59:
	nop
.L23:
	jmp	.L51
.L56:
	nop
	movzx	eax, BYTE PTR Countdown[rip]
	test	al, al
	je	.L52
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, Countdown[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L52:
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, LoadIdentifier[rip]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, SystemPartition[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, OsLoader[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, OsLoadPartition[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, OsLoadFilename[rip]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, OsLoadOptions[rip]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
.L53:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	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	"202842.c"
	.text
	.comm	Line,256,4
	.comm	Countdown,256,4
	.comm	LoadIdentifier,256,4
	.comm	SystemPartition,256,4
	.comm	OsLoader,256,4
	.comm	OsLoadPartition,256,4
	.comm	OsLoadFilename,256,4
	.comm	OsLoadOptions,256,4
	.comm	DefaultSystemPartition,256,4
	.comm	DefaultOsLoadPartition,256,4
	.comm	DefaultOsLoadOptions,256,4
	.align	2
	.global	Trim
	.syntax unified
	.arm
	.fpu softvfp
	.type	Trim, %function
Trim:
	@ 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]
	str	r3, [fp, #-12]
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L3
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L3
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bls	.L4
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L6
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L4
.L6:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L6
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L6
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
.L4:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	Trim, .-Trim
	.section	.rodata
	.align	2
.LC0:
	.ascii	"scsi.\000"
	.align	2
.LC1:
	.ascii	"0\000"
	.align	2
.LC2:
	.ascii	"scsi()disk(\000"
	.align	2
.LC3:
	.ascii	")rdisk()partition(\000"
	.align	2
.LC4:
	.ascii	")\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ParsePartition
	.syntax unified
	.arm
	.fpu softvfp
	.type	ParsePartition, %function
ParsePartition:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	ldr	r1, [fp, #-288]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #264
	mov	r2, #5
	ldr	r1, .L15+4
	mov	r0, r3
	bl	_strnicmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	mov	r3, #0
	b	.L13
.L9:
	ldr	r3, .L15+8
	str	r3, [fp, #-276]
	ldr	r3, .L15+8
	str	r3, [fp, #-272]
	sub	r3, fp, #264
	add	r3, r3, #5
	str	r3, [fp, #-284]
	mov	r1, #46
	ldr	r0, [fp, #-284]
	bl	strchr
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L13
.L11:
	ldr	r3, [fp, #-268]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	mov	r1, #46
	ldr	r0, [fp, #-280]
	bl	strchr
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-268]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	mov	r1, #46
	ldr	r0, [fp, #-280]
	bl	strchr
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-272]
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-284]
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-268]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L12:
	ldr	r3, [fp, #-292]
	ldr	r2, .L15+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #12
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-284]
	ldr	r0, [fp, #-292]
	bl	strcat
	ldr	r0, [fp, #-292]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-292]
	add	r3, r3, r2
	ldr	r2, .L15+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #19
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-280]
	ldr	r0, [fp, #-292]
	bl	strcat
	ldr	r0, [fp, #-292]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-292]
	add	r3, r3, r2
	ldr	r2, .L15+20
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	mov	r3, #1
.L13:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	ParsePartition, .-ParsePartition
	.section	.rodata
	.align	2
.LC6:
	.ascii	"This program accepts no arguments\012\000"
	.align	2
.LC7:
	.ascii	"Redirect stdin to build data file\012\000"
	.align	2
.LC8:
	.ascii	"Redirect stdout to nvram.exe input file\012\000"
	.align	2
.LC9:
	.ascii	"r\000"
	.align	2
.LC10:
	.ascii	"Can't open input file %s\012\000"
	.align	2
.LC11:
	.ascii	"Error %d reading input at line %d\012\000"
	.align	2
.LC12:
	.ascii	"Line %d is too long; %d characters max\012\000"
	.align	2
.LC13:
	.ascii	"countdown=\000"
	.align	2
.LC14:
	.ascii	"default systempartition=\000"
	.align	2
.LC15:
	.ascii	"default osloadpartition=\000"
	.align	2
.LC16:
	.ascii	"default options=\000"
	.align	2
.LC17:
	.ascii	" \000"
	.align	2
.LC18:
	.ascii	"|\000"
	.align	2
.LC19:
	.ascii	"osloader.exe\000"
	.align	2
.LC20:
	.ascii	"sysdir=\000"
	.align	2
.LC21:
	.ascii	"osdir=\000"
	.align	2
.LC22:
	.ascii	"dir=\000"
	.align	2
.LC23:
	.ascii	"options=\000"
	.align	2
.LC24:
	.ascii	"nodef\000"
	.align	2
.LC25:
	.ascii	"syspart=\000"
	.align	2
.LC26:
	.ascii	"ospart=\000"
	.align	2
.LC27:
	.ascii	"loader=\000"
	.align	2
.LC28:
	.ascii	"Unreconized optional field at line %d\012\000"
	.align	2
.LC29:
	.ascii	"Bad <load-identifier> at line %d\012\000"
	.align	2
.LC30:
	.ascii	"Bad <system-directory> at line %d\012\000"
	.align	2
.LC31:
	.ascii	"Bad <os-directory> at line %d\012\000"
	.align	2
.LC32:
	.ascii	"Missing <system-partition> (no default) at line %d\012"
	.ascii	"\000"
	.align	2
.LC33:
	.ascii	"Missing <os-partition> (no default) at line %d\012\000"
	.align	2
.LC34:
	.ascii	"Bad <system-partition> at line %d\012\000"
	.align	2
.LC35:
	.ascii	"Bad <os-partition> at line %d\012\000"
	.align	2
.LC36:
	.ascii	"Bad <loader> at line %d\012\000"
	.align	2
.LC37:
	.ascii	";\000"
	.align	2
.LC38:
	.ascii	"\\\000"
	.align	2
.LC39:
	.ascii	"nvram /set COUNTDOWN = \"%s\"\012\000"
	.align	2
.LC40:
	.ascii	"nvram /set LOADIDENTIFIER = \"%s\"\012\000"
	.align	2
.LC41:
	.ascii	"nvram /set SYSTEMPARTITION = \"%s\"\012\000"
	.align	2
.LC42:
	.ascii	"nvram /set OSLOADER = \"%s\"\012\000"
	.align	2
.LC43:
	.ascii	"nvram /set OSLOADPARTITION = \"%s\"\012\000"
	.align	2
.LC44:
	.ascii	"nvram /set OSLOADFILENAME = \"%s\"\012\000"
	.align	2
.LC45:
	.ascii	"nvram /set OSLOADOPTIONS = \"%s\"\012\000"
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 832
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #836
	str	r0, [fp, #-840]
	str	r1, [fp, #-844]
	ldr	r3, .L62
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L62+4
	ldr	r3, [r3]
	str	r3, [fp, #-832]
	ldr	r3, [fp, #-840]
	cmp	r3, #1
	ble	.L18
	ldr	r3, [fp, #-840]
	cmp	r3, #2
	ble	.L19
	ldr	r3, .L62+8
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L62+12
	bl	fwrite
	ldr	r3, .L62+8
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L62+16
	bl	fwrite
	ldr	r3, .L62+8
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L62+20
	bl	fwrite
	mov	r3, #1
	b	.L55
.L19:
	ldr	r3, [fp, #-844]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L62+24
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-832]
	ldr	r3, [fp, #-832]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L62+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-844]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L62+28
	bl	fprintf
	mov	r3, #1
	b	.L55
.L18:
	ldr	r3, .L62+32
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+36
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+40
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+44
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+48
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+52
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+56
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+60
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+64
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+68
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-828]
.L53:
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
	ldr	r2, [fp, #-832]
	mov	r1, #256
	ldr	r0, .L62+72
	bl	fgets
	str	r0, [fp, #-800]
	ldr	r3, [fp, #-800]
	cmp	r3, #0
	bne	.L21
	ldr	r0, [fp, #-832]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	ldr	r3, .L62+8
	ldr	r4, [r3]
	ldr	r0, [fp, #-832]
	bl	ferror
	mov	r2, r0
	ldr	r3, [fp, #-828]
	ldr	r1, .L62+76
	mov	r0, r4
	bl	fprintf
	ldr	r0, [fp, #-832]
	bl	ferror
	mov	r3, r0
	b	.L55
.L21:
	ldr	r0, [fp, #-800]
	bl	Trim
	str	r0, [fp, #-800]
	ldr	r0, [fp, #-800]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-796]
	ldr	r3, [fp, #-796]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-800]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L26
	ldr	r3, [fp, #-800]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L60
.L26:
	ldr	r3, [fp, #-796]
	sub	r3, r3, #1
	ldr	r2, [fp, #-800]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L27
	ldr	r3, .L62+8
	ldr	r0, [r3]
	mov	r3, #254
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+80
	bl	fprintf
	mov	r3, #1
	b	.L55
.L27:
	ldr	r3, [fp, #-796]
	cmp	r3, #1
	beq	.L61
	ldr	r3, [fp, #-796]
	sub	r3, r3, #1
	ldr	r2, [fp, #-800]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L62+84
	ldr	r0, [fp, #-800]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-800]
	cmp	r3, r2
	bne	.L29
	mov	r1, #61
	ldr	r0, [fp, #-800]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L62+32
	bl	strcpy
	b	.L25
.L29:
	ldr	r1, .L62+88
	ldr	r0, [fp, #-800]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-800]
	cmp	r3, r2
	bne	.L30
	mov	r1, #61
	ldr	r0, [fp, #-800]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L62+68
	bl	strcpy
	b	.L25
.L30:
	ldr	r1, .L62+92
	ldr	r0, [fp, #-800]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-800]
	cmp	r3, r2
	bne	.L31
	mov	r1, #61
	ldr	r0, [fp, #-800]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L62+64
	bl	strcpy
	b	.L25
.L31:
	ldr	r1, .L62+96
	ldr	r0, [fp, #-800]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-800]
	cmp	r3, r2
	bne	.L32
	mov	r1, #61
	ldr	r0, [fp, #-800]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L62+60
	bl	strcpy
	ldr	r0, .L62+60
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+60
	add	r3, r2, r3
	ldr	r2, .L62+100
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	b	.L25
.L32:
	ldr	r1, .L62+104
	ldr	r0, [fp, #-800]
	bl	strtok
	mov	r3, r0
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-792]
	ldr	r3, [fp, #-792]
	str	r3, [fp, #-820]
	ldr	r3, [fp, #-792]
	str	r3, [fp, #-824]
	ldr	r3, .L62+60
	str	r3, [fp, #-816]
	ldr	r3, .L62+68
	str	r3, [fp, #-812]
	ldr	r3, .L62+64
	str	r3, [fp, #-808]
	ldr	r3, .L62+108
	str	r3, [fp, #-804]
	b	.L33
.L42:
	ldr	r0, [fp, #-788]
	bl	Trim
	str	r0, [fp, #-788]
	ldr	r1, .L62+112
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L34
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-824]
	b	.L33
.L34:
	ldr	r1, .L62+116
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L35
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-820]
	b	.L33
.L35:
	ldr	r1, .L62+120
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L36
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-824]
	ldr	r3, [fp, #-824]
	str	r3, [fp, #-820]
	b	.L33
.L36:
	ldr	r1, .L62+124
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L37
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-816]
	mov	r2, #5
	ldr	r1, .L62+128
	ldr	r0, [fp, #-816]
	bl	_strnicmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-816]
	add	r3, r3, #5
	str	r3, [fp, #-816]
	b	.L33
.L38:
	sub	r3, fp, #784
	ldr	r1, .L62+60
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #784
	ldr	r1, [fp, #-816]
	mov	r0, r3
	bl	strcat
	sub	r3, fp, #784
	str	r3, [fp, #-816]
	b	.L33
.L37:
	ldr	r1, .L62+132
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L39
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-812]
	b	.L33
.L39:
	ldr	r1, .L62+136
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L40
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-808]
	b	.L33
.L40:
	ldr	r1, .L62+140
	ldr	r0, [fp, #-788]
	bl	strstr
	mov	r2, r0
	ldr	r3, [fp, #-788]
	cmp	r3, r2
	bne	.L41
	mov	r1, #61
	ldr	r0, [fp, #-788]
	bl	strchr
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	Trim
	str	r0, [fp, #-804]
	b	.L33
.L41:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+144
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L33:
	ldr	r1, .L62+104
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-788]
	ldr	r3, [fp, #-788]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-792]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+148
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L43:
	ldr	r3, [fp, #-824]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+152
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L44:
	ldr	r3, [fp, #-820]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L45
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+156
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L45:
	ldr	r3, [fp, #-812]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+160
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L46:
	ldr	r3, [fp, #-808]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L47
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+164
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L47:
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, [fp, #-812]
	bl	ParsePartition
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+168
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L48:
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, [fp, #-808]
	bl	ParsePartition
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+172
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L49:
	ldr	r3, [fp, #-804]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L62+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-828]
	ldr	r1, .L62+176
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L55
.L50:
	ldr	r3, .L62+36
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L51
	ldr	r0, .L62+36
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+36
	add	r3, r2, r3
	ldr	r2, .L62+180
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L62+40
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+40
	add	r3, r2, r3
	ldr	r2, .L62+180
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L62+44
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+44
	add	r3, r2, r3
	ldr	r2, .L62+180
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L62+48
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+48
	add	r3, r2, r3
	ldr	r2, .L62+180
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L62+52
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+52
	add	r3, r2, r3
	ldr	r2, .L62+180
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, .L62+56
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+56
	add	r3, r2, r3
	ldr	r2, .L62+180
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L51:
	ldr	r1, [fp, #-792]
	ldr	r0, .L62+36
	bl	strcat
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, .L62+40
	bl	strcat
	sub	r3, fp, #528
	mov	r1, r3
	ldr	r0, .L62+44
	bl	strcat
	ldr	r3, [fp, #-804]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #92
	beq	.L52
	ldr	r0, .L62+44
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+44
	add	r3, r2, r3
	ldr	r2, .L62+184
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-824]
	ldr	r0, .L62+44
	bl	strcat
	ldr	r0, .L62+44
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+44
	add	r3, r2, r3
	ldr	r2, .L62+184
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L52:
	ldr	r1, [fp, #-804]
	ldr	r0, .L62+44
	bl	strcat
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L62+48
	bl	strcat
	ldr	r0, .L62+52
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L62+52
	add	r3, r2, r3
	ldr	r2, .L62+184
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r1, [fp, #-820]
	ldr	r0, .L62+52
	bl	strcat
	ldr	r1, [fp, #-816]
	ldr	r0, .L62+56
	bl	strcat
	ldr	r0, .L62+56
	bl	Trim
	b	.L53
.L59:
	nop
	b	.L53
.L60:
	nop
	b	.L53
.L61:
	nop
.L25:
	b	.L53
.L58:
	nop
	ldr	r3, .L62+32
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L54
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+32
	ldr	r1, .L62+192
	mov	r0, r3
	bl	fprintf
.L54:
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+36
	ldr	r1, .L62+196
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+40
	ldr	r1, .L62+200
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+44
	ldr	r1, .L62+204
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+48
	ldr	r1, .L62+208
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+52
	ldr	r1, .L62+212
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L62+188
	ldr	r3, [r3]
	ldr	r2, .L62+56
	ldr	r1, .L62+216
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
.L55:
	ldr	r2, .L62
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L56
	bl	__stack_chk_fail
.L56:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L63:
	.align	2
.L62:
	.word	.LC46
	.word	stdin
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	Countdown
	.word	LoadIdentifier
	.word	SystemPartition
	.word	OsLoader
	.word	OsLoadPartition
	.word	OsLoadFilename
	.word	OsLoadOptions
	.word	DefaultOsLoadOptions
	.word	DefaultOsLoadPartition
	.word	DefaultSystemPartition
	.word	Line
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	stdout
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
