	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ocrdma_add_qpn_map
_ocrdma_add_qpn_map:                    ## @ocrdma_add_qpn_map
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movq	(%rsi), %rcx
	movq	_OCRDMA_MAX_QP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jae	LBB0_3
## %bb.1:
	movq	(%rdi), %rdx
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, (%rdx,%rcx,8)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OCRDMA_MAX_QP,8,3              ## @OCRDMA_MAX_QP
	.no_dead_strip	_ocrdma_add_qpn_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ocrdma_add_qpn_map
_ocrdma_add_qpn_map:                    ; @ocrdma_add_qpn_map
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _EINVAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	neg	w0, w9
	ldr	x9, [x1]
Lloh3:
	adrp	x10, _OCRDMA_MAX_QP@GOTPAGE
Lloh4:
	ldr	x10, [x10, _OCRDMA_MAX_QP@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.hs	LBB0_2
; %bb.1:
	ldr	x8, [x8]
	ldr	x10, [x8, x9, lsl #3]
	cbz	x10, LBB0_3
LBB0_2:
	ret
LBB0_3:
	mov	w0, #0
	str	x1, [x8, x9, lsl #3]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OCRDMA_MAX_QP,8,3              ; @OCRDMA_MAX_QP
	.no_dead_strip	_ocrdma_add_qpn_map
.subsections_via_symbols
