	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_lookup_get_uobject        ## -- Begin function rdma_lookup_get_uobject
	.p2align	4, 0x90
_rdma_lookup_get_uobject:               ## @rdma_lookup_get_uobject
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r15d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_ENOMSG@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	cmpq	%rbx, %rax
	je	LBB0_1
## %bb.5:
	movq	%rbx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_7
LBB0_1:
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_lookup_get_idr_uobject
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_17
LBB0_2:
	movq	_UVERBS_LOOKUP_DESTROY@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_12
## %bb.3:
	movq	(%r12), %rsi
	movl	4(%rsi), %edi
	callq	_srcu_dereference
	testl	%eax, %eax
	je	LBB0_4
LBB0_12:
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_uverbs_try_lock_object
	testl	%eax, %eax
	je	LBB0_15
## %bb.13:
	movl	%eax, %ebx
	jmp	LBB0_14
LBB0_8:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	*8(%rax)
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
LBB0_17:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpq	%rbx, 8(%r13)
	je	LBB0_2
## %bb.10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_15:
	testq	%r14, %r14
	je	LBB0_17
## %bb.16:
	movl	16(%r13), %eax
	movl	%eax, (%r14)
	jmp	LBB0_17
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	*(%rax)
	movq	%r13, %rdi
	callq	_uverbs_uobject_put
	movl	%ebx, %edi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMSG,4,2                     ## @ENOMSG
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_UVERBS_LOOKUP_DESTROY,4,2      ## @UVERBS_LOOKUP_DESTROY
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_lookup_get_uobject        ; -- Begin function rdma_lookup_get_uobject
	.p2align	2
_rdma_lookup_get_uobject:               ; @rdma_lookup_get_uobject
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _ENOMSG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMSG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	cmp	x0, x23
	b.eq	LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_3:
	mov	x0, #0
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_lookup_get_idr_uobject
	mov	x21, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_9
LBB0_4:
Lloh6:
	adrp	x8, _UVERBS_LOOKUP_DESTROY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UVERBS_LOOKUP_DESTROY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_6
; %bb.5:
	ldr	x1, [x22]
	ldr	w0, [x1, #4]
	bl	_srcu_dereference
	cbz	w0, LBB0_14
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_uverbs_try_lock_object
	cbz	w0, LBB0_12
; %bb.7:
	mov	x22, x0
	b	LBB0_16
LBB0_8:
	ldr	x8, [x23]
	ldr	x8, [x8, #8]
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	blr	x8
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_10
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	x8, [x21, #8]
	cmp	x8, x23
	b.eq	LBB0_4
; %bb.11:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
	cbz	x20, LBB0_9
; %bb.13:
	ldr	w8, [x21, #16]
	str	w8, [x20]
	b	LBB0_9
LBB0_14:
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_16:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	mov	x0, x21
	bl	_uverbs_uobject_put
	mov	x0, x22
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMSG,4,2                     ; @ENOMSG
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_UVERBS_LOOKUP_DESTROY,4,2      ; @UVERBS_LOOKUP_DESTROY
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
