	.file	"extr_ib_sa_query.c_send_handler.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	send_handler, @function
send_handler:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 8[rsi]
	mov	rax, QWORD PTR [rax]
	mov	rbp, QWORD PTR [rax]
	mov	rcx, QWORD PTR 16[rbp]
	test	rcx, rcx
	je	.L2
	mov	eax, DWORD PTR [rsi]
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L15
	mov	esi, DWORD PTR EIO[rip]
	xor	edx, edx
	mov	rdi, rbp
	neg	esi
	call	rcx
.L2:
	xor	r12d, r12d
	lea	rdi, idr_lock[rip]
	mov	rsi, r12
	call	spin_lock_irqsave@PLT
	mov	esi, DWORD PTR 12[rbp]
	lea	rdi, query_idr[rip]
	call	idr_remove@PLT
	mov	rsi, r12
	lea	rdi, idr_lock[rip]
	call	spin_unlock_irqrestore@PLT
	mov	rdi, rbp
	call	free_mad@PLT
	mov	edi, DWORD PTR 8[rbp]
	call	ib_sa_client_put@PLT
	mov	rax, QWORD PTR 0[rbp]
	add	rsp, 8
	.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	rax
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR EINTR[rip]
	xor	edx, edx
	mov	rdi, rbp
	neg	esi
	call	rcx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, DWORD PTR ETIMEDOUT[rip]
	xor	edx, edx
	mov	rdi, rbp
	neg	esi
	call	rcx
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	send_handler, .-send_handler
	.comm	query_idr,4,4
	.comm	idr_lock,4,4
	.comm	ETIMEDOUT,4,4
	.comm	EIO,4,4
	.comm	EINTR,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_sa_query.c_send_handler.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_handler, %function
send_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1, #4]
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	ldr	r4, [r3]
	ldr	r5, [r4, #12]
	cmp	r5, #0
	beq	.L2
	ldr	r3, [r1]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #130
	beq	.L3
	cmp	r3, #128
	ldrne	r3, .L17
	beq	.L16
.L14:
	ldr	r1, [r3]
	mov	r2, #0
	mov	r0, r4
	rsb	r1, r1, #0
	blx	r5
.L2:
	mov	r5, #0
	ldr	r0, .L17+4
	mov	r1, r5
	bl	spin_lock_irqsave
	ldr	r1, [r4, #8]
	ldr	r0, .L17+8
	bl	idr_remove
	mov	r1, r5
	ldr	r0, .L17+4
	bl	spin_unlock_irqrestore
	mov	r0, r4
	bl	free_mad
	ldr	r0, [r4, #4]
	bl	ib_sa_client_put
	mov	r0, r4
	ldr	r3, [r4]
	pop	{r4, r5, r6, lr}
	bx	r3
.L16:
	ldr	r3, .L17+12
	b	.L14
.L3:
	ldr	r3, .L17+16
	b	.L14
.L18:
	.align	2
.L17:
	.word	EIO
	.word	idr_lock
	.word	query_idr
	.word	EINTR
	.word	ETIMEDOUT
	.size	send_handler, .-send_handler
	.comm	query_idr,4,4
	.comm	idr_lock,4,4
	.comm	ETIMEDOUT,4,4
	.comm	EIO,4,4
	.comm	EINTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
