	.file	"93151.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s <bin_file> <header_name> <array_name>\n"
	.text
	.type	exit_usage, @function
exit_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	exit_usage, .-exit_usage
	.section	.rodata
.LC1:
	.string	""
.LC2:
	.string	"w"
.LC3:
	.string	"fopen"
.LC4:
	.string	"rb"
.LC5:
	.string	"stat"
.LC6:
	.string	"const int %s_length = %ld;\n\n"
.LC7:
	.string	"const char %s[%ld] = {"
.LC8:
	.string	"\n\t"
.LC9:
	.string	"0x%.2x,"
.LC10:
	.string	"\n};\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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 240
	mov	DWORD PTR -4324[rbp], edi
	mov	QWORD PTR -4336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4288[rbp], 0
	mov	QWORD PTR -4272[rbp], 0
	mov	DWORD PTR -4308[rbp], 0
	mov	QWORD PTR -4280[rbp], 0
	mov	rax, QWORD PTR -4336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -4264[rbp], rax
.L5:
	mov	rcx, QWORD PTR -4336[rbp]
	mov	eax, DWORD PTR -4324[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4296[rbp], eax
	cmp	DWORD PTR -4296[rbp], -1
	je	.L22
	mov	rax, QWORD PTR -4264[rbp]
	mov	rdi, rax
	call	exit_usage
	jmp	.L4
.L22:
	nop
.L4:
	cmp	DWORD PTR -4296[rbp], -1
	jne	.L5
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -4324[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -4336[rbp], rax
	cmp	DWORD PTR -4324[rbp], 2
	jg	.L6
	mov	rax, QWORD PTR -4264[rbp]
	mov	rdi, rax
	call	exit_usage
.L6:
	mov	rax, QWORD PTR -4336[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4272[rbp], rax
	cmp	QWORD PTR -4272[rbp], 0
	jne	.L7
	lea	rdi, .LC3[rip]
	call	perror@PLT
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -4336[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4288[rbp], rax
	cmp	QWORD PTR -4288[rbp], 0
	jne	.L9
	lea	rdi, .LC3[rip]
	call	perror@PLT
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -4336[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -4256[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -4308[rbp], eax
	cmp	DWORD PTR -4308[rbp], 0
	je	.L10
	lea	rdi, .LC5[rip]
	call	perror@PLT
	jmp	.L8
.L10:
	mov	rcx, QWORD PTR -4208[rbp]
	mov	rax, QWORD PTR -4336[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4272[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -4208[rbp]
	mov	rax, QWORD PTR -4336[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -4272[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -4304[rbp], 0
	jmp	.L11
.L17:
	mov	rdx, QWORD PTR -4288[rbp]
	lea	rax, -4112[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4292[rbp], eax
	cmp	DWORD PTR -4292[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -4292[rbp]
	cdqe
	add	QWORD PTR -4280[rbp], rax
	mov	DWORD PTR -4300[rbp], 0
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -4300[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -4272[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
.L15:
	mov	eax, DWORD PTR -4300[rbp]
	cdqe
	movzx	eax, BYTE PTR -4112[rbp+rax]
	movzx	edx, al
	mov	rax, QWORD PTR -4272[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -4300[rbp], 1
.L14:
	mov	eax, DWORD PTR -4300[rbp]
	cmp	eax, DWORD PTR -4292[rbp]
	jl	.L16
	add	DWORD PTR -4304[rbp], 4096
.L11:
	mov	eax, DWORD PTR -4304[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4208[rbp]
	cmp	rdx, rax
	jl	.L17
	jmp	.L13
.L23:
	nop
.L13:
	mov	rax, QWORD PTR -4272[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -4208[rbp]
	cmp	QWORD PTR -4280[rbp], rax
	jge	.L24
	mov	DWORD PTR -4308[rbp], 1
	jmp	.L8
.L24:
	nop
.L8:
	cmp	QWORD PTR -4288[rbp], 0
	je	.L18
	mov	rax, QWORD PTR -4288[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L18:
	cmp	QWORD PTR -4272[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -4272[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L19:
	mov	eax, DWORD PTR -4308[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	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	"93151.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s <bin_file> <header_name> <array_name>\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_usage, %function
exit_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	exit_usage, .-exit_usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"fopen\000"
	.align	2
.LC4:
	.ascii	"rb\000"
	.align	2
.LC5:
	.ascii	"stat\000"
	.align	2
.LC6:
	.ascii	"const int %s_length = %ld;\012\012\000"
	.align	2
.LC7:
	.ascii	"const char %s[%ld] = {\000"
	.align	2
.LC8:
	.ascii	"\012\011\000"
	.align	2
.LC9:
	.ascii	"0x%.2x,\000"
	.align	2
.LC10:
	.ascii	"\012};\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4224
	sub	sp, sp, #20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-140]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-144]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-112]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-128]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-116]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	ldr	r3, [r3]
	str	r3, [r2, #-108]
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L27+4
	ldr	r1, [r1, #-144]
	ldr	r0, [r3, #-140]
	bl	getopt
	str	r0, [r4, #-104]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	cmn	r3, #1
	beq	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-108]
	bl	exit_usage
	b	.L6
.L24:
	nop
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-104]
	cmn	r3, #1
	bne	.L7
	ldr	r3, .L27+8
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-140]
	sub	r3, r2, r3
	str	r3, [r1, #-140]
	ldr	r3, .L27+8
	ldr	r3, [r3]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-144]
	add	r3, r2, r3
	str	r3, [r1, #-144]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-140]
	cmp	r3, #2
	bgt	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-108]
	bl	exit_usage
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L27+12
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-112]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L27+16
	bl	perror
	b	.L10
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L27+20
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-132]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L27+16
	bl	perror
	b	.L10
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r1, r3
	mov	r0, r2
	bl	stat
	str	r0, [r4, #-128]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-128]
	cmp	r3, #0
	beq	.L12
	ldr	r0, .L27+24
	bl	perror
	b	.L10
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L27+28
	ldr	r0, [r0, #-112]
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-144]
	add	r3, r3, #8
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r1, .L27+32
	ldr	r0, [r0, #-112]
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-124]
	b	.L13
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-132]
	mov	r2, #4096
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-100]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-100]
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-116]
	ldr	r3, [r3, #-100]
	add	r3, r2, r3
	str	r3, [r1, #-116]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-120]
	b	.L16
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-120]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L27+36
	bl	fwrite
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-120]
	add	r3, r2, r3
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L27+40
	ldr	r0, [r3, #-112]
	bl	fprintf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-120]
	add	r3, r3, #1
	str	r3, [r2, #-120]
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-120]
	ldr	r3, [r3, #-100]
	cmp	r2, r3
	blt	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-124]
	add	r3, r3, #4096
	str	r3, [r2, #-124]
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-124]
	cmp	r2, r3
	blt	.L19
	b	.L15
.L25:
	nop
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L27+44
	bl	fwrite
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-116]
	cmp	r2, r3
	bge	.L26
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-128]
	b	.L10
.L26:
	nop
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-132]
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-132]
	bl	fclose
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-112]
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-112]
	bl	fclose
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-128]
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC11
	.word	.LC1
	.word	optind
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.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
