	.file	"extr_aio.c_io_destroy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"aio_release(%p)\n"
	.text
	.p2align 4
	.type	io_destroy, @function
io_destroy:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR current[rip]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	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	r12, QWORD PTR [rax]
	mov	rdi, r12
	call	spin_lock@PLT
	mov	ebx, DWORD PTR 0[rbp]
	mov	DWORD PTR 0[rbp], 1
	lea	rdi, 8[rbp]
	call	hlist_del_rcu@PLT
	mov	rdi, r12
	call	spin_unlock@PLT
	lea	rdi, .LC0[rip]
	mov	rsi, rbp
	call	dprintk@PLT
	xor	edi, edi
	test	ebx, ebx
	sete	dil
	call	likely@PLT
	test	rax, rax
	jne	.L8
.L2:
	mov	rdi, rbp
	call	aio_cancel_all@PLT
	mov	rdi, rbp
	call	wait_for_all_aios@PLT
	lea	rdi, 4[rbp]
	call	wake_up@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	put_ioctx@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, rbp
	call	put_ioctx@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	io_destroy, .-io_destroy
	.comm	current,8,8
	.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_aio.c_io_destroy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"aio_release(%p)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	io_destroy, %function
io_destroy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r5, [r3]
	mov	r0, r5
	bl	spin_lock
	mov	r3, #1
	mov	r0, r4
	ldr	r6, [r4]
	str	r3, [r0], #8
	bl	hlist_del_rcu
	mov	r0, r5
	bl	spin_unlock
	mov	r1, r4
	ldr	r0, .L9+4
	bl	dprintk
	clz	r0, r6
	lsr	r0, r0, #5
	bl	likely
	cmp	r0, #0
	bne	.L8
.L2:
	mov	r0, r4
	bl	aio_cancel_all
	mov	r0, r4
	bl	wait_for_all_aios
	add	r0, r4, #4
	bl	wake_up
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	put_ioctx
.L8:
	mov	r0, r4
	bl	put_ioctx
	b	.L2
.L10:
	.align	2
.L9:
	.word	current
	.word	.LC0
	.size	io_destroy, .-io_destroy
	.comm	current,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
