	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iwarp_qp_in_error
_qed_iwarp_qp_in_error:                 ## @qed_iwarp_qp_in_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	28(%rsi), %esi
	movq	_QED_IWARP_QP_STATE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_qed_iwarp_modify_qp
	movq	_QED_IWARP_EVENT_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	%rbx, -40(%rbp)
	leaq	24(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	_IWARP_QP_IN_ERROR_GOOD_CLOSE@GOTPCREL(%rip), %rax
	movq	_ECONNRESET@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	xorl	%esi, %esi
	subl	(%rcx), %esi
	cmpq	%r15, (%rax)
	cmovel	%edx, %esi
	movl	%esi, -56(%rbp)
	leaq	20(%rbx), %rdi
	movq	_QED_IWARP_EP_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_smp_store_release
	movq	(%r14), %rdi
	callq	_spin_lock_bh
	leaq	16(%rbx), %rdi
	callq	_list_del
	movq	(%r14), %rdi
	callq	_spin_unlock_bh
	movl	(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	*8(%rbx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_IWARP_QP_STATE_ERROR,4,2   ## @QED_IWARP_QP_STATE_ERROR
	.comm	_QED_IWARP_EVENT_CLOSE,4,2      ## @QED_IWARP_EVENT_CLOSE
	.comm	_IWARP_QP_IN_ERROR_GOOD_CLOSE,8,3 ## @IWARP_QP_IN_ERROR_GOOD_CLOSE
	.comm	_ECONNRESET,4,2                 ## @ECONNRESET
	.comm	_QED_IWARP_EP_CLOSED,4,2        ## @QED_IWARP_EP_CLOSED
	.no_dead_strip	_qed_iwarp_qp_in_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iwarp_qp_in_error
_qed_iwarp_qp_in_error:                 ; @qed_iwarp_qp_in_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w1, [x1, #28]
Lloh0:
	adrp	x8, _QED_IWARP_QP_STATE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_IWARP_QP_STATE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_qed_iwarp_modify_qp
Lloh3:
	adrp	x8, _QED_IWARP_EVENT_CLOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_IWARP_EVENT_CLOSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	add	x8, x20, #24
Lloh6:
	adrp	x9, _IWARP_QP_IN_ERROR_GOOD_CLOSE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IWARP_QP_IN_ERROR_GOOD_CLOSE@GOTPAGEOFF]
	stp	x8, x20, [sp, #8]
Lloh8:
	ldr	x8, [x9]
Lloh9:
	adrp	x9, _ECONNRESET@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ECONNRESET@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	x8, x19
	csneg	w8, wzr, w9, eq
	str	w8, [sp]
	add	x0, x20, #20
Lloh12:
	adrp	x8, _QED_IWARP_EP_CLOSED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QED_IWARP_EP_CLOSED@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_smp_store_release
	ldr	x0, [x21]
	bl	_spin_lock_bh
	add	x0, x20, #16
	bl	_list_del
	ldr	x0, [x21]
	bl	_spin_unlock_bh
	ldr	x8, [x20, #8]
	ldr	w0, [x20]
	mov	x1, sp
	blr	x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_IWARP_QP_STATE_ERROR,4,2   ; @QED_IWARP_QP_STATE_ERROR
	.comm	_QED_IWARP_EVENT_CLOSE,4,2      ; @QED_IWARP_EVENT_CLOSE
	.comm	_IWARP_QP_IN_ERROR_GOOD_CLOSE,8,3 ; @IWARP_QP_IN_ERROR_GOOD_CLOSE
	.comm	_ECONNRESET,4,2                 ; @ECONNRESET
	.comm	_QED_IWARP_EP_CLOSED,4,2        ; @QED_IWARP_EP_CLOSED
	.no_dead_strip	_qed_iwarp_qp_in_error
.subsections_via_symbols
