	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_restrack_del              ## -- Begin function rdma_restrack_del
	.p2align	4, 0x90
_rdma_restrack_del:                     ## @rdma_restrack_del
	.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
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_res_to_dev
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdi
	shlq	$2, %rdi
	addq	(%r14), %rdi
	movl	28(%rbx), %esi
	callq	_xa_erase
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setne	%dil
	callq	_WARN_ON
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	callq	_rdma_restrack_put
	leaq	24(%rbx), %rdi
	callq	_wait_for_completion
LBB0_3:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_put_task_struct
	movq	$0, 16(%rbx)
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_restrack_del              ; -- Begin function rdma_restrack_del
	.p2align	2
_rdma_restrack_del:                     ; @rdma_restrack_del
	.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	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_res_to_dev
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x19, #8]
	add	x0, x8, x9, lsl #2
	ldr	w1, [x19, #28]
	bl	_xa_erase
	cmp	x0, x19
	cset	w0, ne
	bl	_WARN_ON
	str	wzr, [x19]
	mov	x0, x19
	bl	_rdma_restrack_put
	add	x0, x19, #24
	bl	_wait_for_completion
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_put_task_struct
	str	xzr, [x19, #16]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
