	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iwarp_mpa_v2_set_private
_qed_iwarp_mpa_v2_set_private:          ## @qed_iwarp_mpa_v2_set_private
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$0, (%rdx)
	movl	32(%rsi), %edi
	callq	_MPA_REV2
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	24(%rbx), %rax
	movq	(%rax), %r13
	movl	$16, (%r15)
	movl	16(%rbx), %r12d
	movl	(%rbx), %eax
	movl	8(%rbx), %r15d
	movq	_MPA_RTR_TYPE_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_8
## %bb.2:
	movq	_MPA_V2_PEER2PEER_MODEL@GOTPCREL(%rip), %rdx
	movq	_MPA_RTR_TYPE_ZERO_SEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	_MPA_V2_SEND_RTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	(%rdx), %r12d
	movq	_MPA_RTR_TYPE_ZERO_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_6
## %bb.5:
	movq	_MPA_V2_WRITE_RTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_6:
	orl	%ecx, %r12d
	orl	%edx, %r15d
	movq	_MPA_RTR_TYPE_ZERO_READ@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_MPA_V2_READ_RTR@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
LBB0_8:
	movl	%r12d, %edi
	callq	_htons
	movq	%rax, 8(%r13)
	movl	%r15d, %edi
	callq	_htons
	movq	%rax, (%r13)
	movq	_QED_MSG_RDMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MPA_V2_IRD_ORD_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r13, %rdx
	movl	%r10d, %r13d
	andl	%r15d, %r13d
	andl	%r12d, %r10d
	movq	_MPA_V2_PEER2PEER_MODEL@GOTPCREL(%rip), %rcx
	xorl	%r11d, %r11d
	movl	(%rcx), %ecx
	andl	%r12d, %ecx
	setne	%r11b
	movq	_MPA_V2_SEND_RTR@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	andl	(%rcx), %r12d
	movq	8(%rdx), %rcx
	setne	%r14b
	movq	_MPA_V2_WRITE_RTR@GOTPCREL(%rip), %rdx
	xorl	%r12d, %r12d
	movl	(%rdx), %edx
	andl	%r15d, %edx
	setne	%r12b
	movq	_MPA_V2_READ_RTR@GOTPCREL(%rip), %rdx
	xorl	%ebx, %ebx
	andl	(%rdx), %r15d
	setne	%bl
	leaq	L_.str(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %r8
	movl	%eax, %r9d
	pushq	%rbx
	pushq	%r12
	pushq	%r14
	pushq	%r11
	pushq	%r10
	pushq	%r13
	callq	_DP_VERBOSE
	addq	$56, %rsp
	jmp	LBB0_10
LBB0_9:
	addq	$8, %rsp
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPA_RTR_TYPE_NONE,4,2          ## @MPA_RTR_TYPE_NONE
	.comm	_MPA_V2_PEER2PEER_MODEL,4,2     ## @MPA_V2_PEER2PEER_MODEL
	.comm	_MPA_RTR_TYPE_ZERO_SEND,4,2     ## @MPA_RTR_TYPE_ZERO_SEND
	.comm	_MPA_V2_SEND_RTR,4,2            ## @MPA_V2_SEND_RTR
	.comm	_MPA_RTR_TYPE_ZERO_WRITE,4,2    ## @MPA_RTR_TYPE_ZERO_WRITE
	.comm	_MPA_V2_WRITE_RTR,4,2           ## @MPA_V2_WRITE_RTR
	.comm	_MPA_RTR_TYPE_ZERO_READ,4,2     ## @MPA_RTR_TYPE_ZERO_READ
	.comm	_MPA_V2_READ_RTR,4,2            ## @MPA_V2_READ_RTR
	.comm	_QED_MSG_RDMA,4,2               ## @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MPA_NEGOTIATE Header: [%x ord:%x ird] %x ord:%x ird:%x peer2peer:%x rtr_send:%x rtr_write:%x rtr_read:%x\n"

	.comm	_MPA_V2_IRD_ORD_MASK,4,2        ## @MPA_V2_IRD_ORD_MASK
	.no_dead_strip	_qed_iwarp_mpa_v2_set_private
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iwarp_mpa_v2_set_private
_qed_iwarp_mpa_v2_set_private:          ; @qed_iwarp_mpa_v2_set_private
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	str	wzr, [x2]
	ldr	w0, [x1, #32]
	bl	_MPA_REV2
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x22, #24]
	ldr	x23, [x8]
	mov	w8, #16
	str	w8, [x20]
	ldr	w21, [x22, #16]
	ldr	w20, [x22, #8]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _MPA_RTR_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MPA_RTR_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	adrp	x26, _MPA_V2_PEER2PEER_MODEL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _MPA_V2_PEER2PEER_MODEL@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MPA_V2_SEND_RTR@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MPA_V2_SEND_RTR@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x24, _MPA_V2_WRITE_RTR@GOTPAGE
Lloh8:
	ldr	x24, [x24, _MPA_V2_WRITE_RTR@GOTPAGEOFF]
Lloh9:
	adrp	x22, _MPA_V2_READ_RTR@GOTPAGE
Lloh10:
	ldr	x22, [x22, _MPA_V2_READ_RTR@GOTPAGEOFF]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.2:
	ldr	w9, [x26]
	orr	w9, w9, w21
Lloh11:
	adrp	x10, _MPA_RTR_TYPE_ZERO_SEND@GOTPAGE
Lloh12:
	ldr	x10, [x10, _MPA_RTR_TYPE_ZERO_SEND@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	ldr	w11, [x25]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w21, w9, w10
Lloh14:
	adrp	x9, _MPA_RTR_TYPE_ZERO_WRITE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MPA_RTR_TYPE_ZERO_WRITE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	ldr	w10, [x24]
	tst	w9, w8
	csel	w9, wzr, w10, eq
	orr	w20, w9, w20
Lloh17:
	adrp	x9, _MPA_RTR_TYPE_ZERO_READ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MPA_RTR_TYPE_ZERO_READ@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x22]
	orr	w20, w8, w20
LBB0_4:
	mov	x0, x21
	bl	_htons
	str	x0, [x23, #8]
	mov	x0, x20
	bl	_htons
	mov	x4, x0
	str	x0, [x23]
Lloh20:
	adrp	x8, _QED_MSG_RDMA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _QED_MSG_RDMA@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x3, [x23, #8]
Lloh23:
	adrp	x8, _MPA_V2_IRD_ORD_MASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MPA_V2_IRD_ORD_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	and	w6, w8, w20
	and	w7, w8, w21
	ldr	w8, [x26]
	tst	w8, w21
	cset	w8, ne
	ldr	w9, [x25]
	tst	w9, w21
	cset	w9, ne
	ldr	w10, [x24]
	tst	w10, w20
	cset	w10, ne
	ldr	w11, [x22]
	tst	w11, w20
	cset	w11, ne
	stp	w10, w11, [sp, #8]
	stp	w8, w9, [sp]
Lloh26:
	adrp	x2, l_.str@PAGE
Lloh27:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x5, x4
	bl	_DP_VERBOSE
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_MPA_RTR_TYPE_NONE,4,2          ; @MPA_RTR_TYPE_NONE
	.comm	_MPA_V2_PEER2PEER_MODEL,4,2     ; @MPA_V2_PEER2PEER_MODEL
	.comm	_MPA_RTR_TYPE_ZERO_SEND,4,2     ; @MPA_RTR_TYPE_ZERO_SEND
	.comm	_MPA_V2_SEND_RTR,4,2            ; @MPA_V2_SEND_RTR
	.comm	_MPA_RTR_TYPE_ZERO_WRITE,4,2    ; @MPA_RTR_TYPE_ZERO_WRITE
	.comm	_MPA_V2_WRITE_RTR,4,2           ; @MPA_V2_WRITE_RTR
	.comm	_MPA_RTR_TYPE_ZERO_READ,4,2     ; @MPA_RTR_TYPE_ZERO_READ
	.comm	_MPA_V2_READ_RTR,4,2            ; @MPA_V2_READ_RTR
	.comm	_QED_MSG_RDMA,4,2               ; @QED_MSG_RDMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MPA_NEGOTIATE Header: [%x ord:%x ird] %x ord:%x ird:%x peer2peer:%x rtr_send:%x rtr_write:%x rtr_read:%x\n"

	.comm	_MPA_V2_IRD_ORD_MASK,4,2        ; @MPA_V2_IRD_ORD_MASK
	.no_dead_strip	_qed_iwarp_mpa_v2_set_private
.subsections_via_symbols
