	.file	"extr_kcf_sched.c_crypto_cancel_req.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	crypto_cancel_req
	.type	crypto_cancel_req, @function
crypto_cancel_req:
.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
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdx, QWORD PTR REQID_TABLE_MASK[rip]
	mov	rax, QWORD PTR kcf_reqid_table[rip]
	and	rdx, rdi
	mov	r12, QWORD PTR [rax+rdx*8]
	call	REQID_HASH@PLT
	mov	rdi, r12
	movsx	rbp, eax
	call	mutex_enter@PLT
	mov	rax, QWORD PTR 8[r12]
	mov	rbp, QWORD PTR [rax+rbp*8]
	test	rbp, rbp
	jne	.L10
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rbp, QWORD PTR 32[rbp]
	test	rbp, rbp
	je	.L9
.L10:
	mov	rdi, rbp
	call	GET_REQID@PLT
	cmp	rax, rbx
	jne	.L3
	mov	r13, QWORD PTR 24[rbp]
	xor	edi, edi
	test	r13, r13
	setne	dil
	call	ASSERT@PLT
	cmp	DWORD PTR 0[r13], 128
	je	.L20
.L4:
	mov	rdi, rbp
	call	KCF_AREQ_REFHOLD@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rsi, r12
	mov	rdi, rbp
	call	cv_wait@PLT
.L7:
	mov	rdi, rbp
	call	GET_REQID@PLT
	cmp	rax, rbx
	je	.L8
	mov	rdi, rbp
	call	KCF_AREQ_REFRELE@PLT
.L9:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mutex_exit@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, QWORD PTR gswq[rip]
	lea	r13, 4[rbp]
	call	mutex_enter@PLT
	mov	rdi, r13
	call	mutex_enter@PLT
	mov	eax, DWORD PTR REQ_WAITING[rip]
	cmp	DWORD PTR 16[rbp], eax
	jle	.L21
	mov	rdi, r13
	call	mutex_exit@PLT
	mov	rdi, QWORD PTR gswq[rip]
	call	mutex_exit@PLT
	jmp	.L4
.L21:
	mov	rdi, rbp
	call	kcf_remove_node@PLT
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L6
	mov	rsi, rbp
	call	kcf_removereq_in_ctxchain@PLT
.L6:
	mov	rdi, r13
	call	mutex_exit@PLT
	mov	rdi, QWORD PTR gswq[rip]
	call	mutex_exit@PLT
	mov	rdi, r12
	call	mutex_exit@PLT
	mov	rdi, rbp
	call	kcf_reqid_delete@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	KCF_AREQ_REFRELE@PLT
	.cfi_endproc
.LFE0:
	.size	crypto_cancel_req, .-crypto_cancel_req
	.comm	kcf_reqid_table,8,8
	.comm	gswq,8,8
	.comm	REQ_WAITING,4,4
	.comm	REQID_TABLE_MASK,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_kcf_sched.c_crypto_cancel_req.c"
	.text
	.align	2
	.global	crypto_cancel_req
	.syntax unified
	.arm
	.fpu softvfp
	.type	crypto_cancel_req, %function
crypto_cancel_req:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L22
	ldr	r2, .L22+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	push	{r4, r5, r6, r7, r8, lr}
	and	r3, r3, r0
	ldr	r6, [r2, r3, lsl #2]
	mov	r5, r0
	bl	REQID_HASH
	mov	r4, r0
	mov	r0, r6
	bl	mutex_enter
	ldr	r3, [r6, #4]
	ldr	r4, [r3, r4, lsl #2]
	cmp	r4, #0
	bne	.L10
	b	.L9
.L3:
	ldr	r4, [r4, #20]
	cmp	r4, #0
	beq	.L9
.L10:
	mov	r0, r4
	bl	GET_REQID
	cmp	r0, r5
	bne	.L3
	ldr	r7, [r4, #16]
	subs	r0, r7, #0
	movne	r0, #1
	bl	ASSERT
	ldr	r3, [r7]
	cmp	r3, #128
	beq	.L20
.L4:
	mov	r0, r4
	bl	KCF_AREQ_REFHOLD
	b	.L7
.L8:
	mov	r1, r6
	mov	r0, r4
	bl	cv_wait
.L7:
	mov	r0, r4
	bl	GET_REQID
	cmp	r0, r5
	beq	.L8
	mov	r0, r4
	bl	KCF_AREQ_REFRELE
.L9:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	mutex_exit
.L20:
	ldr	r7, .L22+8
	add	r8, r4, #4
	ldr	r0, [r7]
	bl	mutex_enter
	mov	r0, r8
	bl	mutex_enter
	ldr	r3, .L22+12
	ldr	r2, [r4, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L21
	mov	r0, r8
	bl	mutex_exit
	ldr	r0, [r7]
	bl	mutex_exit
	b	.L4
.L21:
	mov	r0, r4
	bl	kcf_remove_node
	ldr	r0, [r4, #8]
	cmp	r0, #0
	beq	.L6
	mov	r1, r4
	bl	kcf_removereq_in_ctxchain
.L6:
	mov	r0, r8
	bl	mutex_exit
	ldr	r0, [r7]
	bl	mutex_exit
	mov	r0, r6
	bl	mutex_exit
	mov	r0, r4
	bl	kcf_reqid_delete
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	KCF_AREQ_REFRELE
.L23:
	.align	2
.L22:
	.word	REQID_TABLE_MASK
	.word	kcf_reqid_table
	.word	gswq
	.word	REQ_WAITING
	.size	crypto_cancel_req, .-crypto_cancel_req
	.comm	kcf_reqid_table,4,4
	.comm	gswq,4,4
	.comm	REQ_WAITING,4,4
	.comm	REQID_TABLE_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
