	.file	"extr_ipoib_main.c_ipoib_unicast_send.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipoib_unicast_send, @function
ipoib_unicast_send:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rdi, r12
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [rdx]
	mov	rbx, rdx
	lea	rsi, 4[rax]
	call	__path_find@PLT
	test	rax, rax
	je	.L2
	mov	r14d, DWORD PTR 24[rax]
	mov	rbp, rax
	test	r14d, r14d
	jne	.L34
.L3:
	mov	rdi, rbp
	call	_IF_QLEN@PLT
	cmp	rax, QWORD PTR IPOIB_MAX_PATH_REC_QUEUE[rip]
	jl	.L35
	mov	edi, DWORD PTR [r12]
	mov	esi, DWORD PTR IFCOUNTER_OERRORS[rip]
	mov	edx, 1
	call	if_inc_counter@PLT
	mov	rdi, r13
	call	m_freem@PLT
.L7:
	cmp	QWORD PTR 8[rbp], 0
	jne	.L8
	mov	rsi, rbp
	mov	rdi, r12
	call	path_rec_start@PLT
	test	rax, rax
	jne	.L36
.L8:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	__path_add@PLT
	.p2align 4,,10
	.p2align 3
.L35:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, rbp
	call	_IF_ENQUEUE@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rdi, rax
	call	ipoib_cm_get@PLT
	test	rax, rax
	jne	.L37
.L10:
	cmp	QWORD PTR 16[rbp], 0
	jne	.L38
	cmp	QWORD PTR 8[rbp], 0
	je	.L12
.L15:
	mov	rax, QWORD PTR IPOIB_MAX_PATH_REC_QUEUE[rip]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L39
.L14:
	mov	edi, DWORD PTR [r12]
	mov	esi, DWORD PTR IFCOUNTER_OERRORS[rip]
	mov	edx, 1
	call	if_inc_counter@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	m_freem@PLT
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	rdi, rbp
	call	ipoib_cm_up@PLT
	test	rax, rax
	je	.L10
	mov	rdi, rbp
	call	ipoib_cm_get@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	mov	rdx, rax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ipoib_cm_send@PLT
	.p2align 4,,10
	.p2align 3
.L38:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	call	IPOIB_QPN@PLT
	mov	rdx, QWORD PTR 16[rbp]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	rdi, r12
	mov	ecx, eax
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ipoib_send@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r12
	call	path_rec_create@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L14
	mov	r14d, 1
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L36:
	mov	esi, DWORD PTR flags[rip]
	lea	rdi, 4[r12]
	call	spin_unlock_irqrestore@PLT
	test	r14d, r14d
	jne	.L40
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	call	path_rec_start@PLT
	test	rax, rax
	je	.L15
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L40:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	ipoib_path_free@PLT
	.p2align 4,,10
	.p2align 3
.L39:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	_IF_ENQUEUE@PLT
	.cfi_endproc
.LFE0:
	.size	ipoib_unicast_send, .-ipoib_unicast_send
	.comm	flags,4,4
	.comm	IPOIB_MAX_PATH_REC_QUEUE,8,8
	.comm	IFCOUNTER_OERRORS,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_ipoib_main.c_ipoib_unicast_send.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipoib_unicast_send, %function
ipoib_unicast_send:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	ldr	r1, [r2]
	mov	r7, r0
	add	r1, r1, #4
	mov	r0, r6
	mov	r5, r2
	bl	__path_find
	subs	r4, r0, #0
	beq	.L2
	ldr	r8, [r4, #12]
	cmp	r8, #0
	bne	.L34
.L3:
	mov	r0, r4
	bl	_IF_QLEN
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r0, r3
	blt	.L35
	ldr	r3, .L40+4
	mov	r2, #1
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	if_inc_counter
	mov	r0, r7
	bl	m_freem
.L7:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L8
	mov	r1, r4
	mov	r0, r6
	bl	path_rec_start
	cmp	r0, #0
	bne	.L36
.L8:
	mov	r1, r4
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	__path_add
.L35:
	mov	r1, r7
	mov	r0, r4
	bl	_IF_ENQUEUE
	b	.L7
.L34:
	bl	ipoib_cm_get
	cmp	r0, #0
	bne	.L37
.L10:
	ldr	r8, [r4, #8]
	cmp	r8, #0
	bne	.L38
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L12
.L15:
	ldr	r3, .L40
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L39
.L14:
	ldr	r3, .L40+4
	ldr	r0, [r6]
	mov	r2, #1
	ldr	r1, [r3]
	bl	if_inc_counter
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	m_freem
.L37:
	mov	r0, r4
	bl	ipoib_cm_up
	cmp	r0, #0
	beq	.L10
	mov	r0, r4
	bl	ipoib_cm_get
	mov	r1, r7
	mov	r2, r0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	ipoib_cm_send
.L38:
	ldr	r0, [r5]
	bl	IPOIB_QPN
	mov	r2, r8
	mov	r3, r0
	mov	r1, r7
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	ipoib_send
.L2:
	mov	r0, r6
	ldr	r1, [r5]
	bl	path_rec_create
	subs	r4, r0, #0
	beq	.L14
	mov	r8, #1
	b	.L3
.L36:
	ldr	r3, .L40+8
	add	r0, r6, #4
	ldr	r1, [r3]
	bl	spin_unlock_irqrestore
	cmp	r8, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r1, r4
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	ipoib_path_free
.L12:
	mov	r1, r4
	mov	r0, r6
	bl	path_rec_start
	cmp	r0, #0
	beq	.L15
	b	.L14
.L39:
	mov	r1, r7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	_IF_ENQUEUE
.L41:
	.align	2
.L40:
	.word	IPOIB_MAX_PATH_REC_QUEUE
	.word	IFCOUNTER_OERRORS
	.word	flags
	.size	ipoib_unicast_send, .-ipoib_unicast_send
	.comm	flags,4,4
	.comm	IPOIB_MAX_PATH_REC_QUEUE,4,4
	.comm	IFCOUNTER_OERRORS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
