	.file	"extr_ddt.c_ddt_class_contains.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ddt_class_contains
	.type	ddt_class_contains, @function
ddt_class_contains:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	rdi, rdx
	call	BP_GET_DEDUP@PLT
	test	eax, eax
	je	.L15
	cmp	DWORD PTR DDT_CLASS_UNIQUE[rip], ebp
	je	.L14
	mov	rdi, r14
	mov	rbx, QWORD PTR [rbx]
	call	BP_GET_CHECKSUM@PLT
	mov	esi, DWORD PTR KM_SLEEP[rip]
	mov	edi, DWORD PTR ddt_entry_cache[rip]
	mov	r13, QWORD PTR [rbx+rax*8]
	call	kmem_cache_alloc@PLT
	mov	rsi, r14
	xor	r14d, r14d
	mov	rdi, rax
	mov	r12, rax
	call	ddt_key_fill@PLT
	mov	eax, DWORD PTR DDT_TYPES[rip]
	test	eax, eax
	je	.L8
.L5:
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, r12
	mov	edx, ebx
	mov	esi, r14d
	mov	rdi, r13
	call	ddt_object_lookup@PLT
	test	rax, rax
	je	.L17
	add	ebx, 1
	cmp	ebp, ebx
	jnb	.L7
	add	r14d, 1
	cmp	DWORD PTR DDT_TYPES[rip], r14d
	ja	.L5
.L8:
	mov	edi, DWORD PTR ddt_entry_cache[rip]
	mov	rsi, r12
	call	kmem_cache_free@PLT
.L15:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR B_FALSE[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR ddt_entry_cache[rip]
	mov	rsi, r12
	call	kmem_cache_free@PLT
.L14:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR B_TRUE[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ddt_class_contains, .-ddt_class_contains
	.comm	ddt_entry_cache,4,4
	.comm	KM_SLEEP,4,4
	.comm	DDT_TYPES,4,4
	.comm	DDT_CLASS_UNIQUE,4,4
	.comm	B_TRUE,4,4
	.comm	B_FALSE,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_ddt.c_ddt_class_contains.c"
	.text
	.align	2
	.global	ddt_class_contains
	.syntax unified
	.arm
	.fpu softvfp
	.type	ddt_class_contains, %function
ddt_class_contains:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	mov	r0, r2
	mov	r4, r2
	mov	r5, r1
	bl	BP_GET_DEDUP
	cmp	r0, #0
	beq	.L13
	ldr	r3, .L17
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L14
	mov	r0, r4
	ldr	r6, [r6]
	bl	BP_GET_CHECKSUM
	mov	r3, r0
	ldr	r2, .L17+4
	ldr	r9, .L17+8
	ldr	r1, [r2]
	ldr	r0, [r9]
	ldr	r8, [r6, r3, lsl #2]
	bl	kmem_cache_alloc
	ldr	r10, .L17+12
	mov	r1, r4
	mov	r6, r0
	bl	ddt_key_fill
	ldr	r3, [r10]
	cmp	r3, #0
	movne	r7, #0
	beq	.L8
.L5:
	mov	r4, #0
.L7:
	mov	r2, r4
	mov	r3, r6
	mov	r1, r7
	mov	r0, r8
	bl	ddt_object_lookup
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L16
	cmp	r5, r4
	bcs	.L7
	ldr	r3, [r10]
	add	r7, r7, #1
	cmp	r3, r7
	bhi	.L5
.L8:
	mov	r1, r6
	ldr	r0, [r9]
	bl	kmem_cache_free
.L13:
	ldr	r3, .L17+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	mov	r1, r6
	ldr	r0, [r9]
	bl	kmem_cache_free
.L14:
	ldr	r3, .L17+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	.align	2
.L17:
	.word	DDT_CLASS_UNIQUE
	.word	KM_SLEEP
	.word	ddt_entry_cache
	.word	DDT_TYPES
	.word	B_FALSE
	.word	B_TRUE
	.size	ddt_class_contains, .-ddt_class_contains
	.comm	ddt_entry_cache,4,4
	.comm	KM_SLEEP,4,4
	.comm	DDT_TYPES,4,4
	.comm	DDT_CLASS_UNIQUE,4,4
	.comm	B_TRUE,4,4
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
