	.file	"140765686.c"
	.intel_syntax noprefix
	.text
	.globl	is_empty
	.type	is_empty, @function
is_empty:
.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	sete	al
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L2:
	mov	eax, DWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	is_empty, .-is_empty
	.globl	create_item
	.type	create_item, @function
create_item:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	edi, 280
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L5
	call	abort@PLT
.L5:
	cmp	DWORD PTR -52[rbp], 0
	je	.L6
	cmp	DWORD PTR -52[rbp], 1
	je	.L7
	jmp	.L8
.L6:
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -40[rbp], 0
	jmp	.L8
.L7:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -40[rbp], 1
	nop
.L8:
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 2
	jmp	.L9
.L11:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -64[rbp], rax
	sub	DWORD PTR -28[rbp], 1
	cmp	DWORD PTR -28[rbp], 0
	jne	.L9
	mov	DWORD PTR -32[rbp], 0
.L9:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	test	rax, rax
	je	.L10
	cmp	DWORD PTR -32[rbp], 0
	jne	.L11
.L10:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax+rdx*8], rcx
	cmp	QWORD PTR -16[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	jmp	.L13
.L12:
	mov	eax, 0
.L13:
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	QWORD PTR [rdx+rcx*8], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 16[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax+rdx*8], rcx
.L14:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	create_item, .-create_item
	.globl	append_one
	.type	append_one, @function
append_one:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	eax, DWORD PTR -28[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	create_item
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L19:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	append_one, .-append_one
	.globl	remove_one
	.type	remove_one, @function
remove_one:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	is_empty
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 8[rax]
	cmp	rdx, rax
	jne	.L23
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L20
.L23:
	cmp	DWORD PTR -44[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -44[rbp], 1
	sete	al
	movzx	eax, al
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L20
.L24:
	nop
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	remove_one, .-remove_one
	.globl	rand_end_point
	.type	rand_end_point, @function
rand_end_point:
.LFB10:
	.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
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	rand_end_point, .-rand_end_point
	.globl	main
	.type	main, @function
main:
.LFB11:
	.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	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L28
.L31:
	call	rand_end_point
	mov	esi, eax
	lea	rdi, list.0[rip]
	call	append_one
	add	DWORD PTR -36[rbp], 1
	add	DWORD PTR -28[rbp], 1
.L29:
	cmp	DWORD PTR -36[rbp], 2
	jg	.L32
	call	__VERIFIER_nondet_int@PLT
	test	eax, eax
	jne	.L31
	jmp	.L32
.L34:
	call	rand_end_point
	mov	esi, eax
	lea	rdi, list.0[rip]
	call	remove_one
	add	DWORD PTR -32[rbp], 1
	cmp	DWORD PTR -28[rbp], 0
	jle	.L32
	sub	DWORD PTR -28[rbp], 1
.L32:
	cmp	DWORD PTR -32[rbp], 2
	jg	.L33
	call	__VERIFIER_nondet_int@PLT
	test	eax, eax
	jne	.L34
.L33:
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	add	DWORD PTR -40[rbp], 1
.L28:
	cmp	DWORD PTR -40[rbp], 1
	jle	.L29
	call	__VERIFIER_nondet_int@PLT
	test	eax, eax
	je	.L36
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	jmp	.L37
.L36:
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 0
.L37:
	mov	eax, DWORD PTR -24[rbp]
	lea	rdx, 0[0+rax*8]
	lea	rax, list.0[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	sub	DWORD PTR -28[rbp], 1
.L38:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L39
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.local	list.0
	.comm	list.0,16,16
	.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	"140765686.c"
	.text
	.align	2
	.global	is_empty
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_empty, %function
is_empty:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	beq	.L2
	ldr	r0, [fp, #-16]
	bl	free
.L2:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_empty, .-is_empty
	.align	2
	.global	create_item
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_item, %function
create_item:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r0, #268
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L5
	bl	abort
.L5:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	beq	.L7
	b	.L8
.L6:
	mov	r3, #1
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L8
.L7:
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-32]
	nop
.L8:
	mov	r3, #1
	str	r3, [fp, #-24]
	mov	r3, #2
	str	r3, [fp, #-20]
	b	.L9
.L11:
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
	str	r3, [fp, #-24]
.L9:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L11
.L10:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [r3, r2, lsl #2]
	b	.L13
.L12:
	mov	r3, #0
.L13:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-32]
	str	r3, [r2, r1, lsl #2]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
.L14:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	create_item, .-create_item
	.align	2
	.global	append_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_one, %function
append_one:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	create_item
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
.L17:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L19:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	append_one, .-append_one
	.align	2
	.global	remove_one
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_one, %function
remove_one:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	is_empty
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L23
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mov	r2, #8
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	memset
	b	.L20
.L23:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r0, [fp, #-12]
	bl	free
	b	.L20
.L24:
	nop
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remove_one, .-remove_one
	.align	2
	.global	rand_end_point
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand_end_point, %function
rand_end_point:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	rand_end_point, .-rand_end_point
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L28
.L31:
	bl	rand_end_point
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L41
	bl	append_one
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L29:
	ldr	r3, [fp, #-32]
	cmp	r3, #2
	bgt	.L32
	bl	__VERIFIER_nondet_int
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	b	.L32
.L34:
	bl	rand_end_point
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L41
	bl	remove_one
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L32
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L32:
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	bgt	.L33
	bl	__VERIFIER_nondet_int
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
.L33:
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L28:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	ble	.L29
	bl	__VERIFIER_nondet_int
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L37
.L36:
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
.L37:
	ldr	r2, .L41
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
	b	.L38
.L39:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L38:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L39
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	list.5019
	.size	main, .-main
	.local	list.5019
	.comm	list.5019,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
