	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_roce_modify_qp             ## -- Begin function qed_roce_modify_qp
	.p2align	4, 0x90
_qed_roce_modify_qp:                    ## @qed_roce_modify_qp
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_QED_ROCE_QP_STATE_INIT@GOTPCREL(%rip), %rcx
	movq	_QED_ROCE_QP_STATE_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edx, (%rcx)
	je	LBB0_3
## %bb.1:
	cmpl	%edx, %eax
	je	LBB0_3
## %bb.2:
	movq	_QED_ROCE_QP_STATE_RTR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	jmp	LBB0_4
LBB0_3:
	movq	_QED_ROCE_QP_STATE_RTR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, (%rbx)
	jne	LBB0_4
## %bb.29:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_roce_sp_create_responder   ## TAILCALL
LBB0_4:
	movl	%edx, %ecx
	movq	_QED_ROCE_QP_STATE_RTS@GOTPCREL(%rip), %rdx
	cmpq	%rcx, %rsi
	jne	LBB0_5
## %bb.14:
	movq	(%rdx), %rdx
	cmpq	%rdx, (%rbx)
	jne	LBB0_6
## %bb.15:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_roce_sp_create_requester
	testl	%eax, %eax
	jne	LBB0_28
## %bb.16:
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_roce_sp_modify_responder   ## TAILCALL
LBB0_5:
	movq	(%rdx), %rdx
LBB0_6:
	cmpq	%rcx, %rdx
	jne	LBB0_7
## %bb.17:
	movq	(%rbx), %rsi
	cmpq	%rcx, %rsi
	je	LBB0_18
## %bb.22:
	movq	_QED_ROCE_QP_STATE_SQD@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_8
## %bb.23:
	movl	(%r15), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	jmp	LBB0_20
LBB0_7:
	movq	_QED_ROCE_QP_STATE_SQD@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rdi
LBB0_8:
	movq	(%rbx), %rsi
	cmpq	%rcx, %rdi
	jne	LBB0_11
## %bb.9:
	cmpq	%rcx, %rsi
	je	LBB0_18
## %bb.10:
	cmpq	%rdx, %rsi
	jne	LBB0_11
LBB0_18:
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_qed_roce_sp_modify_responder
	testl	%eax, %eax
	jne	LBB0_28
## %bb.19:
	movl	(%r15), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
LBB0_20:
	xorl	%ecx, %ecx
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_roce_sp_modify_requester   ## TAILCALL
LBB0_11:
	movq	_QED_ROCE_QP_STATE_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	jne	LBB0_24
## %bb.12:
	movl	(%r15), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_qed_roce_sp_modify_responder
	testl	%eax, %eax
	jne	LBB0_28
## %bb.13:
	movl	(%r15), %r8d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	jmp	LBB0_21
LBB0_24:
	cltq
	cmpq	%rax, %rsi
	jne	LBB0_27
## %bb.25:
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_roce_sp_destroy_qp_responder
	testl	%eax, %eax
	jne	LBB0_28
## %bb.26:
	movl	-28(%rbp), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_roce_sp_destroy_qp_requester
	jmp	LBB0_28
LBB0_27:
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_DP_VERBOSE
	xorl	%eax, %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_ROCE_QP_STATE_INIT,4,2     ## @QED_ROCE_QP_STATE_INIT
	.comm	_QED_ROCE_QP_STATE_RESET,4,2    ## @QED_ROCE_QP_STATE_RESET
	.comm	_QED_ROCE_QP_STATE_RTR,8,3      ## @QED_ROCE_QP_STATE_RTR
	.comm	_QED_ROCE_QP_STATE_RTS,8,3      ## @QED_ROCE_QP_STATE_RTS
	.comm	_QED_ROCE_QP_STATE_SQD,8,3      ## @QED_ROCE_QP_STATE_SQD
	.comm	_QED_ROCE_QP_STATE_ERR,8,3      ## @QED_ROCE_QP_STATE_ERR
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_roce_modify_qp             ; -- Begin function qed_roce_modify_qp
	.p2align	2
_qed_roce_modify_qp:                    ; @qed_roce_modify_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _QED_ROCE_QP_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_ROCE_QP_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _QED_ROCE_QP_STATE_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QED_ROCE_QP_STATE_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w9, w2
	ccmp	w8, w2, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	x9, [x19]
Lloh6:
	adrp	x10, _QED_ROCE_QP_STATE_RTR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QED_ROCE_QP_STATE_RTR@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_qed_roce_sp_create_responder
LBB0_3:
Lloh9:
	adrp	x9, _QED_ROCE_QP_STATE_RTR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QED_ROCE_QP_STATE_RTR@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x9]
LBB0_4:
	mov	w9, w2
	cmp	x10, x9
	b.ne	LBB0_8
; %bb.5:
	ldr	x11, [x19]
Lloh12:
	adrp	x10, _QED_ROCE_QP_STATE_RTS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _QED_ROCE_QP_STATE_RTS@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x11, x10
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x20
	mov	x1, x19
	bl	_qed_roce_sp_create_requester
	cbnz	w0, LBB0_28
; %bb.7:
	ldr	w3, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_qed_roce_sp_modify_responder
LBB0_8:
Lloh15:
	adrp	x10, _QED_ROCE_QP_STATE_RTS@GOTPAGE
Lloh16:
	ldr	x10, [x10, _QED_ROCE_QP_STATE_RTS@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
LBB0_9:
	cmp	x10, x9
	b.ne	LBB0_13
; %bb.10:
	ldr	x11, [x19]
	cmp	x11, x9
	b.eq	LBB0_17
; %bb.11:
Lloh18:
	adrp	x12, _QED_ROCE_QP_STATE_SQD@GOTPAGE
Lloh19:
	ldr	x12, [x12, _QED_ROCE_QP_STATE_SQD@GOTPAGEOFF]
Lloh20:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_14
; %bb.12:
	ldr	w4, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	b	LBB0_19
LBB0_13:
Lloh21:
	adrp	x11, _QED_ROCE_QP_STATE_SQD@GOTPAGE
Lloh22:
	ldr	x11, [x11, _QED_ROCE_QP_STATE_SQD@GOTPAGEOFF]
Lloh23:
	ldr	x12, [x11]
LBB0_14:
	ldr	x11, [x19]
	cmp	x12, x9
	b.ne	LBB0_21
; %bb.15:
	cmp	x11, x9
	b.eq	LBB0_17
; %bb.16:
	cmp	x11, x10
	b.ne	LBB0_21
LBB0_17:
	ldr	w3, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_qed_roce_sp_modify_responder
	cbnz	w0, LBB0_28
; %bb.18:
	ldr	w4, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
LBB0_19:
	mov	w3, #0
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_qed_roce_sp_modify_requester
LBB0_21:
Lloh24:
	adrp	x9, _QED_ROCE_QP_STATE_ERR@GOTPAGE
Lloh25:
	ldr	x9, [x9, _QED_ROCE_QP_STATE_ERR@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x11, x9
	b.ne	LBB0_24
; %bb.22:
	ldr	w3, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #1
	bl	_qed_roce_sp_modify_responder
	cbnz	w0, LBB0_28
; %bb.23:
	ldr	w4, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	w3, #1
	b	LBB0_20
LBB0_24:
	sxtw	x8, w8
	cmp	x11, x8
	b.ne	LBB0_27
; %bb.25:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_qed_roce_sp_destroy_qp_responder
	cbnz	w0, LBB0_28
; %bb.26:
	ldr	w8, [sp, #12]
	str	w8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	bl	_qed_roce_sp_destroy_qp_requester
	b	LBB0_28
LBB0_27:
Lloh27:
	adrp	x8, _QED_MSG_RDMA@GOTPAGE
Lloh28:
	ldr	x8, [x8, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x2, l_.str@PAGE
Lloh31:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_VERBOSE
	mov	w0, #0
LBB0_28:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_ROCE_QP_STATE_INIT,4,2     ; @QED_ROCE_QP_STATE_INIT
	.comm	_QED_ROCE_QP_STATE_RESET,4,2    ; @QED_ROCE_QP_STATE_RESET
	.comm	_QED_ROCE_QP_STATE_RTR,8,3      ; @QED_ROCE_QP_STATE_RTR
	.comm	_QED_ROCE_QP_STATE_RTS,8,3      ; @QED_ROCE_QP_STATE_RTS
	.comm	_QED_ROCE_QP_STATE_SQD,8,3      ; @QED_ROCE_QP_STATE_SQD
	.comm	_QED_ROCE_QP_STATE_ERR,8,3      ; @QED_ROCE_QP_STATE_ERR
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0\n"

.subsections_via_symbols
