	.file	"627444.c"
	.intel_syntax noprefix
	.text
	.globl	options
	.section	.rodata
.LC0:
	.string	"help"
.LC1:
	.string	"depfile"
	.section	.data.rel.local,"aw"
	.align 32
	.type	options, @object
	.size	options, 64
options:
	.quad	.LC0
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC1
	.long	1
	.zero	4
	.quad	0
	.long	100
	.zero	4
	.section	.rodata
	.align 8
.LC2:
	.string	"/*\n * AUTO-GENERATED CODE -- DO NOT EDIT\n * This file is generated by glslc, and may be regenerated in the future.\n * Please refrain from modifying or committing this file to source control.\n*/\n"
	.section	.data.rel.local
	.align 8
	.type	warning_comment, @object
	.size	warning_comment, 8
warning_comment:
	.quad	.LC2
	.text
	.globl	read_line
	.type	read_line, @function
read_line:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 0
.L7:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	cmp	rdx, rax
	jbe	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L3
.L2:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, [rax+rax]
	jmp	.L5
.L4:
	mov	edx, 8
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
.L3:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -9[rbp]
	mov	BYTE PTR [rdx], al
	add	QWORD PTR -8[rbp], 1
	cmp	BYTE PTR -9[rbp], 0
	je	.L6
	cmp	BYTE PTR -9[rbp], 10
	je	.L6
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L7
.L6:
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	read_line, .-read_line
	.section	.rodata
.LC3:
	.string	"Usage: glslc [OPTIONS] input\n"
.LC4:
	.string	"Options:"
	.align 8
.LC5:
	.string	"  -h, --help        Show this message"
	.align 8
.LC6:
	.string	"  -o [filepath]     Print to filepath instead of stderr"
	.text
	.globl	print_info
	.type	print_info, @function
print_info:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_info, .-print_info
	.globl	gen_define_name
	.type	gen_define_name, @function
gen_define_name:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	BYTE PTR -29[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L12
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jg	.L12
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	BYTE PTR -29[rbp], 1
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L14
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jg	.L14
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	BYTE PTR -29[rbp], 1
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L15
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L15
	cmp	BYTE PTR -29[rbp], 0
	je	.L15
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 95
.L13:
	add	DWORD PTR -28[rbp], 1
.L11:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	gen_define_name, .-gen_define_name
	.globl	gen_var_name
	.type	gen_var_name, @function
gen_var_name:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	BYTE PTR -29[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L19
.L24:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 64
	jle	.L20
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 90
	jg	.L20
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	lea	ecx, 32[rax]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	BYTE PTR -29[rbp], 1
	jmp	.L21
.L20:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L22
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 122
	jg	.L22
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	BYTE PTR -29[rbp], 1
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L23
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L23
	cmp	BYTE PTR -29[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 95
.L21:
	add	DWORD PTR -28[rbp], 1
.L19:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	gen_var_name, .-gen_var_name
	.section	.rodata
	.align 8
.LC7:
	.string	"Failed to parse shader definition file: Line \"%s\" is malformed"
	.text
	.globl	extract_line
	.type	extract_line, @function
extract_line:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -5[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L27
.L31:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L28
	movzx	eax, BYTE PTR -5[rbp]
	xor	eax, 1
	test	al, al
	je	.L28
	mov	BYTE PTR -5[rbp], 1
	jmp	.L29
.L28:
	cmp	BYTE PTR -5[rbp], 0
	je	.L29
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L29
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L33
.L29:
	add	DWORD PTR -4[rbp], 1
.L27:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	jg	.L31
	jmp	.L30
.L33:
	nop
.L30:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	cmp	QWORD PTR -32[rbp], rax
	jne	.L32
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, rdx
	sub	rax, 1
	mov	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	extract_line, .-extract_line
	.globl	make_path_relative
	.type	make_path_relative, @function
make_path_relative:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L36
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	add	rax, 2
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -40[rbp]
	add	rax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	make_path_relative, .-make_path_relative
	.section	.rodata
.LC8:
	.string	"r"
	.align 8
.LC9:
	.string	"Error: Can't open shader definition file %s: %s\n"
.LC10:
	.string	"vert"
.LC11:
	.string	"frag"
.LC12:
	.string	"geom"
.LC13:
	.string	"tess"
.LC14:
	.string	"name"
	.align 8
.LC15:
	.string	"Failed to parse shader definition file %s: Unkown option \"%.4s\"\n"
	.text
	.globl	parse_definitions
	.type	parse_definitions, @function
parse_definitions:
.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, 112
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	mov	QWORD PTR -96[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L38
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	rdx, QWORD PTR -24[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	read_line
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], -1
	je	.L39
	cmp	QWORD PTR -16[rbp], 3
	jg	.L40
.L39:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L48
	jmp	.L49
.L40:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	extract_line
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L43
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	make_path_relative
	jmp	.L43
.L42:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L44
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	extract_line
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L43
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	make_path_relative
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L45
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	extract_line
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L43
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	make_path_relative
	jmp	.L43
.L45:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L46
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	extract_line
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L43
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	je	.L43
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	make_path_relative
	jmp	.L43
.L46:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L47
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -96[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	extract_line
	jmp	.L43
.L47:
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 1
	call	exit@PLT
.L43:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L38
.L49:
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	parse_definitions, .-parse_definitions
	.section	.rodata
.LC16:
	.string	"%s\n"
	.align 8
.LC17:
	.string	"#ifndef %s_GLSL\n#define %s_GLSL\n"
	.text
	.globl	start_file
	.type	start_file, @function
start_file:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	gen_define_name
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR warning_comment[rip]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	start_file, .-start_file
	.section	.rodata
	.align 8
.LC18:
	.string	"Error: Can't open file %s for reading: %s\n"
.LC19:
	.string	"Error reading %s: %s\n"
	.align 8
.LC20:
	.string	"Failed to read complete file: %ld/%ld bytes read.\n"
.LC21:
	.string	"Error: file '%s' has no lines"
.LC22:
	.string	"const char* %s_%s_data[]=\n{\n"
.LC23:
	.string	"    \"%s\\n\"\n"
.LC24:
	.string	"};\n"
	.text
	.globl	write_file
	.type	write_file, @function
write_file:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 152
	.cfi_offset 3, -24
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	QWORD PTR -152[rbp], rdx
	mov	QWORD PTR -160[rbp], rcx
	mov	rax, QWORD PTR -144[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L52
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -144[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	cmp	eax, -1
	jne	.L53
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -152[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L53:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	cmp	QWORD PTR -40[rbp], rax
	je	.L54
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L54:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	gen_var_name
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	jmp	.L55
.L58:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L56
	mov	rax, QWORD PTR -104[rbp]
	sub	rax, QWORD PTR -120[rbp]
	test	rax, rax
	jle	.L57
	add	QWORD PTR -112[rbp], 1
.L57:
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 1
	mov	QWORD PTR -120[rbp], rax
.L56:
	add	QWORD PTR -104[rbp], 1
.L55:
	mov	rax, QWORD PTR -104[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L58
	cmp	QWORD PTR -112[rbp], 0
	jne	.L59
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -152[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L51
.L59:
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	jmp	.L61
.L64:
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L62
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -120[rbp]
	test	rax, rax
	jle	.L63
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -120[rbp]
	add	rax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rax]
	mov	esi, 1
	mov	rdi, rdx
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -88[rbp]
	sub	rax, QWORD PTR -120[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	add	QWORD PTR -96[rbp], 1
.L63:
	mov	rax, QWORD PTR -88[rbp]
	add	rax, 1
	mov	QWORD PTR -120[rbp], rax
.L62:
	add	QWORD PTR -88[rbp], 1
.L61:
	mov	rax, QWORD PTR -88[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jl	.L64
	mov	rcx, QWORD PTR -160[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	QWORD PTR -80[rbp], 0
	jmp	.L65
.L66:
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	QWORD PTR -80[rbp], 1
.L65:
	mov	rax, QWORD PTR -80[rbp]
	cmp	rax, QWORD PTR -112[rbp]
	jl	.L66
	mov	rax, QWORD PTR -136[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC24[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -72[rbp], 0
	jmp	.L67
.L68:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	QWORD PTR -72[rbp], 1
.L67:
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -112[rbp]
	jl	.L68
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L51:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	write_file, .-write_file
	.section	.rodata
	.align 8
.LC25:
	.string	"#define compile_shader_%s() shader_new_vgf(%s_vs_data, %s_gs_data, %s_fs_data)\n"
	.align 8
.LC26:
	.string	"#define compile_shader_%s() shader_new_vf(%s_vs_data, %s_fs_data)\n"
.LC27:
	.string	"#endif\n"
	.text
	.globl	end_file
	.type	end_file, @function
end_file:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, ecx
	mov	esi, r8d
	mov	ecx, r9d
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	eax, ecx
	mov	BYTE PTR -32[rbp], al
	cmp	BYTE PTR -20[rbp], 0
	je	.L70
	cmp	BYTE PTR -24[rbp], 0
	je	.L70
	cmp	BYTE PTR -28[rbp], 0
	je	.L71
	mov	rdi, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L70
.L71:
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rsi
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L70:
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	end_file, .-end_file
	.section	.rodata
.LC28:
	.string	"d %s\n"
.LC29:
	.string	"o %s\n"
.LC30:
	.string	"Failed to parse option 0%o\n"
.LC31:
	.string	"hd:o:"
	.align 8
.LC32:
	.string	"Error: No output file specified\n"
.LC33:
	.string	"w"
	.align 8
.LC34:
	.string	"Error: Shader definition file contains no shaders\n"
	.align 8
.LC35:
	.string	"Error: Can't open shader dependency file %s: %s\n"
.LC36:
	.string	"%s: "
.LC37:
	.string	"vs"
.LC38:
	.string	"%s "
.LC39:
	.string	"fs"
.LC40:
	.string	"gs"
.LC41:
	.string	"ts"
	.text
	.globl	main
	.type	main, @function
main:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 1
	jg	.L73
	mov	eax, 0
	call	print_info
	mov	eax, 0
	jmp	.L98
.L73:
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	jmp	.L75
.L80:
	cmp	DWORD PTR -92[rbp], 111
	je	.L76
	cmp	DWORD PTR -92[rbp], 111
	jg	.L77
	cmp	DWORD PTR -92[rbp], 104
	je	.L78
	cmp	DWORD PTR -92[rbp], 104
	jg	.L77
	cmp	DWORD PTR -92[rbp], 63
	je	.L78
	cmp	DWORD PTR -92[rbp], 100
	je	.L79
	jmp	.L77
.L78:
	mov	eax, 0
	call	print_info
	mov	eax, 0
	jmp	.L98
.L79:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L75
.L76:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L75
.L77:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -92[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L75:
	mov	rsi, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	r8d, 0
	lea	rcx, options[rip]
	lea	rdx, .LC31[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], -1
	jne	.L80
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -100[rbp], eax
	jg	.L81
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	print_info
	mov	eax, 1
	jmp	.L98
.L81:
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	r8, -56[rbp]
	lea	rdi, -64[rbp]
	lea	rcx, -72[rbp]
	lea	rdx, -80[rbp]
	lea	rsi, -88[rbp]
	sub	rsp, 8
	push	QWORD PTR -40[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	parse_definitions
	add	rsp, 16
	cmp	QWORD PTR -48[rbp], 0
	je	.L82
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	fopen@PLT
	jmp	.L83
.L82:
	mov	rax, QWORD PTR stdout[rip]
.L83:
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 50
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
.L84:
	cmp	QWORD PTR -40[rbp], 0
	je	.L85
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	fopen@PLT
	jmp	.L86
.L85:
	mov	eax, 0
.L86:
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L87
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L87:
	cmp	QWORD PTR -24[rbp], 0
	je	.L88
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L88:
	mov	rax, QWORD PTR -56[rbp]
	test	rax, rax
	jne	.L89
	cmp	QWORD PTR -48[rbp], 0
	jne	.L90
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	jmp	.L92
.L90:
	mov	rax, QWORD PTR -48[rbp]
	jmp	.L92
.L89:
	mov	rax, QWORD PTR -56[rbp]
.L92:
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	start_file
	mov	rax, QWORD PTR -88[rbp]
	test	rax, rax
	je	.L93
	mov	rsi, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, .LC37[rip]
	mov	rdi, rax
	call	write_file
	mov	rdx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L93:
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	je	.L94
	mov	rsi, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, .LC39[rip]
	mov	rdi, rax
	call	write_file
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L94:
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	je	.L95
	mov	rsi, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, .LC40[rip]
	mov	rdi, rax
	call	write_file
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L95:
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	je	.L96
	mov	rsi, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, .LC41[rip]
	mov	rdi, rax
	call	write_file
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L96:
	mov	rax, QWORD PTR -64[rbp]
	test	rax, rax
	setne	al
	movzx	r8d, al
	mov	rax, QWORD PTR -72[rbp]
	test	rax, rax
	setne	al
	movzx	edi, al
	mov	rax, QWORD PTR -80[rbp]
	test	rax, rax
	setne	al
	movzx	ecx, al
	mov	rax, QWORD PTR -88[rbp]
	test	rax, rax
	setne	al
	movzx	edx, al
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	end_file
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	QWORD PTR -24[rbp], 0
	je	.L97
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L97:
	mov	eax, 0
.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
.LFE16:
	.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	"627444.c"
	.text
	.global	options
	.section	.rodata
	.align	2
.LC0:
	.ascii	"help\000"
	.align	2
.LC1:
	.ascii	"depfile\000"
	.data
	.align	2
	.type	options, %object
	.size	options, 32
options:
	.word	.LC0
	.word	0
	.word	0
	.word	104
	.word	.LC1
	.word	1
	.word	0
	.word	100
	.section	.rodata
	.align	2
.LC2:
	.ascii	"/*\012 * AUTO-GENERATED CODE -- DO NOT EDIT\012 * T"
	.ascii	"his file is generated by glslc, and may be regenera"
	.ascii	"ted in the future.\012 * Please refrain from modify"
	.ascii	"ing or committing this file to source control.\012*"
	.ascii	"/\012\000"
	.data
	.align	2
	.type	warning_comment, %object
	.size	warning_comment, 4
warning_comment:
	.word	.LC2
	.text
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ 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]
.L7:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bls	.L2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
.L2:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	lsl	r3, r3, #1
	b	.L5
.L4:
	mov	r3, #8
.L5:
	ldr	r2, [fp, #-20]
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L3:
	ldr	r0, [fp, #-24]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L6
	ldr	r0, [fp, #-24]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
.L6:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	read_line, .-read_line
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Usage: glslc [OPTIONS] input\012\000"
	.align	2
.LC4:
	.ascii	"Options:\000"
	.align	2
.LC5:
	.ascii	"  -h, --help        Show this message\000"
	.align	2
.LC6:
	.ascii	"  -o [filepath]     Print to filepath instead of st"
	.ascii	"derr\000"
	.text
	.align	2
	.global	print_info
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_info, %function
print_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L10
	bl	puts
	ldr	r0, .L10+4
	bl	puts
	ldr	r0, .L10+8
	bl	puts
	ldr	r0, .L10+12
	bl	puts
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	print_info, .-print_info
	.align	2
	.global	gen_define_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_define_name, %function
gen_define_name:
	@ 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	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L13
.L18:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L14
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L14
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L15
.L14:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L16
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L16
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L15
.L16:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L17
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L17
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L15
.L17:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3]
.L15:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L18
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gen_define_name, .-gen_define_name
	.align	2
	.global	gen_var_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_var_name, %function
gen_var_name:
	@ 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	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L21
.L26:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L22
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L22
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	add	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L23
.L22:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L24
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L24
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	mov	r3, #1
	strb	r3, [fp, #-13]
	b	.L23
.L24:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L25
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L25
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L23
.L25:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3]
.L23:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L21:
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L26
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gen_var_name, .-gen_var_name
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Failed to parse shader definition file: Line \"%s\""
	.ascii	" is malformed\000"
	.text
	.align	2
	.global	extract_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	extract_line, %function
extract_line:
	@ 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
	strb	r3, [fp, #-9]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L29
.L33:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L30
	ldrb	r3, [fp, #-9]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L30
	mov	r3, #1
	strb	r3, [fp, #-9]
	b	.L31
.L30:
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L31
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L35
.L31:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L29:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L33
	b	.L32
.L35:
	nop
.L32:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L34
	ldr	r3, .L36
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L36+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L34:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r1, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	sub	r3, r3, #1
	mov	r2, r3
	bl	memcpy
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	stderr
	.word	.LC7
	.size	extract_line, .-extract_line
	.align	2
	.global	make_path_relative
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_path_relative, %function
make_path_relative:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r1, #47
	ldr	r0, [fp, #-24]
	bl	strrchr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #2
	str	r3, [fp, #-8]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	ldr	r0, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-24]
	bl	memcpy
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	strncat
	ldr	r0, [fp, #-12]
	bl	free
.L40:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	make_path_relative, .-make_path_relative
	.section	.rodata
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.ascii	"Error: Can't open shader definition file %s: %s\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"vert\000"
	.align	2
.LC11:
	.ascii	"frag\000"
	.align	2
.LC12:
	.ascii	"geom\000"
	.align	2
.LC13:
	.ascii	"tess\000"
	.align	2
.LC14:
	.ascii	"name\000"
	.align	2
.LC15:
	.ascii	"Failed to parse shader definition file %s: Unkown o"
	.ascii	"ption \"%.4s\"\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_definitions
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_definitions, %function
parse_definitions:
	@ args = 12, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-64]
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L54+4
	ldr	r0, [fp, #-40]
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L54+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-40]
	ldr	r1, .L54+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L42:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r1, fp, #28
	sub	r3, fp, #32
	ldr	r2, [fp, #-24]
	mov	r0, r3
	bl	read_line
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L43
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	bgt	.L44
.L43:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-24]
	bl	fclose
	nop
	ldr	r3, .L54
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L52
	b	.L53
.L44:
	ldr	r3, [fp, #-32]
	mov	r2, #4
	ldr	r1, .L54+16
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L46
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	extract_line
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L47
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	make_path_relative
	b	.L47
.L46:
	ldr	r3, [fp, #-32]
	mov	r2, #4
	ldr	r1, .L54+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	extract_line
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L47
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	make_path_relative
	b	.L47
.L48:
	ldr	r3, [fp, #-32]
	mov	r2, #4
	ldr	r1, .L54+24
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	extract_line
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L47
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-40]
	bl	make_path_relative
	b	.L47
.L49:
	ldr	r3, [fp, #-32]
	mov	r2, #4
	ldr	r1, .L54+28
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	extract_line
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L47
	ldr	r1, [fp, #-56]
	ldr	r0, [fp, #-40]
	bl	make_path_relative
	b	.L47
.L50:
	ldr	r3, [fp, #-32]
	mov	r2, #4
	ldr	r1, .L54+32
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-60]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	extract_line
	b	.L47
.L51:
	ldr	r3, .L54+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	ldr	r1, .L54+36
	bl	fprintf
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r0, #1
	bl	exit
.L47:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	free
	b	.L42
.L53:
	bl	__stack_chk_fail
.L52:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC16
	.word	.LC8
	.word	stderr
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	parse_definitions, .-parse_definitions
	.section	.rodata
	.align	2
.LC17:
	.ascii	"%s\012\000"
	.align	2
.LC18:
	.ascii	"#ifndef %s_GLSL\012#define %s_GLSL\012\000"
	.text
	.align	2
	.global	start_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_file, %function
start_file:
	@ 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	r0, [fp, #-20]
	bl	gen_define_name
	str	r0, [fp, #-8]
	ldr	r3, .L57
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L57+4
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, .L57+8
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r0, [fp, #-8]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	warning_comment
	.word	.LC17
	.word	.LC18
	.size	start_file, .-start_file
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Error: Can't open file %s for reading: %s\012\000"
	.align	2
.LC20:
	.ascii	"Error reading %s: %s\012\000"
	.align	2
.LC21:
	.ascii	"Failed to read complete file: %ld/%ld bytes read.\012"
	.ascii	"\000"
	.align	2
.LC22:
	.ascii	"Error: file '%s' has no lines\000"
	.align	2
.LC23:
	.ascii	"const char* %s_%s_data[]=\012{\012\000"
	.align	2
.LC24:
	.ascii	"    \"%s\\n\"\012\000"
	.align	2
.LC25:
	.ascii	"};\012\000"
	.text
	.align	2
	.global	write_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_file, %function
write_file:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	str	r2, [fp, #-80]
	str	r3, [fp, #-84]
	ldr	r1, .L77
	ldr	r0, [fp, #-76]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L77+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-76]
	ldr	r1, .L77+8
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L60:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-36]
	bl	fseek
	mov	r3, r0
	cmn	r3, #1
	bne	.L61
	ldr	r3, .L77+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-80]
	ldr	r1, .L77+12
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L61:
	ldr	r0, [fp, #-36]
	bl	ftell
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	rewind
	ldr	r3, [fp, #-32]
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-36]
	mov	r1, #1
	ldr	r0, [fp, #-28]
	bl	fread
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	beq	.L62
	ldr	r3, .L77+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	ldr	r1, .L77+16
	bl	fprintf
.L62:
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r0, [fp, #-80]
	bl	gen_var_name
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L63
.L66:
	ldr	r3, [fp, #-56]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L64
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L65
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L65:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L64:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L63:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L66
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L67
	ldr	r3, .L77+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	ldr	r1, .L77+20
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-20]
	bl	free
	b	.L59
.L67:
	ldr	r3, [fp, #-60]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L69
.L72:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L70
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	cmp	r3, #0
	ble	.L71
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r0, r3
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r1, #1
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-64]
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	sub	r3, r2, r3
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L71:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L70:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L69:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L72
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-20]
	ldr	r1, .L77+24
	ldr	r0, [fp, #-72]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L73
.L74:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L77+28
	ldr	r0, [fp, #-72]
	bl	fprintf
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L73:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L74
	ldr	r3, [fp, #-72]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L77+32
	bl	fwrite
	ldr	r0, [fp, #-20]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L75
.L76:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L75:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L76
	ldr	r0, [fp, #-16]
	bl	free
.L59:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC8
	.word	stderr
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	write_file, .-write_file
	.section	.rodata
	.align	2
.LC26:
	.ascii	"#define compile_shader_%s() shader_new_vgf(%s_vs_da"
	.ascii	"ta, %s_gs_data, %s_fs_data)\012\000"
	.align	2
.LC27:
	.ascii	"#define compile_shader_%s() shader_new_vf(%s_vs_dat"
	.ascii	"a, %s_fs_data)\012\000"
	.align	2
.LC28:
	.ascii	"#endif\012\000"
	.text
	.align	2
	.global	end_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	end_file, %function
end_file:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-13]
	mov	r3, r2
	strb	r3, [fp, #-14]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L80
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L81
	ldr	r3, [fp, #-12]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, .L82
	ldr	r0, [fp, #-8]
	bl	fprintf
	b	.L80
.L81:
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, .L82+4
	ldr	r0, [fp, #-8]
	bl	fprintf
.L80:
	ldr	r3, [fp, #-8]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L82+8
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.size	end_file, .-end_file
	.section	.rodata
	.align	2
.LC29:
	.ascii	"d %s\012\000"
	.align	2
.LC30:
	.ascii	"o %s\012\000"
	.align	2
.LC31:
	.ascii	"Failed to parse option 0%o\012\000"
	.align	2
.LC32:
	.ascii	"hd:o:\000"
	.align	2
.LC33:
	.ascii	"Error: No output file specified\012\000"
	.align	2
.LC34:
	.ascii	"w\000"
	.align	2
.LC35:
	.ascii	"Error: Shader definition file contains no shaders\012"
	.ascii	"\000"
	.align	2
.LC36:
	.ascii	"Error: Can't open shader dependency file %s: %s\012"
	.ascii	"\000"
	.align	2
.LC37:
	.ascii	"%s: \000"
	.align	2
.LC38:
	.ascii	"vs\000"
	.align	2
.LC39:
	.ascii	"%s \000"
	.align	2
.LC40:
	.ascii	"fs\000"
	.align	2
.LC41:
	.ascii	"gs\000"
	.align	2
.LC42:
	.ascii	"ts\000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L112
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #1
	bgt	.L85
	bl	print_info
	mov	r3, #0
	b	.L110
.L85:
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L87
.L92:
	ldr	r3, [fp, #-32]
	cmp	r3, #111
	beq	.L88
	ldr	r3, [fp, #-32]
	cmp	r3, #111
	bgt	.L89
	ldr	r3, [fp, #-32]
	cmp	r3, #104
	beq	.L90
	ldr	r3, [fp, #-32]
	cmp	r3, #104
	bgt	.L89
	ldr	r3, [fp, #-32]
	cmp	r3, #63
	beq	.L90
	ldr	r3, [fp, #-32]
	cmp	r3, #100
	beq	.L91
	b	.L89
.L90:
	bl	print_info
	mov	r3, #0
	b	.L110
.L91:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	ldr	r3, .L112+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L112+12
	mov	r0, r3
	bl	fprintf
	b	.L87
.L88:
	ldr	r3, .L112+4
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	ldr	r3, .L112+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, .L112+16
	mov	r0, r3
	bl	fprintf
	b	.L87
.L89:
	ldr	r3, .L112+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L112+20
	mov	r0, r3
	bl	fprintf
.L87:
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L112+24
	ldr	r2, .L112+28
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-64]
	bl	getopt_long
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bne	.L92
	ldr	r3, .L112+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	bgt	.L93
	ldr	r3, .L112+8
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L112+36
	bl	fwrite
	bl	print_info
	mov	r3, #1
	b	.L110
.L93:
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, .L112+32
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r0, [r3]
	sub	ip, fp, #52
	sub	r2, fp, #56
	sub	r1, fp, #60
	ldr	r3, [fp, #-36]
	str	r3, [sp, #8]
	sub	r3, fp, #44
	str	r3, [sp, #4]
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, ip
	bl	parse_definitions
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L94
	ldr	r1, .L112+40
	ldr	r0, [fp, #-40]
	bl	fopen
	mov	r3, r0
	b	.L95
.L94:
	ldr	r3, .L112+44
	ldr	r3, [r3]
.L95:
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L96
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L96
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L96
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L96
	ldr	r3, .L112+8
	ldr	r3, [r3]
	mov	r2, #50
	mov	r1, #1
	ldr	r0, .L112+48
	bl	fwrite
.L96:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L97
	ldr	r1, .L112+40
	ldr	r0, [fp, #-36]
	bl	fopen
	mov	r3, r0
	b	.L98
.L97:
	mov	r3, #0
.L98:
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L99
	ldr	r3, .L112+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, [fp, #-36]
	ldr	r1, .L112+52
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L99:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L100
	ldr	r2, [fp, #-40]
	ldr	r1, .L112+56
	ldr	r0, [fp, #-24]
	bl	fprintf
.L100:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L101
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L102
	ldr	r3, .L112+32
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L104
.L102:
	ldr	r3, [fp, #-40]
	b	.L104
.L101:
	ldr	r3, [fp, #-44]
.L104:
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	start_file
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L105
	ldr	r1, [fp, #-60]
	ldr	r3, .L112+60
	ldr	r2, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	write_file
	ldr	r3, [fp, #-60]
	mov	r2, r3
	ldr	r1, .L112+64
	ldr	r0, [fp, #-24]
	bl	fprintf
.L105:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L106
	ldr	r1, [fp, #-56]
	ldr	r3, .L112+68
	ldr	r2, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	write_file
	ldr	r3, [fp, #-56]
	mov	r2, r3
	ldr	r1, .L112+64
	ldr	r0, [fp, #-24]
	bl	fprintf
.L106:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L107
	ldr	r1, [fp, #-52]
	ldr	r3, .L112+72
	ldr	r2, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	write_file
	ldr	r3, [fp, #-52]
	mov	r2, r3
	ldr	r1, .L112+64
	ldr	r0, [fp, #-24]
	bl	fprintf
.L107:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L108
	ldr	r1, [fp, #-48]
	ldr	r3, .L112+76
	ldr	r2, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	write_file
	ldr	r3, [fp, #-48]
	mov	r2, r3
	ldr	r1, .L112+64
	ldr	r0, [fp, #-24]
	bl	fprintf
.L108:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r1, r3, #255
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r0, r3, #255
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	ldr	r2, [fp, #-48]
	cmp	r2, #0
	movne	r2, #1
	moveq	r2, #0
	and	r2, r2, #255
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, r1
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	end_file
	ldr	r0, [fp, #-28]
	bl	fclose
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L109
	ldr	r0, [fp, #-24]
	bl	fclose
.L109:
	mov	r3, #0
.L110:
	ldr	r2, .L112
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC43
	.word	optarg
	.word	stderr
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	options
	.word	.LC32
	.word	optind
	.word	.LC33
	.word	.LC34
	.word	stdout
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
