	.file	"extr_test_lru_dist.c_do_test_lru_dist.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bpf_map_update_elem(lru_map_fd, %llu): errno:%d\n"
	.align 8
.LC1:
	.string	"    task:%d BPF LRU: nr_unique:%u(/%u) nr_misses:%u(/%u)\n"
	.align 8
.LC2:
	.string	"    task:%d Perfect LRU: nr_unique:%u(/%u) nr_misses:%u(/%u)\n"
	.text
	.p2align 4
	.type	do_test_lru_dist, @function
do_test_lru_dist:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	edx, DWORD PTR dist_key_counts[rip]
	mov	ebp, DWORD PTR [rsi]
	mov	DWORD PTR 12[rsp], edi
	mov	esi, DWORD PTR 4[rsi]
	lea	r13, 44[rsp]
	imul	edi, edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 32[rsp], 1234
	movsx	rax, edi
	mov	rdi, r13
	mov	QWORD PTR [rsp], rax
	call	pfect_lru_init@PLT
	mov	ecx, DWORD PTR dist_key_counts[rip]
	test	ecx, ecx
	je	.L7
	xor	r14d, r14d
	lea	r12, 32[rsp]
	lea	rbx, 24[rsp]
	xor	r15d, r15d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	add	r15d, 1
.L3:
	mov	ecx, DWORD PTR dist_key_counts[rip]
	add	r14d, 1
	cmp	ecx, r14d
	jbe	.L2
.L5:
	mov	rdx, QWORD PTR dist_keys[rip]
	mov	eax, r14d
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r13
	add	rsi, QWORD PTR [rdx+rax*8]
	mov	QWORD PTR 24[rsp], rsi
	call	pfect_lru_lookup_or_insert@PLT
	mov	rdx, r12
	mov	rsi, rbx
	mov	edi, ebp
	call	bpf_map_lookup_elem@PLT
	test	eax, eax
	je	.L3
	mov	ecx, DWORD PTR BPF_NOEXIST[rip]
	mov	rdx, r12
	mov	rsi, rbx
	mov	edi, ebp
	call	bpf_map_update_elem@PLT
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR errno[rip]
	mov	esi, DWORD PTR 24[rsp]
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printf@PLT
	xor	edi, edi
	call	assert@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L7:
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L2:
	mov	ebx, DWORD PTR 12[rsp]
	mov	edx, DWORD PTR 44[rsp]
	mov	r9d, ecx
	mov	r8d, r15d
	lea	rdi, .LC1[rip]
	xor	eax, eax
	mov	esi, ebx
	call	printf@PLT
	mov	ecx, DWORD PTR 48[rsp]
	mov	r8d, DWORD PTR 52[rsp]
	mov	esi, ebx
	mov	edx, DWORD PTR 44[rsp]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	mov	r9d, ecx
	call	printf@PLT
	mov	rdi, r13
	call	pfect_lru_destroy@PLT
	mov	edi, ebp
	call	close@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_test_lru_dist, .-do_test_lru_dist
	.comm	errno,4,4
	.comm	dist_keys,8,8
	.comm	dist_key_counts,4,4
	.comm	BPF_NOEXIST,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_test_lru_dist.c_do_test_lru_dist.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bpf_map_update_elem(lru_map_fd, %llu): errno:%d\012"
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"    task:%d BPF LRU: nr_unique:%u(/%u) nr_misses:%u"
	.ascii	"(/%u)\012\000"
	.align	2
.LC2:
	.ascii	"    task:%d Perfect LRU: nr_unique:%u(/%u) nr_misse"
	.ascii	"s:%u(/%u)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_test_lru_dist, %function
do_test_lru_dist:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	mov	r3, r1
	mov	r8, #0
	ldr	r6, .L18
	ldr	r0, .L18+4
	ldr	r2, [r6]
	sub	sp, sp, #44
	ldr	r0, [r0]
	str	r0, [sp, #36]
	mov	r0,#0
	mul	r0, r9, r2
	ldr	r7, .L18+8
	mov	r10, r0
	ldr	r1, [r1, #4]
	asr	fp, r0, #31
	add	r0, sp, #24
	ldr	r5, [r3]
	str	r7, [sp, #16]
	str	r8, [sp, #20]
	bl	pfect_lru_init
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L7
	mov	r4, #0
	ldr	r8, .L18+12
	mov	r7, r4
	b	.L5
.L4:
	add	r7, r7, #1
.L3:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L2
.L5:
	ldr	r3, [r8]
	add	r0, sp, #24
	add	r3, r3, r4, lsl #3
	ldm	r3, {r2, r3}
	adds	r2, r10, r2
	adc	r3, fp, r3
	str	r3, [sp, #12]
	str	r2, [sp, #8]
	bl	pfect_lru_lookup_or_insert
	mov	r0, r5
	add	r2, sp, #16
	add	r1, sp, #8
	bl	bpf_map_lookup_elem
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L18+16
	mov	r0, r5
	ldr	r3, [r3]
	add	r2, sp, #16
	add	r1, sp, #8
	bl	bpf_map_update_elem
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L18+20
	ldr	r1, [sp, #8]
	ldr	r2, [r3]
	ldr	r0, .L18+24
	bl	printf
	mov	r0, #0
	bl	assert
	b	.L4
.L7:
	mov	r7, r3
.L2:
	mov	r1, r9
	ldr	r2, [sp, #24]
	str	r3, [sp, #4]
	ldr	r0, .L18+28
	str	r7, [sp]
	bl	printf
	ldr	r3, [sp, #28]
	ldr	r2, [sp, #32]
	mov	r1, r9
	stm	sp, {r2, r3}
	ldr	r0, .L18+32
	ldr	r2, [sp, #24]
	bl	printf
	add	r0, sp, #24
	bl	pfect_lru_destroy
	mov	r0, r5
	bl	close
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	dist_key_counts
	.word	.LC3
	.word	1234
	.word	dist_keys
	.word	BPF_NOEXIST
	.word	errno
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	do_test_lru_dist, .-do_test_lru_dist
	.comm	errno,4,4
	.comm	dist_keys,4,4
	.comm	dist_key_counts,4,4
	.comm	BPF_NOEXIST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
