	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_format_req
_cm_format_req:                         ## @cm_format_req
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	48(%rdx), %r15
	movq	88(%rdx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	88(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_CM_REQ_ATTR_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_CM_MSG_SEQUENCE_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_cm_form_tid
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%r12, %r13
	movl	%eax, %edx
	callq	_cm_format_mad_hdr
	movl	16(%r12), %eax
	movl	%eax, 84(%rbx)
	movl	80(%r14), %eax
	movl	%eax, 80(%rbx)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movl	76(%r14), %edi
	callq	_cpu_to_be32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cm_req_set_local_qpn
	movl	72(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_init_depth
	movl	68(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_remote_resp_timeout
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_cm_req_set_qp_type
	movl	64(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_flow_ctrl
	movl	60(%r14), %edi
	callq	_cpu_to_be32
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cm_req_set_starting_psn
	movl	56(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_local_resp_timeout
	movq	48(%r14), %rax
	movl	52(%rax), %ecx
	movl	%ecx, 72(%rbx)
	movl	48(%rax), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_path_mtu
	movl	40(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_max_cm_retries
	movq	(%r14), %rax
	movq	_IB_QPT_XRC_INI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movl	36(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_resp_res
	movl	32(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_retry_count
	movl	28(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_rnr_retry_count
	movl	24(%r14), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_srq
LBB0_2:
	cmpl	$1, (%r15)
	jg	LBB0_4
## %bb.3:
	movdqu	32(%r15), %xmm0
	jmp	LBB0_5
LBB0_4:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
LBB0_5:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movdqu	%xmm0, 56(%rbx)
	movl	28(%r15), %eax
	movl	%eax, 48(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 44(%rbx)
	movl	20(%r15), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_primary_flow_label
	movl	16(%r15), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_primary_packet_rate
	movl	12(%r15), %eax
	movl	%eax, 40(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movl	8(%r15), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_primary_sl
	xorl	%esi, %esi
	cmpl	$2, (%r15)
	setl	%sil
	movq	%rbx, %rdi
	callq	_cm_req_set_primary_subnet_local
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	4(%r15), %esi
	callq	_cm_ack_timeout
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cm_req_set_primary_local_ack_timeout
	testq	%r12, %r12
	je	LBB0_10
## %bb.6:
	cmpl	$1, (%r12)
	jg	LBB0_8
## %bb.7:
	movdqu	32(%r12), %xmm0
	jmp	LBB0_9
LBB0_8:
	movq	_IB_LID_PERMISSIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
LBB0_9:
	movdqu	%xmm0, 24(%rbx)
	movl	28(%r12), %eax
	movl	%eax, 20(%rbx)
	movl	24(%r12), %eax
	movl	%eax, 16(%rbx)
	movl	20(%r12), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_alt_flow_label
	movl	16(%r12), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_alt_packet_rate
	movl	12(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	8(%r12), %esi
	movq	%rbx, %rdi
	callq	_cm_req_set_alt_sl
	xorl	%esi, %esi
	cmpl	$2, (%r12)
	setl	%sil
	movq	%rbx, %rdi
	callq	_cm_req_set_alt_subnet_local
	movq	(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	4(%r12), %esi
	callq	_cm_ack_timeout
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_cm_req_set_alt_local_ack_timeout
LBB0_10:
	movq	16(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movq	8(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.13:
	movl	8(%rbx), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CM_REQ_ATTR_ID,4,2             ## @CM_REQ_ATTR_ID
	.comm	_CM_MSG_SEQUENCE_REQ,4,2        ## @CM_MSG_SEQUENCE_REQ
	.comm	_IB_QPT_XRC_INI,8,3             ## @IB_QPT_XRC_INI
	.comm	_IB_LID_PERMISSIVE,8,3          ## @IB_LID_PERMISSIVE
	.no_dead_strip	_cm_format_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cm_format_req
_cm_format_req:                         ; @cm_format_req
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x25, [x2, #48]
	ldr	x24, [x2, #88]
	add	x22, x0, #88
Lloh0:
	adrp	x8, _CM_REQ_ATTR_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CM_REQ_ATTR_ID@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _CM_MSG_SEQUENCE_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CM_MSG_SEQUENCE_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_cm_form_tid
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_cm_format_mad_hdr
	ldr	w8, [x21, #16]
	str	w8, [x19, #84]
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	ldp	w0, w9, [x20, #76]
	stp	w8, w9, [x19, #76]
	bl	_cpu_to_be32
	mov	x1, x0
	mov	x0, x19
	bl	_cm_req_set_local_qpn
	ldr	w1, [x20, #72]
	mov	x0, x19
	bl	_cm_req_set_init_depth
	ldr	w1, [x20, #68]
	mov	x0, x19
	bl	_cm_req_set_remote_resp_timeout
	ldr	x1, [x20]
	mov	x0, x19
	bl	_cm_req_set_qp_type
	ldr	w1, [x20, #64]
	mov	x0, x19
	bl	_cm_req_set_flow_ctrl
	ldr	w0, [x20, #60]
	bl	_cpu_to_be32
	mov	x1, x0
	mov	x0, x19
	bl	_cm_req_set_starting_psn
	ldr	w1, [x20, #56]
	mov	x0, x19
	bl	_cm_req_set_local_resp_timeout
	ldr	x8, [x20, #48]
	ldp	w1, w9, [x8, #48]
	str	w9, [x19, #72]
	mov	x0, x19
	bl	_cm_req_set_path_mtu
	ldr	w1, [x20, #40]
	mov	x0, x19
	bl	_cm_req_set_max_cm_retries
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _IB_QPT_XRC_INI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_QPT_XRC_INI@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	w1, [x20, #36]
	mov	x0, x19
	bl	_cm_req_set_resp_res
	ldr	w1, [x20, #32]
	mov	x0, x19
	bl	_cm_req_set_retry_count
	ldr	w1, [x20, #28]
	mov	x0, x19
	bl	_cm_req_set_rnr_retry_count
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_cm_req_set_srq
LBB0_2:
	ldr	w8, [x25]
	cmp	w8, #1
	b.gt	LBB0_4
; %bb.3:
	ldp	x9, x8, [x25, #32]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _IB_LID_PERMISSIVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	mov	x9, x8
LBB0_5:
	stp	x9, x8, [x19, #56]
	ldr	d0, [x25, #24]
	stur	d0, [x19, #44]
	ldr	w1, [x25, #20]
	mov	x0, x19
	bl	_cm_req_set_primary_flow_label
	ldr	w1, [x25, #16]
	mov	x0, x19
	bl	_cm_req_set_primary_packet_rate
	ldp	w1, w8, [x25, #8]
	str	w8, [x19, #40]
	ldr	w8, [x25]
	str	w8, [x19]
	mov	x0, x19
	bl	_cm_req_set_primary_sl
	ldr	w8, [x25]
	cmp	w8, #2
	cset	w1, lt
	mov	x0, x19
	bl	_cm_req_set_primary_subnet_local
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x25, #4]
	bl	_cm_ack_timeout
	mov	x1, x0
	mov	x0, x19
	bl	_cm_req_set_primary_local_ack_timeout
	cbz	x24, LBB0_10
; %bb.6:
	ldr	w8, [x24]
	cmp	w8, #1
	b.gt	LBB0_8
; %bb.7:
	ldp	x9, x8, [x24, #32]
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _IB_LID_PERMISSIVE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_LID_PERMISSIVE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	mov	x9, x8
LBB0_9:
	stp	x9, x8, [x19, #24]
	ldr	d0, [x24, #24]
	str	d0, [x19, #16]
	ldr	w1, [x24, #20]
	mov	x0, x19
	bl	_cm_req_set_alt_flow_label
	ldr	w1, [x24, #16]
	mov	x0, x19
	bl	_cm_req_set_alt_packet_rate
	ldp	w1, w8, [x24, #8]
	str	w8, [x19, #12]
	ldr	w8, [x24]
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_cm_req_set_alt_sl
	ldr	w8, [x24]
	cmp	w8, #2
	cset	w1, lt
	mov	x0, x19
	bl	_cm_req_set_alt_subnet_local
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w0, [x8]
	ldr	w1, [x24, #4]
	bl	_cm_ack_timeout
	mov	x1, x0
	mov	x0, x19
	bl	_cm_req_set_alt_local_ack_timeout
LBB0_10:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_13
; %bb.11:
	ldr	x2, [x20, #8]
	cbz	x2, LBB0_13
; %bb.12:
	ldr	w0, [x19, #8]
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_memcpy
LBB0_13:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CM_REQ_ATTR_ID,4,2             ; @CM_REQ_ATTR_ID
	.comm	_CM_MSG_SEQUENCE_REQ,4,2        ; @CM_MSG_SEQUENCE_REQ
	.comm	_IB_QPT_XRC_INI,8,3             ; @IB_QPT_XRC_INI
	.comm	_IB_LID_PERMISSIVE,8,3          ; @IB_LID_PERMISSIVE
	.no_dead_strip	_cm_format_req
.subsections_via_symbols
