	.file	"extr_isif.c_isif_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	isif_remove, @function
isif_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	mov	edi, DWORD PTR isif_cfg[rip+8]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	iounmap@PLT
	mov	edi, DWORD PTR isif_cfg[rip+4]
	call	iounmap@PLT
	mov	edi, DWORD PTR isif_cfg[rip]
	call	iounmap@PLT
.L3:
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	mov	edx, ebp
	mov	rdi, r12
	call	platform_get_resource@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L2
	mov	rdi, rax
	call	resource_size@PLT
	mov	edi, DWORD PTR [rbx]
	mov	esi, eax
	call	release_mem_region@PLT
.L2:
	add	ebp, 1
	cmp	ebp, 3
	jne	.L3
	lea	rdi, isif_hw_dev[rip]
	call	vpfe_unregister_ccdc_device@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	isif_remove, .-isif_remove
	.comm	isif_hw_dev,4,4
	.comm	isif_cfg,12,8
	.comm	IORESOURCE_MEM,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_isif.c_isif_remove.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	isif_remove, %function
isif_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, .L10
	mov	r5, r0
	ldr	r0, [r4, #8]
	bl	iounmap
	ldr	r0, [r4, #4]
	bl	iounmap
	ldr	r0, [r4]
	bl	iounmap
	mov	r4, #0
	ldr	r6, .L10+4
.L3:
	mov	r2, r4
	mov	r0, r5
	ldr	r1, [r6]
	bl	platform_get_resource
	subs	r3, r0, #0
	add	r4, r4, #1
	beq	.L2
	ldr	r7, [r3]
	bl	resource_size
	mov	r1, r0
	mov	r0, r7
	bl	release_mem_region
.L2:
	cmp	r4, #3
	bne	.L3
	ldr	r0, .L10+8
	bl	vpfe_unregister_ccdc_device
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	isif_cfg
	.word	IORESOURCE_MEM
	.word	isif_hw_dev
	.size	isif_remove, .-isif_remove
	.comm	isif_hw_dev,4,4
	.comm	isif_cfg,12,4
	.comm	IORESOURCE_MEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
