	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_iwarp_modify_qp            ## -- Begin function qed_iwarp_modify_qp
	.p2align	4, 0x90
_qed_iwarp_modify_qp:                   ## @qed_iwarp_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	callq	_spin_lock_bh
	movl	(%r14), %eax
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rdi
	callq	_spin_unlock_bh
	xorl	%r12d, %r12d
	jmp	LBB0_23
LBB0_2:
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_3
## %bb.4:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_19:
	movl	%ebx, (%r14)
	movl	%ebx, %edx
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_3:
	xorl	%ebx, %ebx
	movl	%eax, %edx
	jmp	LBB0_21
LBB0_10:
	xorl	%r12d, %r12d
	cmpl	$131, %ebx
	je	LBB0_14
## %bb.11:
	cmpl	$132, %ebx
	jne	LBB0_12
## %bb.13:
	testl	%r15d, %r15d
	sete	%bl
	movl	$132, (%r14)
	movl	$132, %edx
	jmp	LBB0_22
LBB0_5:
	xorl	%r12d, %r12d
	cmpl	$131, %ebx
	je	LBB0_9
## %bb.6:
	cmpl	$129, %ebx
	jne	LBB0_7
## %bb.8:
	movl	$129, (%r14)
	xorl	%ebx, %ebx
	movl	$129, %edx
	jmp	LBB0_21
LBB0_15:
	movl	$131, %edx
	cmpl	$132, %ebx
	je	LBB0_20
## %bb.16:
	cmpl	$130, %ebx
	jne	LBB0_18
## %bb.17:
	movl	$130, (%r14)
	xorl	%ebx, %ebx
	movl	$130, %edx
LBB0_21:
	xorl	%r12d, %r12d
LBB0_22:
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	4(%r14), %ecx
	movq	_iwarp_state_names@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	(%rdi,%rax,4), %r8d
	movslq	%edx, %rax
	movl	(%rdi,%rax,4), %r9d
	testl	%r15d, %r15d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	%rdx, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_DP_VERBOSE
	movq	(%r13), %rdi
	callq	_spin_unlock_bh
	testb	%bl, %bl
	je	LBB0_23
## %bb.24:
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qed_iwarp_modify_fw            ## TAILCALL
LBB0_23:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	testl	%r15d, %r15d
	sete	%bl
	movl	$131, (%r14)
	movl	$131, %edx
	jmp	LBB0_22
LBB0_12:
	movl	$129, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_9:
	movl	$131, (%r14)
	testl	%r15d, %r15d
	sete	%bl
	movl	$131, %edx
	jmp	LBB0_22
LBB0_7:
	movl	$130, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_18:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	subl	(%rcx), %r12d
	jmp	LBB0_22
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_15
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QP(0x%x) %s --> %s%s\n"

	.comm	_iwarp_state_names,8,3          ## @iwarp_state_names
L_.str.1:                               ## @.str.1
	.asciz	"internal"

L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_iwarp_modify_qp            ; -- Begin function qed_iwarp_modify_qp
	.p2align	2
_qed_iwarp_modify_qp:                   ; @qed_iwarp_modify_qp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_spin_lock_bh
	ldr	w8, [x19]
	cmp	w8, w23
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20]
	bl	_spin_unlock_bh
	mov	w22, #0
	b	LBB0_12
LBB0_2:
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_5
; %bb.3:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	mov	w24, #0
	mov	w22, #0
	b	LBB0_9
LBB0_5:
	mov	w24, #0
	mov	w22, #0
	mov	x23, x8
	b	LBB0_10
LBB0_6:
	cmp	w23, #131
	b.eq	LBB0_8
; %bb.7:
	cmp	w23, #132
	b.ne	LBB0_19
LBB0_8:
	mov	w22, #0
	cmp	w21, #0
	cset	w24, eq
LBB0_9:
	str	w23, [x19]
LBB0_10:
Lloh2:
	adrp	x9, _QED_MSG_RDMA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
Lloh5:
	adrp	x9, _iwarp_state_names@GOTPAGE
Lloh6:
	ldr	x9, [x9, _iwarp_state_names@GOTPAGEOFF]
	ldr	w3, [x19, #4]
Lloh7:
	ldr	x9, [x9]
	ldr	w4, [x9, x8, lsl #2]
	ldr	w5, [x9, w23, sxtw #2]
Lloh8:
	adrp	x8, l_.str.1@PAGE
Lloh9:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh10:
	adrp	x9, l_.str.2@PAGE
Lloh11:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w21, #0
	csel	x6, x9, x8, eq
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_DP_VERBOSE
	ldr	x0, [x20]
	bl	_spin_unlock_bh
	cbz	w24, LBB0_12
; %bb.11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_qed_iwarp_modify_fw
LBB0_12:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	cmp	w23, #131
	b.eq	LBB0_20
; %bb.14:
	cmp	w23, #129
	b.eq	LBB0_4
; %bb.15:
	mov	w24, #0
	mov	w22, #0
	mov	w23, #130
	b	LBB0_10
LBB0_16:
	cmp	w23, #132
	b.eq	LBB0_21
; %bb.17:
	cmp	w23, #130
	b.eq	LBB0_4
; %bb.18:
	mov	w24, #0
Lloh14:
	adrp	x9, _EINVAL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	neg	w22, w9
	mov	w23, #131
	b	LBB0_10
LBB0_19:
	mov	w24, #0
	mov	w22, #0
	mov	w23, #129
	b	LBB0_10
LBB0_20:
	mov	w22, #0
	str	w23, [x19]
	cmp	w21, #0
	cset	w24, eq
	b	LBB0_10
LBB0_21:
	mov	w24, #0
	mov	w22, #0
	mov	w23, #131
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QP(0x%x) %s --> %s%s\n"

	.comm	_iwarp_state_names,8,3          ; @iwarp_state_names
l_.str.1:                               ; @.str.1
	.asciz	"internal"

l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
