	.file	"165769047.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"ABC 123"
.LC1:
	.string	"Haribote OS."
	.text
	.globl	HariMain
	.type	HariMain, @function
HariMain:
.LFB0:
	.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], 4080
	call	init_palette
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 6[rax]
	movsx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movsx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	init_screen
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	r9, .LC0[rip]
	mov	r8d, 0
	mov	ecx, 8
	mov	edx, 8
	mov	rdi, rax
	call	putfont8_asc
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	r9, .LC1[rip]
	mov	r8d, 0
	mov	ecx, 31
	mov	edx, 31
	mov	rdi, rax
	call	putfont8_asc
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	r9, .LC1[rip]
	mov	r8d, 7
	mov	ecx, 30
	mov	edx, 30
	mov	rdi, rax
	call	putfont8_asc
.L2:
	call	io_hlt@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	HariMain, .-HariMain
	.globl	putfont8_asc
	.type	putfont8_asc, @function
putfont8_asc:
.LFB1:
	.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	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	eax, r8d
	mov	QWORD PTR -32[rbp], r9
	mov	BYTE PTR -24[rbp], al
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 4
	cdqe
	lea	rdx, hankaku[rip]
	lea	r8, [rax+rdx]
	movsx	edi, BYTE PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9, r8
	mov	r8d, edi
	mov	rdi, rax
	call	putfont8
	add	DWORD PTR -16[rbp], 8
	add	QWORD PTR -32[rbp], 1
.L4:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L5
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	putfont8_asc, .-putfont8_asc
	.globl	putfont8
	.type	putfont8, @function
putfont8:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	eax, r8d
	mov	QWORD PTR -48[rbp], r9
	mov	BYTE PTR -40[rbp], al
	mov	DWORD PTR -12[rbp], 0
	jmp	.L8
.L17:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	imul	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 0
	jns	.L9
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -40[rbp]
	mov	BYTE PTR [rax], dl
.L9:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 64
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L10:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 32
	test	eax, eax
	je	.L11
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 2[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L11:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 16
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 3[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L12:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 8
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L13:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 4
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 5[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L14:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 2
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 6[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L15:
	movsx	eax, BYTE PTR -13[rbp]
	and	eax, 1
	test	eax, eax
	je	.L16
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 7[rax]
	movzx	eax, BYTE PTR -40[rbp]
	mov	BYTE PTR [rdx], al
.L16:
	add	DWORD PTR -12[rbp], 1
.L8:
	cmp	DWORD PTR -12[rbp], 15
	jle	.L17
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	putfont8, .-putfont8
	.globl	init_screen
	.type	init_screen, @function
init_screen:
.LFB3:
	.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	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -29[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, -1[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, ecx
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 14
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -28[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edi, -1[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -28[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, 0
	mov	edx, 8
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -27[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edi, -1[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -27[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, 0
	mov	edx, 7
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edi, -1[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -26[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, edi
	mov	r8d, ecx
	mov	ecx, 0
	mov	edx, 8
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -24[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -24[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, 59
	mov	r8d, ecx
	mov	ecx, 3
	mov	edx, 7
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -4[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -24[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, 2
	mov	r8d, ecx
	mov	ecx, 2
	mov	edx, 7
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -4[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -4[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, 59
	mov	r8d, ecx
	mov	ecx, 3
	mov	edx, 15
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -5[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -23[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, 59
	mov	r8d, ecx
	mov	ecx, 59
	mov	edx, 15
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -3[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -3[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, 59
	mov	r8d, ecx
	mov	ecx, 2
	mov	edx, 0
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, -3[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -24[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, 60
	mov	r8d, ecx
	mov	ecx, 60
	mov	edx, 0
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -24[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	r8d, -4[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edi, -24[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -47[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, 15
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -4[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	r8d, -47[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edi, -23[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -47[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, 15
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -3[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	r8d, -4[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edi, -3[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -47[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, 7
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	mov	eax, DWORD PTR -16[rbp]
	lea	ecx, -3[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	r8d, -3[rax]
	mov	eax, DWORD PTR -16[rbp]
	lea	edi, -24[rax]
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, -3[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, 7
	mov	rdi, rax
	call	boxfill8
	add	rsp, 16
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	init_screen, .-init_screen
	.globl	boxfill8
	.type	boxfill8, @function
boxfill8:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	DWORD PTR -44[rbp], r9d
	mov	BYTE PTR -32[rbp], al
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L20
.L23:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -32[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -8[rbp], 1
.L21:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L22
	add	DWORD PTR -4[rbp], 1
.L20:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR 16[rbp]
	jle	.L23
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	boxfill8, .-boxfill8
	.globl	init_palette
	.type	init_palette, @function
init_palette:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, table_rgb.0[rip]
	mov	esi, 15
	mov	edi, 0
	call	set_palette
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	init_palette, .-init_palette
	.globl	set_palette
	.type	set_palette, @function
set_palette:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	call	io_load_eflags@PLT
	mov	DWORD PTR -4[rbp], eax
	call	io_cli@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, 968
	call	io_out8@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	shr	al, 2
	movzx	eax, al
	mov	esi, eax
	mov	edi, 969
	call	io_out8@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	shr	al, 2
	movzx	eax, al
	mov	esi, eax
	mov	edi, 969
	call	io_out8@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	shr	al, 2
	movzx	eax, al
	mov	esi, eax
	mov	edi, 969
	call	io_out8@PLT
	add	QWORD PTR -32[rbp], 3
	add	DWORD PTR -8[rbp], 1
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L29
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	io_store_eflags@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	set_palette, .-set_palette
	.data
	.align 32
	.type	table_rgb.0, @object
	.size	table_rgb.0, 48
table_rgb.0:
	.string	""
	.string	""
	.string	""
	.string	"\377"
	.string	""
	.string	""
	.string	"\377"
	.string	"\377\377"
	.string	""
	.string	""
	.string	"\377\377"
	.string	"\377"
	.string	"\377\377\377\377\377\306\306\306\204"
	.string	""
	.string	""
	.string	"\204"
	.string	"\204\204"
	.string	""
	.string	""
	.string	"\204\204"
	.string	"\204"
	.ascii	"\204\204\204\204\204"
	.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	"165769047.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ABC 123\000"
	.align	2
.LC1:
	.ascii	"Haribote OS.\000"
	.text
	.align	2
	.global	HariMain
	.syntax unified
	.arm
	.fpu softvfp
	.type	HariMain, %function
HariMain:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #4080
	str	r3, [fp, #-8]
	bl	init_palette
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #6]
	mov	r2, r3
	bl	init_screen
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, .L3
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #8
	mov	r2, #8
	bl	putfont8_asc
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, .L3+4
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #31
	mov	r2, #31
	bl	putfont8_asc
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #4]
	mov	r1, r3
	ldr	r3, .L3+4
	str	r3, [sp, #4]
	mov	r3, #7
	str	r3, [sp]
	mov	r3, #30
	mov	r2, #30
	bl	putfont8_asc
.L2:
	bl	io_hlt
	b	.L2
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.size	HariMain, .-HariMain
	.align	2
	.global	putfont8_asc
	.syntax unified
	.arm
	.fpu softvfp
	.type	putfont8_asc, %function
putfont8_asc:
	@ args = 8, 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]
	b	.L6
.L7:
	ldr	r3, [fp, #8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L9
	add	r3, r2, r3
	str	r3, [sp, #4]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	putfont8
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #8]
	add	r3, r3, #1
	str	r3, [fp, #8]
.L6:
	ldr	r3, [fp, #8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	hankaku
	.size	putfont8_asc, .-putfont8_asc
	.align	2
	.global	putfont8
	.syntax unified
	.arm
	.fpu softvfp
	.type	putfont8, %function
putfont8:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L12
.L21:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-13]
	ldrsb	r3, [fp, #-13]
	cmp	r3, #0
	bge	.L13
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L13:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L14:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #32
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L15:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L16:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L17:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L18:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L19:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-8]
	add	r3, r3, #7
	ldrb	r2, [fp, #4]
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	ble	.L21
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	putfont8, .-putfont8
	.align	2
	.global	init_screen
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_screen, %function
init_screen:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	sub	r2, r2, #29
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #14
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #28
	ldr	r2, [fp, #-12]
	sub	r2, r2, #1
	ldr	r1, [fp, #-16]
	sub	r1, r1, #28
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #8
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #27
	ldr	r2, [fp, #-12]
	sub	r2, r2, #1
	ldr	r1, [fp, #-16]
	sub	r1, r1, #27
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #7
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #26
	ldr	r2, [fp, #-12]
	sub	r2, r2, #1
	ldr	r1, [fp, #-16]
	sub	r1, r1, #1
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #8
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #24
	ldr	r2, [fp, #-16]
	sub	r2, r2, #24
	str	r2, [sp, #8]
	mov	r2, #59
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #3
	mov	r2, #7
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #24
	ldr	r2, [fp, #-16]
	sub	r2, r2, #4
	str	r2, [sp, #8]
	mov	r2, #2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #7
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #4
	ldr	r2, [fp, #-16]
	sub	r2, r2, #4
	str	r2, [sp, #8]
	mov	r2, #59
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #3
	mov	r2, #15
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #23
	ldr	r2, [fp, #-16]
	sub	r2, r2, #5
	str	r2, [sp, #8]
	mov	r2, #59
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #59
	mov	r2, #15
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #3
	ldr	r2, [fp, #-16]
	sub	r2, r2, #3
	str	r2, [sp, #8]
	mov	r2, #59
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-16]
	sub	r3, r3, #24
	ldr	r2, [fp, #-16]
	sub	r2, r2, #3
	str	r2, [sp, #8]
	mov	r2, #60
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #60
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-12]
	sub	r0, r3, #47
	ldr	r3, [fp, #-16]
	sub	r3, r3, #24
	ldr	r2, [fp, #-12]
	sub	r2, r2, #4
	ldr	r1, [fp, #-16]
	sub	r1, r1, #24
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, #15
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-12]
	sub	r0, r3, #47
	ldr	r3, [fp, #-16]
	sub	r3, r3, #23
	ldr	r2, [fp, #-12]
	sub	r2, r2, #47
	ldr	r1, [fp, #-16]
	sub	r1, r1, #4
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, #15
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-12]
	sub	r0, r3, #47
	ldr	r3, [fp, #-16]
	sub	r3, r3, #3
	ldr	r2, [fp, #-12]
	sub	r2, r2, #4
	ldr	r1, [fp, #-16]
	sub	r1, r1, #3
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, #7
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	ldr	r3, [fp, #-12]
	sub	r0, r3, #3
	ldr	r3, [fp, #-16]
	sub	r3, r3, #24
	ldr	r2, [fp, #-12]
	sub	r2, r2, #3
	ldr	r1, [fp, #-16]
	sub	r1, r1, #3
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	mov	r2, #7
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	boxfill8
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	init_screen, .-init_screen
	.align	2
	.global	boxfill8
	.syntax unified
	.arm
	.fpu softvfp
	.type	boxfill8, %function
boxfill8:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r3, [fp, #-28]
	mov	r3, r2
	strb	r3, [fp, #-21]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-8]
	b	.L24
.L27:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	b	.L25
.L26:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	mul	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L25:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L24:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	ble	.L27
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	boxfill8, .-boxfill8
	.align	2
	.global	init_palette
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_palette, %function
init_palette:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L31
	mov	r1, #15
	mov	r0, #0
	bl	set_palette
	nop
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	table_rgb.4302
	.size	init_palette, .-init_palette
	.align	2
	.global	set_palette
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_palette, %function
set_palette:
	@ 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]
	bl	io_load_eflags
	str	r0, [fp, #-8]
	bl	io_cli
	ldr	r1, [fp, #-16]
	mov	r0, #968
	bl	io_out8
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L34
.L35:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L37
	bl	io_out8
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L37
	bl	io_out8
	ldr	r3, [fp, #-24]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #2
	and	r3, r3, #255
	mov	r1, r3
	ldr	r0, .L37
	bl	io_out8
	ldr	r3, [fp, #-24]
	add	r3, r3, #3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L34:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L35
	ldr	r0, [fp, #-8]
	bl	io_store_eflags
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	969
	.size	set_palette, .-set_palette
	.data
	.align	2
	.type	table_rgb.4302, %object
	.size	table_rgb.4302, 48
table_rgb.4302:
	.ascii	"\000\000\000\377\000\000\000\377\000\377\377\000\000"
	.ascii	"\000\377\377\000\377\000\377\377\377\377\377\306\306"
	.ascii	"\306\204\000\000\000\204\000\204\204\000\000\000\204"
	.ascii	"\204\000\204\000\204\204\204\204\204"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
