	.file	"extr_kernel.c_kernel_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"12345"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"error while starting process 1"
	.section	.rodata.str1.1
.LC2:
	.string	"abcde"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"error while starting process 2"
	.text
	.p2align 4
	.globl	kernel_main
	.type	kernel_main, @function
kernel_main:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	xor	eax, eax
	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
	lea	rsi, .LC0[rip]
	lea	rdi, process[rip]
	call	copy_process@PLT
	test	eax, eax
	jne	.L9
	lea	rsi, .LC2[rip]
	lea	rdi, process[rip]
	call	copy_process@PLT
	test	eax, eax
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	call	schedule@PLT
	jmp	.L3
.L9:
	lea	rdi, .LC1[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	printf@PLT
.L10:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	printf@PLT
	.cfi_endproc
.LFE0:
	.size	kernel_main, .-kernel_main
	.comm	putc,4,4
	.comm	process,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
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"12345\000"
	.align	2
.LC1:
	.ascii	"error while starting process 1\000"
	.align	2
.LC2:
	.ascii	"abcde\000"
	.align	2
.LC3:
	.ascii	"error while starting process 2\000"
	.text
	.align	2
	.global	kernel_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	kernel_main, %function
kernel_main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	uart_init
	ldr	r3, .L10
	mov	r0, #0
	ldr	r1, [r3]
	bl	init_printf
	bl	irq_vector_init
	bl	timer_init
	bl	enable_interrupt_controller
	bl	enable_irq
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	copy_process
	cmp	r0, #0
	bne	.L8
	ldr	r1, .L10+12
	ldr	r0, .L10+8
	bl	copy_process
	cmp	r0, #0
	bne	.L9
.L3:
	bl	schedule
	b	.L3
.L8:
	ldr	r0, .L10+16
	pop	{r4, lr}
	b	printf
.L9:
	ldr	r0, .L10+20
	pop	{r4, lr}
	b	printf
.L11:
	.align	2
.L10:
	.word	putc
	.word	.LC0
	.word	process
	.word	.LC2
	.word	.LC1
	.word	.LC3
	.size	kernel_main, .-kernel_main
	.comm	putc,4,4
	.comm	process,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
