	.file	"extr_portabled-image.c_manager_image_cache_initialize.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	manager_image_cache_initialize, @function
manager_image_cache_initialize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	assert@PLT
	lea	rdi, 8[rbx]
	lea	rsi, image_hash_ops[rip]
	call	hashmap_ensure_allocated@PLT
	test	eax, eax
	js	.L1
	mov	edi, DWORD PTR [rbx]
	test	edi, edi
	jne	.L3
	mov	edi, DWORD PTR 4[rbx]
	mov	edx, DWORD PTR image_cache_flush[rip]
	mov	rcx, rbx
	mov	rsi, rbx
	call	sd_event_add_defer@PLT
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR SD_EVENT_PRIORITY_IDLE[rip]
	mov	edi, DWORD PTR [rbx]
	call	sd_event_source_set_priority@PLT
	test	eax, eax
	js	.L1
	mov	edi, DWORD PTR [rbx]
.L3:
	mov	esi, DWORD PTR SD_EVENT_ONESHOT[rip]
	call	sd_event_source_set_enabled@PLT
	mov	edx, 0
	test	eax, eax
	cmovg	eax, edx
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	manager_image_cache_initialize, .-manager_image_cache_initialize
	.comm	image_hash_ops,4,4
	.comm	image_cache_flush,4,4
	.comm	SD_EVENT_PRIORITY_IDLE,4,4
	.comm	SD_EVENT_ONESHOT,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_portabled-image.c_manager_image_cache_initialize.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	manager_image_cache_initialize, %function
manager_image_cache_initialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	assert
	ldr	r1, .L6
	add	r0, r4, #8
	bl	hashmap_ensure_allocated
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r0, [r4]
	cmp	r0, #0
	bne	.L3
	ldr	r2, .L6+4
	mov	r3, r4
	mov	r1, r4
	ldr	r2, [r2]
	ldr	r0, [r4, #4]
	bl	sd_event_add_defer
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L6+8
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	sd_event_source_set_priority
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r0, [r4]
.L3:
	ldr	r3, .L6+12
	ldr	r1, [r3]
	bl	sd_event_source_set_enabled
	and	r0, r0, r0, asr #31
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	image_hash_ops
	.word	image_cache_flush
	.word	SD_EVENT_PRIORITY_IDLE
	.word	SD_EVENT_ONESHOT
	.size	manager_image_cache_initialize, .-manager_image_cache_initialize
	.comm	image_hash_ops,4,4
	.comm	image_cache_flush,4,4
	.comm	SD_EVENT_PRIORITY_IDLE,4,4
	.comm	SD_EVENT_ONESHOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
