	.file	"extr_eset.c_eset_insert_locked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	eset_insert_locked
	.type	eset_insert_locked, @function
eset_insert_locked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	add	rsi, 28
	call	malloc_mutex_assert_owner@PLT
	mov	rdi, r12
	call	extent_state_get@PLT
	xor	edi, edi
	cmp	QWORD PTR [rbx], rax
	sete	dil
	call	assert@PLT
	mov	rdi, r12
	call	extent_size_get@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	sz_psz_quantize_floor@PLT
	mov	rdi, rax
	call	sz_psz2ind@PLT
	mov	rdi, QWORD PTR 16[rbx]
	lea	r13, 0[0+rax*4]
	mov	r14, rax
	add	rdi, r13
	call	extent_heap_empty@PLT
	test	rax, rax
	jne	.L9
.L2:
	mov	rdi, QWORD PTR 16[rbx]
	mov	rsi, r12
	add	rdi, r13
	call	extent_heap_insert@PLT
	cmp	QWORD PTR config_stats[rip], 0
	jne	.L10
.L3:
	lea	rdi, 12[rbx]
	mov	rsi, r12
	call	extent_list_append@PLT
	mov	rcx, QWORD PTR LG_PAGE[rip]
	mov	esi, DWORD PTR ATOMIC_RELAXED[rip]
	shr	rbp, cl
	mov	r12, rbp
	lea	rbp, 8[rbx]
	mov	rdi, rbp
	call	atomic_load_zu@PLT
	mov	edx, DWORD PTR ATOMIC_RELAXED[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	lea	rsi, [r12+rax]
	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
	jmp	atomic_store_zu@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbx]
	mov	rdx, r14
	lea	rsi, eset_bitmap_info[rip]
	call	bitmap_unset@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdx, rbp
	mov	rsi, r14
	mov	rdi, rbx
	call	eset_stats_add@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	eset_insert_locked, .-eset_insert_locked
	.comm	eset_bitmap_info,4,4
	.comm	config_stats,8,8
	.comm	LG_PAGE,8,8
	.comm	ATOMIC_RELAXED,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_eset.c_eset_insert_locked.c"
	.text
	.align	2
	.global	eset_insert_locked
	.syntax unified
	.arm
	.fpu softvfp
	.type	eset_insert_locked, %function
eset_insert_locked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r4, r1
	add	r1, r1, #20
	bl	malloc_mutex_assert_owner
	mov	r0, r5
	bl	extent_state_get
	ldr	r3, [r4]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r5
	bl	extent_size_get
	mov	r6, r0
	bl	sz_psz_quantize_floor
	bl	sz_psz2ind
	mov	r7, r0
	ldr	r0, [r4, #12]
	lsl	r8, r7, #2
	add	r0, r0, r7, lsl #2
	bl	extent_heap_empty
	cmp	r0, #0
	bne	.L12
.L2:
	ldr	r0, [r4, #12]
	mov	r1, r5
	add	r0, r0, r8
	bl	extent_heap_insert
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
.L3:
	mov	r1, r5
	add	r0, r4, #8
	bl	extent_list_append
	ldr	r3, .L14+4
	ldr	r5, .L14+8
	add	r4, r4, #4
	ldr	r3, [r3]
	ldr	r1, [r5]
	mov	r0, r4
	lsr	r6, r6, r3
	bl	atomic_load_zu
	ldr	r2, [r5]
	add	r1, r6, r0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	atomic_store_zu
.L12:
	mov	r2, r7
	ldr	r1, .L14+12
	ldr	r0, [r4, #16]
	bl	bitmap_unset
	b	.L2
.L13:
	mov	r1, r7
	mov	r2, r6
	mov	r0, r4
	bl	eset_stats_add
	b	.L3
.L15:
	.align	2
.L14:
	.word	config_stats
	.word	LG_PAGE
	.word	ATOMIC_RELAXED
	.word	eset_bitmap_info
	.size	eset_insert_locked, .-eset_insert_locked
	.comm	eset_bitmap_info,4,4
	.comm	config_stats,4,4
	.comm	LG_PAGE,4,4
	.comm	ATOMIC_RELAXED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
