	.file	"extr_ib_srpt.c_srpt_get_send_ioctx.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	srpt_get_send_ioctx, @function
srpt_get_send_ioctx:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	sete	dil
	xor	r12d, r12d
	movzx	edi, dil
	call	BUG_ON@PLT
	mov	rdi, QWORD PTR 8[rbx]
	lea	rsi, 4[rsp]
	call	sbitmap_queue_get@PLT
	test	eax, eax
	js	.L1
	movsx	rdx, eax
	mov	ebp, eax
	mov	rax, QWORD PTR [rbx]
	xor	edi, edi
	mov	r12, QWORD PTR [rax+rdx*8]
	cmp	QWORD PTR 48[r12], rbx
	setne	dil
	call	BUG_ON@PLT
	mov	eax, DWORD PTR SRPT_STATE_NEW[rip]
	mov	edi, DWORD PTR 40[r12]
	mov	DWORD PTR 44[r12], eax
	call	WARN_ON_ONCE@PLT
	mov	DWORD PTR [r12], 0
	lea	rdi, 4[r12]
	xor	esi, esi
	mov	QWORD PTR 32[r12], 0
	mov	edx, 8
	mov	QWORD PTR 24[r12], 0
	call	memset@PLT
	lea	rdi, 12[r12]
	mov	edx, 8
	xor	esi, esi
	call	memset@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[r12], ebp
	mov	DWORD PTR 8[r12], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	srpt_get_send_ioctx, .-srpt_get_send_ioctx
	.comm	SRPT_STATE_NEW,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_ib_srpt.c_srpt_get_send_ioctx.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	srpt_get_send_ioctx, %function
srpt_get_send_ioctx:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	clz	r0, r0
	ldr	r3, .L8
	sub	sp, sp, #8
	lsr	r0, r0, #5
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	BUG_ON
	mov	r1, sp
	ldr	r0, [r5, #4]
	bl	sbitmap_queue_get
	subs	r6, r0, #0
	movlt	r4, #0
	blt	.L1
	ldr	r3, [r5]
	ldr	r4, [r3, r6, lsl #2]
	ldr	r0, [r4, #36]
	subs	r0, r0, r5
	movne	r0, #1
	bl	BUG_ON
	ldr	r3, .L8+4
	ldr	r0, [r4, #28]
	ldr	r3, [r3]
	str	r3, [r4, #32]
	bl	WARN_ON_ONCE
	mov	r1, #0
	mov	r0, r4
	str	r1, [r4, #24]
	str	r1, [r4, #20]
	mov	r2, #8
	str	r1, [r0], #12
	bl	memset
	ldr	r3, [sp]
	str	r6, [r4, #4]
	str	r3, [r4, #8]
.L1:
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	SRPT_STATE_NEW
	.size	srpt_get_send_ioctx, .-srpt_get_send_ioctx
	.comm	SRPT_STATE_NEW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
