	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_sa_sendonly_fullmem_support ## -- Begin function ib_sa_sendonly_fullmem_support
	.p2align	4, 0x90
_ib_sa_sendonly_fullmem_support:        ## @ib_sa_sendonly_fullmem_support
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %rdi
	movq	_sa_client@GOTPCREL(%rip), %rsi
	callq	_ib_get_client_data
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	8(%rax), %r12
	subq	(%rax), %rbx
	shlq	$5, %rbx
	leaq	(%r12,%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	xorl	%r15d, %r15d
	cmpq	$0, 24(%r12,%rbx)
	je	LBB0_5
## %bb.3:
	movq	8(%r12,%rbx), %rax
	movq	_RDMA_CLASS_PORT_INFO_IB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	leaq	(%r12,%rbx), %rdi
	addq	$16, %rdi
	callq	_ib_get_cpi_capmask2
	movl	%eax, %r15d
	movq	_IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
LBB0_5:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sa_client,4,2                  ## @sa_client
	.comm	_RDMA_CLASS_PORT_INFO_IB,8,3    ## @RDMA_CLASS_PORT_INFO_IB
	.comm	_IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT,4,2 ## @IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_sa_sendonly_fullmem_support ; -- Begin function ib_sa_sendonly_fullmem_support
	.p2align	2
_ib_sa_sendonly_fullmem_support:        ; @ib_sa_sendonly_fullmem_support
	.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	x0, x1
Lloh0:
	adrp	x1, _sa_client@GOTPAGE
Lloh1:
	ldr	x1, [x1, _sa_client@GOTPAGEOFF]
	bl	_ib_get_client_data
	cbz	x0, LBB0_6
; %bb.1:
	ldp	x8, x20, [x0]
	sub	x21, x19, x8
	add	x19, x20, x21, lsl #5
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _RDMA_CLASS_PORT_INFO_IB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RDMA_CLASS_PORT_INFO_IB@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	add	x8, x20, x21, lsl #5
	add	x0, x8, #16
	bl	_ib_get_cpi_capmask2
Lloh5:
	adrp	x8, _IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w20, w8, w0
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x20
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_sa_client,4,2                  ; @sa_client
	.comm	_RDMA_CLASS_PORT_INFO_IB,8,3    ; @RDMA_CLASS_PORT_INFO_IB
	.comm	_IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT,4,2 ; @IB_SA_CAP_MASK2_SENDONLY_FULL_MEM_SUPPORT
.subsections_via_symbols
