	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cm_format_req_event
_cm_format_req_event:                   ## @cm_format_req_event
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	128(%rdi), %rax
	movq	(%rax), %r15
	movq	%rdx, 112(%rdi)
	callq	_cm_get_bth_pkey
	movl	%eax, 108(%rbx)
	movq	8(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 104(%rbx)
	movq	120(%rbx), %rax
	movq	%rax, 96(%rbx)
	movq	16(%r15), %rcx
	addq	$4, %rax
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	movq	%rax, 88(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 80(%rbx)
	movl	4(%r15), %edi
	callq	_be32_to_cpu
	movq	%rax, 72(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_local_qpn
	movl	%eax, %edi
	callq	_be32_to_cpu
	movq	%rax, 64(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_qp_type
	movl	%eax, 56(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_starting_psn
	movl	%eax, %edi
	callq	_be32_to_cpu
	movq	%rax, 48(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_init_depth
	movl	%eax, 40(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_resp_res
	movl	%eax, 36(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_remote_resp_timeout
	movl	%eax, 32(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_flow_ctrl
	movl	%eax, 28(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_local_resp_timeout
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_retry_count
	movl	%eax, 20(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_rnr_retry_count
	movl	%eax, 16(%rbx)
	movq	%r15, %rdi
	callq	_cm_req_get_srq
	movl	%eax, 12(%rbx)
	movl	(%r14), %eax
	movl	%eax, 8(%rbx)
	movq	%r15, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cm_format_req_event
.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_event
_cm_format_req_event:                   ; @cm_format_req_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x19, x0
	ldr	x8, [x0, #128]
	ldr	x20, [x8]
	str	x2, [x0, #112]
	bl	_cm_get_bth_pkey
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	stp	w8, w0, [x19, #104]
	ldr	x8, [x19, #120]
	ldr	x9, [x20, #16]
	add	x10, x8, #4
	cmp	x9, #0
	csel	x9, xzr, x10, eq
	stp	x9, x8, [x19, #88]
	ldp	w0, w8, [x20, #4]
	str	w8, [x19, #80]
	bl	_be32_to_cpu
	str	x0, [x19, #72]
	mov	x0, x20
	bl	_cm_req_get_local_qpn
	bl	_be32_to_cpu
	str	x0, [x19, #64]
	mov	x0, x20
	bl	_cm_req_get_qp_type
	str	w0, [x19, #56]
	mov	x0, x20
	bl	_cm_req_get_starting_psn
	bl	_be32_to_cpu
	str	x0, [x19, #48]
	mov	x0, x20
	bl	_cm_req_get_init_depth
	str	w0, [x19, #40]
	mov	x0, x20
	bl	_cm_req_get_resp_res
	str	w0, [x19, #36]
	mov	x0, x20
	bl	_cm_req_get_remote_resp_timeout
	str	w0, [x19, #32]
	mov	x0, x20
	bl	_cm_req_get_flow_ctrl
	str	w0, [x19, #28]
	mov	x0, x20
	bl	_cm_req_get_local_resp_timeout
	str	w0, [x19, #24]
	mov	x0, x20
	bl	_cm_req_get_retry_count
	str	w0, [x19, #20]
	mov	x0, x20
	bl	_cm_req_get_rnr_retry_count
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_cm_req_get_srq
	ldr	w8, [x21]
	stp	w8, w0, [x19, #8]
	str	x20, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cm_format_req_event
.subsections_via_symbols
