	.file	"extr_smscufx.c_ufx_ops_release.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"released /dev/fb%d user=%d count=%d"
	.text
	.p2align 4
	.type	ufx_ops_release, @function
ufx_ops_release:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, QWORD PTR 24[rdi]
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR 16[rbx], 0
	lea	rcx, -1[rax]
	mov	QWORD PTR [rbx], rcx
	je	.L2
	test	rcx, rcx
	je	.L12
.L3:
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, r12d
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	esi, DWORD PTR ufx_free[rip]
	lea	rdi, 8[rbx]
	call	kref_put@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR HZ[rip]
	lea	rdi, 12[rbx]
	call	schedule_delayed_work@PLT
	mov	rcx, QWORD PTR [rbx]
.L2:
	test	rcx, rcx
	jne	.L3
	cmp	QWORD PTR 16[rbp], 0
	je	.L3
	mov	rdi, rbp
	call	fb_deferred_io_cleanup@PLT
	mov	rdi, QWORD PTR 16[rbp]
	call	kfree@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR ufx_ops_mmap[rip]
	mov	QWORD PTR 16[rbp], 0
	mov	rcx, QWORD PTR [rbx]
	mov	DWORD PTR [rax], edx
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ufx_ops_release, .-ufx_ops_release
	.comm	ufx_ops_mmap,4,4
	.comm	ufx_free,4,4
	.comm	HZ,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_smscufx.c_ufx_ops_release.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"released /dev/fb%d user=%d count=%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ufx_ops_release, %function
ufx_ops_release:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0, #12]
	mov	r5, r0
	ldr	r4, [r6]
	ldr	r2, [r6, #12]
	sub	r4, r4, #1
	clz	r3, r4
	cmp	r2, #0
	lsr	r3, r3, #5
	moveq	r3, #0
	cmp	r3, #0
	mov	r7, r1
	str	r4, [r6]
	bne	.L12
.L2:
	cmp	r4, #0
	bne	.L3
	ldr	r3, [r5, #8]
	cmp	r3, #0
	beq	.L3
	mov	r0, r5
	bl	fb_deferred_io_cleanup
	ldr	r0, [r5, #8]
	bl	kfree
	ldr	r2, .L13
	ldr	r3, [r5, #4]
	ldr	r2, [r2]
	str	r4, [r5, #8]
	ldr	r4, [r6]
	str	r2, [r3]
.L3:
	mov	r3, r4
	mov	r2, r7
	ldr	r1, [r5]
	ldr	r0, .L13+4
	bl	pr_debug
	ldr	r3, .L13+8
	add	r0, r6, #4
	ldr	r1, [r3]
	bl	kref_put
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L13+12
	add	r0, r6, #8
	ldr	r1, [r3]
	bl	schedule_delayed_work
	ldr	r4, [r6]
	b	.L2
.L14:
	.align	2
.L13:
	.word	ufx_ops_mmap
	.word	.LC0
	.word	ufx_free
	.word	HZ
	.size	ufx_ops_release, .-ufx_ops_release
	.comm	ufx_ops_mmap,4,4
	.comm	ufx_free,4,4
	.comm	HZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
