	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_sqp
_is_sqp:                                ## @is_sqp
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_mlx4_is_master
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	8(%r14), %rcx
	movq	(%rbx), %rdi
	movq	16(%rdi), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_5
## %bb.4:
	addq	$3, %rdx
	movl	$1, %eax
	cmpq	%rdx, %rcx
	jle	LBB0_12
	jmp	LBB0_5
LBB0_1:
	movq	(%rbx), %rdi
	callq	_mlx4_is_mfunc
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
LBB0_5:
	callq	_mlx4_is_mfunc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	(%rbx), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.7:
	movq	8(%r14), %rdx
	movq	8(%rax), %rsi
	shlq	$4, %rcx
	xorl	%edi, %edi
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rsi,%rdi), %rdx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	8(%rsi,%rdi), %rdx
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	addq	$16, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_9
LBB0_11:
	movq	_MLX4_IB_ROCE_V2_GSI_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r14)
	setne	%al
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_IB_ROCE_V2_GSI_QP,4,2     ## @MLX4_IB_ROCE_V2_GSI_QP
	.no_dead_strip	_is_sqp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_sqp
_is_sqp:                                ; @is_sqp
	.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, x1
	mov	x20, x0
	ldr	x0, [x0]
	bl	_mlx4_is_master
	cbz	x0, LBB0_3
LBB0_1:
	ldr	x8, [x19, #8]
	ldr	x0, [x20]
	ldr	x9, [x0, #16]
	add	x10, x9, #3
	cmp	x8, x9
	ccmp	x8, x10, #0, ge
	b.gt	LBB0_5
LBB0_2:
	mov	w0, #1
	b	LBB0_12
LBB0_3:
	ldr	x0, [x20]
	bl	_mlx4_is_mfunc
	cbz	x0, LBB0_1
; %bb.4:
	ldr	x0, [x20]
LBB0_5:
	bl	_mlx4_is_mfunc
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x10, [x20]
	ldr	w8, [x10]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.7:
	ldr	x9, [x19, #8]
	ldr	x10, [x10, #8]
	add	x10, x10, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x9, x11
	b.eq	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x11, [x10]
	cmp	x9, x11
	b.eq	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x10, #16
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_11:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _MLX4_IB_ROCE_V2_GSI_QP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_IB_ROCE_V2_GSI_QP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_IB_ROCE_V2_GSI_QP,4,2     ; @MLX4_IB_ROCE_V2_GSI_QP
	.no_dead_strip	_is_sqp
.subsections_via_symbols
