	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uverbs_close_fd                ## -- Begin function uverbs_close_fd
	.p2align	4, 0x90
_uverbs_close_fd:                       ## @uverbs_close_fd
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %r14
	movq	%r14, -40(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -32(%rbp)
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_down_read_trylock
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_UVERBS_LOOKUP_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_uverbs_try_lock_object
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_RDMA_REMOVE_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_uverbs_destroy_uobject
	movq	%r15, %rdi
	callq	_up_read
LBB0_2:
	movq	_ib_uverbs_release_file@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kref_put
	movq	%rbx, %rdi
	callq	_uverbs_uobject_put
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UVERBS_LOOKUP_WRITE,4,2        ## @UVERBS_LOOKUP_WRITE
	.comm	_RDMA_REMOVE_CLOSE,4,2          ## @RDMA_REMOVE_CLOSE
	.comm	_ib_uverbs_release_file,4,2     ## @ib_uverbs_release_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uverbs_close_fd                ; -- Begin function uverbs_close_fd
	.p2align	2
_uverbs_close_fd:                       ; @uverbs_close_fd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x19, [x0]
	ldr	x20, [x19, #8]
	str	x20, [sp]
	ldr	w8, [x19]
	str	w8, [sp, #8]
	add	x21, x20, #4
	mov	x0, x21
	bl	_down_read_trylock
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _UVERBS_LOOKUP_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UVERBS_LOOKUP_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_uverbs_try_lock_object
	bl	_WARN_ON
Lloh3:
	adrp	x8, _RDMA_REMOVE_CLOSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDMA_REMOVE_CLOSE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_uverbs_destroy_uobject
	mov	x0, x21
	bl	_up_read
LBB0_2:
Lloh6:
	adrp	x8, _ib_uverbs_release_file@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ib_uverbs_release_file@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kref_put
	mov	x0, x19
	bl	_uverbs_uobject_put
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_UVERBS_LOOKUP_WRITE,4,2        ; @UVERBS_LOOKUP_WRITE
	.comm	_RDMA_REMOVE_CLOSE,4,2          ; @RDMA_REMOVE_CLOSE
	.comm	_ib_uverbs_release_file,4,2     ; @ib_uverbs_release_file
.subsections_via_symbols
