	.file	"extr_ib_cm.c_rds_ib_conn_alloc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"conn %p conn ic %p\n"
	.text
	.p2align 4
	.globl	rds_ib_conn_alloc
	.type	rds_ib_conn_alloc, @function
rds_ib_conn_alloc:
.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
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	mov	edi, 40
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	kzalloc@PLT
	mov	r13d, DWORD PTR ENOMEM[rip]
	neg	r13d
	test	rax, rax
	je	.L1
	mov	rdi, rax
	mov	rbp, rax
	call	rds_ib_recv_alloc_caches@PLT
	mov	rdi, rbp
	mov	r13d, eax
	test	eax, eax
	jne	.L7
	call	INIT_LIST_HEAD@PLT
	mov	rdx, rbp
	lea	rdi, 36[rbp]
	xor	r14d, r14d
	mov	esi, DWORD PTR rds_ib_recv_tasklet_fn[rip]
	call	tasklet_init@PLT
	lea	rdi, 32[rbp]
	call	mutex_init@PLT
	lea	rdi, 28[rbp]
	call	spin_lock_init@PLT
	lea	rdi, 24[rbp]
	xor	esi, esi
	call	atomic_set@PLT
	mov	esi, DWORD PTR rds_ib_sysctl_max_send_wr[rip]
	lea	rdi, 20[rbp]
	call	rds_ib_ring_init@PLT
	mov	esi, DWORD PTR rds_ib_sysctl_max_recv_wr[rip]
	lea	rdi, 16[rbp]
	call	rds_ib_ring_init@PLT
	mov	QWORD PTR 8[rbp], r12
	mov	rsi, r14
	lea	rdi, ib_nodev_conns_lock[rip]
	mov	QWORD PTR [r12], rbp
	call	spin_lock_irqsave@PLT
	lea	rsi, ib_nodev_conns[rip]
	mov	rdi, rbp
	call	list_add_tail@PLT
	mov	rsi, r14
	lea	rdi, ib_nodev_conns_lock[rip]
	call	spin_unlock_irqrestore@PLT
	mov	rdx, QWORD PTR [r12]
	mov	rsi, r12
	lea	rdi, .LC0[rip]
	call	rdsdebug@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L7:
	.cfi_restore_state
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.cfi_endproc
.LFE0:
	.size	rds_ib_conn_alloc, .-rds_ib_conn_alloc
	.comm	rds_ib_sysctl_max_send_wr,4,4
	.comm	rds_ib_sysctl_max_recv_wr,4,4
	.comm	rds_ib_recv_tasklet_fn,4,4
	.comm	ib_nodev_conns_lock,4,4
	.comm	ib_nodev_conns,4,4
	.comm	ENOMEM,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_cm.c_rds_ib_conn_alloc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"conn %p conn ic %p\012\000"
	.text
	.align	2
	.global	rds_ib_conn_alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	rds_ib_conn_alloc, %function
rds_ib_conn_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, #32
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L7
	bl	rds_ib_recv_alloc_caches
	subs	r5, r0, #0
	bne	.L8
	mov	r7, #0
	mov	r0, r4
	bl	INIT_LIST_HEAD
	ldr	r3, .L9
	mov	r2, r4
	ldr	r1, [r3]
	add	r0, r4, #28
	bl	tasklet_init
	add	r0, r4, #24
	bl	mutex_init
	add	r0, r4, #20
	bl	spin_lock_init
	mov	r1, r5
	add	r0, r4, #16
	bl	atomic_set
	ldr	r3, .L9+4
	add	r0, r4, #12
	ldr	r1, [r3]
	bl	rds_ib_ring_init
	ldr	r3, .L9+8
	add	r0, r4, #8
	ldr	r1, [r3]
	bl	rds_ib_ring_init
	mov	r1, r7
	str	r6, [r4, #4]
	ldr	r0, .L9+12
	str	r4, [r6]
	bl	spin_lock_irqsave
	mov	r0, r4
	ldr	r1, .L9+16
	bl	list_add_tail
	mov	r1, r7
	ldr	r0, .L9+12
	bl	spin_unlock_irqrestore
	mov	r1, r6
	ldr	r2, [r6]
	ldr	r0, .L9+20
	bl	rdsdebug
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	bl	kfree
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9+24
	ldr	r5, [r3]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	rds_ib_recv_tasklet_fn
	.word	rds_ib_sysctl_max_send_wr
	.word	rds_ib_sysctl_max_recv_wr
	.word	ib_nodev_conns_lock
	.word	ib_nodev_conns
	.word	.LC0
	.word	ENOMEM
	.size	rds_ib_conn_alloc, .-rds_ib_conn_alloc
	.comm	rds_ib_sysctl_max_send_wr,4,4
	.comm	rds_ib_sysctl_max_recv_wr,4,4
	.comm	rds_ib_recv_tasklet_fn,4,4
	.comm	ib_nodev_conns_lock,4,4
	.comm	ib_nodev_conns,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
