	.file	"14199780.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: %s -i <input_file> -o <output_file> -t <var> [-h include_guard_const]\n"
	.text
	.type	print_usage, @function
print_usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	print_usage, .-print_usage
	.section	.rodata
.LC1:
	.string	"i:o:t:h:"
.LC2:
	.string	"rb"
.LC3:
	.string	"failure to open \"%s\"\n"
.LC4:
	.string	"wb"
.LC5:
	.string	"#ifndef %s\n#define %s\n"
.LC6:
	.string	"static char const %s[] = {"
.LC7:
	.string	"\n\t"
.LC8:
	.string	"0x%02x"
.LC9:
	.string	"\n};\n"
.LC10:
	.string	"#endif\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	jmp	.L3
.L8:
	cmp	DWORD PTR -56[rbp], 116
	je	.L4
	cmp	DWORD PTR -56[rbp], 116
	jg	.L5
	cmp	DWORD PTR -56[rbp], 111
	je	.L6
	cmp	DWORD PTR -56[rbp], 111
	jg	.L5
	cmp	DWORD PTR -56[rbp], 104
	je	.L7
	cmp	DWORD PTR -56[rbp], 105
	jne	.L5
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L3
.L6:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -32[rbp], rax
	jmp	.L3
.L7:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L3
.L5:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_usage
.L3:
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -68[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], -1
	jne	.L8
	cmp	QWORD PTR -48[rbp], 0
	je	.L9
	cmp	QWORD PTR -40[rbp], 0
	je	.L9
	cmp	QWORD PTR -32[rbp], 0
	jne	.L10
.L9:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	print_usage
.L10:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	cmp	QWORD PTR -24[rbp], 0
	je	.L13
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L13:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	BYTE PTR -61[rbp], 1
	mov	DWORD PTR -60[rbp], 0
	jmp	.L14
.L19:
	cmp	BYTE PTR -61[rbp], 0
	je	.L15
	mov	BYTE PTR -61[rbp], 0
	jmp	.L16
.L15:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 44
	call	fputc@PLT
.L16:
	cmp	DWORD PTR -60[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 32
	call	fputc@PLT
.L18:
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, 1[rax]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -60[rbp], eax
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -60[rbp], edx
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], -1
	jne	.L19
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	cmp	QWORD PTR -24[rbp], 0
	je	.L20
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
.L20:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"14199780.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: %s -i <input_file> -o <output_file> -t <var>"
	.ascii	" [-h include_guard_const]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_usage, %function
print_usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	print_usage, .-print_usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"i:o:t:h:\000"
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"failure to open \"%s\"\012\000"
	.align	2
.LC4:
	.ascii	"wb\000"
	.align	2
.LC5:
	.ascii	"#ifndef %s\012#define %s\012\000"
	.align	2
.LC6:
	.ascii	"static char const %s[] = {\000"
	.align	2
.LC7:
	.ascii	"\012\011\000"
	.align	2
.LC8:
	.ascii	"0x%02x\000"
	.align	2
.LC9:
	.ascii	"\012};\012\000"
	.align	2
.LC10:
	.ascii	"#endif\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L5
.L12:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #104
	cmp	r3, #12
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L11
	.word	.L10
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L9
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L7
.L10:
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	b	.L5
.L9:
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	b	.L5
.L7:
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	b	.L5
.L11:
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	b	.L5
.L6:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_usage
.L5:
	ldr	r2, .L26+4
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-48]
	bl	getopt
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	bne	.L12
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L14
.L13:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r0, r3
	bl	print_usage
.L14:
	ldr	r1, .L26+8
	ldr	r0, [fp, #-40]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	ldr	r1, .L26+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	ldr	r1, .L26+20
	ldr	r0, [fp, #-36]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L26+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, .L26+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-28]
	ldr	r1, .L26+24
	ldr	r0, [fp, #-12]
	bl	fprintf
.L17:
	ldr	r2, [fp, #-32]
	ldr	r1, .L26+28
	ldr	r0, [fp, #-12]
	bl	fprintf
	mov	r3, #1
	strb	r3, [fp, #-41]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L18
.L23:
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	mov	r3, #0
	strb	r3, [fp, #-41]
	b	.L20
.L19:
	ldr	r1, [fp, #-12]
	mov	r0, #44
	bl	fputc
.L20:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-12]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L26+32
	bl	fwrite
	b	.L22
.L21:
	ldr	r1, [fp, #-12]
	mov	r0, #32
	bl	fputc
.L22:
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	ldr	r3, .L26+36
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	ldr	r1, .L26+40
	ldr	r0, [fp, #-12]
	bl	fprintf
.L18:
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L23
	ldr	r3, [fp, #-12]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L26+44
	bl	fwrite
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-12]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L26+48
	bl	fwrite
.L24:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r0, [fp, #-16]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	optarg
	.word	.LC1
	.word	.LC2
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	1717986919
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
