	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_find_srq                  ## -- Begin function mlx5_find_srq
	.p2align	4, 0x90
_mlx5_find_srq:                         ## @mlx5_find_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_SRQ_TABLE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movq	%rsi, %rdx
	shrq	%cl, %rdx
	movq	(%rdi), %rax
	movslq	%edx, %rcx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_1
## %bb.2:
	movq	(%rax,%rcx), %rax
	movq	_MLX5_SRQ_TABLE_MASK@GOTPCREL(%rip), %rcx
	andq	(%rcx), %rsi
	movq	(%rax,%rsi,8), %rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_SRQ_TABLE_SHIFT,8,3       ## @MLX5_SRQ_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_find_srq                  ; -- Begin function mlx5_find_srq
	.p2align	2
_mlx5_find_srq:                         ; @mlx5_find_srq
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MLX5_SRQ_TABLE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_SRQ_TABLE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsr	x9, x1, x8
	ldr	x8, [x0]
	lsl	x10, x9, #32
	add	x10, x8, x10, asr #28
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_2
; %bb.1:
	sxtw	x9, w9
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
Lloh3:
	adrp	x9, _MLX5_SRQ_TABLE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_SRQ_TABLE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	and	x9, x9, x1
	ldr	x0, [x8, x9, lsl #3]
	ret
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_SRQ_TABLE_SHIFT,8,3       ; @MLX5_SRQ_TABLE_SHIFT
	.comm	_MLX5_SRQ_TABLE_MASK,8,3        ; @MLX5_SRQ_TABLE_MASK
.subsections_via_symbols
