	.file	"200143122.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"method %c not found.\n"
	.text
	.globl	search
	.type	search, @function
search:
.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, 80
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -56[rbp], edx
	mov	eax, ecx
	mov	BYTE PTR -68[rbp], al
	mov	DWORD PTR -4[rbp], 2147483647
	cmp	BYTE PTR -68[rbp], 102
	jne	.L2
	mov	DWORD PTR -36[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -52[rbp], eax
	jg	.L4
	mov	eax, DWORD PTR -36[rbp]
	jmp	.L5
.L4:
	add	DWORD PTR -36[rbp], 1
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L6
	jmp	.L7
.L2:
	cmp	BYTE PTR -68[rbp], 110
	jne	.L8
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	mov	DWORD PTR -32[rbp], eax
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -52[rbp], eax
	jg	.L10
	mov	eax, DWORD PTR -32[rbp]
	jmp	.L5
.L10:
	sub	DWORD PTR -32[rbp], 1
.L9:
	cmp	DWORD PTR -32[rbp], 0
	jns	.L11
	jmp	.L7
.L8:
	cmp	BYTE PTR -68[rbp], 98
	jne	.L12
	mov	DWORD PTR -28[rbp], 2147483647
	mov	DWORD PTR -24[rbp], 2147483647
	mov	DWORD PTR -20[rbp], 0
	jmp	.L13
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -52[rbp], eax
	jg	.L14
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L14
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
.L14:
	add	DWORD PTR -20[rbp], 1
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L15
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L5
.L12:
	cmp	BYTE PTR -68[rbp], 119
	jne	.L16
	mov	DWORD PTR -16[rbp], -2147483648
	mov	DWORD PTR -12[rbp], 2147483647
	mov	DWORD PTR -8[rbp], 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -52[rbp], eax
	jg	.L18
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -16[rbp], eax
	jge	.L18
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
.L18:
	add	DWORD PTR -8[rbp], 1
.L17:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L19
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L5
.L16:
	movsx	eax, BYTE PTR -68[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	mov	eax, DWORD PTR -4[rbp]
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	search, .-search
	.section	.rodata
	.align 8
.LC1:
	.string	"unable to allocate process %d.\n"
.LC2:
	.string	"size of process: %d.\n"
	.align 8
.LC3:
	.string	"available sizes of partitions: "
.LC4:
	.string	"%d "
	.align 8
.LC5:
	.string	"Processes allocated successfully!"
	.align 8
.LC6:
	.string	"Process index\tSize    \tAllocated partition"
.LC7:
	.string	"%-13d\t%-8d\t%d\n"
	.text
	.globl	allocate_process
	.type	allocate_process, @function
allocate_process:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	mov	DWORD PTR -64[rbp], ecx
	mov	eax, r8d
	mov	BYTE PTR -76[rbp], al
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L21
.L26:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -32[rbp], eax
	movsx	ecx, BYTE PTR -76[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	rsi, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	search
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jle	.L22
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40[rbp], 1
.L23:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L24
	mov	eax, 0
	jmp	.L25
.L22:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	lea	rbx, [rdx+rax]
	mov	esi, 8
	mov	edi, 2
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -72[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -44[rbp], 1
.L21:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L26
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 4
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L27:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L28
	mov	eax, 1
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	allocate_process, .-allocate_process
	.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
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 100
	mov	DWORD PTR -60[rbp], 200
	mov	DWORD PTR -56[rbp], 300
	mov	DWORD PTR -52[rbp], 400
	mov	DWORD PTR -48[rbp], 500
	mov	DWORD PTR -32[rbp], 150
	mov	DWORD PTR -28[rbp], 350
	mov	DWORD PTR -24[rbp], 50
	mov	DWORD PTR -20[rbp], 25
	mov	DWORD PTR -16[rbp], 50
	mov	DWORD PTR -12[rbp], 50
	lea	rdx, -64[rbp]
	lea	rax, -32[rbp]
	mov	r8d, 108
	mov	ecx, 5
	mov	esi, 6
	mov	rdi, rax
	call	allocate_process
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"200143122.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"method %c not found.\012\000"
	.text
	.align	2
	.global	search
	.syntax unified
	.arm
	.fpu softvfp
	.type	search, %function
search:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	strb	r3, [fp, #-57]
	mvn	r3, #-2147483648
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #102
	bne	.L2
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L3
.L6:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L4
	ldr	r3, [fp, #-40]
	b	.L5
.L4:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L3:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L6
	b	.L7
.L2:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L8
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	b	.L9
.L11:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L10
	ldr	r3, [fp, #-36]
	b	.L5
.L10:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-36]
.L9:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bge	.L11
	b	.L7
.L8:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #98
	bne	.L12
	mvn	r3, #-2147483648
	str	r3, [fp, #-32]
	mvn	r3, #-2147483648
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L13
.L15:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L14
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L14
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-28]
.L14:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-28]
	b	.L5
.L12:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #119
	bne	.L16
	mov	r3, #-2147483648
	str	r3, [fp, #-20]
	mvn	r3, #-2147483648
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L17
.L19:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bgt	.L18
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bge	.L18
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
.L18:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-16]
	b	.L5
.L16:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L20
	bl	printf
.L7:
	ldr	r3, [fp, #-8]
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC2
	.size	search, .-search
	.section	.rodata
	.align	2
.LC3:
	.ascii	"unable to allocate process %d.\012\000"
	.align	2
.LC4:
	.ascii	"size of process: %d.\012\000"
	.align	2
.LC5:
	.ascii	"available sizes of partitions: \000"
	.align	2
.LC6:
	.ascii	"%d \000"
	.align	2
.LC7:
	.ascii	"Processes allocated successfully!\000"
	.align	2
.LC8:
	.ascii	"Process index\011Size    \011Allocated partition\000"
	.align	2
.LC9:
	.ascii	"%-13d\011%-8d\011%d\012\000"
	.text
	.align	2
	.global	allocate_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	allocate_process, %function
allocate_process:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-44]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L23
.L28:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-20]
	bl	search
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	ble	.L24
	ldr	r1, [fp, #-36]
	ldr	r0, .L31
	bl	printf
	ldr	r1, [fp, #-20]
	ldr	r0, .L31+4
	bl	printf
	ldr	r0, .L31+8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L25
.L26:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L31+12
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L25:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L26
	mov	r3, #0
	b	.L27
.L24:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	mov	r1, #4
	mov	r0, #2
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L23:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L28
	ldr	r0, .L31+16
	bl	puts
	ldr	r0, .L31+20
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L29
.L30:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, [fp, #-28]
	ldr	r0, .L31+24
	bl	printf
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L29:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L30
	mov	r3, #1
.L27:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	allocate_process, .-allocate_process
	.section	.rodata
	.align	2
.LC0:
	.word	100
	.word	200
	.word	300
	.word	400
	.word	500
	.align	2
.LC1:
	.word	150
	.word	350
	.word	50
	.word	25
	.word	50
	.word	50
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L36+4
	sub	ip, fp, #52
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r3, .L36+8
	sub	ip, fp, #32
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	sub	r2, fp, #52
	sub	r0, fp, #32
	mov	r3, #108
	str	r3, [sp]
	mov	r3, #5
	mov	r1, #6
	bl	allocate_process
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
