	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_frmr_seg
_set_frmr_seg:                          ## @set_frmr_seg
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdx), %rdi
	callq	_to_hr_mr
	movq	%rax, %r15
	movl	48(%rbx), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_ACCESS_MW_BIND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r12), %eax
	setne	%dl
	callq	_roce_set_bit
	movl	48(%rbx), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_ACCESS_REMOTE_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r12), %eax
	setne	%dl
	callq	_roce_set_bit
	movl	48(%rbx), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_4_RR_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r12), %eax
	setne	%dl
	callq	_roce_set_bit
	movl	48(%rbx), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_4_RW_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r12), %eax
	setne	%dl
	callq	_roce_set_bit
	movl	48(%rbx), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_4_LW_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_ACCESS_LOCAL_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r12), %eax
	setne	%dl
	callq	_roce_set_bit
	movl	(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 32(%rbx)
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%rbx)
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
	movl	4(%r12), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx)
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_cpu_to_le64
	movl	%eax, (%rbx)
	movl	4(%r15), %edi
	callq	_cpu_to_le32
	movq	%rax, 8(%r14)
	movl	(%r14), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PG_SHIFT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	8(%r15), %rcx
	callq	_roce_set_field
	movl	(%r14), %edi
	movq	_V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_roce_set_bit                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S
	.comm	_IB_ACCESS_MW_BIND,4,2          ## @IB_ACCESS_MW_BIND
	.comm	_V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ## @IB_ACCESS_REMOTE_ATOMIC
	.comm	_V2_RC_FRMR_WQE_BYTE_4_RR_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_4_RR_S
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ## @IB_ACCESS_REMOTE_READ
	.comm	_V2_RC_FRMR_WQE_BYTE_4_RW_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_4_RW_S
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ## @IB_ACCESS_REMOTE_WRITE
	.comm	_V2_RC_FRMR_WQE_BYTE_4_LW_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_4_LW_S
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ## @IB_ACCESS_LOCAL_WRITE
	.comm	_V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M,4,2 ## @V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M
	.comm	_V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S
	.comm	_PG_SHIFT_OFFSET,8,3            ## @PG_SHIFT_OFFSET
	.comm	_V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S,4,2 ## @V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S
	.no_dead_strip	_set_frmr_seg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_frmr_seg
_set_frmr_seg:                          ; @set_frmr_seg
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x0, [x2, #8]
	bl	_to_hr_mr
	mov	x20, x0
	ldr	w0, [x21, #48]
Lloh0:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w8, [x22]
Lloh3:
	adrp	x9, _IB_ACCESS_MW_BIND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_ACCESS_MW_BIND@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	bl	_roce_set_bit
	ldr	w0, [x21, #48]
Lloh6:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_ATOMIC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	bl	_roce_set_bit
	ldr	w0, [x21, #48]
Lloh12:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_4_RR_S@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_4_RR_S@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w8, [x22]
Lloh15:
	adrp	x9, _IB_ACCESS_REMOTE_READ@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_READ@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	bl	_roce_set_bit
	ldr	w0, [x21, #48]
Lloh18:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_4_RW_S@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_4_RW_S@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w8, [x22]
Lloh21:
	adrp	x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IB_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	bl	_roce_set_bit
	ldr	w0, [x21, #48]
Lloh24:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_4_LW_S@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_4_LW_S@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w8, [x22]
Lloh27:
	adrp	x9, _IB_ACCESS_LOCAL_WRITE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IB_ACCESS_LOCAL_WRITE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w2, ne
	bl	_roce_set_bit
	ldr	w0, [x20]
	bl	_cpu_to_le32
	str	x0, [x21, #40]
	bl	_cpu_to_le32
	str	x0, [x21, #32]
	ldr	x8, [x22, #8]
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x21, #24]
	bl	_cpu_to_le32
	str	x0, [x21, #16]
	ldr	w0, [x22, #4]
	bl	_cpu_to_le32
	str	x0, [x21, #8]
	ldr	x8, [x22, #8]
	ldr	w0, [x8, #4]
	bl	_cpu_to_le64
	str	w0, [x21]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le32
	str	x0, [x19, #8]
	ldr	w0, [x19]
Lloh30:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S@GOTPAGE
Lloh34:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	ldr	x8, [x20, #8]
Lloh36:
	adrp	x9, _PG_SHIFT_OFFSET@GOTPAGE
Lloh37:
	ldr	x9, [x9, _PG_SHIFT_OFFSET@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	add	x3, x9, x8
	bl	_roce_set_field
	ldr	w0, [x19]
Lloh39:
	adrp	x8, _V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S@GOTPAGE
Lloh40:
	ldr	x8, [x8, _V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	w2, #0
	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
	b	_roce_set_bit
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_4_BIND_EN_S
	.comm	_IB_ACCESS_MW_BIND,4,2          ; @IB_ACCESS_MW_BIND
	.comm	_V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_4_ATOMIC_S
	.comm	_IB_ACCESS_REMOTE_ATOMIC,4,2    ; @IB_ACCESS_REMOTE_ATOMIC
	.comm	_V2_RC_FRMR_WQE_BYTE_4_RR_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_4_RR_S
	.comm	_IB_ACCESS_REMOTE_READ,4,2      ; @IB_ACCESS_REMOTE_READ
	.comm	_V2_RC_FRMR_WQE_BYTE_4_RW_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_4_RW_S
	.comm	_IB_ACCESS_REMOTE_WRITE,4,2     ; @IB_ACCESS_REMOTE_WRITE
	.comm	_V2_RC_FRMR_WQE_BYTE_4_LW_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_4_LW_S
	.comm	_IB_ACCESS_LOCAL_WRITE,4,2      ; @IB_ACCESS_LOCAL_WRITE
	.comm	_V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M,4,2 ; @V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_M
	.comm	_V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_40_PBL_BUF_PG_SZ_S
	.comm	_PG_SHIFT_OFFSET,8,3            ; @PG_SHIFT_OFFSET
	.comm	_V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S,4,2 ; @V2_RC_FRMR_WQE_BYTE_40_BLK_MODE_S
	.no_dead_strip	_set_frmr_seg
.subsections_via_symbols
