	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function devx_umem_reg_cmd_build
_devx_umem_reg_cmd_build:               ## @devx_umem_reg_cmd_build
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	_create_umem_in@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	(%rdx), %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%rax, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %r15
	movq	(%r14), %rdi
	movq	(%r13), %rsi
	movq	_opcode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_CMD_OP_CREATE_UMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	callq	_MLX5_SET
	movq	_num_of_mtt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	24(%r12), %ecx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_SET64
	movq	_log_page_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r12), %rcx
	movq	_MLX5_ADAPTER_PAGE_SHIFT@GOTPCREL(%rip), %rax
	subq	(%rax), %rcx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movq	_page_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%r12), %rcx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movq	(%r12), %rsi
	movq	8(%r12), %rdx
	xorl	%r8d, %r8d
	cmpq	$0, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_MLX5_IB_MTT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_2:
	movq	_MLX5_IB_MTT_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx5_ib_populate_pas           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_create_umem_in,8,3             ## @create_umem_in
	.comm	_opcode,4,2                     ## @opcode
	.comm	_MLX5_CMD_OP_CREATE_UMEM,8,3    ## @MLX5_CMD_OP_CREATE_UMEM
	.comm	_num_of_mtt,4,2                 ## @num_of_mtt
	.comm	_log_page_size,4,2              ## @log_page_size
	.comm	_MLX5_ADAPTER_PAGE_SHIFT,8,3    ## @MLX5_ADAPTER_PAGE_SHIFT
	.comm	_page_offset,4,2                ## @page_offset
	.comm	_MLX5_IB_MTT_WRITE,4,2          ## @MLX5_IB_MTT_WRITE
	.comm	_MLX5_IB_MTT_READ,4,2           ## @MLX5_IB_MTT_READ
	.no_dead_strip	_devx_umem_reg_cmd_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function devx_umem_reg_cmd_build
_devx_umem_reg_cmd_build:               ; @devx_umem_reg_cmd_build
	.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, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _create_umem_in@GOTPAGE
Lloh1:
	ldr	x24, [x24, _create_umem_in@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	x1, [x2]
	bl	_MLX5_ADDR_OF
	mov	x23, x0
	mov	x1, x0
	bl	_MLX5_ADDR_OF
	mov	x21, x0
	ldr	x0, [x24]
	ldr	x1, [x22]
Lloh2:
	adrp	x8, _opcode@GOTPAGE
Lloh3:
	ldr	x8, [x8, _opcode@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _MLX5_CMD_OP_CREATE_UMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MLX5_CMD_OP_CREATE_UMEM@GOTPAGEOFF]
Lloh7:
	ldr	x3, [x8]
	bl	_MLX5_SET
Lloh8:
	adrp	x8, _num_of_mtt@GOTPAGE
Lloh9:
	ldr	x8, [x8, _num_of_mtt@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	w3, [x20, #24]
	mov	x0, x23
	mov	x1, x23
	bl	_MLX5_SET64
Lloh11:
	adrp	x8, _log_page_size@GOTPAGE
Lloh12:
	ldr	x8, [x8, _log_page_size@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	x8, [x20, #8]
Lloh14:
	adrp	x9, _MLX5_ADAPTER_PAGE_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MLX5_ADAPTER_PAGE_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	sub	x3, x8, x9
	mov	x0, x23
	mov	x1, x23
	bl	_MLX5_SET
Lloh17:
	adrp	x8, _page_offset@GOTPAGE
Lloh18:
	ldr	x8, [x8, _page_offset@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	ldr	x3, [x20, #16]
	mov	x0, x23
	mov	x1, x23
	bl	_MLX5_SET
	ldp	x1, x2, [x20]
	ldr	x8, [x1]
Lloh20:
	adrp	x9, _MLX5_IB_MTT_WRITE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MLX5_IB_MTT_WRITE@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
Lloh23:
	adrp	x9, _MLX5_IB_MTT_READ@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MLX5_IB_MTT_READ@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w4, w8, w9
	mov	x0, x19
	mov	x3, x21
	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	_mlx5_ib_populate_pas
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_create_umem_in,8,3             ; @create_umem_in
	.comm	_opcode,4,2                     ; @opcode
	.comm	_MLX5_CMD_OP_CREATE_UMEM,8,3    ; @MLX5_CMD_OP_CREATE_UMEM
	.comm	_num_of_mtt,4,2                 ; @num_of_mtt
	.comm	_log_page_size,4,2              ; @log_page_size
	.comm	_MLX5_ADAPTER_PAGE_SHIFT,8,3    ; @MLX5_ADAPTER_PAGE_SHIFT
	.comm	_page_offset,4,2                ; @page_offset
	.comm	_MLX5_IB_MTT_WRITE,4,2          ; @MLX5_IB_MTT_WRITE
	.comm	_MLX5_IB_MTT_READ,4,2           ; @MLX5_IB_MTT_READ
	.no_dead_strip	_devx_umem_reg_cmd_build
.subsections_via_symbols
