	.file	"463206.c"
	.intel_syntax noprefix
	.text
	.globl	g_traces
	.bss
	.align 32
	.type	g_traces, @object
	.size	g_traces, 120000000
g_traces:
	.zero	120000000
	.globl	g_traces_amt
	.align 4
	.type	g_traces_amt, @object
	.size	g_traces_amt, 4
g_traces_amt:
	.zero	4
	.globl	block_id_offset
	.section	.rodata
	.align 8
	.type	block_id_offset, @object
	.size	block_id_offset, 8
block_id_offset:
	.quad	5
	.text
	.type	mylog2, @function
mylog2:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	shr	DWORD PTR -20[rbp]
	cmp	DWORD PTR -20[rbp], 0
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mylog2, .-mylog2
	.type	bitmask, @function
bitmask:
.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, 8
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	mylog2
	movzx	eax, ax
	mov	edx, -1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	not	eax
	mov	eax, eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bitmask, .-bitmask
	.type	sim_set_associative_insert_tag, @function
sim_set_associative_insert_tag:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L12:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -8[rbp]
	cmp	rdx, rax
	jbe	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
.L9:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movzx	eax, BYTE PTR 256[rdx+rax]
	xor	eax, 1
	test	al, al
	je	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rcx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	BYTE PTR 256[rdx+rax], 1
	jmp	.L7
.L10:
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -12[rbp]
	add	rdx, 16
	mov	QWORD PTR [rax+rdx*8], 0
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	BYTE PTR 256[rdx+rax], 1
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	sim_set_associative_insert_tag, .-sim_set_associative_insert_tag
	.type	sim_set_associative_do, @function
sim_set_associative_do:
.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, 40
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	eax, ecx
	mov	BYTE PTR -40[rbp], al
	mov	BYTE PTR -5[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L16:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	rax, QWORD PTR [rax+rdx*8]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	QWORD PTR [rax+rdx*8], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	cmp	QWORD PTR -32[rbp], rax
	jne	.L15
	mov	BYTE PTR -5[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 16
	mov	QWORD PTR [rax+rdx*8], 0
.L15:
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L16
	movzx	eax, BYTE PTR -5[rbp]
	xor	eax, 1
	test	al, al
	je	.L17
	movzx	eax, BYTE PTR -40[rbp]
	xor	eax, 1
	test	al, al
	je	.L17
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	sim_set_associative_insert_tag
.L17:
	movzx	eax, BYTE PTR -5[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	sim_set_associative_do, .-sim_set_associative_do
	.type	sim_set_associative, @function
sim_set_associative:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -278528[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	QWORD PTR -278632[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -278560[rbp]
	mov	edx, 278528
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -278632[rbp]
	mov	QWORD PTR -278616[rbp], rax
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 12[rax]
	sal	eax, 5
	mov	ebx, eax
	mov	eax, 16384
	mov	edx, 0
	div	ebx
	mov	eax, eax
	mov	QWORD PTR -278608[rbp], rax
	mov	rax, QWORD PTR -278608[rbp]
	mov	edi, eax
	call	mylog2
	movzx	eax, ax
	mov	QWORD PTR -278600[rbp], rax
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L20
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 8[rax]
	sal	eax, 10
	shr	eax, 5
	mov	edi, eax
	call	bitmask
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -278608[rbp]
	mov	edi, eax
	call	bitmask
.L21:
	mov	QWORD PTR -278592[rbp], rax
	mov	edx, DWORD PTR g_traces_amt[rip]
	mov	rax, QWORD PTR -278616[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR -278620[rbp], 0
	jmp	.L22
.L29:
	mov	BYTE PTR -278621[rbp], 0
	mov	eax, DWORD PTR -278620[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_traces[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	eax, eax
	mov	QWORD PTR -278584[rbp], rax
	mov	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -278584[rbp]
	mov	ecx, edx
	shr	rax, cl
	and	rax, QWORD PTR -278592[rbp]
	mov	QWORD PTR -278576[rbp], rax
	mov	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -278600[rbp]
	add	eax, edx
	mov	rdx, QWORD PTR -278584[rbp]
	mov	ecx, eax
	shr	rdx, cl
	mov	rax, rdx
	mov	QWORD PTR -278568[rbp], rax
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 12[rax]
	cmp	eax, 1
	jne	.L23
	mov	rax, QWORD PTR -278584[rbp]
	shr	rax, 10
	mov	QWORD PTR -278568[rbp], rax
	mov	rdx, QWORD PTR -278576[rbp]
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	sub	rax, 278544
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -278568[rbp], rax
	jne	.L24
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -278616[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L25
.L24:
	mov	rdx, QWORD PTR -278576[rbp]
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 4
	lea	rax, -16[rax]
	add	rax, rbp
	lea	rdx, -278544[rax]
	mov	rax, QWORD PTR -278568[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L25
.L23:
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 1
	jne	.L26
	mov	eax, DWORD PTR -278620[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_traces[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L26
	mov	eax, 1
	jmp	.L27
.L26:
	mov	eax, 0
.L27:
	and	eax, 1
	movzx	edx, al
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rdi, -278560[rbp]
	mov	rcx, QWORD PTR -278576[rbp]
	mov	rax, rcx
	sal	rax, 4
	add	rax, rcx
	sal	rax, 4
	add	rdi, rax
	mov	rax, QWORD PTR -278568[rbp]
	mov	ecx, edx
	mov	edx, esi
	mov	rsi, rax
	call	sim_set_associative_do
	mov	BYTE PTR -278621[rbp], al
	movzx	edx, BYTE PTR -278621[rbp]
	mov	rax, QWORD PTR -278616[rbp]
	mov	ecx, DWORD PTR [rax]
	movzx	eax, dl
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -278616[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 2
	je	.L28
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 3
	jne	.L25
	movzx	eax, BYTE PTR -278621[rbp]
	xor	eax, 1
	test	al, al
	je	.L25
.L28:
	mov	rax, QWORD PTR -278584[rbp]
	add	rax, 32
	mov	edx, 5
	mov	ecx, edx
	shr	rax, cl
	and	rax, QWORD PTR -278592[rbp]
	mov	QWORD PTR -278576[rbp], rax
	mov	rax, QWORD PTR -278584[rbp]
	lea	rbx, 32[rax]
	mov	rax, QWORD PTR -278608[rbp]
	mov	edi, eax
	call	mylog2
	movzx	eax, ax
	mov	edx, 5
	add	eax, edx
	mov	ecx, eax
	shr	rbx, cl
	mov	rax, rbx
	mov	QWORD PTR -278568[rbp], rax
	mov	rax, QWORD PTR -278616[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	esi, eax
	lea	rcx, -278560[rbp]
	mov	rdx, QWORD PTR -278576[rbp]
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 4
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -278568[rbp]
	mov	ecx, 0
	mov	edx, esi
	mov	rsi, rax
	call	sim_set_associative_do
.L25:
	add	DWORD PTR -278620[rbp], 1
.L22:
	mov	edx, DWORD PTR -278620[rbp]
	mov	eax, DWORD PTR g_traces_amt[rip]
	cmp	edx, eax
	jb	.L29
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	sim_set_associative, .-sim_set_associative
	.type	sim_fully_associative, @function
sim_fully_associative:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 80
	mov	QWORD PTR -8264[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -8208[rbp]
	mov	eax, 0
	mov	ecx, 1024
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -8264[rbp]
	mov	QWORD PTR -8232[rbp], rax
	mov	edx, DWORD PTR g_traces_amt[rip]
	mov	rax, QWORD PTR -8232[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR -8252[rbp], 0
	jmp	.L33
.L65:
	mov	BYTE PTR -8254[rbp], 0
	mov	eax, DWORD PTR -8252[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_traces[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	eax, eax
	mov	QWORD PTR -8224[rbp], rax
	mov	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -8224[rbp]
	mov	ecx, edx
	shr	rax, cl
	mov	QWORD PTR -8216[rbp], rax
	mov	DWORD PTR -8248[rbp], 0
	jmp	.L34
.L43:
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L35
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L35
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L35:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 1
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L36
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L36
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L36:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 2
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L37
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L37
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L37:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 3
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L38
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L38
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L38:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 4
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L39
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L39
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L39:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 5
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L40
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L40
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L40:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 6
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L41
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L41
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L41:
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 7
	movsx	rdx, eax
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 8200
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], rdx
	movzx	eax, BYTE PTR -8254[rbp]
	xor	eax, 1
	test	al, al
	je	.L42
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L42
	mov	BYTE PTR -8254[rbp], 1
	mov	eax, DWORD PTR -8248[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L42:
	add	DWORD PTR -8248[rbp], 8
.L34:
	cmp	DWORD PTR -8248[rbp], 511
	jle	.L43
	cmp	BYTE PTR -8254[rbp], 0
	je	.L44
	mov	rax, QWORD PTR -8232[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8232[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L45
.L44:
	mov	BYTE PTR -8253[rbp], 0
	mov	DWORD PTR -8244[rbp], 0
	mov	DWORD PTR -8240[rbp], 0
	mov	DWORD PTR -8236[rbp], 0
	jmp	.L46
.L64:
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L47
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	mov	DWORD PTR -8244[rbp], eax
.L47:
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L48
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L48:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L50
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 1
	mov	DWORD PTR -8244[rbp], eax
.L50:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L51
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L51:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L52
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 2
	mov	DWORD PTR -8244[rbp], eax
.L52:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L53
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 2
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L53:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L54
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 3
	mov	DWORD PTR -8244[rbp], eax
.L54:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L55
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 3
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L55:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L56
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 4
	mov	DWORD PTR -8244[rbp], eax
.L56:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L57
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 4
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L57:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L58
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 5
	mov	DWORD PTR -8244[rbp], eax
.L58:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L59
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 5
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L59:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L60
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 6
	mov	DWORD PTR -8244[rbp], eax
.L60:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L61
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 6
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L61:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8240[rbp]
	cmp	rdx, rax
	jbe	.L62
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR -8240[rbp], eax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 7
	mov	DWORD PTR -8244[rbp], eax
.L62:
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8208
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L63
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8236[rbp]
	add	eax, 7
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
	mov	BYTE PTR -8253[rbp], 1
	jmp	.L49
.L63:
	add	DWORD PTR -8236[rbp], 8
.L46:
	cmp	DWORD PTR -8236[rbp], 511
	jle	.L64
.L49:
	movzx	eax, BYTE PTR -8253[rbp]
	xor	eax, 1
	test	al, al
	je	.L45
	mov	eax, DWORD PTR -8244[rbp]
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -8208[rax]
	mov	rax, QWORD PTR -8216[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -8244[rbp]
	sal	rax, 4
	add	rax, rbp
	sub	rax, 8200
	mov	QWORD PTR [rax], 0
.L45:
	add	DWORD PTR -8252[rbp], 1
.L33:
	mov	edx, DWORD PTR -8252[rbp]
	mov	eax, DWORD PTR g_traces_amt[rip]
	cmp	edx, eax
	jb	.L65
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L67
	call	__stack_chk_fail@PLT
.L67:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	sim_fully_associative, .-sim_fully_associative
	.type	sim_fully_associative_pseudo, @function
sim_fully_associative_pseudo:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 80
	mov	QWORD PTR -8264[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -8208[rbp]
	mov	eax, 0
	mov	ecx, 1024
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -8264[rbp]
	mov	QWORD PTR -8232[rbp], rax
	mov	edx, DWORD PTR g_traces_amt[rip]
	mov	rax, QWORD PTR -8232[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	DWORD PTR -8244[rbp], 0
	jmp	.L69
.L80:
	mov	BYTE PTR -8245[rbp], 0
	mov	eax, DWORD PTR -8244[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, g_traces[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	eax, eax
	mov	QWORD PTR -8224[rbp], rax
	mov	eax, 5
	mov	edx, eax
	mov	rax, QWORD PTR -8224[rbp]
	mov	ecx, edx
	shr	rax, cl
	mov	QWORD PTR -8216[rbp], rax
	mov	DWORD PTR -8240[rbp], 511
	jmp	.L70
.L74:
	mov	eax, DWORD PTR -8240[rbp]
	cdqe
	mov	rax, QWORD PTR -8208[rbp+rax*8]
	cmp	QWORD PTR -8216[rbp], rax
	jne	.L71
	mov	rax, QWORD PTR -8232[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -8232[rbp]
	mov	DWORD PTR [rdx], ecx
	mov	rdx, QWORD PTR -8232[rbp]
	mov	edx, DWORD PTR [rdx]
	sub	eax, edx
	test	eax, eax
	setne	al
	mov	BYTE PTR -8245[rbp], al
.L72:
	mov	eax, DWORD PTR -8240[rbp]
	and	eax, 1
	test	eax, eax
	sete	dl
	mov	eax, DWORD PTR -8240[rbp]
	sub	eax, 1
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	movzx	edx, dl
	cdqe
	mov	QWORD PTR -8208[rbp+rax*8], rdx
	mov	eax, DWORD PTR -8240[rbp]
	sub	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -8240[rbp], eax
	cmp	DWORD PTR -8240[rbp], 0
	jne	.L72
	jmp	.L73
.L71:
	add	DWORD PTR -8240[rbp], 1
.L70:
	cmp	DWORD PTR -8240[rbp], 1022
	jle	.L74
.L73:
	mov	DWORD PTR -8236[rbp], 0
	movzx	eax, BYTE PTR -8245[rbp]
	xor	eax, 1
	test	al, al
	je	.L75
	jmp	.L76
.L79:
	mov	eax, DWORD PTR -8236[rbp]
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	mov	rax, QWORD PTR -8208[rbp+rax*8]
	test	rax, rax
	sete	al
	movzx	edx, al
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	mov	QWORD PTR -8208[rbp+rax*8], rdx
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	mov	rax, QWORD PTR -8208[rbp+rax*8]
	test	rax, rax
	jne	.L77
	mov	eax, 1
	jmp	.L78
.L77:
	mov	eax, 2
.L78:
	add	eax, ecx
	mov	DWORD PTR -8236[rbp], eax
.L76:
	cmp	DWORD PTR -8236[rbp], 510
	jle	.L79
	mov	eax, DWORD PTR -8236[rbp]
	cdqe
	mov	rdx, QWORD PTR -8216[rbp]
	mov	QWORD PTR -8208[rbp+rax*8], rdx
.L75:
	add	DWORD PTR -8244[rbp], 1
.L69:
	mov	edx, DWORD PTR -8244[rbp]
	mov	eax, DWORD PTR g_traces_amt[rip]
	cmp	edx, eax
	jb	.L80
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L82
	call	__stack_chk_fail@PLT
.L82:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	sim_fully_associative_pseudo, .-sim_fully_associative_pseudo
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: predictors input.txt output.txt\n"
.LC1:
	.string	"r"
.LC2:
	.string	"w"
.LC3:
	.string	"Failed to open files.\n"
.LC4:
	.string	"%c %x\n"
.LC5:
	.string	"%d,%d; "
.LC6:
	.string	"%d,%d;\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 896
	mov	DWORD PTR -884[rbp], edi
	mov	QWORD PTR -896[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -884[rbp], 3
	je	.L84
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L84:
	mov	rax, QWORD PTR -896[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -832[rbp], rax
	cmp	QWORD PTR -832[rbp], 0
	je	.L85
	mov	rax, QWORD PTR -896[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -824[rbp], rax
	cmp	QWORD PTR -824[rbp], 0
	jne	.L87
.L85:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L88:
	mov	eax, DWORD PTR g_traces_amt[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR g_traces_amt[rip], edx
	movzx	edx, BYTE PTR -873[rbp]
	cmp	dl, 76
	setne	dl
	movzx	ecx, dl
	mov	edx, DWORD PTR -872[rbp]
	mov	esi, eax
	lea	rdi, 0[0+rsi*8]
	lea	rsi, g_traces[rip]
	mov	DWORD PTR [rdi+rsi], ecx
	mov	eax, eax
	lea	rcx, 0[0+rax*8]
	lea	rax, g_traces[rip+4]
	mov	DWORD PTR [rcx+rax], edx
.L87:
	lea	rcx, -872[rbp]
	lea	rdx, -873[rbp]
	mov	rax, QWORD PTR -832[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L88
	mov	rax, QWORD PTR -832[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	lea	rax, -784[rbp]
	lea	rdx, 256[rax]
	lea	rax, -784[rbp]
	add	rax, 280
	mov	rcx, rdx
	lea	rdx, sim_fully_associative[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	lea	rax, -784[rbp]
	lea	rdx, 288[rax]
	lea	rax, -784[rbp]
	add	rax, 312
	mov	rcx, rdx
	lea	rdx, sim_fully_associative_pseudo[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	DWORD PTR -868[rbp], 1
	jmp	.L89
.L93:
	cmp	DWORD PTR -868[rbp], 2
	je	.L108
	cmp	DWORD PTR -868[rbp], 8
	je	.L108
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	eax, DWORD PTR -868[rbp]
	mov	DWORD PTR -808[rbp], eax
	mov	DWORD PTR -804[rbp], 1
	lea	rax, -816[rbp]
	mov	rdi, rax
	call	sim_set_associative
	mov	ecx, DWORD PTR -812[rbp]
	mov	edx, DWORD PTR -816[rbp]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L92
.L108:
	nop
.L92:
	sal	DWORD PTR -868[rbp]
.L89:
	cmp	DWORD PTR -868[rbp], 32
	jle	.L93
	mov	rax, QWORD PTR -824[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -864[rbp], 2
	jmp	.L94
.L95:
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	eax, DWORD PTR -864[rbp]
	mov	DWORD PTR -804[rbp], eax
	lea	rax, -816[rbp]
	mov	rdi, rax
	call	sim_set_associative
	mov	ecx, DWORD PTR -812[rbp]
	mov	edx, DWORD PTR -816[rbp]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	sal	DWORD PTR -864[rbp]
.L94:
	cmp	DWORD PTR -864[rbp], 16
	jle	.L95
	mov	rax, QWORD PTR -824[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -504[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -472[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	ecx, DWORD PTR -524[rbp]
	mov	edx, DWORD PTR -528[rbp]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	ecx, DWORD PTR -492[rbp]
	mov	edx, DWORD PTR -496[rbp]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -860[rbp], 2
	mov	DWORD PTR -856[rbp], 0
	jmp	.L96
.L97:
	mov	edx, DWORD PTR -860[rbp]
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	add	rax, 12
	sal	rax, 5
	add	rax, rbp
	sub	rax, 784
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 24[rax], 0
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	add	rax, 12
	sal	rax, 5
	add	rax, rbp
	sub	rax, 776
	mov	DWORD PTR [rax], 16
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	add	rax, 12
	sal	rax, 5
	add	rax, rbp
	sub	rax, 772
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 384
	mov	DWORD PTR [rax], 1
	lea	rdx, -784[rbp]
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	add	rax, 12
	sal	rax, 5
	add	rdx, rax
	lea	rcx, -784[rbp]
	mov	eax, DWORD PTR -856[rbp]
	cdqe
	sal	rax, 5
	add	rax, 400
	add	rax, rcx
	add	rax, 8
	mov	rcx, rdx
	lea	rdx, sim_set_associative[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	sal	DWORD PTR -860[rbp]
	add	DWORD PTR -856[rbp], 1
.L96:
	cmp	DWORD PTR -860[rbp], 16
	jle	.L97
	mov	DWORD PTR -852[rbp], 2
	mov	DWORD PTR -848[rbp], 0
	jmp	.L98
.L99:
	mov	edx, DWORD PTR -852[rbp]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	add	rax, 16
	sal	rax, 5
	add	rax, rbp
	sub	rax, 784
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 24[rax], 0
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	add	rax, 16
	sal	rax, 5
	add	rax, rbp
	sub	rax, 772
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 256
	mov	DWORD PTR [rax], 2
	lea	rdx, -784[rbp]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	add	rax, 16
	sal	rax, 5
	add	rdx, rax
	lea	rcx, -784[rbp]
	mov	eax, DWORD PTR -848[rbp]
	cdqe
	sal	rax, 5
	add	rax, 528
	add	rax, rcx
	add	rax, 8
	mov	rcx, rdx
	lea	rdx, sim_set_associative[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	sal	DWORD PTR -852[rbp]
	add	DWORD PTR -848[rbp], 1
.L98:
	cmp	DWORD PTR -852[rbp], 16
	jle	.L99
	mov	DWORD PTR -844[rbp], 0
	jmp	.L100
.L101:
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 376
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	add	rax, 12
	sal	rax, 5
	add	rax, rbp
	sub	rax, 780
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -844[rbp]
	cdqe
	add	rax, 12
	sal	rax, 5
	add	rax, rbp
	sub	rax, 784
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -844[rbp], 1
.L100:
	cmp	DWORD PTR -844[rbp], 3
	jle	.L101
	mov	rax, QWORD PTR -824[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -840[rbp], 0
	jmp	.L102
.L103:
	mov	eax, DWORD PTR -840[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 248
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR -840[rbp]
	cdqe
	add	rax, 16
	sal	rax, 5
	add	rax, rbp
	sub	rax, 780
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -840[rbp]
	cdqe
	add	rax, 16
	sal	rax, 5
	add	rax, rbp
	sub	rax, 784
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -840[rbp], 1
.L102:
	cmp	DWORD PTR -840[rbp], 3
	jle	.L103
	mov	rax, QWORD PTR -824[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -836[rbp], 2
	jmp	.L104
.L105:
	mov	QWORD PTR -816[rbp], 0
	mov	QWORD PTR -808[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	eax, DWORD PTR -836[rbp]
	mov	DWORD PTR -804[rbp], eax
	mov	DWORD PTR -800[rbp], 3
	lea	rax, -816[rbp]
	mov	rdi, rax
	call	sim_set_associative
	mov	ecx, DWORD PTR -812[rbp]
	mov	edx, DWORD PTR -816[rbp]
	mov	rax, QWORD PTR -824[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	sal	DWORD PTR -836[rbp]
.L104:
	cmp	DWORD PTR -836[rbp], 16
	jle	.L105
	mov	rax, QWORD PTR -824[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -824[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L107
	call	__stack_chk_fail@PLT
.L107:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.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	"463206.c"
	.text
	.comm	g_traces,120000000,4
	.global	g_traces_amt
	.bss
	.align	2
	.type	g_traces_amt, %object
	.size	g_traces_amt, 4
g_traces_amt:
	.space	4
	.global	block_id_offset
	.section	.rodata
	.align	3
	.type	block_id_offset, %object
	.size	block_id_offset, 8
block_id_offset:
	.word	5
	.word	0
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mylog2, %function
mylog2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-16]
	lsr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mylog2, .-mylog2
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bitmask, %function
bitmask:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	mylog2
	mov	r3, r0
	mov	r2, r3
	mvn	r3, #0
	lsl	r3, r3, r2
	mvn	r3, r3
	mov	r2, r3
	mov	r3, #0
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	bitmask, .-bitmask
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_set_associative_insert_tag, %function
sim_set_associative_insert_tag:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L8
.L12:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-12]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L9
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
.L9:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #256
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	add	r3, r3, #256
	mov	r2, #1
	strb	r2, [r3]
	b	.L7
.L10:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L12
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	add	r3, r3, #256
	mov	r2, #1
	strb	r2, [r3]
.L7:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	sim_set_associative_insert_tag, .-sim_set_associative_insert_tag
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_set_associative_do, %function
sim_set_associative_do:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L14
.L16:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r4-r5}
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	cmp	r1, r3
	cmpeq	r0, r2
	bne	.L15
	mov	r3, #1
	strb	r3, [fp, #-17]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r3, #16
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L14:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L16
	ldrb	r3, [fp, #-17]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L17
	ldrb	r3, [fp, #8]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #4]
	str	r3, [sp]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-24]
	bl	sim_set_associative_insert_tag
.L17:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	sim_set_associative_do, .-sim_set_associative_do
	.global	__aeabi_uidiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_set_associative, %function
sim_set_associative:
	@ args = 0, pretend = 0, frame = 278656
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #278528
	sub	sp, sp, #136
	sub	r3, fp, #278528
	sub	r3, r3, #28
	str	r0, [r3, #-76]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r0, r3, #8
	mov	r3, #278528
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-76]
	str	r3, [r2, #-60]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #12]
	lsl	r3, r3, #5
	mov	r1, r3
	mov	r0, #16384
	bl	__aeabi_uidiv
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #48
	mov	r1, r3
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldr	r3, [r3, #-8]
	mov	r0, r3
	bl	mylog2
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #48
	mov	r1, r3
	mov	r3, r2
	mov	r2, r3
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L20
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #8]
	lsl	r3, r3, #10
	lsr	r3, r3, #5
	mov	r0, r3
	bl	bitmask
	b	.L21
.L20:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldr	r3, [r3, #-8]
	mov	r0, r3
	bl	bitmask
.L21:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	stmdb	r3, {r0-r1}
	ldr	r3, .L32+4
	ldr	r2, [r3]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	str	r2, [r3, #4]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-64]
	b	.L22
.L29:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	strb	r3, [r2, #-65]
	ldr	r2, .L32+8
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-64]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	mov	r1, r3
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r2, #5
	mov	r3, #0
	mov	ip, r2
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmia	r3, {r2-r3}
	rsb	r0, ip, #32
	sub	r1, ip, #32
	lsr	r6, r2, ip
	orr	r6, r6, r3, lsl r0
	orr	r6, r6, r3, lsr r1
	lsr	r7, r3, ip
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	and	r0, r2, r6
	sub	ip, fp, #278528
	sub	ip, ip, #148
	str	r0, [ip]
	and	r3, r3, r7
	sub	r2, fp, #278528
	sub	r2, r2, #144
	str	r3, [r2]
	sub	r3, fp, #278528
	sub	r3, r3, #148
	ldmia	r3, {r3-r4}
	stmdb	r1, {r3-r4}
	mov	r2, #5
	mov	r3, #0
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldr	r3, [r3]
	add	ip, r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	lr, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmia	r3, {r2-r3}
	rsb	r0, ip, #32
	sub	r1, ip, #32
	lsr	r4, r2, ip
	sub	r5, fp, #278528
	sub	r5, r5, #116
	str	r4, [r5]
	sub	r4, fp, #278528
	sub	r4, r4, #116
	ldr	r4, [r4]
	orr	r0, r4, r3, lsl r0
	sub	r4, fp, #278528
	sub	r4, r4, #116
	str	r0, [r4]
	sub	r0, fp, #278528
	sub	r0, r0, #116
	ldr	r0, [r0]
	orr	r1, r0, r3, lsr r1
	sub	r0, fp, #278528
	sub	r0, r0, #116
	str	r1, [r0]
	lsr	r3, r3, ip
	sub	r2, fp, #278528
	sub	r2, r2, #112
	str	r3, [r2]
	sub	r3, fp, #278528
	sub	r3, r3, #116
	ldmia	r3, {r3-r4}
	stm	lr, {r3-r4}
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #12]
	cmp	r3, #1
	bne	.L23
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	ip, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #10
	orr	r0, r0, r3, lsl #22
	lsr	r1, r3, #10
	stm	ip, {r0-r1}
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldr	r2, [r3, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L24
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3]
	add	r2, r3, #1
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	str	r2, [r3]
	b	.L25
.L24:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldr	r2, [r3, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L25
.L23:
	sub	r1, fp, #278528
	sub	r1, r1, #28
	sub	r1, r1, #8
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldr	r2, [r3, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r1, r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #12]
	mov	r0, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #16]
	cmp	r3, #1
	bne	.L26
	ldr	r2, .L32+8
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-64]
	ldr	r3, [r2, r3, lsl #3]
	cmp	r3, #1
	bne	.L26
	mov	r3, #1
	b	.L27
.L26:
	mov	r3, #0
.L27:
	and	r3, r3, #1
	and	r2, r3, #255
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r4, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	str	r2, [sp, #4]
	str	r0, [sp]
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	sim_set_associative_do
	mov	r3, r0
	strb	r3, [r4, #-65]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldrb	r1, [r3, #-65]	@ zero_extendqisi2
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r2, [r3]
	mov	r3, r1
	add	r2, r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	str	r2, [r3]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #16]
	cmp	r3, #2
	beq	.L28
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #16]
	cmp	r3, #3
	bne	.L25
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldrb	r3, [r3, #-65]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L25
.L28:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmia	r3, {r2-r3}
	adds	r1, r2, #32
	sub	r0, fp, #278528
	sub	r0, r0, #132
	str	r1, [r0]
	adc	r3, r3, #0
	sub	r2, fp, #278528
	sub	r2, r2, #128
	str	r3, [r2]
	mov	r2, #5
	mov	r3, #0
	mov	r3, r2
	rsb	r1, r3, #32
	sub	r2, r3, #32
	sub	r0, fp, #278528
	sub	r0, r0, #132
	ldmia	r0, {r4-r5}
	mov	r0, r4
	lsr	r8, r0, r3
	mov	r0, r5
	orr	r8, r8, r0, lsl r1
	mov	ip, r5
	orr	r8, r8, ip, lsr r2
	mov	r2, r5
	lsr	r9, r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmdb	r3, {r2-r3}
	and	r0, r2, r8
	sub	ip, fp, #278528
	sub	ip, ip, #156
	str	r0, [ip]
	and	r3, r3, r9
	sub	r2, fp, #278528
	sub	r2, r2, #152
	str	r3, [r2]
	sub	r3, fp, #278528
	sub	r3, r3, #156
	ldmia	r3, {r3-r4}
	stmdb	r1, {r3-r4}
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #32
	ldmia	r3, {r2-r3}
	adds	r1, r2, #32
	sub	r0, fp, #278528
	sub	r0, r0, #140
	str	r1, [r0]
	adc	r3, r3, #0
	sub	r2, fp, #278528
	sub	r2, r2, #136
	str	r3, [r2]
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #48
	ldr	r3, [r3, #-8]
	mov	r0, r3
	bl	mylog2
	mov	r3, r0
	mov	r1, r3
	mov	r2, #5
	mov	r3, #0
	mov	r3, r2
	add	r2, r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r0, r3
	rsb	r1, r2, #32
	sub	r3, r2, #32
	sub	ip, fp, #278528
	sub	ip, ip, #140
	ldmia	ip, {r4-r5}
	mov	ip, r4
	lsr	ip, ip, r2
	sub	lr, fp, #278528
	sub	lr, lr, #124
	str	ip, [lr]
	sub	ip, fp, #278528
	sub	ip, ip, #124
	ldr	ip, [ip]
	mov	lr, r5
	orr	r1, ip, lr, lsl r1
	sub	ip, fp, #278528
	sub	ip, ip, #124
	str	r1, [ip]
	sub	r1, fp, #278528
	sub	r1, r1, #124
	ldr	r1, [r1]
	mov	ip, r5
	orr	r3, r1, ip, lsr r3
	sub	r1, fp, #278528
	sub	r1, r1, #124
	str	r3, [r1]
	mov	r3, r5
	lsr	r3, r3, r2
	sub	r2, fp, #278528
	sub	r2, r2, #120
	str	r3, [r2]
	sub	r3, fp, #278528
	sub	r3, r3, #124
	ldmia	r3, {r3-r4}
	stm	r0, {r3-r4}
	sub	r1, fp, #278528
	sub	r1, r1, #28
	sub	r1, r1, #8
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldr	r2, [r3, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r0, r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	ldr	r3, [r3, #12]
	mov	r1, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r2, r3
	mov	r3, #0
	str	r3, [sp, #4]
	str	r1, [sp]
	ldmia	r2, {r2-r3}
	bl	sim_set_associative_do
.L25:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r3, [r3, #-64]
	add	r3, r3, #1
	str	r3, [r2, #-64]
.L22:
	sub	r3, fp, #278528
	sub	r3, r3, #28
	ldr	r2, [r3, #-64]
	ldr	r3, .L32+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L29
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC0
	.word	g_traces_amt
	.word	g_traces
	.size	sim_set_associative, .-sim_set_associative
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_fully_associative, %function
sim_fully_associative:
	@ args = 0, pretend = 0, frame = 8304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #8256
	sub	sp, sp, #48
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r0, [r3, #-60]
	ldr	r3, .L70+8
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r0, r3, #8
	mov	r3, #8192
	mov	r2, r3
	mov	r1, #0
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-60]
	str	r3, [r2, #-28]
	ldr	r3, .L70+4
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-28]
	str	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	b	.L35
.L67:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	strb	r3, [r2, #-50]
	ldr	r2, .L70
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-48]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	r1, r3
	mov	r3, #0
	stmdb	r1, {r2-r3}
	mov	r2, #5
	mov	r3, #0
	mov	ip, r2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	mov	lr, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmdb	r3, {r2-r3}
	rsb	r0, ip, #32
	sub	r1, ip, #32
	lsr	r4, r2, ip
	orr	r4, r4, r3, lsl r0
	orr	r4, r4, r3, lsr r1
	lsr	r5, r3, ip
	stm	lr, {r4-r5}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L36
.L45:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r1, r2, #1
	sub	r0, fp, #8256
	sub	r0, r0, #36
	str	r1, [r0]
	adc	r3, r3, #0
	sub	r2, fp, #8256
	sub	r2, r2, #32
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #8256
	sub	r2, r2, #36
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L37
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L37
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L37:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r6, r2, #1
	adc	r7, r3, #0
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	stm	r3, {r6-r7}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L38
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L38
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L38:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r8, r2, #1
	adc	r9, r3, #0
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	stm	r3, {r8-r9}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L39
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L39
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L39:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #8256
	sub	ip, ip, #44
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #8256
	sub	r2, r2, #40
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	sub	r2, fp, #8256
	sub	r2, r2, #44
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L40
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L40
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L40:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #8256
	sub	ip, ip, #52
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #8256
	sub	r2, r2, #48
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	sub	r2, fp, #8256
	sub	r2, r2, #52
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L41
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L41
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L41:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #8256
	sub	ip, ip, #60
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #8256
	sub	r2, r2, #56
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	sub	r2, fp, #8256
	sub	r2, r2, #60
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L42
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L42
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L42:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #8320
	sub	ip, ip, #4
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #8320
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	sub	r2, fp, #8320
	sub	r2, r2, #4
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L43
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L43
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L43:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r1, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	adds	r0, r2, #1
	sub	ip, fp, #8320
	sub	ip, ip, #12
	str	r0, [ip]
	adc	r3, r3, #0
	sub	r2, fp, #8320
	sub	r2, r2, #8
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	lsl	r3, r1, #4
	add	r3, r2, r3
	sub	r2, fp, #8320
	sub	r2, r2, #12
	ldmia	r2, {r1-r2}
	stm	r3, {r1-r2}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L44
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L44
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-50]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L44:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	add	r3, r3, #8
	str	r3, [r2, #-44]
.L36:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-44]
	cmp	r3, #512
	blt	.L45
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-50]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L46
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-28]
	ldr	r3, [r3]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-28]
	str	r2, [r3]
	b	.L47
.L46:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	strb	r3, [r2, #-49]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L48
.L66:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L49
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	str	r3, [r2, #-40]
.L49:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L50
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L50:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L52
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L52:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L53
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L53:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L54
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L54:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L55
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #2
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L71:
	.align	2
.L70:
	.word	g_traces
	.word	g_traces_amt
	.word	.LC1
.L55:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L56
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L56:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L57
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L57:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L58
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L58:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L59
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #4
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L59:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L60
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L60:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L61
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #5
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L61:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L62
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L62:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L63
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #6
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L63:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-36]
	mov	r2, r3
	mov	r3, #0
	cmp	r1, r3
	cmpeq	r0, r2
	bls	.L64
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #8192
	sub	r1, r1, #28
	mov	r3, r2
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	str	r2, [r3, #-40]
.L64:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L65
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r3, r1, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r2, r3, #7
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r1, r3
	lsl	r3, r2, #4
	add	r1, r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	mov	r3, #1
	strb	r3, [r2, #-49]
	b	.L51
.L65:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	add	r3, r3, #8
	str	r3, [r2, #-32]
.L48:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-32]
	cmp	r3, #512
	blt	.L66
.L51:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldrb	r3, [r3, #-49]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L47
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #28
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L47:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r3, [r3, #-48]
	add	r3, r3, #1
	str	r3, [r2, #-48]
.L35:
	sub	r3, fp, #8192
	sub	r3, r3, #28
	ldr	r2, [r3, #-48]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L67
	mov	r3, #0
	ldr	r2, .L70+8
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L69
	bl	__stack_chk_fail
.L69:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
	.size	sim_fully_associative, .-sim_fully_associative
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sim_fully_associative_pseudo, %function
sim_fully_associative_pseudo:
	@ args = 0, pretend = 0, frame = 8248
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8192
	sub	sp, sp, #56
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-52]
	ldr	r3, .L87
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #8192
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	str	r3, [r2, #-28]
	ldr	r3, .L87+4
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	str	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	b	.L73
.L84:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-41]
	ldr	r2, .L87+8
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r3, #0
	stmdb	r1, {r2-r3}
	mov	r2, #5
	mov	r3, #0
	mov	r1, r2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	lr, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmdb	r3, {r2-r3}
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r4, r2, r1
	orr	r4, r4, r3, lsl ip
	orr	r4, r4, r3, lsr r0
	lsr	r5, r3, r1
	stm	lr, {r4-r5}
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L87+12
	str	r3, [r2, #-36]
	b	.L74
.L78:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L75
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	ldr	r3, [r3]
	add	r1, r3, #1
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-28]
	str	r1, [r2]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-28]
	ldr	r2, [r2]
	sub	r3, r3, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	strb	r3, [r2, #-41]
.L76:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	and	r3, r3, #1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	sub	r3, r3, #1
	lsr	r1, r3, #31
	add	r3, r1, r3
	asr	r3, r3, #1
	mov	r1, r3
	and	r2, r2, #255
	mov	r3, #0
	sub	r0, fp, #8192
	sub	r0, r0, #12
	lsl	r1, r1, #3
	add	r1, r0, r1
	sub	r1, r1, #8
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	sub	r3, r3, #1
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [r1, #-36]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	bne	.L76
	b	.L77
.L75:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	add	r3, r3, #1
	str	r3, [r2, #-36]
.L74:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	ldr	r2, .L87+16
	cmp	r3, r2
	ble	.L78
.L77:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-41]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L79
	b	.L80
.L83:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r1, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orr	r3, r2, r3
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	and	r2, r3, #255
	mov	r3, #0
	sub	r0, fp, #8192
	sub	r0, r0, #12
	mov	ip, r0
	sub	r0, fp, #8192
	sub	r0, r0, #12
	ldr	r0, [r0, #-32]
	lsl	r0, r0, #3
	add	r0, ip, r0
	sub	r0, r0, #8
	stm	r0, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	bne	.L81
	mov	r3, #1
	b	.L82
.L81:
	mov	r3, #2
.L82:
	sub	r2, fp, #8192
	sub	r2, r2, #12
	add	r3, r3, r1
	str	r3, [r2, #-32]
.L80:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	ldr	r2, .L87+20
	cmp	r3, r2
	ble	.L83
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r1, r3, #8
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L79:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, #1
	str	r3, [r2, #-40]
.L73:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r3, #-40]
	ldr	r3, .L87+4
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L84
	mov	r3, #0
	ldr	r2, .L87
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L86
	bl	__stack_chk_fail
.L86:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC2
	.word	g_traces_amt
	.word	g_traces
	.word	511
	.word	1022
	.word	510
	.size	sim_fully_associative_pseudo, .-sim_fully_associative_pseudo
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Usage: predictors input.txt output.txt\012\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"w\000"
	.align	2
.LC6:
	.ascii	"Failed to open files.\012\000"
	.align	2
.LC7:
	.ascii	"%c %x\012\000"
	.align	2
.LC8:
	.ascii	"%d,%d; \000"
	.align	2
.LC9:
	.ascii	"%d,%d;\012\000"
	.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 = 664
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #664
	str	r0, [fp, #-664]
	str	r1, [fp, #-668]
	ldr	r3, .L115
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-664]
	cmp	r3, #3
	beq	.L90
	ldr	r3, .L115+4
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L115+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L90:
	ldr	r3, [fp, #-668]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L115+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-616]
	ldr	r3, [fp, #-616]
	cmp	r3, #0
	beq	.L91
	ldr	r3, [fp, #-668]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L115+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-612]
	ldr	r3, [fp, #-612]
	cmp	r3, #0
	bne	.L93
.L91:
	ldr	r3, .L115+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L115+20
	bl	fwrite
	mov	r0, #1
	bl	exit
.L94:
	ldr	r3, .L115+24
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L115+24
	str	r2, [r1]
	ldrb	r2, [fp, #-657]	@ zero_extendqisi2
	cmp	r2, #76
	movne	r2, #1
	moveq	r2, #0
	and	r2, r2, #255
	mov	r0, r2
	ldr	r2, [fp, #-656]
	ldr	r1, .L115+28
	str	r0, [r1, r3, lsl #3]
	ldr	r1, .L115+28
	lsl	r3, r3, #3
	add	r3, r1, r3
	str	r2, [r3, #4]
.L93:
	sub	r3, fp, #656
	sub	r2, fp, #656
	sub	r2, r2, #1
	ldr	r1, .L115+32
	ldr	r0, [fp, #-616]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L94
	ldr	r0, [fp, #-616]
	bl	fclose
	sub	r3, fp, #392
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	sub	r3, fp, #584
	add	r2, r3, #192
	sub	r3, fp, #584
	add	r0, r3, #212
	mov	r3, r2
	ldr	r2, .L115+36
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #368
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	sub	r3, fp, #584
	add	r2, r3, #216
	sub	r3, fp, #584
	add	r0, r3, #236
	mov	r3, r2
	ldr	r2, .L115+40
	mov	r1, #0
	bl	pthread_create
	mov	r3, #1
	str	r3, [fp, #-652]
	b	.L95
.L99:
	ldr	r3, [fp, #-652]
	cmp	r3, #2
	beq	.L114
	ldr	r3, [fp, #-652]
	cmp	r3, #8
	beq	.L114
	sub	r3, fp, #608
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-652]
	str	r3, [fp, #-600]
	mov	r3, #1
	str	r3, [fp, #-596]
	sub	r3, fp, #608
	mov	r0, r3
	bl	sim_set_associative
	ldr	r2, [fp, #-608]
	ldr	r3, [fp, #-604]
	ldr	r1, .L115+44
	ldr	r0, [fp, #-612]
	bl	fprintf
	b	.L98
.L114:
	nop
.L98:
	ldr	r3, [fp, #-652]
	lsl	r3, r3, #1
	str	r3, [fp, #-652]
.L95:
	ldr	r3, [fp, #-652]
	cmp	r3, #32
	ble	.L99
	ldr	r1, [fp, #-612]
	mov	r0, #10
	bl	fputc
	mov	r3, #2
	str	r3, [fp, #-648]
	b	.L100
.L101:
	sub	r3, fp, #608
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-648]
	str	r3, [fp, #-596]
	sub	r3, fp, #608
	mov	r0, r3
	bl	sim_set_associative
	ldr	r2, [fp, #-608]
	ldr	r3, [fp, #-604]
	ldr	r1, .L115+44
	ldr	r0, [fp, #-612]
	bl	fprintf
	ldr	r3, [fp, #-648]
	lsl	r3, r3, #1
	str	r3, [fp, #-648]
.L100:
	ldr	r3, [fp, #-648]
	cmp	r3, #16
	ble	.L101
	ldr	r1, [fp, #-612]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-372]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-348]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r2, [fp, #-392]
	ldr	r3, [fp, #-388]
	ldr	r1, .L115+48
	ldr	r0, [fp, #-612]
	bl	fprintf
	ldr	r2, [fp, #-368]
	ldr	r3, [fp, #-364]
	ldr	r1, .L115+48
	ldr	r0, [fp, #-612]
	bl	fprintf
	mov	r3, #2
	str	r3, [fp, #-644]
	mov	r3, #0
	str	r3, [fp, #-640]
	b	.L102
.L103:
	ldr	r1, [fp, #-644]
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #292
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	str	r3, [r2, #16]
	str	r3, [r2, #20]
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #284
	mov	r2, #16
	str	r2, [r3]
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #280
	str	r1, [r3]
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #276
	mov	r2, #1
	str	r2, [r3]
	sub	r1, fp, #584
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #304
	add	r3, r1, r3
	add	r0, r3, #4
	sub	r1, fp, #584
	ldr	r2, [fp, #-640]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #288
	add	r3, r1, r3
	ldr	r2, .L115+52
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-644]
	lsl	r3, r3, #1
	str	r3, [fp, #-644]
	ldr	r3, [fp, #-640]
	add	r3, r3, #1
	str	r3, [fp, #-640]
.L102:
	ldr	r3, [fp, #-644]
	cmp	r3, #16
	ble	.L103
	mov	r3, #2
	str	r3, [fp, #-636]
	mov	r3, #0
	str	r3, [fp, #-632]
	b	.L104
.L105:
	ldr	r1, [fp, #-636]
	ldr	r2, [fp, #-632]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #196
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	str	r3, [r2, #16]
	str	r3, [r2, #20]
	ldr	r2, [fp, #-632]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #184
	str	r1, [r3]
	ldr	r2, [fp, #-632]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #180
	mov	r2, #2
	str	r2, [r3]
	sub	r1, fp, #584
	ldr	r2, [fp, #-632]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #400
	add	r3, r1, r3
	add	r0, r3, #4
	sub	r1, fp, #584
	ldr	r2, [fp, #-632]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #384
	add	r3, r1, r3
	ldr	r2, .L115+52
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-636]
	lsl	r3, r3, #1
	str	r3, [fp, #-636]
	ldr	r3, [fp, #-632]
	add	r3, r3, #1
	str	r3, [fp, #-632]
.L104:
	ldr	r3, [fp, #-636]
	cmp	r3, #16
	ble	.L105
	mov	r3, #0
	str	r3, [fp, #-628]
	b	.L106
.L107:
	ldr	r2, [fp, #-628]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #272
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r2, [fp, #-628]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #292
	ldr	r1, [r3]
	ldr	r2, [fp, #-628]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #288
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L115+44
	ldr	r0, [fp, #-612]
	bl	fprintf
	ldr	r3, [fp, #-628]
	add	r3, r3, #1
	str	r3, [fp, #-628]
.L106:
	ldr	r3, [fp, #-628]
	cmp	r3, #3
	ble	.L107
	ldr	r1, [fp, #-612]
	mov	r0, #10
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-624]
	b	.L108
.L109:
	ldr	r2, [fp, #-624]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #176
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r2, [fp, #-624]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #196
	ldr	r1, [r3]
	ldr	r2, [fp, #-624]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #192
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L115+44
	ldr	r0, [fp, #-612]
	bl	fprintf
	ldr	r3, [fp, #-624]
	add	r3, r3, #1
	str	r3, [fp, #-624]
.L108:
	ldr	r3, [fp, #-624]
	cmp	r3, #3
	ble	.L109
	ldr	r1, [fp, #-612]
	mov	r0, #10
	bl	fputc
	mov	r3, #2
	str	r3, [fp, #-620]
	b	.L110
.L111:
	sub	r3, fp, #608
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-620]
	str	r3, [fp, #-596]
	mov	r3, #3
	str	r3, [fp, #-592]
	sub	r3, fp, #608
	mov	r0, r3
	bl	sim_set_associative
	ldr	r2, [fp, #-608]
	ldr	r3, [fp, #-604]
	ldr	r1, .L115+44
	ldr	r0, [fp, #-612]
	bl	fprintf
	ldr	r3, [fp, #-620]
	lsl	r3, r3, #1
	str	r3, [fp, #-620]
.L110:
	ldr	r3, [fp, #-620]
	cmp	r3, #16
	ble	.L111
	ldr	r1, [fp, #-612]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-612]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L115
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L113
	bl	__stack_chk_fail
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC10
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	g_traces_amt
	.word	g_traces
	.word	.LC7
	.word	sim_fully_associative
	.word	sim_fully_associative_pseudo
	.word	.LC8
	.word	.LC9
	.word	sim_set_associative
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
