	.file	"extr_mmap-cache.c_mmap_cache_free_fd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mmap_cache_free_fd
	.type	mmap_cache_free_fd, @function
mmap_cache_free_fd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	assert@PLT
	mov	rdi, rbp
	call	assert@PLT
	mov	rdi, r12
	call	mmap_cache_process_sigbus@PLT
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	je	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	call	window_free@PLT
	mov	rdi, QWORD PTR 16[rbp]
	test	rdi, rdi
	jne	.L3
.L2:
	cmp	QWORD PTR 8[rbp], 0
	je	.L4
	mov	edi, DWORD PTR 0[rbp]
	call	FD_TO_PTR@PLT
	mov	esi, eax
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax]
	call	hashmap_remove@PLT
	mov	edi, eax
	call	assert_se@PLT
.L4:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	free@PLT
	.cfi_endproc
.LFE0:
	.size	mmap_cache_free_fd, .-mmap_cache_free_fd
	.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_mmap-cache.c_mmap_cache_free_fd.c"
	.text
	.align	2
	.global	mmap_cache_free_fd
	.syntax unified
	.arm
	.fpu softvfp
	.type	mmap_cache_free_fd, %function
mmap_cache_free_fd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	assert
	mov	r0, r4
	bl	assert
	mov	r0, r5
	bl	mmap_cache_process_sigbus
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L2
.L3:
	bl	window_free
	ldr	r0, [r4, #8]
	cmp	r0, #0
	bne	.L3
.L2:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r0, [r4]
	ldr	r5, [r3]
	bl	FD_TO_PTR
	mov	r1, r0
	mov	r0, r5
	bl	hashmap_remove
	bl	assert_se
.L4:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	free
	.size	mmap_cache_free_fd, .-mmap_cache_free_fd
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
