	.file	"330543.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"unsigned char __attribute__ ((aligned (%d), section (\"%s\"))) %s[] = {\n"
	.align 8
.LC1:
	.string	"unsigned char __attribute__ ((aligned (%d))) %s[] = {\n"
	.text
	.type	start_c, @function
start_c:
.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	QWORD PTR -32[rbp], rcx
	cmp	QWORD PTR -32[rbp], 0
	je	.L2
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8, rsi
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L4
.L2:
	mov	rcx, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	start_c, .-start_c
	.section	.rodata
.LC2:
	.string	"};\n\n"
	.align 8
.LC3:
	.string	"unsigned long %s_bytes = 0x%lxul;\n\n"
	.text
	.type	finish_c, @function
finish_c:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	finish_c, .-finish_c
	.section	.rodata
.LC4:
	.string	"    "
.LC5:
	.string	"0x%c%c, "
	.text
	.type	copy_to_c, @function
copy_to_c:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -32[rbp], eax
	jmp	.L7
.L14:
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L8
.L13:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	movzx	eax, BYTE PTR -16[rbp+rax]
	mov	BYTE PTR -35[rbp], al
	movzx	eax, BYTE PTR -35[rbp]
	shr	al, 4
	mov	BYTE PTR -34[rbp], al
	movzx	eax, BYTE PTR -35[rbp]
	and	eax, 15
	mov	BYTE PTR -33[rbp], al
	cmp	BYTE PTR -33[rbp], 9
	jbe	.L9
	movzx	eax, BYTE PTR -33[rbp]
	lea	edx, 87[rax]
	jmp	.L10
.L9:
	movzx	eax, BYTE PTR -33[rbp]
	lea	edx, 48[rax]
.L10:
	cmp	BYTE PTR -34[rbp], 9
	jbe	.L11
	movzx	eax, BYTE PTR -34[rbp]
	add	eax, 87
	jmp	.L12
.L11:
	movzx	eax, BYTE PTR -34[rbp]
	add	eax, 48
.L12:
	mov	rdi, QWORD PTR -64[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC5[rip]
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -28[rbp], 1
.L8:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L13
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rdx, QWORD PTR -56[rbp]
	lea	rax, -16[rbp]
	mov	rcx, rdx
	mov	edx, 8
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -32[rbp], eax
.L7:
	cmp	DWORD PTR -32[rbp], 0
	jne	.L14
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	copy_to_c, .-copy_to_c
	.section	.rodata
.LC6:
	.string	"rb"
.LC7:
	.string	"w"
	.text
	.type	bin2c, @function
bin2c:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -60[rbp], ecx
	mov	QWORD PTR -72[rbp], r8
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L18
	mov	eax, -1
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L20
	mov	eax, -1
	jmp	.L19
.L20:
	mov	rcx, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -60[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	start_c
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	copy_to_c
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	finish_c
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	bin2c, .-bin2c
	.section	.rodata
.LC8:
	.string	"Usage:"
	.align 8
.LC9:
	.string	"\tbin2c <bin> <template> <out> <symbol> [align]"
	.text
	.type	usage, @function
usage:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	usage, .-usage
	.type	parse_int, @function
parse_int:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -24[rbp], ecx
	mov	DWORD PTR -4[rbp], 1
	jmp	.L23
.L26:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	jmp	.L25
.L24:
	add	DWORD PTR -4[rbp], 1
.L23:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L26
	mov	eax, DWORD PTR -24[rbp]
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	parse_int, .-parse_int
	.type	parse_str, @function
parse_str:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	DWORD PTR -4[rbp], 1
	jmp	.L28
.L31:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	jmp	.L30
.L29:
	add	DWORD PTR -4[rbp], 1
.L28:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L31
	mov	rax, QWORD PTR -48[rbp]
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	parse_str, .-parse_str
	.section	.rodata
.LC10:
	.string	"Toddler binary to C converter"
.LC11:
	.string	"--bin"
.LC12:
	.string	"--c"
.LC13:
	.string	"--symbol"
.LC14:
	.string	"--align"
.LC15:
	.string	"--section"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 0
	lea	rdx, .LC11[rip]
	mov	edi, eax
	call	parse_str
	mov	QWORD PTR -32[rbp], rax
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 0
	lea	rdx, .LC12[rip]
	mov	edi, eax
	call	parse_str
	mov	QWORD PTR -24[rbp], rax
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 0
	lea	rdx, .LC13[rip]
	mov	edi, eax
	call	parse_str
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L33
	cmp	QWORD PTR -24[rbp], 0
	je	.L33
	cmp	QWORD PTR -16[rbp], 0
	jne	.L34
.L33:
	mov	eax, 0
	call	usage
	mov	eax, -1
	jmp	.L35
.L34:
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 8
	lea	rdx, .LC14[rip]
	mov	edi, eax
	call	parse_int
	mov	DWORD PTR -36[rbp], eax
	mov	rsi, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, 0
	lea	rdx, .LC15[rip]
	mov	edi, eax
	call	parse_str
	mov	QWORD PTR -8[rbp], rax
	mov	rdi, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	bin2c
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"330543.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"unsigned char __attribute__ ((aligned (%d), section"
	.ascii	" (\"%s\"))) %s[] = {\012\000"
	.align	2
.LC1:
	.ascii	"unsigned char __attribute__ ((aligned (%d))) %s[] ="
	.ascii	" {\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_c, %function
start_c:
	@ args = 0, 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]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, .L5
	ldr	r0, [fp, #-8]
	bl	fprintf
	b	.L4
.L2:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, .L5+4
	ldr	r0, [fp, #-8]
	bl	fprintf
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.size	start_c, .-start_c
	.section	.rodata
	.align	2
.LC2:
	.ascii	"};\012\012\000"
	.align	2
.LC3:
	.ascii	"unsigned long %s_bytes = 0x%lxul;\012\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	finish_c, %function
finish_c:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L8
	bl	fwrite
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, .L8+4
	ldr	r0, [fp, #-8]
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC2
	.word	.LC3
	.size	finish_c, .-finish_c
	.section	.rodata
	.align	2
.LC4:
	.ascii	"    \000"
	.align	2
.LC5:
	.ascii	"0x%c%c, \000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	copy_to_c, %function
copy_to_c:
	@ 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, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-28]
	sub	r0, fp, #16
	ldr	r3, [fp, #-40]
	mov	r2, #8
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-24]
	b	.L11
.L18:
	ldr	r3, [fp, #-44]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L21+4
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L12
.L17:
	sub	r2, fp, #16
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-31]
	ldrb	r3, [fp, #-31]	@ zero_extendqisi2
	lsr	r3, r3, #4
	strb	r3, [fp, #-30]
	ldrb	r3, [fp, #-31]
	and	r3, r3, #15
	strb	r3, [fp, #-29]
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L13
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	add	r2, r3, #87
	b	.L14
.L13:
	ldrb	r3, [fp, #-30]	@ zero_extendqisi2
	add	r2, r3, #48
.L14:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L15
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	add	r3, r3, #87
	b	.L16
.L15:
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	add	r3, r3, #48
.L16:
	ldr	r1, .L21+8
	ldr	r0, [fp, #-44]
	bl	fprintf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L12:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-44]
	mov	r0, #10
	bl	fputc
	sub	r0, fp, #16
	ldr	r3, [fp, #-40]
	mov	r2, #8
	mov	r1, #1
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-24]
.L11:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-28]
	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	.LC6
	.word	.LC4
	.word	.LC5
	.size	copy_to_c, .-copy_to_c
	.section	.rodata
	.align	2
.LC7:
	.ascii	"rb\000"
	.align	2
.LC8:
	.ascii	"w\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bin2c, %function
bin2c:
	@ args = 4, 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r1, .L27
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L24
	mvn	r3, #0
	b	.L25
.L24:
	ldr	r1, .L27+4
	ldr	r0, [fp, #-28]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L26
	mvn	r3, #0
	b	.L25
.L26:
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-12]
	bl	start_c
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	copy_to_c
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-12]
	bl	finish_c
	mov	r3, #0
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC7
	.word	.LC8
	.size	bin2c, .-bin2c
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Usage:\000"
	.align	2
.LC10:
	.ascii	"\011bin2c <bin> <template> <out> <symbol> [align]\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L30
	bl	puts
	ldr	r0, .L30+4
	bl	puts
	nop
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC9
	.word	.LC10
	.size	usage, .-usage
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_int, %function
parse_int:
	@ 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]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L33
.L36:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	b	.L35
.L34:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L33:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L36
	ldr	r3, [fp, #-28]
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parse_int, .-parse_int
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_str, %function
parse_str:
	@ 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]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L38
.L41:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L40
.L39:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L38:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-28]
.L40:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	parse_str, .-parse_str
	.section	.rodata
	.align	2
.LC11:
	.ascii	"Toddler binary to C converter\000"
	.align	2
.LC12:
	.ascii	"--bin\000"
	.align	2
.LC13:
	.ascii	"--c\000"
	.align	2
.LC14:
	.ascii	"--symbol\000"
	.align	2
.LC15:
	.ascii	"--align\000"
	.align	2
.LC16:
	.ascii	"--section\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, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r0, .L46
	bl	puts
	mov	r3, #0
	ldr	r2, .L46+4
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	parse_str
	str	r0, [fp, #-24]
	mov	r3, #0
	ldr	r2, .L46+8
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	parse_str
	str	r0, [fp, #-20]
	mov	r3, #0
	ldr	r2, .L46+12
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	parse_str
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L44
.L43:
	bl	usage
	mvn	r3, #0
	b	.L45
.L44:
	mov	r3, #8
	ldr	r2, .L46+16
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	parse_int
	str	r0, [fp, #-12]
	mov	r3, #0
	ldr	r2, .L46+20
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	parse_str
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	bin2c
	mov	r3, r0
.L45:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.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
