	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_restrack_get_byid         ## -- Begin function rdma_restrack_get_byid
	.p2align	4, 0x90
_rdma_restrack_get_byid:                ## @rdma_restrack_get_byid
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	shlq	$2, %rbx
	addq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_xa_lock
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_xa_load
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_rdma_restrack_get
	testl	%eax, %eax
	jne	LBB0_3
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %r14
LBB0_3:
	movq	%rbx, %rdi
	callq	_xa_unlock
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_restrack_get_byid         ; -- Begin function rdma_restrack_get_byid
	.p2align	2
_rdma_restrack_get_byid:                ; @rdma_restrack_get_byid
	.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	x20, x2
	ldr	x8, [x0]
	add	x19, x8, w1, uxtw #2
	mov	x0, x19
	bl	_xa_lock
	mov	x0, x19
	mov	x1, x20
	bl	_xa_load
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_rdma_restrack_get
	cbnz	w0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
LBB0_3:
	mov	x0, x19
	bl	_xa_unlock
	mov	x0, x20
	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	_ENOENT,4,2                     ; @ENOENT
.subsections_via_symbols
