	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uobj_destroy                   ## -- Begin function uobj_destroy
	.p2align	4, 0x90
_uobj_destroy:                          ## @uobj_destroy
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	(%rsi), %r14
	movq	%r14, %rdi
	callq	_down_read
	movq	_UVERBS_LOOKUP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_uverbs_try_lock_object
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_RDMA_REMOVE_DESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_uverbs_destroy_uobject
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_up_read
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVERBS_LOOKUP_WRITE,4,2        ## @UVERBS_LOOKUP_WRITE
	.comm	_RDMA_REMOVE_DESTROY,4,2        ## @RDMA_REMOVE_DESTROY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uobj_destroy                   ; -- Begin function uobj_destroy
	.p2align	2
_uobj_destroy:                          ; @uobj_destroy
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x1]
	mov	x0, x19
	bl	_down_read
Lloh0:
	adrp	x8, _UVERBS_LOOKUP_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVERBS_LOOKUP_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_uverbs_try_lock_object
	mov	x22, x0
	cbnz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _RDMA_REMOVE_DESTROY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_REMOVE_DESTROY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_uverbs_destroy_uobject
	mov	x22, x0
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	w1, #0
	bl	_atomic_set
LBB0_3:
	mov	x0, x19
	bl	_up_read
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UVERBS_LOOKUP_WRITE,4,2        ; @UVERBS_LOOKUP_WRITE
	.comm	_RDMA_REMOVE_DESTROY,4,2        ; @RDMA_REMOVE_DESTROY
.subsections_via_symbols
