	.file	"215767526.c"
	.intel_syntax noprefix
	.text
	.globl	param
	.bss
	.align 32
	.type	param, @object
	.size	param, 32
param:
	.zero	32
	.globl	next_param
	.align 4
	.type	next_param, @object
	.size	next_param, 4
next_param:
	.zero	4
	.globl	r0
	.align 8
	.type	r0, @object
	.size	r0, 8
r0:
	.zero	8
	.globl	vg0
	.align 8
	.type	vg0, @object
	.size	vg0, 8
vg0:
	.zero	8
	.globl	vg1
	.align 8
	.type	vg1, @object
	.size	vg1, 8
vg1:
	.zero	8
	.globl	vg2
	.align 8
	.type	vg2, @object
	.size	vg2, 8
vg2:
	.zero	8
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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	INIT
	mov	eax, 0
	call	MAIN
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	INIT
	.type	INIT, @function
INIT:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	edx, DWORD PTR -44[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, param[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	QWORD PTR -16[rbp+rax*8], rdx
	add	DWORD PTR -44[rbp], 1
.L4:
	cmp	DWORD PTR -44[rbp], 0
	jns	.L5
	cmp	DWORD PTR -44[rbp], 3
	jle	.L6
.L5:
	mov	DWORD PTR next_param[rip], 0
.L7:
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR vg0[rip], rax
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR vg1[rip], rax
	mov	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR vg2[rip], rax
	mov	rax, QWORD PTR vg2[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, TaskFour_Test[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	INIT, .-INIT
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.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, 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, param[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	QWORD PTR -16[rbp+rax*8], rdx
	add	DWORD PTR -100[rbp], 1
.L11:
	cmp	DWORD PTR -100[rbp], 0
	jns	.L12
	cmp	DWORD PTR -100[rbp], 3
	jle	.L13
.L12:
	mov	DWORD PTR next_param[rip], 0
.L14:
	mov	DWORD PTR -24[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	esi, 8
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR vg2[rip]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -48[rbp], 1
	mov	DWORD PTR -56[rbp], 1
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR next_param[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR next_param[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, param[rip]
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR next_param[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR next_param[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, param[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR next_param[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR next_param[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, param[rip]
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR next_param[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR next_param[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, param[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rdx, QWORD PTR -88[rbp]
	mov	eax, 0
	call	rdx
	mov	rax, QWORD PTR r0[rip]
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	MAIN, .-MAIN
	.globl	TaskFour_Test
	.type	TaskFour_Test, @function
TaskFour_Test:
.LFB9:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, param[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	QWORD PTR -48[rbp+rax*8], rdx
	add	DWORD PTR -68[rbp], 1
.L18:
	cmp	DWORD PTR -68[rbp], 4
	jg	.L19
	cmp	DWORD PTR -68[rbp], 3
	jle	.L20
.L19:
	mov	DWORD PTR next_param[rip], 0
.L21:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	test	eax, eax
	jne	.L33
	nop
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	je	.L34
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L26
.L34:
	nop
.L26:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L24
.L33:
	nop
.L24:
	mov	eax, DWORD PTR -64[rbp]
	test	eax, eax
	je	.L35
	mov	DWORD PTR -16[rbp], 1
	jmp	.L29
.L35:
	nop
.L28:
	mov	DWORD PTR -16[rbp], 0
.L29:
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR r0[rip], rax
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	TaskFour_Test, .-TaskFour_Test
	.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	"215767526.c"
	.text
	.comm	param,16,4
	.global	next_param
	.bss
	.align	2
	.type	next_param, %object
	.size	next_param, 4
next_param:
	.space	4
	.global	r0
	.align	2
	.type	r0, %object
	.size	r0, 4
r0:
	.space	4
	.global	vg0
	.align	2
	.type	vg0, %object
	.size	vg0, 4
vg0:
	.space	4
	.global	vg1
	.align	2
	.type	vg1, %object
	.size	vg1, 4
vg1:
	.space	4
	.global	vg2
	.align	2
	.type	vg2, %object
	.size	vg2, 4
vg2:
	.space	4
	.text
	.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	INIT
	bl	MAIN
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	INIT
	.syntax unified
	.arm
	.fpu softvfp
	.type	INIT, %function
INIT:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L4
.L6:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, .L10+4
	ldr	r2, [fp, #-16]
	ldr	r2, [r1, r2, lsl #2]
	str	r2, [r3, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L5
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L6
.L5:
	ldr	r3, .L10+8
	mov	r2, #0
	str	r2, [r3]
.L7:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10+12
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10+16
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L10+20
	str	r2, [r3]
	ldr	r3, .L10+20
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, .L10+24
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	nop
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	param
	.word	next_param
	.word	vg0
	.word	vg1
	.word	vg2
	.word	TaskFour_Test
	.size	INIT, .-INIT
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	MAIN
	.syntax unified
	.arm
	.fpu softvfp
	.type	MAIN, %function
MAIN:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L13
.L15:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, .L19+4
	ldr	r2, [fp, #-16]
	ldr	r2, [r1, r2, lsl #2]
	str	r2, [r3, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L14
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L15
.L14:
	ldr	r3, .L19+8
	mov	r2, #0
	str	r2, [r3]
.L16:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r2, .L19+12
	ldr	r2, [r2]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	str	r3, [fp, #-52]
	ldr	r3, .L19+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L19+8
	str	r2, [r1]
	ldr	r1, .L19+4
	ldr	r2, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L19+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L19+8
	str	r2, [r1]
	ldr	r1, .L19+4
	ldr	r2, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L19+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L19+8
	str	r2, [r1]
	ldr	r1, .L19+4
	ldr	r2, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L19+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L19+8
	str	r2, [r1]
	ldr	r1, .L19+4
	ldr	r2, [fp, #-36]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-52]
	blx	r3
	ldr	r3, .L19+16
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	ldr	r1, [fp, #-56]
	ldr	r0, .L19+20
	bl	printf
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC2
	.word	param
	.word	next_param
	.word	vg2
	.word	r0
	.word	.LC1
	.size	MAIN, .-MAIN
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	TaskFour_Test
	.syntax unified
	.arm
	.fpu softvfp
	.type	TaskFour_Test, %function
TaskFour_Test:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L22
.L24:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, .L40+4
	ldr	r2, [fp, #-32]
	ldr	r2, [r1, r2, lsl #2]
	str	r2, [r3, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L22:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	bgt	.L23
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	ble	.L24
.L23:
	ldr	r3, .L40+8
	mov	r2, #0
	str	r2, [r3]
.L25:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L37
	nop
.L27:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-36]
	b	.L30
.L38:
	nop
.L30:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	b	.L28
.L37:
	nop
.L28:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L39
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L33
.L39:
	nop
.L32:
	mov	r3, #0
	str	r3, [fp, #-12]
.L33:
	ldr	r2, .L40+12
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	nop
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC3
	.word	param
	.word	next_param
	.word	r0
	.size	TaskFour_Test, .-TaskFour_Test
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
