	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_ndo_uninit
_ipoib_ndo_uninit:                      ## @ipoib_ndo_uninit
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_ipoib_priv
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	leaq	24(%rbx), %rdi
	callq	_list_empty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_ipoib_priv
	leaq	16(%rax), %r15
	movq	%r15, %rdi
	callq	_down_write
	movq	%rbx, %rdi
	addq	$20, %rdi
	callq	_list_del
	movq	%r15, %rdi
	callq	_up_write
LBB0_2:
	movq	%r14, %rdi
	callq	_ipoib_neigh_hash_uninit
	movq	%r14, %rdi
	callq	_ipoib_ib_dev_cleanup
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_flush_workqueue
	movq	8(%rbx), %rdi
	callq	_destroy_workqueue
	movq	$0, 8(%rbx)
LBB0_4:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_put                        ## TAILCALL
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipoib_ndo_uninit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_ndo_uninit
_ipoib_ndo_uninit:                      ; @ipoib_ndo_uninit
	.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	x20, x0
	bl	_ipoib_priv
	mov	x19, x0
	bl	_ASSERT_RTNL
	add	x0, x19, #24
	bl	_list_empty
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x0, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_ipoib_priv
	add	x21, x0, #16
	mov	x0, x21
	bl	_down_write
	add	x0, x19, #20
	bl	_list_del
	mov	x0, x21
	bl	_up_write
LBB0_2:
	mov	x0, x20
	bl	_ipoib_neigh_hash_uninit
	mov	x0, x20
	bl	_ipoib_ib_dev_cleanup
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_flush_workqueue
	ldr	x0, [x19, #8]
	bl	_destroy_workqueue
	str	xzr, [x19, #8]
LBB0_4:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	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
	b	_dev_put
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipoib_ndo_uninit
.subsections_via_symbols
