	.file	"68888571.c"
	.intel_syntax noprefix
	.text
	.globl	zeroterminated
	.bss
	.align 4
	.type	zeroterminated, @object
	.size	zeroterminated, 4
zeroterminated:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: bin2c [-cz] <input_file> <output_file>\n"
	.text
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 46
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.globl	fgetc_t
	.type	fgetc_t, @function
fgetc_t:
.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 -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L3
	mov	eax, DWORD PTR zeroterminated[rip]
	test	eax, eax
	je	.L3
	mov	DWORD PTR zeroterminated[rip], 0
	mov	eax, 0
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -4[rbp]
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fgetc_t, .-fgetc_t
	.section	.rodata
.LC1:
	.string	"-c"
.LC2:
	.string	"-z"
.LC3:
	.string	"rb"
.LC4:
	.string	"cannot open %s for reading\n"
.LC5:
	.string	"wb"
.LC6:
	.string	"cannot open %s for writing\n"
.LC7:
	.string	"const "
.LC8:
	.string	""
	.align 8
.LC9:
	.string	"static %sunsigned char %s[] = {\n"
.LC10:
	.string	"0x%.2x, "
.LC11:
	.string	"\n};\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1104
	mov	DWORD PTR -1092[rbp], edi
	mov	QWORD PTR -1104[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1056[rbp], 0
	mov	QWORD PTR -1048[rbp], 0
	mov	QWORD PTR -1072[rbp], 0
	mov	QWORD PTR -1064[rbp], 0
	mov	DWORD PTR -1076[rbp], 0
	mov	DWORD PTR -1084[rbp], 1
	mov	DWORD PTR -1080[rbp], 0
	jmp	.L6
.L9:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	DWORD PTR -1080[rbp], 1
	sub	DWORD PTR -1092[rbp], 1
	add	QWORD PTR -1104[rbp], 8
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	DWORD PTR zeroterminated[rip], 1
	sub	DWORD PTR -1092[rbp], 1
	add	QWORD PTR -1104[rbp], 8
	jmp	.L6
.L8:
	call	usage
.L6:
	cmp	DWORD PTR -1092[rbp], 3
	jg	.L9
	cmp	DWORD PTR -1092[rbp], 3
	je	.L10
	call	usage
.L10:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L11
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	je	.L13
	add	QWORD PTR -1064[rbp], 1
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -1104[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	esi, 92
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -1064[rbp], rax
	cmp	QWORD PTR -1064[rbp], 0
	je	.L15
	add	QWORD PTR -1064[rbp], 1
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -1104[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -1064[rbp], rax
.L14:
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1072[rbp], rax
	jmp	.L16
.L18:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L17
	mov	rax, QWORD PTR -1072[rbp]
	mov	BYTE PTR [rax], 95
.L17:
	add	QWORD PTR -1072[rbp], 1
.L16:
	mov	rax, QWORD PTR -1072[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L18
	cmp	DWORD PTR -1080[rbp], 0
	je	.L19
	lea	rax, .LC7[rip]
	jmp	.L20
.L19:
	lea	rax, .LC8[rip]
.L20:
	lea	rdx, -1040[rbp]
	mov	rdi, QWORD PTR -1048[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC9[rip]
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L21
.L23:
	cmp	DWORD PTR -1084[rbp], 71
	jle	.L22
	mov	rax, QWORD PTR -1048[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -1084[rbp], 1
.L22:
	mov	edx, DWORD PTR -1076[rbp]
	mov	rax, QWORD PTR -1048[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -1084[rbp], 6
.L21:
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fgetc_t
	mov	DWORD PTR -1076[rbp], eax
	cmp	DWORD PTR -1076[rbp], -1
	jne	.L23
	mov	rax, QWORD PTR -1048[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -1056[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"68888571.c"
	.text
	.global	zeroterminated
	.bss
	.align	2
	.type	zeroterminated, %object
	.size	zeroterminated, 4
zeroterminated:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: bin2c [-cz] <input_file> <output_file>\012\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	r3, .L2
	ldr	r3, [r3]
	mov	r2, #46
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.align	2
	.global	fgetc_t
	.syntax unified
	.arm
	.fpu softvfp
	.type	fgetc_t, %function
fgetc_t:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L5
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L7
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L6
.L5:
	ldr	r3, [fp, #-8]
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	zeroterminated
	.size	fgetc_t, .-fgetc_t
	.section	.rodata
	.align	2
.LC1:
	.ascii	"-c\000"
	.align	2
.LC2:
	.ascii	"-z\000"
	.align	2
.LC3:
	.ascii	"rb\000"
	.align	2
.LC4:
	.ascii	"cannot open %s for reading\012\000"
	.align	2
.LC5:
	.ascii	"wb\000"
	.align	2
.LC6:
	.ascii	"cannot open %s for writing\012\000"
	.align	2
.LC7:
	.ascii	"const \000"
	.align	2
.LC8:
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"static %sunsigned char %s[] = {\012\000"
	.align	2
.LC10:
	.ascii	"0x%.2x, \000"
	.align	2
.LC11:
	.ascii	"\012};\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1064
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	sub	sp, sp, #8
	str	r0, [fp, #-1064]
	str	r1, [fp, #-1068]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1044]
	mov	r3, #0
	str	r3, [fp, #-1040]
	mov	r3, #0
	str	r3, [fp, #-1060]
	mov	r3, #0
	str	r3, [fp, #-1056]
	mov	r3, #0
	str	r3, [fp, #-1036]
	mov	r3, #1
	str	r3, [fp, #-1052]
	mov	r3, #0
	str	r3, [fp, #-1048]
	b	.L10
.L13:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #1
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1064]
	sub	r3, r3, #1
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	str	r3, [fp, #-1068]
	b	.L10
.L11:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L30+12
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-1064]
	sub	r3, r3, #1
	str	r3, [fp, #-1064]
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	str	r3, [fp, #-1068]
	b	.L10
.L12:
	bl	usage
.L10:
	ldr	r3, [fp, #-1064]
	cmp	r3, #3
	bgt	.L13
	ldr	r3, [fp, #-1064]
	cmp	r3, #3
	beq	.L14
	bl	usage
.L14:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L30+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L30+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L30+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L30+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-1068]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+32
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #47
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-1056]
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
	b	.L18
.L17:
	ldr	r3, [fp, #-1068]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, #92
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-1056]
	ldr	r3, [fp, #-1056]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-1056]
	add	r3, r3, #1
	str	r3, [fp, #-1056]
	b	.L18
.L19:
	ldr	r3, [fp, #-1068]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-1056]
.L18:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1056]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1060]
	b	.L20
.L22:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-1060]
	mov	r2, #95
	strb	r2, [r3]
.L21:
	ldr	r3, [fp, #-1060]
	add	r3, r3, #1
	str	r3, [fp, #-1060]
.L20:
	ldr	r3, [fp, #-1060]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-1048]
	cmp	r3, #0
	beq	.L23
	ldr	r2, .L30+36
	b	.L24
.L23:
	ldr	r2, .L30+40
.L24:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L30+44
	ldr	r0, [fp, #-1040]
	bl	fprintf
	b	.L25
.L27:
	ldr	r3, [fp, #-1052]
	cmp	r3, #71
	ble	.L26
	ldr	r1, [fp, #-1040]
	mov	r0, #10
	bl	fputc
	mov	r3, #1
	str	r3, [fp, #-1052]
.L26:
	ldr	r2, [fp, #-1036]
	ldr	r1, .L30+48
	ldr	r0, [fp, #-1040]
	bl	fprintf
	ldr	r3, [fp, #-1052]
	add	r3, r3, #6
	str	r3, [fp, #-1052]
.L25:
	ldr	r0, [fp, #-1044]
	bl	fgetc_t
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmn	r3, #1
	bne	.L27
	ldr	r3, [fp, #-1040]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L30+52
	bl	fwrite
	ldr	r0, [fp, #-1044]
	bl	fclose
	ldr	r0, [fp, #-1040]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC12
	.word	.LC1
	.word	.LC2
	.word	zeroterminated
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
