	.file	"extr_idmap.c_cache_insert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cache_insert, @function
cache_insert:
.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
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	lea	r13, 4[rbp]
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r14d, DWORD PTR NO_ERROR[rip]
	call	AcquireSRWLockExclusive@PLT
	mov	esi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, r13
	call	list_search@PLT
	test	rax, rax
	je	.L2
	mov	rdi, rax
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, r12
	call	[QWORD PTR [rax]]
.L3:
	mov	rdi, rbp
	call	ReleaseSRWLockExclusive@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rbp]
	xor	eax, eax
	call	[QWORD PTR 8[rdx]]
	mov	r15, rax
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	rdi, r15
	call	[QWORD PTR [rax]]
	mov	rsi, r15
	mov	rdi, r13
	call	list_add_head@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	call	GetLastError@PLT
	mov	r14d, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	cache_insert, .-cache_insert
	.comm	NO_ERROR,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_idmap.c_cache_insert.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cache_insert, %function
cache_insert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	ldr	r3, .L8
	add	r7, r0, #4
	ldr	r8, [r3]
	mov	r4, r0
	mov	r6, r2
	bl	AcquireSRWLockExclusive
	mov	r0, r7
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	bl	list_search
	cmp	r0, #0
	ldr	r3, [r4, #8]
	beq	.L2
	mov	r1, r6
	ldr	r3, [r3]
	blx	r3
.L3:
	mov	r0, r4
	bl	ReleaseSRWLockExclusive
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, [r3, #4]
	blx	r3
	subs	r5, r0, #0
	beq	.L7
	ldr	r3, [r4, #8]
	mov	r1, r6
	ldr	r3, [r3]
	blx	r3
	mov	r1, r5
	mov	r0, r7
	bl	list_add_head
	b	.L3
.L7:
	bl	GetLastError
	mov	r8, r0
	b	.L3
.L9:
	.align	2
.L8:
	.word	NO_ERROR
	.size	cache_insert, .-cache_insert
	.comm	NO_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
