	.file	"888346.c"
	.intel_syntax noprefix
	.text
	.globl	ROMlib_rcsid_mkseedtables
	.data
	.align 32
	.type	ROMlib_rcsid_mkseedtables, @object
	.size	ROMlib_rcsid_mkseedtables, 50
ROMlib_rcsid_mkseedtables:
	.string	"$Id: mkseedtables.c 86 2005-05-25 00:47:12Z ctm $"
	.section	.rodata
	.align 8
.LC0:
	.string	"PRIVATE INTEGER binarytotrinary[] = {"
.LC1:
	.string	"    "
.LC2:
	.string	"0x%04X,"
.LC3:
	.string	"};"
	.text
	.type	buildbinarytotrinary, @function
buildbinarytotrinary:
.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
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L14:
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 1
	test	eax, eax
	je	.L3
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 2
	test	eax, eax
	je	.L4
	add	DWORD PTR -4[rbp], 3
.L4:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 4
	test	eax, eax
	je	.L5
	add	DWORD PTR -4[rbp], 9
.L5:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 8
	test	eax, eax
	je	.L6
	add	DWORD PTR -4[rbp], 27
.L6:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 16
	test	eax, eax
	je	.L7
	add	DWORD PTR -4[rbp], 81
.L7:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 32
	test	eax, eax
	je	.L8
	add	DWORD PTR -4[rbp], 243
.L8:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 64
	test	eax, eax
	je	.L9
	add	DWORD PTR -4[rbp], 729
.L9:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 128
	test	eax, eax
	je	.L10
	add	DWORD PTR -4[rbp], 2187
.L10:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L11
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 7
	cmp	eax, 7
	jne	.L12
	mov	eax, 10
	jmp	.L13
.L12:
	mov	eax, 32
.L13:
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 255
	jle	.L14
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	buildbinarytotrinary, .-buildbinarytotrinary
	.section	.rodata
	.align 8
.LC4:
	.string	"PRIVATE unsigned char expandtable[] = {"
.LC5:
	.string	"0x%02X,"
	.text
	.type	buildexpandtable, @function
buildexpandtable:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	r13d, 0
	jmp	.L16
.L34:
	mov	BYTE PTR -33[rbp], 0
	movzx	eax, BYTE PTR -33[rbp]
	mov	BYTE PTR -34[rbp], al
	movzx	eax, BYTE PTR -34[rbp]
	mov	BYTE PTR -35[rbp], al
	mov	ebx, 1
	mov	r12d, 1
	jmp	.L17
.L21:
	mov	eax, r13d
	cdq
	idiv	ebx
	mov	ecx, eax
	movsx	rax, ecx
	imul	rax, rax, 1431655766
	shr	rax, 32
	mov	edx, ecx
	sar	edx, 31
	sub	eax, edx
	mov	edx, eax
	add	edx, edx
	add	edx, eax
	mov	eax, ecx
	sub	eax, edx
	test	eax, eax
	je	.L18
	cmp	eax, 2
	je	.L19
	jmp	.L20
.L18:
	mov	edx, r12d
	movzx	eax, BYTE PTR -35[rbp]
	or	eax, edx
	mov	BYTE PTR -35[rbp], al
	jmp	.L20
.L19:
	mov	edx, r12d
	movzx	eax, BYTE PTR -34[rbp]
	or	eax, edx
	mov	BYTE PTR -34[rbp], al
	nop
.L20:
	mov	eax, ebx
	add	eax, eax
	add	ebx, eax
	add	r12d, r12d
.L17:
	cmp	ebx, 6560
	jle	.L21
	movzx	eax, BYTE PTR -35[rbp]
	not	eax
	mov	edx, eax
	movzx	eax, BYTE PTR -34[rbp]
	and	edx, eax
	mov	r14d, edx
	mov	r12d, 1
	jmp	.L22
.L29:
	mov	eax, r14d
	and	eax, r12d
	test	eax, eax
	je	.L23
	mov	edx, r12d
	movzx	eax, BYTE PTR -33[rbp]
	or	eax, edx
	mov	BYTE PTR -33[rbp], al
	lea	ebx, [r12+r12]
	jmp	.L24
.L26:
	mov	edx, ebx
	movzx	eax, BYTE PTR -33[rbp]
	or	eax, edx
	mov	BYTE PTR -33[rbp], al
	add	ebx, ebx
.L24:
	cmp	ebx, 255
	jg	.L25
	movzx	eax, BYTE PTR -35[rbp]
	and	eax, ebx
	test	eax, eax
	je	.L26
.L25:
	mov	ebx, r12d
	sar	ebx
	jmp	.L27
.L28:
	mov	edx, ebx
	movzx	eax, BYTE PTR -33[rbp]
	or	eax, edx
	mov	BYTE PTR -33[rbp], al
	sar	ebx
.L27:
	test	ebx, ebx
	je	.L23
	movzx	eax, BYTE PTR -35[rbp]
	and	eax, ebx
	test	eax, eax
	je	.L28
.L23:
	add	r12d, r12d
.L22:
	cmp	r12d, 255
	jle	.L29
	mov	eax, r13d
	and	eax, 7
	test	eax, eax
	jne	.L30
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L30:
	movzx	eax, BYTE PTR -33[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, r13d
	and	eax, 7
	cmp	eax, 7
	je	.L31
	cmp	r13d, 6560
	jne	.L32
.L31:
	mov	eax, 10
	jmp	.L33
.L32:
	mov	eax, 32
.L33:
	mov	edi, eax
	call	putchar@PLT
	add	r13d, 1
.L16:
	cmp	r13d, 6560
	jle	.L34
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	buildexpandtable, .-buildexpandtable
	.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
	mov	eax, 0
	call	buildbinarytotrinary
	mov	eax, 0
	call	buildexpandtable
	mov	edi, 0
	call	exit@PLT
	.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	"888346.c"
	.text
	.global	ROMlib_rcsid_mkseedtables
	.data
	.align	2
	.type	ROMlib_rcsid_mkseedtables, %object
	.size	ROMlib_rcsid_mkseedtables, 50
ROMlib_rcsid_mkseedtables:
	.ascii	"$Id: mkseedtables.c 86 2005-05-25 00:47:12Z ctm $\000"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"PRIVATE INTEGER binarytotrinary[] = {\000"
	.align	2
.LC1:
	.ascii	"    \000"
	.align	2
.LC2:
	.ascii	"0x%04X,\000"
	.align	2
.LC3:
	.ascii	"};\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildbinarytotrinary, %function
buildbinarytotrinary:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L15
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L14:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-12]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-12]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	add	r3, r3, #9
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-12]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-8]
	add	r3, r3, #27
	str	r3, [fp, #-8]
.L6:
	ldr	r3, [fp, #-12]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-8]
	add	r3, r3, #81
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-12]
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-8]
	add	r3, r3, #243
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-12]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-8]
	add	r3, r3, #728
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-12]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	add	r3, r3, #2176
	add	r3, r3, #11
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-12]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L15+4
	bl	printf
.L11:
	ldr	r1, [fp, #-8]
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-12]
	and	r3, r3, #7
	cmp	r3, #7
	bne	.L12
	mov	r3, #10
	b	.L13
.L12:
	mov	r3, #32
.L13:
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #255
	ble	.L14
	ldr	r0, .L15+12
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	buildbinarytotrinary, .-buildbinarytotrinary
	.section	.rodata
	.align	2
.LC4:
	.ascii	"PRIVATE unsigned char expandtable[] = {\000"
	.global	__aeabi_idiv
	.align	2
.LC5:
	.ascii	"0x%02X,\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildexpandtable, %function
buildexpandtable:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	ldr	r0, .L37
	bl	puts
	mov	r6, #0
	b	.L18
.L36:
	mov	r3, #0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]
	strb	r3, [fp, #-22]
	ldrb	r3, [fp, #-22]
	strb	r3, [fp, #-23]
	mov	r5, #1
	mov	r4, #1
	b	.L19
.L23:
	mov	r1, r5
	mov	r0, r6
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, .L37+4
	smull	r0, r2, r3, r1
	asr	r3, r1, #31
	sub	r3, r2, r3
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	sub	r3, r1, r2
	cmp	r3, #0
	beq	.L20
	cmp	r3, #2
	beq	.L21
	b	.L22
.L20:
	lsl	r3, r4, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-23]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-23]
	b	.L22
.L21:
	lsl	r3, r4, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-22]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-22]
	nop
.L22:
	mov	r3, r5
	lsl	r3, r3, #1
	add	r5, r5, r3
	lsl	r4, r4, #1
.L19:
	ldr	r3, .L37+8
	cmp	r5, r3
	ble	.L23
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	mvn	r2, r3
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	and	r7, r2, r3
	mov	r4, #1
	b	.L24
.L31:
	and	r3, r7, r4
	cmp	r3, #0
	beq	.L25
	lsl	r3, r4, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-21]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-21]
	lsl	r5, r4, #1
	b	.L26
.L28:
	lsl	r3, r5, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-21]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-21]
	lsl	r5, r5, #1
.L26:
	cmp	r5, #255
	bgt	.L27
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	and	r3, r3, r5
	cmp	r3, #0
	beq	.L28
.L27:
	asr	r5, r4, #1
	b	.L29
.L30:
	lsl	r3, r5, #24
	asr	r2, r3, #24
	ldrsb	r3, [fp, #-21]
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-21]
	asr	r5, r5, #1
.L29:
	cmp	r5, #0
	beq	.L25
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	and	r3, r3, r5
	cmp	r3, #0
	beq	.L30
.L25:
	lsl	r4, r4, #1
.L24:
	cmp	r4, #255
	ble	.L31
	and	r3, r6, #7
	cmp	r3, #0
	bne	.L32
	ldr	r0, .L37+12
	bl	printf
.L32:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L37+16
	bl	printf
	and	r3, r6, #7
	cmp	r3, #7
	beq	.L33
	ldr	r3, .L37+8
	cmp	r6, r3
	bne	.L34
.L33:
	mov	r3, #10
	b	.L35
.L34:
	mov	r3, #32
.L35:
	mov	r0, r3
	bl	putchar
	add	r6, r6, #1
.L18:
	ldr	r3, .L37+8
	cmp	r6, r3
	ble	.L36
	ldr	r0, .L37+20
	bl	puts
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC4
	.word	1431655766
	.word	6560
	.word	.LC1
	.word	.LC5
	.word	.LC3
	.size	buildexpandtable, .-buildexpandtable
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	buildbinarytotrinary
	bl	buildexpandtable
	mov	r0, #0
	bl	exit
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
