	.file	"extr_exca.c_exca_io_unmap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"exca_io_unmap: window out of range"
	.text
	.p2align 4
	.type	exca_io_unmap, @function
exca_io_unmap:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR EXCA_IO_WINS[rip], esi
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	jle	.L5
.L2:
	mov	rax, QWORD PTR io_map_index[rip]
	movsx	r12, ebp
	mov	esi, DWORD PTR EXCA_ADDRWIN_ENABLE[rip]
	mov	rdi, rbx
	mov	edx, DWORD PTR [rax+r12*4]
	call	exca_clrb@PLT
	mov	ecx, ebp
	mov	eax, -2
	rol	eax, cl
	and	DWORD PTR [rbx], eax
	lea	rax, [r12+r12*2]
	sal	rax, 4
	add	rax, QWORD PTR 8[rbx]
	mov	QWORD PTR 40[rax], 0
	mov	QWORD PTR 32[rax], 0
	mov	QWORD PTR 24[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], 0
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	exca_io_unmap, .-exca_io_unmap
	.comm	io_map_index,8,8
	.comm	EXCA_IO_WINS,4,4
	.comm	EXCA_ADDRWIN_ENABLE,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_exca.c_exca_io_unmap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"exca_io_unmap: window out of range\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	exca_io_unmap, %function
exca_io_unmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r4, r1
	cmp	r3, r1
	mov	r5, r0
	ble	.L5
.L2:
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	ldr	r3, [r3]
	ldr	r1, [r2]
	mov	r0, r5
	ldr	r2, [r3, r4, lsl #2]
	bl	exca_clrb
	mov	r2, #1
	mov	r3, #0
	ldr	r1, [r5]
	ldr	r0, [r5, #4]
	bic	r1, r1, r2, lsl r4
	add	r4, r4, r4, lsl r2
	add	r2, r0, r4, lsl #3
	lsl	r4, r4, #3
	str	r1, [r5]
	str	r3, [r2, #20]
	str	r3, [r2, #16]
	str	r3, [r2, #12]
	str	r3, [r2, #8]
	str	r3, [r2, #4]
	str	r3, [r0, r4]
	pop	{r4, r5, r6, pc}
.L5:
	ldr	r0, .L6+12
	bl	panic
	b	.L2
.L7:
	.align	2
.L6:
	.word	EXCA_IO_WINS
	.word	io_map_index
	.word	EXCA_ADDRWIN_ENABLE
	.word	.LC0
	.size	exca_io_unmap, .-exca_io_unmap
	.comm	io_map_index,4,4
	.comm	EXCA_IO_WINS,4,4
	.comm	EXCA_ADDRWIN_ENABLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
