	.file	"extr_iteration_check.c_iteration_test.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"multiorder "
.LC1:
	.string	""
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Running %siteration tests for %d seconds\n"
	.align 8
.LC3:
	.string	"create tagged iteration thread"
	.align 8
.LC4:
	.string	"create untagged iteration thread"
	.section	.rodata.str1.1
.LC5:
	.string	"create add entry thread"
.LC6:
	.string	"create remove entry thread"
.LC7:
	.string	"create tag entry thread"
.LC8:
	.string	"pthread_join"
	.text
	.p2align 4
	.globl	iteration_test
	.type	iteration_test, @function
iteration_test:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rax, .LC1[rip]
	mov	ecx, esi
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	lea	rdx, .LC0[rip]
	lea	rsi, .LC2[rip]
	mov	ebx, edi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	test	edi, edi
	mov	edi, 1
	cmove	rdx, rax
	call	printv@PLT
	mov	DWORD PTR max_order[rip], ebx
	xor	eax, eax
	mov	rbx, QWORD PTR seeds[rip]
	mov	DWORD PTR test_complete[rip], 0
	call	rand@PLT
	mov	DWORD PTR [rbx], eax
	mov	rbx, QWORD PTR seeds[rip]
	xor	eax, eax
	call	rand@PLT
	mov	DWORD PTR 4[rbx], eax
	mov	rbx, QWORD PTR seeds[rip]
	xor	eax, eax
	call	rand@PLT
	mov	edx, DWORD PTR tagged_iteration_fn[rip]
	xor	ecx, ecx
	xor	esi, esi
	mov	DWORD PTR 8[rbx], eax
	mov	rdi, QWORD PTR threads[rip]
	call	pthread_create@PLT
	test	rax, rax
	jne	.L33
.L3:
	mov	rax, QWORD PTR threads[rip]
	mov	edx, DWORD PTR untagged_iteration_fn[rip]
	xor	ecx, ecx
	xor	esi, esi
	lea	rdi, 4[rax]
	call	pthread_create@PLT
	test	rax, rax
	jne	.L34
.L4:
	mov	rax, QWORD PTR threads[rip]
	mov	edx, DWORD PTR add_entries_fn[rip]
	xor	ecx, ecx
	xor	esi, esi
	lea	rdi, 8[rax]
	call	pthread_create@PLT
	test	rax, rax
	jne	.L35
.L5:
	mov	rax, QWORD PTR threads[rip]
	mov	edx, DWORD PTR remove_entries_fn[rip]
	xor	ecx, ecx
	xor	esi, esi
	lea	rdi, 12[rax]
	call	pthread_create@PLT
	test	rax, rax
	jne	.L36
.L6:
	mov	rax, QWORD PTR threads[rip]
	mov	edx, DWORD PTR tag_entries_fn[rip]
	xor	ecx, ecx
	xor	esi, esi
	lea	rdi, 16[rax]
	call	pthread_create@PLT
	test	rax, rax
	jne	.L37
.L7:
	mov	edi, ebp
	call	sleep@PLT
	mov	eax, DWORD PTR NUM_THREADS[rip]
	mov	DWORD PTR test_complete[rip], 1
	test	eax, eax
	jle	.L8
	xor	ebx, ebx
	lea	rbp, .LC8[rip]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	add	rbx, 1
	cmp	DWORD PTR NUM_THREADS[rip], ebx
	jle	.L8
.L10:
	mov	rax, QWORD PTR threads[rip]
	xor	esi, esi
	mov	edi, DWORD PTR [rax+rbx*4]
	call	pthread_join@PLT
	test	rax, rax
	je	.L9
	mov	rdi, rbp
	add	rbx, 1
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	cmp	DWORD PTR NUM_THREADS[rip], ebx
	jg	.L10
.L8:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, array[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	item_kill_tree@PLT
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L37:
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L36:
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L35:
	lea	rdi, .LC5[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L34:
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	iteration_test, .-iteration_test
	.comm	untagged_iteration_fn,4,4
	.comm	threads,8,8
	.comm	test_complete,4,4
	.comm	tagged_iteration_fn,4,4
	.comm	tag_entries_fn,4,4
	.comm	seeds,8,8
	.comm	remove_entries_fn,4,4
	.comm	max_order,4,4
	.comm	array,4,4
	.comm	add_entries_fn,4,4
	.comm	NUM_THREADS,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_iteration_check.c_iteration_test.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"multiorder \000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Running %siteration tests for %d seconds\012\000"
	.align	2
.LC3:
	.ascii	"create tagged iteration thread\000"
	.align	2
.LC4:
	.ascii	"create untagged iteration thread\000"
	.align	2
.LC5:
	.ascii	"create add entry thread\000"
	.align	2
.LC6:
	.ascii	"create remove entry thread\000"
	.align	2
.LC7:
	.ascii	"create tag entry thread\000"
	.align	2
.LC8:
	.ascii	"pthread_join\000"
	.text
	.align	2
	.global	iteration_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	iteration_test, %function
iteration_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r8, #0
	ldr	r3, .L38
	subs	r5, r0, #0
	ldr	r2, .L38+4
	mov	r4, r1
	moveq	r2, r3
	mov	r0, #1
	mov	r3, r1
	ldr	r1, .L38+8
	bl	printv
	ldr	r6, .L38+12
	ldr	r3, .L38+16
	ldr	r7, .L38+20
	str	r5, [r3]
	str	r8, [r7]
	ldr	r5, [r6]
	bl	rand
	str	r0, [r5]
	ldr	r5, [r6]
	bl	rand
	str	r0, [r5, #4]
	ldr	r6, [r6]
	bl	rand
	ldr	r5, .L38+24
	ldr	r2, .L38+28
	str	r0, [r6, #8]
	mov	r3, r8
	mov	r1, r8
	ldr	r2, [r2]
	ldr	r0, [r5]
	bl	pthread_create
	cmp	r0, r8
	bne	.L33
.L3:
	mov	r3, #0
	ldr	r0, [r5]
	ldr	r2, .L38+32
	mov	r1, r3
	ldr	r2, [r2]
	add	r0, r0, #4
	bl	pthread_create
	cmp	r0, #0
	bne	.L34
.L4:
	mov	r3, #0
	ldr	r0, [r5]
	ldr	r2, .L38+36
	mov	r1, r3
	ldr	r2, [r2]
	add	r0, r0, #8
	bl	pthread_create
	cmp	r0, #0
	bne	.L35
.L5:
	mov	r3, #0
	ldr	r0, [r5]
	ldr	r2, .L38+40
	mov	r1, r3
	ldr	r2, [r2]
	add	r0, r0, #12
	bl	pthread_create
	cmp	r0, #0
	bne	.L36
.L6:
	mov	r3, #0
	ldr	r0, [r5]
	ldr	r2, .L38+44
	mov	r1, r3
	ldr	r2, [r2]
	add	r0, r0, #16
	bl	pthread_create
	cmp	r0, #0
	bne	.L37
.L7:
	mov	r0, r4
	bl	sleep
	mov	r3, #1
	ldr	r6, .L38+48
	str	r3, [r7]
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L8
	mov	r4, #0
	ldr	r7, .L38+52
	b	.L10
.L9:
	ldr	r3, [r6]
	cmp	r3, r4
	ble	.L8
.L10:
	ldr	r3, [r5]
	mov	r1, #0
	ldr	r0, [r3, r4, lsl #2]
	bl	pthread_join
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L9
	mov	r0, r7
	bl	perror
	mov	r0, #1
	bl	exit
	ldr	r3, [r6]
	cmp	r3, r4
	bgt	.L10
.L8:
	pop	{r4, r5, r6, r7, r8, lr}
	ldr	r0, .L38+56
	b	item_kill_tree
.L33:
	ldr	r0, .L38+60
	bl	perror
	mov	r0, #1
	bl	exit
	b	.L3
.L37:
	ldr	r0, .L38+64
	bl	perror
	mov	r0, #1
	bl	exit
	b	.L7
.L36:
	ldr	r0, .L38+68
	bl	perror
	mov	r0, #1
	bl	exit
	b	.L6
.L35:
	ldr	r0, .L38+72
	bl	perror
	mov	r0, #1
	bl	exit
	b	.L5
.L34:
	ldr	r0, .L38+76
	bl	perror
	mov	r0, #1
	bl	exit
	b	.L4
.L39:
	.align	2
.L38:
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	seeds
	.word	max_order
	.word	test_complete
	.word	threads
	.word	tagged_iteration_fn
	.word	untagged_iteration_fn
	.word	add_entries_fn
	.word	remove_entries_fn
	.word	tag_entries_fn
	.word	NUM_THREADS
	.word	.LC8
	.word	array
	.word	.LC3
	.word	.LC7
	.word	.LC6
	.word	.LC5
	.word	.LC4
	.size	iteration_test, .-iteration_test
	.comm	untagged_iteration_fn,4,4
	.comm	threads,4,4
	.comm	test_complete,4,4
	.comm	tagged_iteration_fn,4,4
	.comm	tag_entries_fn,4,4
	.comm	seeds,4,4
	.comm	remove_entries_fn,4,4
	.comm	max_order,4,4
	.comm	array,4,4
	.comm	add_entries_fn,4,4
	.comm	NUM_THREADS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
