	.file	"extr_sys_socket.c_soo_aio_cancel.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	soo_aio_cancel, @function
soo_aio_cancel:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rax, QWORD PTR 16[rdi]
	mov	rbp, rdi
	mov	r12, QWORD PTR [rax]
	mov	eax, DWORD PTR 8[rdi]
	cmp	DWORD PTR LIO_READ[rip], eax
	jne	.L2
	add	r12, 8
.L3:
	mov	rdi, r12
	lea	r13, 4[r12]
	call	SOCKBUF_LOCK@PLT
	mov	rdi, rbp
	call	aio_cancel_cleared@PLT
	test	eax, eax
	je	.L12
.L4:
	mov	rdi, r13
	call	TAILQ_EMPTY@PLT
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR SB_AIO[rip]
	not	eax
	and	DWORD PTR [r12], eax
.L5:
	mov	rdi, r12
	call	SOCKBUF_UNLOCK@PLT
	mov	rsi, QWORD PTR 0[rbp]
	test	rsi, rsi
	je	.L6
	mov	rdi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	aio_complete@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	aio_cancel@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
	cmp	DWORD PTR LIO_WRITE[rip], eax
	sete	dil
	call	MPASS@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, DWORD PTR list[rip]
	mov	rsi, rbp
	mov	rdi, r13
	call	TAILQ_REMOVE@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	soo_aio_cancel, .-soo_aio_cancel
	.comm	list,4,4
	.comm	SB_AIO,4,4
	.comm	LIO_WRITE,4,4
	.comm	LIO_READ,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_sys_socket.c_soo_aio_cancel.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	soo_aio_cancel, %function
soo_aio_cancel:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	ldr	r3, [r0, #4]
	ldr	r1, [r2]
	ldr	r2, [r0, #8]
	push	{r4, r5, r6, lr}
	ldr	r5, [r2]
	cmp	r1, r3
	mov	r4, r0
	addeq	r5, r5, #8
	beq	.L3
	ldr	r2, .L13+4
	ldr	r0, [r2]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	MPASS
.L3:
	mov	r0, r5
	bl	SOCKBUF_LOCK
	mov	r0, r4
	bl	aio_cancel_cleared
	cmp	r0, #0
	add	r6, r5, #4
	beq	.L12
.L4:
	mov	r0, r6
	bl	TAILQ_EMPTY
	cmp	r0, #0
	ldrne	r2, .L13+8
	ldrne	r3, [r5]
	ldrne	r2, [r2]
	mov	r0, r5
	bicne	r3, r3, r2
	strne	r3, [r5]
	bl	SOCKBUF_UNLOCK
	ldr	r1, [r4]
	mov	r0, r4
	cmp	r1, #0
	beq	.L6
	pop	{r4, r5, r6, lr}
	mov	r2, #0
	b	aio_complete
.L6:
	pop	{r4, r5, r6, lr}
	b	aio_cancel
.L12:
	ldr	r3, .L13+12
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [r3]
	bl	TAILQ_REMOVE
	b	.L4
.L14:
	.align	2
.L13:
	.word	LIO_READ
	.word	LIO_WRITE
	.word	SB_AIO
	.word	list
	.size	soo_aio_cancel, .-soo_aio_cancel
	.comm	list,4,4
	.comm	SB_AIO,4,4
	.comm	LIO_WRITE,4,4
	.comm	LIO_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
