	.file	"extr_smbdirect.c__smbd_get_connection.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"smbd_ia_open rc=%d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"consider lowering send_credit_target = %d. Possible CQE overrun, device reporting max_cpe %d max_qp_wr %d\n"
	.align 8
.LC2:
	.string	"consider lowering receive_credit_max = %d. Possible CQE overrun, device reporting max_cpe %d max_qp_wr %d\n"
	.align 8
.LC3:
	.string	"warning: device max_send_sge = %d too small\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Queue Pair creation may fail\n"
	.section	.rodata.str1.8
	.align 8
.LC5:
	.string	"warning: device max_recv_sge = %d too small\n"
	.section	.rodata.str1.1
.LC6:
	.string	"rdma_create_qp failed %i\n"
.LC7:
	.string	"responder_resources=%d\n"
	.section	.rodata.str1.8
	.align 8
.LC8:
	.string	"connecting to IP %pI4 port %d\n"
	.align 8
.LC9:
	.string	"rdma_connect() failed with %i\n"
	.section	.rodata.str1.1
.LC10:
	.string	"rdma_connect failed port=%d\n"
.LC11:
	.string	"rdma_connect connected\n"
.LC12:
	.string	"cache allocation failed\n"
.LC13:
	.string	"smbd_negotiate rc=%d\n"
	.section	.rodata.str1.8
	.align 8
.LC14:
	.string	"memory registration allocation failed\n"
	.text
	.p2align 4
	.type	_smbd_get_connection, @function
_smbd_get_connection:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	edi, 144
	sub	rsp, 288
	.cfi_def_cfa_offset 336
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 280[rsp], rax
	xor	eax, eax
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR SMBD_CONNECTING[rip]
	mov	edx, r13d
	mov	rsi, r14
	mov	rdi, r12
	mov	QWORD PTR [r12], rax
	call	smbd_ia_open@PLT
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR 16[r12]
	mov	edx, DWORD PTR smbd_send_credit_target[rip]
	mov	rdi, QWORD PTR 8[rax]
	mov	ecx, DWORD PTR 36[rdi]
	mov	r8d, DWORD PTR 32[rdi]
	cmp	ecx, edx
	jl	.L5
	cmp	edx, r8d
	jg	.L5
	cmp	ecx, r8d
	mov	eax, r8d
	mov	r9d, DWORD PTR smbd_receive_credit_max[rip]
	cmovle	eax, ecx
	cmp	r9d, eax
	jg	.L43
	mov	eax, DWORD PTR smbd_max_send_size[rip]
	mov	DWORD PTR 124[r12], edx
	mov	rdx, QWORD PTR 8[rdi]
	mov	DWORD PTR 120[r12], r9d
	mov	DWORD PTR 136[r12], eax
	mov	eax, DWORD PTR smbd_max_fragmented_recv_size[rip]
	mov	DWORD PTR 132[r12], eax
	mov	eax, DWORD PTR smbd_max_receive_size[rip]
	mov	DWORD PTR 128[r12], eax
	mov	eax, DWORD PTR smbd_keep_alive_interval[rip]
	mov	DWORD PTR 8[r12], eax
	mov	rax, QWORD PTR SMBDIRECT_MAX_SGE[rip]
	cmp	rdx, rax
	jb	.L44
.L9:
	mov	rdx, QWORD PTR 16[rdi]
	cmp	rdx, rax
	jb	.L45
.L10:
	mov	edx, DWORD PTR 124[r12]
	mov	ecx, DWORD PTR IB_POLL_SOFTIRQ[rip]
	mov	rsi, r12
	mov	QWORD PTR 40[r12], 0
	mov	QWORD PTR 32[r12], 0
	call	ib_alloc_cq_any@PLT
	mov	QWORD PTR 40[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L46
	mov	rax, QWORD PTR 16[r12]
	mov	edx, DWORD PTR 120[r12]
	mov	rsi, r12
	mov	ecx, DWORD PTR IB_POLL_SOFTIRQ[rip]
	mov	rdi, QWORD PTR 8[rax]
	call	ib_alloc_cq_any@PLT
	mov	QWORD PTR 32[r12], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L47
	lea	r15, 144[rsp]
	xor	esi, esi
	mov	edx, 128
	mov	rdi, r15
	call	memset@PLT
	mov	eax, DWORD PTR smbd_qp_async_error_upcall[rip]
	mov	esi, DWORD PTR 24[r12]
	mov	rdx, r15
	mov	rdi, QWORD PTR 16[r12]
	mov	QWORD PTR 256[rsp], r12
	mov	DWORD PTR 264[rsp], eax
	mov	rax, QWORD PTR 120[r12]
	mov	QWORD PTR 224[rsp], 0
	mov	QWORD PTR 248[rsp], rax
	mov	rax, QWORD PTR SMBDIRECT_MAX_SGE[rip]
	mov	QWORD PTR 240[rsp], rax
	mov	QWORD PTR 232[rsp], rax
	mov	eax, DWORD PTR IB_SIGNAL_REQ_WR[rip]
	mov	DWORD PTR 220[rsp], eax
	mov	eax, DWORD PTR IB_QPT_RC[rip]
	mov	DWORD PTR 216[rsp], eax
	mov	rax, QWORD PTR 40[r12]
	mov	QWORD PTR 208[rsp], rax
	mov	rax, QWORD PTR 32[r12]
	mov	DWORD PTR 192[rsp], -1
	mov	QWORD PTR 200[rsp], rax
	call	rdma_create_qp@PLT
	test	eax, eax
	jne	.L48
	lea	r15, 16[rsp]
	xor	esi, esi
	mov	edx, 128
	mov	rdi, r15
	call	memset@PLT
	mov	rax, QWORD PTR 16[r12]
	mov	rdx, QWORD PTR SMBD_CM_RESPONDER_RESOURCES[rip]
	mov	QWORD PTR 56[rsp], 0
	mov	edi, DWORD PTR INFO[rip]
	lea	rsi, .LC7[rip]
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR 24[rax], rdx
	cmovle	rdx, QWORD PTR 24[rax]
	xor	eax, eax
	mov	DWORD PTR 12[r12], edx
	mov	DWORD PTR 16[rsp], edx
	call	log_rdma_mr@PLT
	mov	rcx, QWORD PTR 16[r12]
	lea	rdx, 12[rsp]
	mov	rax, QWORD PTR 8[rcx]
	mov	esi, DWORD PTR [rcx]
	mov	rdi, rax
	call	[QWORD PTR [rax]]
	mov	eax, DWORD PTR 12[rsp]
	test	DWORD PTR RDMA_CORE_PORT_IWARP[rip], eax
	je	.L17
	mov	DWORD PTR 276[rsp], 1
	mov	eax, DWORD PTR 12[r12]
	mov	DWORD PTR 32[rsp], 8
	mov	DWORD PTR 272[rsp], eax
	lea	rax, 272[rsp]
	mov	QWORD PTR 24[rsp], rax
.L18:
	mov	eax, DWORD PTR SMBD_CM_RETRY[rip]
	mov	edi, DWORD PTR INFO[rip]
	mov	rdx, r14
	mov	ecx, r13d
	lea	rsi, .LC8[rip]
	lea	r14, 48[r12]
	mov	QWORD PTR 40[rsp], 0
	mov	DWORD PTR 52[rsp], eax
	mov	eax, DWORD PTR SMBD_CM_RNR_RETRY[rip]
	mov	DWORD PTR 48[rsp], eax
	xor	eax, eax
	call	log_rdma_event@PLT
	mov	rdi, r14
	call	init_waitqueue_head@PLT
	lea	rdi, 116[r12]
	call	init_waitqueue_head@PLT
	lea	rdi, 112[r12]
	call	init_waitqueue_head@PLT
	mov	rdi, QWORD PTR 16[r12]
	mov	rsi, r15
	call	rdma_connect@PLT
	test	eax, eax
	jne	.L49
	mov	rax, QWORD PTR SMBD_CONNECTING[rip]
	xor	esi, esi
	mov	edi, DWORD PTR 48[r12]
	cmp	QWORD PTR [r12], rax
	setne	sil
	call	wait_event_interruptible@PLT
	mov	rax, QWORD PTR SMBD_CONNECTED[rip]
	cmp	QWORD PTR [r12], rax
	jne	.L50
	mov	edi, DWORD PTR INFO[rip]
	xor	eax, eax
	lea	rsi, .LC11[rip]
	call	log_rdma_event@PLT
	mov	rdi, r12
	call	allocate_caches_and_workqueue@PLT
	test	eax, eax
	jne	.L51
	lea	rdi, 108[r12]
	lea	r13, 52[r12]
	call	init_waitqueue_head@PLT
	mov	esi, DWORD PTR idle_connection_timer[rip]
	mov	rdi, r13
	call	INIT_DELAYED_WORK@PLT
	mov	esi, DWORD PTR send_immediate_work[rip]
	lea	rdi, 104[r12]
	call	INIT_DELAYED_WORK@PLT
	mov	edx, DWORD PTR 8[r12]
	mov	edi, DWORD PTR 100[r12]
	mov	rsi, r13
	imul	edx, DWORD PTR HZ[rip]
	call	queue_delayed_work@PLT
	lea	rdi, 96[r12]
	call	init_waitqueue_head@PLT
	xor	esi, esi
	lea	rdi, 92[r12]
	call	atomic_set@PLT
	lea	rdi, 88[r12]
	call	init_waitqueue_head@PLT
	xor	esi, esi
	lea	rdi, 84[r12]
	call	atomic_set@PLT
	mov	esi, DWORD PTR smbd_disconnect_rdma_work[rip]
	lea	rdi, 80[r12]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR smbd_recv_done_work[rip]
	lea	rdi, 76[r12]
	call	INIT_WORK@PLT
	mov	esi, DWORD PTR smbd_post_send_credits[rip]
	lea	rdi, 72[r12]
	call	INIT_WORK@PLT
	lea	rdi, 56[r12]
	mov	QWORD PTR 64[r12], 0
	call	spin_lock_init@PLT
	mov	rdi, r12
	call	smbd_negotiate@PLT
	test	eax, eax
	jne	.L52
	mov	rdi, r12
	call	allocate_mr_list@PLT
	test	eax, eax
	jne	.L53
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 280[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L54
	add	rsp, 288
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L43:
	.cfi_restore_state
	mov	edi, DWORD PTR ERR[rip]
	mov	edx, r9d
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
.L7:
	mov	edi, DWORD PTR 24[r12]
	call	ib_dealloc_pd@PLT
	mov	rdi, QWORD PTR 16[r12]
	call	rdma_destroy_id@PLT
.L4:
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L45:
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	mov	rax, QWORD PTR 16[r12]
	mov	rdi, QWORD PTR 8[rax]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L44:
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC4[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	mov	rax, QWORD PTR 16[r12]
	mov	rdi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR SMBDIRECT_MAX_SGE[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L46:
	mov	QWORD PTR 40[r12], 0
.L12:
	mov	rdi, QWORD PTR 32[r12]
	test	rdi, rdi
	je	.L7
	call	ib_free_cq@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L47:
	mov	QWORD PTR 32[r12], 0
	mov	rdi, QWORD PTR 40[r12]
	test	rdi, rdi
	je	.L7
.L14:
	call	ib_free_cq@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L17:
	mov	QWORD PTR 24[rsp], 0
	mov	DWORD PTR 32[rsp], 0
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L42:
	mov	edi, DWORD PTR INFO[rip]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L48:
	mov	edi, DWORD PTR ERR[rip]
	mov	edx, eax
	lea	rsi, .LC6[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
.L16:
.L25:
	mov	rdi, QWORD PTR 40[r12]
	test	rdi, rdi
	jne	.L14
	jmp	.L12
.L53:
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC14[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	log_rdma_mr@PLT
	mov	rdi, rbp
	call	smbd_destroy@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L50:
	mov	edi, DWORD PTR ERR[rip]
	mov	edx, r13d
	lea	rsi, .LC10[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
.L20:
.L24:
	mov	rdi, QWORD PTR 16[r12]
	call	rdma_destroy_qp@PLT
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L49:
	mov	edi, DWORD PTR ERR[rip]
	mov	edx, eax
	lea	rsi, .LC9[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L51:
	mov	edi, DWORD PTR ERR[rip]
	lea	rsi, .LC12[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L52:
	mov	edi, DWORD PTR ERR[rip]
	mov	edx, eax
	lea	rsi, .LC13[rip]
	xor	eax, eax
	call	log_rdma_event@PLT
	mov	rdi, r13
	call	cancel_delayed_work_sync@PLT
	mov	rdi, r12
	call	destroy_caches_and_workqueue@PLT
	mov	rax, QWORD PTR SMBD_NEGOTIATE_FAILED[rip]
	mov	rdi, r14
	mov	QWORD PTR [r12], rax
	call	init_waitqueue_head@PLT
	mov	rdi, QWORD PTR 16[r12]
	call	rdma_disconnect@PLT
	xor	esi, esi
	mov	edi, DWORD PTR 48[r12]
	mov	rax, QWORD PTR SMBD_DISCONNECTED[rip]
	cmp	QWORD PTR [r12], rax
	sete	sil
	call	wait_event@PLT
	jmp	.L24
.L54:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	_smbd_get_connection, .-_smbd_get_connection
	.comm	smbd_send_credit_target,4,4
	.comm	smbd_recv_done_work,4,4
	.comm	smbd_receive_credit_max,4,4
	.comm	smbd_qp_async_error_upcall,4,4
	.comm	smbd_post_send_credits,4,4
	.comm	smbd_max_send_size,4,4
	.comm	smbd_max_receive_size,4,4
	.comm	smbd_max_fragmented_recv_size,4,4
	.comm	smbd_keep_alive_interval,4,4
	.comm	smbd_disconnect_rdma_work,4,4
	.comm	send_immediate_work,4,4
	.comm	idle_connection_timer,4,4
	.comm	SMBD_NEGOTIATE_FAILED,8,8
	.comm	SMBD_DISCONNECTED,8,8
	.comm	SMBD_CONNECTING,8,8
	.comm	SMBD_CONNECTED,8,8
	.comm	SMBD_CM_RNR_RETRY,4,4
	.comm	SMBD_CM_RETRY,4,4
	.comm	SMBD_CM_RESPONDER_RESOURCES,8,8
	.comm	SMBDIRECT_MAX_SGE,8,8
	.comm	RDMA_CORE_PORT_IWARP,4,4
	.comm	INFO,4,4
	.comm	IB_SIGNAL_REQ_WR,4,4
	.comm	IB_QPT_RC,4,4
	.comm	IB_POLL_SOFTIRQ,4,4
	.comm	HZ,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ERR,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_smbdirect.c__smbd_get_connection.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"smbd_ia_open rc=%d\012\000"
	.align	2
.LC1:
	.ascii	"consider lowering send_credit_target = %d. Possible"
	.ascii	" CQE overrun, device reporting max_cpe %d max_qp_wr"
	.ascii	" %d\012\000"
	.align	2
.LC2:
	.ascii	"consider lowering receive_credit_max = %d. Possible"
	.ascii	" CQE overrun, device reporting max_cpe %d max_qp_wr"
	.ascii	" %d\012\000"
	.align	2
.LC3:
	.ascii	"warning: device max_send_sge = %d too small\012\000"
	.align	2
.LC4:
	.ascii	"Queue Pair creation may fail\012\000"
	.align	2
.LC5:
	.ascii	"warning: device max_recv_sge = %d too small\012\000"
	.align	2
.LC6:
	.ascii	"rdma_create_qp failed %i\012\000"
	.align	2
.LC7:
	.ascii	"responder_resources=%d\012\000"
	.align	2
.LC8:
	.ascii	"connecting to IP %pI4 port %d\012\000"
	.align	2
.LC9:
	.ascii	"rdma_connect() failed with %i\012\000"
	.align	2
.LC10:
	.ascii	"rdma_connect failed port=%d\012\000"
	.align	2
.LC11:
	.ascii	"rdma_connect connected\012\000"
	.align	2
.LC12:
	.ascii	"cache allocation failed\012\000"
	.align	2
.LC13:
	.ascii	"smbd_negotiate rc=%d\012\000"
	.align	2
.LC14:
	.ascii	"memory registration allocation failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_smbd_get_connection, %function
_smbd_get_connection:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L54
	mov	r6, r1
	ldr	r1, [r3]
	ldr	r3, .L54+4
	sub	sp, sp, #188
	mov	r7, r0
	mov	r0, #112
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #180]
	mov	r3,#0
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r8, .L54+8
	mov	r2, r5
	ldr	r3, [r8]
	mov	r1, r6
	str	r3, [r4]
	bl	smbd_ia_open
	subs	r2, r0, #0
	bne	.L42
	ldr	r2, [r4, #12]
	ldr	r3, .L54+12
	ldr	r0, [r2, #4]
	ldr	r2, [r3]
	ldr	r3, [r0, #20]
	ldr	r1, [r0, #16]
	cmp	r3, r2
	blt	.L5
	cmp	r2, r1
	bgt	.L5
	cmp	r3, r1
	movlt	ip, r3
	movge	ip, r1
	ldr	lr, .L54+16
	ldr	lr, [lr]
	cmp	lr, ip
	bgt	.L43
	ldr	ip, .L54+20
	ldr	r1, .L54+24
	ldr	r3, .L54+28
	ldr	r10, .L54+32
	ldr	fp, .L54+36
	ldr	r9, [ip]
	str	r2, [r4, #96]
	ldr	ip, [r1]
	ldr	r2, [r0, #4]
	ldr	r1, [r3]
	ldr	r3, [r10]
	str	lr, [r4, #92]
	ldr	lr, [fp]
	cmp	r2, r3
	str	r9, [r4, #108]
	str	ip, [r4, #104]
	str	r1, [r4, #100]
	str	lr, [r4, #4]
	bcc	.L44
.L9:
	ldr	r2, [r0, #8]
	cmp	r2, r3
	bcc	.L45
.L10:
	mov	r9, #0
	ldr	fp, .L54+40
	mov	r1, r4
	ldr	r3, [fp]
	ldr	r2, [r4, #96]
	str	r9, [r4, #24]
	str	r9, [r4, #20]
	bl	ib_alloc_cq_any
	str	r0, [r4, #24]
	bl	IS_ERR
	subs	r3, r0, #0
	str	r3, [sp, #12]
	strne	r9, [r4, #24]
	bne	.L12
	ldr	r2, [r4, #12]
	mov	r1, r4
	ldr	r3, [fp]
	ldr	r0, [r2, #4]
	ldr	r2, [r4, #92]
	bl	ib_alloc_cq_any
	str	r0, [r4, #20]
	bl	IS_ERR
	cmp	r0, #0
	bne	.L46
	mvn	lr, #0
	ldr	r1, .L54+44
	ldr	r3, [r10]
	ldr	r10, [r1]
	ldr	r1, .L54+48
	str	r0, [sp, #96]
	str	r0, [sp, #100]
	str	r0, [sp, #104]
	str	r0, [sp, #108]
	str	r0, [sp, #112]
	str	r0, [sp, #116]
	str	r0, [sp, #120]
	ldr	ip, [r1]
	ldr	r2, .L54+52
	ldr	r1, [r4, #24]
	str	r3, [sp, #152]
	str	r3, [sp, #148]
	ldr	r3, [r4, #20]
	ldr	r9, [r2]
	str	r0, [sp, #144]
	str	r1, [sp, #132]
	ldr	r0, [r4, #12]
	ldr	r1, [r4, #16]
	str	r3, [sp, #128]
	str	ip, [sp, #136]
	ldr	r3, [r4, #92]
	ldr	ip, [r4, #96]
	add	r2, sp, #96
	str	r10, [sp, #168]
	str	r4, [sp, #164]
	str	r9, [sp, #140]
	str	lr, [sp, #124]
	str	ip, [sp, #160]
	str	r3, [sp, #156]
	bl	rdma_create_qp
	subs	r10, r0, #0
	bne	.L47
	mov	r2, #76
	mov	r1, r10
	add	r0, sp, #20
	bl	memset
	ldr	r2, [r4, #12]
	ldr	r3, .L54+56
	ldr	r2, [r2, #4]
	ldr	r3, [r3]
	ldr	r2, [r2, #12]
	ldr	r9, .L54+60
	cmp	r2, r3
	movge	r2, r3
	ldr	r1, .L54+64
	str	r10, [sp, #44]
	ldr	r0, [r9]
	str	r2, [r4, #8]
	str	r2, [sp, #20]
	bl	log_rdma_mr
	ldr	r3, [r4, #12]
	add	r2, sp, #16
	ldr	r0, [r3, #4]
	ldr	r1, [r3]
	ldr	r3, [r0]
	blx	r3
	ldr	r2, .L54+68
	ldr	r3, [sp, #16]
	ldr	r2, [r2]
	mov	ip, #0
	ands	r3, r3, r2
	movne	r3, #1
	movne	r2, #8
	ldrne	r1, [r4, #8]
	strne	r3, [sp, #176]
	addne	r3, sp, #172
	strne	r2, [sp, #28]
	strne	r3, [sp, #24]
	streq	r3, [sp, #24]
	streq	r3, [sp, #28]
	ldr	r2, .L54+72
	ldr	r3, .L54+76
	strne	r1, [sp, #172]
	ldr	r0, [r3]
	ldr	r1, [r2]
	mov	r3, r5
	mov	r2, r6
	str	r1, [sp, #40]
	str	r0, [sp, #36]
	ldr	r1, .L54+80
	ldr	r0, [r9]
	add	r6, r4, #28
	str	ip, [sp, #32]
	bl	log_rdma_event
	mov	r0, r6
	bl	init_waitqueue_head
	add	r0, r4, #88
	bl	init_waitqueue_head
	add	r0, r4, #84
	bl	init_waitqueue_head
	ldr	r0, [r4, #12]
	add	r1, sp, #20
	bl	rdma_connect
	subs	r2, r0, #0
	bne	.L48
	ldr	r3, [r8]
	ldr	r1, [r4]
	ldr	r0, [r4, #28]
	subs	r1, r1, r3
	movne	r1, #1
	bl	wait_event_interruptible
	ldr	r3, .L54+84
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L49
	ldr	r1, .L54+88
	ldr	r0, [r9]
	bl	log_rdma_event
	mov	r0, r4
	bl	allocate_caches_and_workqueue
	subs	r5, r0, #0
	bne	.L50
	add	r0, r4, #80
	bl	init_waitqueue_head
	ldr	r3, .L54+92
	add	r8, r4, #32
	ldr	r1, [r3]
	mov	r0, r8
	bl	INIT_DELAYED_WORK
	ldr	r3, .L54+96
	add	r0, r4, #76
	ldr	r1, [r3]
	bl	INIT_DELAYED_WORK
	ldr	r2, .L54+100
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r1, r8
	mul	r2, r3, r2
	ldr	r0, [r4, #72]
	bl	queue_delayed_work
	add	r0, r4, #68
	bl	init_waitqueue_head
	mov	r1, r5
	add	r0, r4, #64
	bl	atomic_set
	add	r0, r4, #60
	bl	init_waitqueue_head
	mov	r1, r5
	add	r0, r4, #56
	bl	atomic_set
	ldr	r3, .L54+104
	add	r0, r4, #52
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L54+108
	add	r0, r4, #48
	ldr	r1, [r3]
	bl	INIT_WORK
	ldr	r3, .L54+112
	add	r0, r4, #44
	ldr	r1, [r3]
	bl	INIT_WORK
	str	r5, [r4, #40]
	add	r0, r4, #36
	bl	spin_lock_init
	mov	r0, r4
	bl	smbd_negotiate
	subs	r5, r0, #0
	bne	.L51
	mov	r0, r4
	bl	allocate_mr_list
	cmp	r0, #0
	bne	.L52
.L1:
	ldr	r3, .L54+4
	ldr	r2, [r3]
	ldr	r3, [sp, #180]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L53
	mov	r0, r4
	add	sp, sp, #188
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L46:
	ldr	r0, [r4, #24]
	ldr	r3, [sp, #12]
	cmp	r0, #0
	str	r3, [r4, #20]
	beq	.L7
.L14:
	bl	ib_free_cq
.L12:
	ldr	r0, [r4, #20]
	cmp	r0, #0
	beq	.L7
	bl	ib_free_cq
.L7:
	ldr	r0, [r4, #16]
	bl	ib_dealloc_pd
	ldr	r0, [r4, #12]
	bl	rdma_destroy_id
.L4:
	mov	r0, r4
	bl	kfree
	mov	r4, #0
	b	.L1
.L43:
	ldr	r0, .L54+116
	str	r1, [sp]
	mov	r2, lr
	ldr	r1, .L54+120
	ldr	r0, [r0]
	bl	log_rdma_event
	b	.L7
.L5:
	ldr	r0, .L54+116
	str	r1, [sp]
	ldr	r0, [r0]
	ldr	r1, .L54+124
	bl	log_rdma_event
	b	.L7
.L45:
	ldr	r9, .L54+116
	ldr	r1, .L54+128
	ldr	r0, [r9]
	bl	log_rdma_event
	ldr	r0, [r9]
	ldr	r1, .L54+132
	bl	log_rdma_event
	ldr	r3, [r4, #12]
	ldr	r0, [r3, #4]
	b	.L10
.L44:
	ldr	r9, .L54+116
	ldr	r1, .L54+136
	ldr	r0, [r9]
	bl	log_rdma_event
	ldr	r0, [r9]
	ldr	r1, .L54+132
	bl	log_rdma_event
	ldr	r2, [r4, #12]
	ldr	r3, [r10]
	ldr	r0, [r2, #4]
	b	.L9
.L42:
	ldr	r3, .L54+60
	ldr	r1, .L54+140
	ldr	r0, [r3]
	bl	log_rdma_event
	b	.L4
.L47:
	ldr	r3, .L54+116
	mov	r2, r10
	ldr	r0, [r3]
	ldr	r1, .L54+144
	bl	log_rdma_event
.L16:
.L25:
	ldr	r0, [r4, #24]
	cmp	r0, #0
	bne	.L14
	b	.L12
.L52:
	ldr	r3, .L54+116
	ldr	r1, .L54+148
	ldr	r0, [r3]
	bl	log_rdma_mr
	mov	r0, r7
	mov	r4, r5
	bl	smbd_destroy
	b	.L1
.L49:
	ldr	r3, .L54+116
	mov	r2, r5
	ldr	r0, [r3]
	ldr	r1, .L54+152
	bl	log_rdma_event
.L20:
.L24:
	ldr	r0, [r4, #12]
	bl	rdma_destroy_qp
	b	.L25
.L48:
	ldr	r3, .L54+116
	ldr	r1, .L54+156
	ldr	r0, [r3]
	bl	log_rdma_event
	b	.L24
.L50:
	ldr	r3, .L54+116
	ldr	r1, .L54+160
	ldr	r0, [r3]
	bl	log_rdma_event
	b	.L24
.L51:
	ldr	r3, .L54+116
	mov	r2, r5
	ldr	r1, .L54+164
	ldr	r0, [r3]
	bl	log_rdma_event
	mov	r0, r8
	bl	cancel_delayed_work_sync
	mov	r0, r4
	bl	destroy_caches_and_workqueue
	ldr	r3, .L54+168
	mov	r0, r6
	ldr	r3, [r3]
	str	r3, [r4]
	bl	init_waitqueue_head
	ldr	r0, [r4, #12]
	bl	rdma_disconnect
	ldr	r3, .L54+172
	ldr	r1, [r4]
	ldr	r3, [r3]
	ldr	r0, [r4, #28]
	sub	r1, r1, r3
	clz	r1, r1
	lsr	r1, r1, #5
	bl	wait_event
	b	.L24
.L53:
	bl	__stack_chk_fail
.L55:
	.align	2
.L54:
	.word	GFP_KERNEL
	.word	.LC15
	.word	SMBD_CONNECTING
	.word	smbd_send_credit_target
	.word	smbd_receive_credit_max
	.word	smbd_max_send_size
	.word	smbd_max_fragmented_recv_size
	.word	smbd_max_receive_size
	.word	SMBDIRECT_MAX_SGE
	.word	smbd_keep_alive_interval
	.word	IB_POLL_SOFTIRQ
	.word	smbd_qp_async_error_upcall
	.word	IB_QPT_RC
	.word	IB_SIGNAL_REQ_WR
	.word	SMBD_CM_RESPONDER_RESOURCES
	.word	INFO
	.word	.LC7
	.word	RDMA_CORE_PORT_IWARP
	.word	SMBD_CM_RETRY
	.word	SMBD_CM_RNR_RETRY
	.word	.LC8
	.word	SMBD_CONNECTED
	.word	.LC11
	.word	idle_connection_timer
	.word	send_immediate_work
	.word	HZ
	.word	smbd_disconnect_rdma_work
	.word	smbd_recv_done_work
	.word	smbd_post_send_credits
	.word	ERR
	.word	.LC2
	.word	.LC1
	.word	.LC5
	.word	.LC4
	.word	.LC3
	.word	.LC0
	.word	.LC6
	.word	.LC14
	.word	.LC10
	.word	.LC9
	.word	.LC12
	.word	.LC13
	.word	SMBD_NEGOTIATE_FAILED
	.word	SMBD_DISCONNECTED
	.size	_smbd_get_connection, .-_smbd_get_connection
	.comm	smbd_send_credit_target,4,4
	.comm	smbd_recv_done_work,4,4
	.comm	smbd_receive_credit_max,4,4
	.comm	smbd_qp_async_error_upcall,4,4
	.comm	smbd_post_send_credits,4,4
	.comm	smbd_max_send_size,4,4
	.comm	smbd_max_receive_size,4,4
	.comm	smbd_max_fragmented_recv_size,4,4
	.comm	smbd_keep_alive_interval,4,4
	.comm	smbd_disconnect_rdma_work,4,4
	.comm	send_immediate_work,4,4
	.comm	idle_connection_timer,4,4
	.comm	SMBD_NEGOTIATE_FAILED,4,4
	.comm	SMBD_DISCONNECTED,4,4
	.comm	SMBD_CONNECTING,4,4
	.comm	SMBD_CONNECTED,4,4
	.comm	SMBD_CM_RNR_RETRY,4,4
	.comm	SMBD_CM_RETRY,4,4
	.comm	SMBD_CM_RESPONDER_RESOURCES,4,4
	.comm	SMBDIRECT_MAX_SGE,4,4
	.comm	RDMA_CORE_PORT_IWARP,4,4
	.comm	INFO,4,4
	.comm	IB_SIGNAL_REQ_WR,4,4
	.comm	IB_QPT_RC,4,4
	.comm	IB_POLL_SOFTIRQ,4,4
	.comm	HZ,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
