	.file	"921986.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"error:  data_name must be supplied to write_blob_to_file."
.LC1:
	.string	"rb"
	.align 8
.LC2:
	.string	"error:  unable to open input file %s.\n"
.LC3:
	.string	"wb"
	.align 8
.LC4:
	.string	"error:  unable to open output file %s.\n"
	.align 8
.LC5:
	.string	"/* Autogenerated by static_include v0.1\n * ================================================\n * Author: Alexander Azzo <azzoa@vcu.edu>\n * All rights reserved.\n */\n\n"
.LC6:
	.string	"const unsigned char %s[] = {"
.LC7:
	.string	"\n/* 0x%08x: */ "
.LC8:
	.string	",  "
.LC9:
	.string	", "
.LC10:
	.string	"0x%02x"
.LC11:
	.string	"\n};\n"
	.text
	.type	write_blob_to_file, @function
write_blob_to_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L19
.L2:
	cmp	QWORD PTR -40[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L5
.L4:
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -24[rbp], rax
.L5:
	cmp	QWORD PTR -40[rbp], 0
	je	.L6
	cmp	QWORD PTR -24[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L19
.L6:
	cmp	QWORD PTR -48[rbp], 0
	je	.L7
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L8
.L7:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -16[rbp], rax
.L8:
	cmp	QWORD PTR -48[rbp], 0
	je	.L9
	cmp	QWORD PTR -16[rbp], 0
	jne	.L9
	cmp	QWORD PTR -40[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L10:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L19
.L9:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 163
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L12
	mov	eax, DWORD PTR -28[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L13
	cmp	DWORD PTR -28[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 44
	call	fputc@PLT
.L14:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L15
.L13:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	jmp	.L15
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
.L15:
	movzx	eax, BYTE PTR -29[rbp]
	movzx	edx, al
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -28[rbp], 1
.L11:
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -29[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	test	rax, rax
	jne	.L16
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	cmp	QWORD PTR -40[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L17:
	cmp	QWORD PTR -48[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L18:
	mov	eax, 1
.L19:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	write_blob_to_file, .-write_blob_to_file
	.section	.rodata
	.align 8
.LC12:
	.string	"static_include v0.1 - Bake binary files into c byte array.\n\nUsage: static_include -i [input file] -o [output file] -n [array name]"
	.text
	.type	print_help, @function
print_help:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC12[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	print_help, .-print_help
	.section	.rodata
.LC13:
	.string	"-i"
.LC14:
	.string	"-o"
.LC15:
	.string	"-n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	cmp	DWORD PTR -52[rbp], 1
	jg	.L23
	call	print_help
	mov	eax, 0
	jmp	.L24
.L23:
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -36[rbp], 1
	jmp	.L25
.L30:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	add	DWORD PTR -36[rbp], 1
	jmp	.L27
.L26:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -36[rbp], 1
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -36[rbp], 1
	jmp	.L27
.L29:
	call	print_help
	mov	eax, 0
	jmp	.L24
.L27:
	add	DWORD PTR -36[rbp], 1
.L25:
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -52[rbp], eax
	jg	.L30
	cmp	QWORD PTR -32[rbp], 0
	je	.L31
	cmp	QWORD PTR -16[rbp], 0
	je	.L31
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	write_blob_to_file
	jmp	.L32
.L31:
	call	print_help
.L32:
	mov	eax, 0
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"921986.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"error:  data_name must be supplied to write_blob_to"
	.ascii	"_file.\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"error:  unable to open input file %s.\012\000"
	.align	2
.LC3:
	.ascii	"wb\000"
	.align	2
.LC4:
	.ascii	"error:  unable to open output file %s.\012\000"
	.align	2
.LC5:
	.ascii	"/* Autogenerated by static_include v0.1\012 * ====="
	.ascii	"===========================================\012 * A"
	.ascii	"uthor: Alexander Azzo <azzoa@vcu.edu>\012 * All rig"
	.ascii	"hts reserved.\012 */\012\012\000"
	.align	2
.LC6:
	.ascii	"const unsigned char %s[] = {\000"
	.align	2
.LC7:
	.ascii	"\012/* 0x%08x: */ \000"
	.align	2
.LC8:
	.ascii	",  \000"
	.align	2
.LC9:
	.ascii	", \000"
	.align	2
.LC10:
	.ascii	"0x%02x\000"
	.align	2
.LC11:
	.ascii	"\012};\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_blob_to_file, %function
write_blob_to_file:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L21+4
	bl	puts
	mov	r3, #0
	b	.L19
.L2:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L4
	ldr	r1, .L21+8
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-20]
	b	.L5
.L4:
	ldr	r3, .L21+12
	ldr	r3, [r3]
	str	r3, [fp, #-20]
.L5:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L6
	ldr	r1, [fp, #-32]
	ldr	r0, .L21+16
	bl	printf
	mov	r3, #0
	b	.L19
.L6:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L21+20
	ldr	r0, [fp, #-36]
	bl	fopen
	str	r0, [fp, #-16]
	b	.L8
.L7:
	ldr	r3, .L21+24
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L10
	ldr	r0, [fp, #-20]
	bl	fclose
.L10:
	ldr	r1, [fp, #-36]
	ldr	r0, .L21+28
	bl	printf
	mov	r3, #0
	b	.L19
.L9:
	ldr	r3, [fp, #-16]
	mov	r2, #163
	mov	r1, #1
	ldr	r0, .L21+32
	bl	fwrite
	ldr	r2, [fp, #-40]
	ldr	r1, .L21+36
	ldr	r0, [fp, #-16]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L11
.L16:
	ldr	r3, [fp, #-12]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-12]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L14
	ldr	r1, [fp, #-16]
	mov	r0, #44
	bl	fputc
.L14:
	ldr	r2, [fp, #-12]
	ldr	r1, .L21+40
	ldr	r0, [fp, #-16]
	bl	fprintf
	b	.L15
.L13:
	ldr	r3, [fp, #-16]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L21+44
	bl	fwrite
	b	.L15
.L12:
	ldr	r3, [fp, #-16]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L21+48
	bl	fwrite
.L15:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L21+52
	ldr	r0, [fp, #-16]
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	sub	r0, fp, #21
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-16]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L21+56
	bl	fwrite
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L17
	ldr	r0, [fp, #-20]
	bl	fclose
.L17:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L18
	ldr	r0, [fp, #-16]
	bl	fclose
.L18:
	mov	r3, #1
.L19:
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	stdin
	.word	.LC2
	.word	.LC3
	.word	stdout
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	write_blob_to_file, .-write_blob_to_file
	.section	.rodata
	.align	2
.LC13:
	.ascii	"static_include v0.1 - Bake binary files into c byte"
	.ascii	" array.\012\012Usage: static_include -i [input file"
	.ascii	"] -o [output file] -n [array name]\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_help, %function
print_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L24
	bl	puts
	nop
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC13
	.size	print_help, .-print_help
	.section	.rodata
	.align	2
.LC14:
	.ascii	"-i\000"
	.align	2
.LC15:
	.ascii	"-o\000"
	.align	2
.LC16:
	.ascii	"-n\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bgt	.L27
	bl	print_help
	mov	r3, #0
	b	.L28
.L27:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L29
.L34:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, .L37
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L31
.L30:
	ldr	r1, .L37+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L31
.L32:
	ldr	r1, .L37+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L31
.L33:
	bl	print_help
	mov	r3, #0
	b	.L28
.L31:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L29:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bgt	.L34
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L35
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	write_blob_to_file
	b	.L36
.L35:
	bl	print_help
.L36:
	mov	r3, #0
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
