	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devx_handle_mkey_indirect
_devx_handle_mkey_indirect:             ## @devx_handle_mkey_indirect
	.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, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_create_mkey_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_memory_key_mkey_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rdx, %rsi
	movl	%eax, %edx
	callq	_MLX5_ADDR_OF
	movq	%rax, %rbx
	movq	_mkey_7_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movq	%rax, %r14
	movq	_create_mkey_out@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_mkey_index@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_MLX5_GET
	movq	%rax, %rdi
	callq	_mlx5_idx_to_mkey
	orl	%r14d, %eax
	movl	%eax, 8(%r12)
	movq	_MLX5_MKEY_INDIRECT_DEVX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r12)
	movq	_start_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_GET64
	movq	%rax, 32(%r12)
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_GET64
	movq	%rax, 24(%r12)
	movq	_pd@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movq	%rax, 16(%r12)
	movq	_translations_octword_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_GET
	movq	%rax, (%r12)
	movq	(%r15), %rbx
	movl	8(%r12), %edi
	callq	_mlx5_base_mkey
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rdi
	movl	%eax, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_xa_store
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xa_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_create_mkey_in,4,2             ## @create_mkey_in
	.comm	_memory_key_mkey_entry,4,2      ## @memory_key_mkey_entry
	.comm	_mkey_7_0,4,2                   ## @mkey_7_0
	.comm	_create_mkey_out,8,3            ## @create_mkey_out
	.comm	_mkey_index,4,2                 ## @mkey_index
	.comm	_MLX5_MKEY_INDIRECT_DEVX,4,2    ## @MLX5_MKEY_INDIRECT_DEVX
	.comm	_start_addr,4,2                 ## @start_addr
	.comm	_len,4,2                        ## @len
	.comm	_pd,4,2                         ## @pd
	.comm	_translations_octword_size,4,2  ## @translations_octword_size
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_devx_handle_mkey_indirect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devx_handle_mkey_indirect
_devx_handle_mkey_indirect:             ; @devx_handle_mkey_indirect
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x3
	mov	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _create_mkey_in@GOTPAGE
Lloh1:
	ldr	x9, [x9, _create_mkey_in@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
Lloh3:
	adrp	x9, _memory_key_mkey_entry@GOTPAGE
Lloh4:
	ldr	x9, [x9, _memory_key_mkey_entry@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	mov	x1, x8
	bl	_MLX5_ADDR_OF
	mov	x21, x0
Lloh6:
	adrp	x8, _mkey_7_0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mkey_7_0@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_MLX5_GET
	mov	x23, x0
Lloh9:
	adrp	x8, _create_mkey_out@GOTPAGE
Lloh10:
	ldr	x8, [x8, _create_mkey_out@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
Lloh12:
	adrp	x8, _mkey_index@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mkey_index@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_MLX5_GET
	bl	_mlx5_idx_to_mkey
	orr	w8, w0, w23
	mov	x22, x20
	str	w8, [x22, #8]!
Lloh15:
	adrp	x8, _MLX5_MKEY_INDIRECT_DEVX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MLX5_MKEY_INDIRECT_DEVX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20, #40]
Lloh18:
	adrp	x8, _start_addr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _start_addr@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x21
	bl	_MLX5_GET64
	str	x0, [x20, #32]
Lloh21:
	adrp	x8, _len@GOTPAGE
Lloh22:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x21
	bl	_MLX5_GET64
	str	x0, [x20, #24]
Lloh24:
	adrp	x8, _pd@GOTPAGE
Lloh25:
	ldr	x8, [x8, _pd@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x21
	bl	_MLX5_GET
	str	x0, [x20, #16]
Lloh27:
	adrp	x8, _translations_octword_size@GOTPAGE
Lloh28:
	ldr	x8, [x8, _translations_octword_size@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x21
	bl	_MLX5_GET
	str	x0, [x20]
	ldr	x19, [x19]
	ldr	w0, [x22]
	bl	_mlx5_base_mkey
	mov	x1, x0
Lloh30:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x2, x22
	bl	_xa_store
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xa_err
	.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	_create_mkey_in,4,2             ; @create_mkey_in
	.comm	_memory_key_mkey_entry,4,2      ; @memory_key_mkey_entry
	.comm	_mkey_7_0,4,2                   ; @mkey_7_0
	.comm	_create_mkey_out,8,3            ; @create_mkey_out
	.comm	_mkey_index,4,2                 ; @mkey_index
	.comm	_MLX5_MKEY_INDIRECT_DEVX,4,2    ; @MLX5_MKEY_INDIRECT_DEVX
	.comm	_start_addr,4,2                 ; @start_addr
	.comm	_len,4,2                        ; @len
	.comm	_pd,4,2                         ; @pd
	.comm	_translations_octword_size,4,2  ; @translations_octword_size
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_devx_handle_mkey_indirect
.subsections_via_symbols
