	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_build_umr_wqe
_mlx5e_build_umr_wqe:                   ## @mlx5e_build_umr_wqe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_MLX5E_UMR_WQE_INLINE_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MLX5_SEND_WQE_DS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
	movl	(%r14), %edi
	movq	_MLX5_WQE_CTRL_QPN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	callq	_cpu_to_be32
	movl	%eax, 20(%rbx)
	movq	_MLX5_WQE_CTRL_CQ_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	(%r15), %eax
	movl	%eax, 12(%rbx)
	movq	_MLX5_UMR_TRANSLATION_OFFSET_EN@GOTPCREL(%rip), %rax
	movq	_MLX5_UMR_INLINE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_MLX5_MPWRQ_PAGES_PER_WQE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_MTT_OCTW
	movl	%eax, %edi
	callq	_cpu_to_be16
	movl	%eax, 8(%rbx)
	movq	_MLX5_MKEY_MASK_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be64
	movl	%eax, 4(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_UMR_WQE_INLINE_SZ,4,2    ## @MLX5E_UMR_WQE_INLINE_SZ
	.comm	_MLX5_SEND_WQE_DS,4,2           ## @MLX5_SEND_WQE_DS
	.comm	_MLX5_WQE_CTRL_QPN_SHIFT,4,2    ## @MLX5_WQE_CTRL_QPN_SHIFT
	.comm	_MLX5_WQE_CTRL_CQ_UPDATE,4,2    ## @MLX5_WQE_CTRL_CQ_UPDATE
	.comm	_MLX5_UMR_TRANSLATION_OFFSET_EN,4,2 ## @MLX5_UMR_TRANSLATION_OFFSET_EN
	.comm	_MLX5_UMR_INLINE,4,2            ## @MLX5_UMR_INLINE
	.comm	_MLX5_MPWRQ_PAGES_PER_WQE,4,2   ## @MLX5_MPWRQ_PAGES_PER_WQE
	.comm	_MLX5_MKEY_MASK_FREE,4,2        ## @MLX5_MKEY_MASK_FREE
	.no_dead_strip	_mlx5e_build_umr_wqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_build_umr_wqe
_mlx5e_build_umr_wqe:                   ; @mlx5e_build_umr_wqe
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MLX5E_UMR_WQE_INLINE_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_UMR_WQE_INLINE_SZ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _MLX5_SEND_WQE_DS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_SEND_WQE_DS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _MLX5_WQE_CTRL_QPN_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX5_WQE_CTRL_QPN_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
	orr	w0, w8, w0
	bl	_cpu_to_be32
	str	w0, [x19, #20]
Lloh9:
	adrp	x8, _MLX5_WQE_CTRL_CQ_UPDATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX5_WQE_CTRL_CQ_UPDATE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	stp	w9, w8, [x19, #12]
Lloh12:
	adrp	x8, _MLX5_UMR_TRANSLATION_OFFSET_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5_UMR_TRANSLATION_OFFSET_EN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _MLX5_UMR_INLINE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MLX5_UMR_INLINE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh18:
	adrp	x8, _MLX5_MPWRQ_PAGES_PER_WQE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLX5_MPWRQ_PAGES_PER_WQE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_MLX5_MTT_OCTW
	bl	_cpu_to_be16
	str	w0, [x19, #8]
Lloh21:
	adrp	x8, _MLX5_MKEY_MASK_FREE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLX5_MKEY_MASK_FREE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_cpu_to_be64
	str	w0, [x19, #4]
	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
	ret
	.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	_MLX5E_UMR_WQE_INLINE_SZ,4,2    ; @MLX5E_UMR_WQE_INLINE_SZ
	.comm	_MLX5_SEND_WQE_DS,4,2           ; @MLX5_SEND_WQE_DS
	.comm	_MLX5_WQE_CTRL_QPN_SHIFT,4,2    ; @MLX5_WQE_CTRL_QPN_SHIFT
	.comm	_MLX5_WQE_CTRL_CQ_UPDATE,4,2    ; @MLX5_WQE_CTRL_CQ_UPDATE
	.comm	_MLX5_UMR_TRANSLATION_OFFSET_EN,4,2 ; @MLX5_UMR_TRANSLATION_OFFSET_EN
	.comm	_MLX5_UMR_INLINE,4,2            ; @MLX5_UMR_INLINE
	.comm	_MLX5_MPWRQ_PAGES_PER_WQE,4,2   ; @MLX5_MPWRQ_PAGES_PER_WQE
	.comm	_MLX5_MKEY_MASK_FREE,4,2        ; @MLX5_MKEY_MASK_FREE
	.no_dead_strip	_mlx5e_build_umr_wqe
.subsections_via_symbols
