	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_clear_srq                 ## -- Begin function mlx5_clear_srq
	.p2align	4, 0x90
_mlx5_clear_srq:                        ## @mlx5_clear_srq
	.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_QP_TABLE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rsi, %rax
	shrq	%cl, %rax
	movq	(%rdi), %rcx
	cltq
	shlq	$4, %rax
	decl	8(%rcx,%rax)
	movq	(%rcx,%rax), %rdi
	je	LBB0_2
## %bb.1:
	movq	_MLX5_SRQ_TABLE_MASK@GOTPCREL(%rip), %rax
	andq	(%rax), %rsi
	movq	$0, (%rdi,%rsi,8)
	popq	%rbp
	retq
LBB0_2:
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_QP_TABLE_SHIFT,8,3        ## @MLX5_QP_TABLE_SHIFT
	.comm	_MLX5_SRQ_TABLE_MASK,8,3        ## @MLX5_SRQ_TABLE_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_clear_srq                 ; -- Begin function mlx5_clear_srq
	.p2align	2
_mlx5_clear_srq:                        ; @mlx5_clear_srq
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MLX5_QP_TABLE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_QP_TABLE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsr	x8, x1, x8
	ldr	x9, [x0]
	lsl	x8, x8, #32
	add	x8, x9, x8, asr #28
	ldr	w9, [x8, #8]
	ldr	x0, [x8]
	subs	w9, w9, #1
	str	w9, [x8, #8]
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MLX5_SRQ_TABLE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_SRQ_TABLE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	and	x8, x8, x1
	str	xzr, [x0, x8, lsl #3]
	ret
LBB0_2:
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_QP_TABLE_SHIFT,8,3        ; @MLX5_QP_TABLE_SHIFT
	.comm	_MLX5_SRQ_TABLE_MASK,8,3        ; @MLX5_SRQ_TABLE_MASK
.subsections_via_symbols
