	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_check_fragmented_striding_rq_cap ## -- Begin function mlx5e_check_fragmented_striding_rq_cap
	.p2align	4, 0x90
_mlx5e_check_fragmented_striding_rq_cap: ## @mlx5e_check_fragmented_striding_rq_cap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_striding_rq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_umr_ptr_rlky@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MLX5_CAP_GEN
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_reg_umr_sq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MLX5_CAP_ETH
	movq	%rax, %r14
	movq	_max_wqe_sz_sq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MLX5_CAP_GEN
	xorl	%ecx, %ecx
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	movq	_MLX5E_UMR_WQE_INLINE_SZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	$1, %ecx
	cmpq	%rax, %rdx
	jle	LBB0_7
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rax, %rcx
	callq	_mlx5_core_warn
	jmp	LBB0_6
LBB0_2:
	movq	_max_wqe_sz_sq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MLX5_CAP_GEN
LBB0_6:
	xorl	%ecx, %ecx
LBB0_7:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_striding_rq,4,2                ## @striding_rq
	.comm	_umr_ptr_rlky,4,2               ## @umr_ptr_rlky
	.comm	_reg_umr_sq,4,2                 ## @reg_umr_sq
	.comm	_max_wqe_sz_sq,4,2              ## @max_wqe_sz_sq
	.comm	_MLX5E_UMR_WQE_INLINE_SZ,8,3    ## @MLX5E_UMR_WQE_INLINE_SZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot support Striding RQ: UMR WQE size (%d) exceeds maximum supported (%d).\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_check_fragmented_striding_rq_cap ; -- Begin function mlx5e_check_fragmented_striding_rq_cap
	.p2align	2
_mlx5e_check_fragmented_striding_rq_cap: ; @mlx5e_check_fragmented_striding_rq_cap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _striding_rq@GOTPAGE
Lloh1:
	ldr	x8, [x8, _striding_rq@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _umr_ptr_rlky@GOTPAGE
Lloh4:
	ldr	x8, [x8, _umr_ptr_rlky@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _reg_umr_sq@GOTPAGE
Lloh7:
	ldr	x8, [x8, _reg_umr_sq@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_ETH
	mov	x20, x0
Lloh9:
	adrp	x8, _max_wqe_sz_sq@GOTPAGE
Lloh10:
	ldr	x8, [x8, _max_wqe_sz_sq@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
	cbz	x20, LBB0_6
; %bb.3:
	mov	x3, x0
Lloh12:
	adrp	x8, _MLX5E_UMR_WQE_INLINE_SZ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX5E_UMR_WQE_INLINE_SZ@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
	cmp	x2, x0
	b.le	LBB0_8
; %bb.4:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_mlx5_core_warn
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _max_wqe_sz_sq@GOTPAGE
Lloh18:
	ldr	x8, [x8, _max_wqe_sz_sq@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_MLX5_CAP_GEN
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #1
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_striding_rq,4,2                ; @striding_rq
	.comm	_umr_ptr_rlky,4,2               ; @umr_ptr_rlky
	.comm	_reg_umr_sq,4,2                 ; @reg_umr_sq
	.comm	_max_wqe_sz_sq,4,2              ; @max_wqe_sz_sq
	.comm	_MLX5E_UMR_WQE_INLINE_SZ,8,3    ; @MLX5E_UMR_WQE_INLINE_SZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot support Striding RQ: UMR WQE size (%d) exceeds maximum supported (%d).\n"

.subsections_via_symbols
