	.file	"extr_msm_vfe8x_proc.c_vfe_cmd_release.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vfe_cmd_release
	.type	vfe_cmd_release, @function
vfe_cmd_release:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR ctrl[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	edi, DWORD PTR 20[rax]
	call	disable_irq@PLT
	mov	rax, QWORD PTR ctrl[rip]
	xor	esi, esi
	mov	edi, DWORD PTR 20[rax]
	call	free_irq@PLT
	mov	rax, QWORD PTR ctrl[rip]
	mov	edi, DWORD PTR 16[rax]
	call	iounmap@PLT
	mov	esi, DWORD PTR IORESOURCE_MEM[rip]
	xor	edx, edx
	mov	rdi, rbp
	call	platform_get_resource@PLT
	mov	rdi, QWORD PTR [rax]
	mov	rsi, QWORD PTR 8[rax]
	sub	rsi, rdi
	add	rsi, 1
	call	release_mem_region@PLT
	mov	rax, QWORD PTR ctrl[rip]
	mov	QWORD PTR 8[rax], 0
	mov	rdi, QWORD PTR [rax]
	call	kfree@PLT
	mov	rdi, QWORD PTR ctrl[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.cfi_endproc
.LFE0:
	.size	vfe_cmd_release, .-vfe_cmd_release
	.comm	ctrl,8,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_msm_vfe8x_proc.c_vfe_cmd_release.c"
	.text
	.align	2
	.global	vfe_cmd_release
	.syntax unified
	.arm
	.fpu softvfp
	.type	vfe_cmd_release, %function
vfe_cmd_release:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r4, .L4
	ldr	r3, [r4]
	ldr	r0, [r3, #12]
	bl	disable_irq
	ldr	r3, [r4]
	mov	r1, #0
	ldr	r0, [r3, #12]
	bl	free_irq
	ldr	r3, [r4]
	ldr	r0, [r3, #8]
	bl	iounmap
	ldr	r3, .L4+4
	mov	r2, #0
	ldr	r1, [r3]
	mov	r0, r5
	bl	platform_get_resource
	ldm	r0, {r0, r1}
	sub	r1, r1, r0
	add	r1, r1, #1
	bl	release_mem_region
	mov	r2, #0
	ldr	r3, [r4]
	ldr	r0, [r3]
	str	r2, [r3, #4]
	bl	kfree
	ldr	r0, [r4]
	pop	{r4, r5, r6, lr}
	b	kfree
.L5:
	.align	2
.L4:
	.word	ctrl
	.word	IORESOURCE_MEM
	.size	vfe_cmd_release, .-vfe_cmd_release
	.comm	ctrl,4,4
	.comm	IORESOURCE_MEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
