	.file	"extr_kernel.c_kernel_main.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kernel_main
	.type	kernel_main, @function
kernel_main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rax
	.cfi_def_cfa_offset 16
	pop	rax
	.cfi_def_cfa_offset 8
	xor	eax, eax
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	uart_init@PLT
	mov	esi, DWORD PTR putc[rip]
	xor	edi, edi
	call	init_printf@PLT
	xor	eax, eax
	call	irq_vector_init@PLT
	xor	eax, eax
	call	timer_init@PLT
	xor	eax, eax
	call	enable_interrupt_controller@PLT
	xor	eax, eax
	call	enable_irq@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	xor	eax, eax
	call	uart_recv@PLT
	mov	edi, eax
	call	uart_send@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	kernel_main, .-kernel_main
	.comm	putc,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_kernel.c_kernel_main.c"
	.text
	.align	2
	.global	kernel_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	kernel_main, %function
kernel_main:
	@ Volatile: function does not return.
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	uart_init
	ldr	r3, .L5
	mov	r0, #0
	ldr	r1, [r3]
	bl	init_printf
	bl	irq_vector_init
	bl	timer_init
	bl	enable_interrupt_controller
	bl	enable_irq
.L2:
	bl	uart_recv
	bl	uart_send
	b	.L2
.L6:
	.align	2
.L5:
	.word	putc
	.size	kernel_main, .-kernel_main
	.comm	putc,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
