	.file	"extr_datacache.c_DataCache_CreateEntry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"creating unsupported format %d\n"
	.text
	.p2align 4
	.type	DataCache_CreateEntry, @function
DataCache_CreateEntry:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, 1
	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, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 4[rsp], edx
	mov	QWORD PTR 8[rsp], r8
	test	rcx, rcx
	jne	.L2
	mov	r15d, DWORD PTR [rdi]
.L2:
	mov	rdi, rbp
	call	check_valid_formatetc@PLT
	mov	rdi, rax
	mov	r13, rax
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	cmp	QWORD PTR CACHE_S_FORMATETC_NOTSUPPORTED[rip], r13
	je	.L17
.L4:
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	edx, 4
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	r14, rax
	test	rax, rax
	je	.L15
	mov	edx, DWORD PTR 4[rsp]
	mov	ecx, r15d
	mov	rsi, rbp
	mov	rdi, rax
	call	init_cache_entry@PLT
	test	eax, eax
	je	.L18
	lea	rdi, 4[r12]
	mov	rsi, r14
	test	rbx, rbx
	jne	.L19
	call	list_add_tail@PLT
	add	DWORD PTR [r12], 1
.L8:
	mov	rax, QWORD PTR 8[rsp]
	test	rax, rax
	je	.L1
	mov	QWORD PTR [rax], r14
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	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
.L18:
	.cfi_restore_state
	call	GetProcessHeap@PLT
	mov	rdx, r14
	xor	esi, esi
	mov	edi, eax
	call	HeapFree@PLT
.L15:
	mov	r13, QWORD PTR E_OUTOFMEMORY[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	call	list_add_head@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	esi, DWORD PTR 0[rbp]
	lea	rdi, .LC0[rip]
	call	TRACE@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	DataCache_CreateEntry, .-DataCache_CreateEntry
	.comm	E_OUTOFMEMORY,8,8
	.comm	CACHE_S_FORMATETC_NOTSUPPORTED,8,8
	.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_datacache.c_DataCache_CreateEntry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"creating unsupported format %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	DataCache_CreateEntry, %function
DataCache_CreateEntry:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r6, r3, #0
	ldreq	r9, [r0]
	mov	r7, r0
	mov	r0, r1
	movne	r9, #1
	mov	r5, r1
	mov	r8, r2
	bl	check_valid_formatetc
	mov	r4, r0
	bl	FAILED
	cmp	r0, #0
	bne	.L1
	ldr	r3, .L19
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L16
.L4:
	bl	GetProcessHeap
	mov	r2, #4
	mov	r1, #0
	bl	HeapAlloc
	subs	r10, r0, #0
	beq	.L14
	mov	r1, r5
	mov	r3, r9
	mov	r2, r8
	bl	init_cache_entry
	subs	r5, r0, #0
	beq	.L17
	cmp	r6, #0
	mov	r1, r10
	add	r0, r7, #4
	bne	.L18
	bl	list_add_tail
	ldr	r3, [r7]
	add	r3, r3, #1
	str	r3, [r7]
.L8:
	ldr	r3, [sp, #32]
	cmp	r3, #0
	strne	r10, [r3]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	bl	GetProcessHeap
	mov	r2, r10
	mov	r1, r5
	bl	HeapFree
.L14:
	ldr	r3, .L19+4
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L18:
	bl	list_add_head
	b	.L8
.L16:
	ldr	r1, [r5]
	ldr	r0, .L19+8
	bl	TRACE
	b	.L4
.L20:
	.align	2
.L19:
	.word	CACHE_S_FORMATETC_NOTSUPPORTED
	.word	E_OUTOFMEMORY
	.word	.LC0
	.size	DataCache_CreateEntry, .-DataCache_CreateEntry
	.comm	E_OUTOFMEMORY,4,4
	.comm	CACHE_S_FORMATETC_NOTSUPPORTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
