	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_umr_control_seg
_set_umr_control_seg:                   ## @set_umr_control_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	%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	%rcx, %r15
	movl	%esi, %r13d
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	(%r9), %rbx
	movq	_MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET@GOTPCREL(%rip), %rax
	movq	_MLX5_WQE_UMR_CTRL_FLAG_INLINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_FREE@GOTPCREL(%rip), %rax
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_MKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_htobe64
	leaq	16(%rbx), %r12
	movl	%eax, 16(%rbx)
	movq	$0, 32(%rbx)
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	20(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_IBV_MW_TYPE_2@GOTPCREL(%rip), %r14
	cmpl	%r13d, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_QPN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htobe64
	orl	%eax, (%r12)
LBB0_2:
	movq	16(%rbp), %rax
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.3:
	movq	%rax, %r15
	movl	$1, %edi
	callq	_get_klm_octo
	movq	%rax, 8(%rbx)
	cmpl	%r13d, (%r14)
	jne	LBB0_5
## %bb.4:
	movq	_MLX5_WQE_UMR_CTRL_FLAG_CHECK_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_5:
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN@GOTPCREL(%rip), %rax
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_START_ADDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_WRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movq	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_ATOMIC@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_htobe64
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_6:
	xorl	%edi, %edi
	movq	%rax, %r15
	callq	_get_klm_octo
	movq	%rax, 8(%rbx)
	cmpl	%r13d, (%r14)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.7:
	movq	_MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rbx, %r12
LBB0_8:
	orl	%eax, (%r12)
LBB0_9:
	addq	$40, (%rcx)
	addl	$2, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET,4,2 ## @MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET
	.comm	_MLX5_WQE_UMR_CTRL_FLAG_INLINE,4,2 ## @MLX5_WQE_UMR_CTRL_FLAG_INLINE
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_FREE,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_FREE
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_MKEY,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_MKEY
	.comm	_IBV_MW_TYPE_2,4,2              ## @IBV_MW_TYPE_2
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_QPN,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_QPN
	.comm	_MLX5_WQE_UMR_CTRL_FLAG_CHECK_FREE,4,2 ## @MLX5_WQE_UMR_CTRL_FLAG_CHECK_FREE
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_START_ADDR,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_START_ADDR
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_READ,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_READ
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_WRITE,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_WRITE
	.comm	_MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_ATOMIC,4,2 ## @MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_ATOMIC
	.comm	_MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN,4,2 ## @MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN
	.no_dead_strip	_set_umr_control_seg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_umr_control_seg
_set_umr_control_seg:                   ; @set_umr_control_seg
	.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	x19, x6
	mov	x20, x5
	mov	x22, x3
	mov	x21, x1
	ldr	x24, [x5]
Lloh0:
	adrp	x8, _MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MLX5_WQE_UMR_CTRL_FLAG_INLINE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_FLAG_INLINE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_FREE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_FREE@GOTPAGEOFF]
	str	w8, [x24]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_MKEY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_MKEY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_htobe64
	mov	x23, x24
	str	w0, [x23, #16]!
	str	xzr, [x24, #32]
	ldr	w0, [x24, #24]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x24, #20]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh12:
	adrp	x25, _IBV_MW_TYPE_2@GOTPAGE
Lloh13:
	ldr	x25, [x25, _IBV_MW_TYPE_2@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _MLX5_WQE_UMR_CTRL_MKEY_MASK_QPN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX5_WQE_UMR_CTRL_MKEY_MASK_QPN@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_htobe64
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
LBB0_2:
	ldr	x8, [x22]
	cbz	x8, LBB0_6
; %bb.3:
	mov	w0, #1
	bl	_get_klm_octo
	str	x0, [x24, #8]
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.4:
Lloh17:
	adrp	x8, _MLX5_WQE_UMR_CTRL_FLAG_CHECK_FREE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX5_WQE_UMR_CTRL_FLAG_CHECK_FREE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x24]
	orr	w8, w9, w8
	str	w8, [x24]
LBB0_5:
Lloh20:
	adrp	x8, _MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_START_ADDR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_START_ADDR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh29:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_READ@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_READ@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_WRITE@GOTPAGE
Lloh33:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_REMOTE_WRITE@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh35:
	adrp	x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_ATOMIC@GOTPAGE
Lloh36:
	ldr	x9, [x9, _MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_ATOMIC@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_htobe64
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	bl	_get_klm_octo
	str	x0, [x24, #8]
	ldr	w8, [x25]
	cmp	w8, w21
	b.ne	LBB0_9
; %bb.7:
Lloh38:
	adrp	x8, _MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	x23, x24
LBB0_8:
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
LBB0_9:
	ldr	x8, [x20]
	add	x8, x8, #40
	str	x8, [x20]
	ldr	w8, [x19]
	add	w8, w8, #2
	str	w8, [x19]
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_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_ACCESS_ATOMIC
	.comm	_MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN,4,2 ; @MLX5_WQE_UMR_CTRL_FLAG_CHECK_QPN
	.no_dead_strip	_set_umr_control_seg
.subsections_via_symbols
