	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function frwr_mkey_mask
_frwr_mkey_mask:                        ## @frwr_mkey_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MLX5_MKEY_MASK_LEN@GOTPCREL(%rip), %rcx
	movq	_MLX5_MKEY_MASK_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_START_ADDR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_EN_RINVAL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_KEY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_LR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_LW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_RR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_RW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_SMALL_FENCE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_MLX5_MKEY_MASK_FREE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movq	_MLX5_MKEY_MASK_A@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_2:
	orl	%edi, %eax
	movl	%eax, %edi
	popq	%rbp
	jmp	_cpu_to_be64                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_MKEY_MASK_LEN,4,2         ## @MLX5_MKEY_MASK_LEN
	.comm	_MLX5_MKEY_MASK_PAGE_SIZE,4,2   ## @MLX5_MKEY_MASK_PAGE_SIZE
	.comm	_MLX5_MKEY_MASK_START_ADDR,4,2  ## @MLX5_MKEY_MASK_START_ADDR
	.comm	_MLX5_MKEY_MASK_EN_RINVAL,4,2   ## @MLX5_MKEY_MASK_EN_RINVAL
	.comm	_MLX5_MKEY_MASK_KEY,4,2         ## @MLX5_MKEY_MASK_KEY
	.comm	_MLX5_MKEY_MASK_LR,4,2          ## @MLX5_MKEY_MASK_LR
	.comm	_MLX5_MKEY_MASK_LW,4,2          ## @MLX5_MKEY_MASK_LW
	.comm	_MLX5_MKEY_MASK_RR,4,2          ## @MLX5_MKEY_MASK_RR
	.comm	_MLX5_MKEY_MASK_RW,4,2          ## @MLX5_MKEY_MASK_RW
	.comm	_MLX5_MKEY_MASK_SMALL_FENCE,4,2 ## @MLX5_MKEY_MASK_SMALL_FENCE
	.comm	_MLX5_MKEY_MASK_FREE,4,2        ## @MLX5_MKEY_MASK_FREE
	.comm	_MLX5_MKEY_MASK_A,4,2           ## @MLX5_MKEY_MASK_A
	.no_dead_strip	_frwr_mkey_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function frwr_mkey_mask
_frwr_mkey_mask:                        ; @frwr_mkey_mask
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MLX5_MKEY_MASK_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_MKEY_MASK_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MLX5_MKEY_MASK_PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_MKEY_MASK_PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _MLX5_MKEY_MASK_START_ADDR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MLX5_MKEY_MASK_START_ADDR@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _MLX5_MKEY_MASK_EN_RINVAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MLX5_MKEY_MASK_EN_RINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _MLX5_MKEY_MASK_KEY@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MLX5_MKEY_MASK_KEY@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _MLX5_MKEY_MASK_LR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _MLX5_MKEY_MASK_LR@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh17:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _MLX5_MKEY_MASK_LW@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MLX5_MKEY_MASK_LW@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _MLX5_MKEY_MASK_RR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MLX5_MKEY_MASK_RR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
Lloh24:
	adrp	x10, _MLX5_MKEY_MASK_RW@GOTPAGE
Lloh25:
	ldr	x10, [x10, _MLX5_MKEY_MASK_RW@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh26:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh27:
	adrp	x9, _MLX5_MKEY_MASK_SMALL_FENCE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MLX5_MKEY_MASK_SMALL_FENCE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh30:
	adrp	x9, _MLX5_MKEY_MASK_FREE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MLX5_MKEY_MASK_FREE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _MLX5_MKEY_MASK_A@GOTPAGE
Lloh34:
	ldr	x10, [x10, _MLX5_MKEY_MASK_A@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh35:
	ldr	w9, [x10]
	cmp	w0, #0
	csel	w9, wzr, w9, eq
	orr	w0, w8, w9
	b	_cpu_to_be64
	.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	_MLX5_MKEY_MASK_LEN,4,2         ; @MLX5_MKEY_MASK_LEN
	.comm	_MLX5_MKEY_MASK_PAGE_SIZE,4,2   ; @MLX5_MKEY_MASK_PAGE_SIZE
	.comm	_MLX5_MKEY_MASK_START_ADDR,4,2  ; @MLX5_MKEY_MASK_START_ADDR
	.comm	_MLX5_MKEY_MASK_EN_RINVAL,4,2   ; @MLX5_MKEY_MASK_EN_RINVAL
	.comm	_MLX5_MKEY_MASK_KEY,4,2         ; @MLX5_MKEY_MASK_KEY
	.comm	_MLX5_MKEY_MASK_LR,4,2          ; @MLX5_MKEY_MASK_LR
	.comm	_MLX5_MKEY_MASK_LW,4,2          ; @MLX5_MKEY_MASK_LW
	.comm	_MLX5_MKEY_MASK_RR,4,2          ; @MLX5_MKEY_MASK_RR
	.comm	_MLX5_MKEY_MASK_RW,4,2          ; @MLX5_MKEY_MASK_RW
	.comm	_MLX5_MKEY_MASK_SMALL_FENCE,4,2 ; @MLX5_MKEY_MASK_SMALL_FENCE
	.comm	_MLX5_MKEY_MASK_FREE,4,2        ; @MLX5_MKEY_MASK_FREE
	.comm	_MLX5_MKEY_MASK_A,4,2           ; @MLX5_MKEY_MASK_A
	.no_dead_strip	_frwr_mkey_mask
.subsections_via_symbols
