	.file	"extr_qedr_roce_cm.c_qedr_ll2_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"ll2 start: failed to acquire LL2 connection (rc=%d)\n"
	.align 8
.LC1:
	.string	"ll2 start: failed to establish LL2 connection (rc=%d)\n"
	.text
	.p2align 4
	.type	qedr_ll2_start, @function
qedr_ll2_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	sub	rsp, 144
	.cfi_def_cfa_offset 176
	mov	edx, DWORD PTR qedr_ll2_release_rx_packet[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR qedr_ll2_complete_rx_packet[rip]
	lea	r13, 48[rsp]
	mov	QWORD PTR [rsp], rdi
	mov	DWORD PTR 16[rsp], edx
	mov	rdi, r13
	mov	edx, 80
	mov	DWORD PTR 32[rsp], eax
	mov	rax, QWORD PTR qedr_ll2_complete_tx_packet[rip]
	mov	QWORD PTR 24[rsp], rax
	mov	QWORD PTR 8[rsp], rax
	call	memset@PLT
	mov	eax, DWORD PTR QED_LL2_TYPE_ROCE[rip]
	mov	edi, DWORD PTR 4[rbp]
	mov	rsi, r13
	mov	DWORD PTR 124[rsp], eax
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR 72[rsp], 1
	mov	QWORD PTR 104[rsp], 0
	mov	DWORD PTR 120[rsp], eax
	mov	rax, QWORD PTR [r12]
	mov	QWORD PTR 64[rsp], 1
	mov	QWORD PTR 112[rsp], rax
	mov	eax, DWORD PTR QED_LL2_TX_DEST_NW[rip]
	mov	QWORD PTR 56[rsp], rbp
	mov	DWORD PTR 96[rsp], eax
	mov	rax, QWORD PTR QED_LL2_DROP_PACKET[rip]
	mov	QWORD PTR 88[rsp], rax
	mov	QWORD PTR 80[rsp], rax
	mov	rax, rsp
	mov	QWORD PTR 48[rsp], rax
	mov	rax, QWORD PTR 8[rbp]
	call	[QWORD PTR [rax]]
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	call	[QWORD PTR 8[rax]]
	mov	r12d, eax
	test	eax, eax
	jne	.L13
	mov	rdx, QWORD PTR 16[rbp]
	mov	rax, QWORD PTR 8[rbp]
	xor	esi, esi
	mov	edi, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR [rdx]
	call	[QWORD PTR 16[rax]]
	mov	r12d, eax
	test	eax, eax
	jne	.L14
.L1:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 144
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	call	[QWORD PTR 32[rax]]
.L5:
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR 4[rbp]
	mov	esi, DWORD PTR 0[rbp]
	call	[QWORD PTR 24[rax]]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edx, eax
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	r12d, eax
	call	DP_ERR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, eax
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	DP_ERR@PLT
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qedr_ll2_start, .-qedr_ll2_start
	.comm	qedr_ll2_release_rx_packet,4,4
	.comm	qedr_ll2_complete_tx_packet,8,8
	.comm	qedr_ll2_complete_rx_packet,4,4
	.comm	QED_LL2_TYPE_ROCE,4,4
	.comm	QED_LL2_TX_DEST_NW,4,4
	.comm	QED_LL2_DROP_PACKET,8,8
	.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_qedr_roce_cm.c_qedr_ll2_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ll2 start: failed to acquire LL2 connection (rc=%d)"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"ll2 start: failed to establish LL2 connection (rc=%"
	.ascii	"d)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qedr_ll2_start, %function
qedr_ll2_start:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r2, .L16
	ldr	r0, .L16+4
	ldr	r3, .L16+8
	sub	sp, sp, #80
	ldr	r2, [r2]
	ldr	r1, .L16+12
	ldr	r3, [r3]
	ldr	ip, [r0]
	str	r4, [sp, #4]
	ldr	r1, [r1]
	str	r1, [sp, #76]
	mov	r1,#0
	add	r0, sp, #24
	mov	r1, #0
	str	r2, [sp, #20]
	mov	r2, #48
	str	r3, [sp, #16]
	str	r3, [sp, #8]
	str	ip, [sp, #12]
	bl	memset
	mov	r2, #1
	mov	r3, #0
	ldr	r0, [r4, #12]
	ldr	ip, .L16+16
	ldr	r0, [r0, #4]
	ldr	r6, [ip]
	str	r0, [sp, #68]
	ldr	ip, .L16+20
	ldr	r0, [r5, #4]
	ldr	r1, .L16+24
	ldr	ip, [ip]
	ldr	r5, [r5]
	str	r0, [sp, #64]
	ldr	r0, [r4, #8]
	ldr	lr, [r1]
	str	r5, [sp, #60]
	ldr	r5, [r0]
	str	ip, [sp, #48]
	str	ip, [sp, #44]
	add	ip, sp, #4
	ldr	r0, [r4, #4]
	add	r1, sp, #24
	str	r4, [sp, #28]
	str	r6, [sp, #72]
	str	lr, [sp, #52]
	str	r2, [sp, #32]
	str	r2, [sp, #40]
	str	r3, [sp, #36]
	str	r3, [sp, #56]
	str	ip, [sp, #24]
	blx	r5
	subs	r5, r0, #0
	bne	.L12
	ldr	r3, [r4, #8]
	ldr	r1, [r4]
	ldr	r3, [r3, #4]
	ldr	r0, [r4, #4]
	blx	r3
	subs	r5, r0, #0
	bne	.L13
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #8]
	mov	r1, r5
	ldr	r2, [r2]
	ldr	r3, [r3, #8]
	ldr	r0, [r4, #16]
	blx	r3
	subs	r5, r0, #0
	bne	.L14
.L1:
	ldr	r3, .L16+12
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r5
	add	sp, sp, #80
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	ldr	r3, [r4, #8]
	ldr	r1, [r4]
	ldr	r3, [r3, #16]
	ldr	r0, [r4, #4]
	blx	r3
.L5:
	ldr	r3, [r4, #8]
	ldr	r1, [r4]
	ldr	r3, [r3, #12]
	ldr	r0, [r4, #4]
	blx	r3
	b	.L1
.L12:
	mov	r0, r4
	mov	r2, r5
	ldr	r1, .L16+28
	bl	DP_ERR
	b	.L1
.L13:
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L16+32
	bl	DP_ERR
	b	.L5
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	qedr_ll2_complete_rx_packet
	.word	qedr_ll2_release_rx_packet
	.word	qedr_ll2_complete_tx_packet
	.word	.LC2
	.word	QED_LL2_TYPE_ROCE
	.word	QED_LL2_DROP_PACKET
	.word	QED_LL2_TX_DEST_NW
	.word	.LC0
	.word	.LC1
	.size	qedr_ll2_start, .-qedr_ll2_start
	.comm	qedr_ll2_release_rx_packet,4,4
	.comm	qedr_ll2_complete_tx_packet,4,4
	.comm	qedr_ll2_complete_rx_packet,4,4
	.comm	QED_LL2_TYPE_ROCE,4,4
	.comm	QED_LL2_TX_DEST_NW,4,4
	.comm	QED_LL2_DROP_PACKET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
