	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inm_disconnect                 ## -- Begin function inm_disconnect
	.p2align	4, 0x90
_inm_disconnect:                        ## @inm_disconnect
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_IF_ADDR_WLOCK_ASSERT
	movq	(%rbx), %rbx
	movq	%r14, %rdi
	callq	_if_ref
	movq	_IFMA_F_ENQUEUED@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	leaq	4(%r14), %rdi
	movq	_ifmultiaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ifma_link@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_CK_STAILQ_REMOVE
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_2:
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_MCDPRINTF
	movq	24(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	cmpq	%r15, %rbx
	setne	%dil
	callq	_MPASS
	movq	$0, 24(%rbx)
	xorl	%edi, %edi
	cmpq	$0, 24(%r15)
	sete	%dil
	callq	_MPASS
	xorl	%edi, %edi
	cmpq	%r14, 16(%r15)
	sete	%dil
	callq	_MPASS
	decq	8(%r15)
	jne	LBB0_7
## %bb.4:
	movl	(%r12), %eax
	testl	%eax, (%r15)
	je	LBB0_6
## %bb.5:
	leaq	4(%r14), %rdi
	movq	_ifmultiaddr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ifma_link@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_CK_STAILQ_REMOVE
	movl	(%r12), %eax
	notl	%eax
	andl	%eax, (%r15)
LBB0_6:
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_MCDPRINTF
	movq	%r15, %rdi
	callq	_if_freemulti
	movq	_ifma_restart@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFMA_F_ENQUEUED,4,2            ## @IFMA_F_ENQUEUED
	.comm	_ifmultiaddr,4,2                ## @ifmultiaddr
	.comm	_ifma_link,4,2                  ## @ifma_link
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"removed ifma: %p from %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"removed ll_ifma: %p from %s\n"

	.comm	_ifma_restart,4,2               ## @ifma_restart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inm_disconnect                 ; -- Begin function inm_disconnect
	.p2align	2
_inm_disconnect:                        ; @inm_disconnect
	.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
	ldr	x19, [x0, #8]
	mov	x0, x19
	bl	_IF_ADDR_WLOCK_ASSERT
	ldr	x21, [x20]
	mov	x0, x19
	bl	_if_ref
	ldr	w8, [x21]
Lloh0:
	adrp	x22, _IFMA_F_ENQUEUED@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IFMA_F_ENQUEUED@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x0, x19, #4
Lloh2:
	adrp	x8, _ifmultiaddr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ifmultiaddr@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _ifma_link@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ifma_link@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x1, x21
	bl	_CK_STAILQ_REMOVE
	ldr	w8, [x22]
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_2:
	ldr	w2, [x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_MCDPRINTF
	ldr	x20, [x21, #24]
	cbz	x20, LBB0_7
; %bb.3:
	cmp	x21, x20
	cset	w0, ne
	bl	_MPASS
	str	xzr, [x21, #24]
	ldr	x8, [x20, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_MPASS
	ldr	x8, [x20, #16]
	cmp	x8, x19
	cset	w0, eq
	bl	_MPASS
	ldr	x8, [x20, #8]
	subs	x8, x8, #1
	str	x8, [x20, #8]
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	add	x0, x19, #4
Lloh10:
	adrp	x8, _ifmultiaddr@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ifmultiaddr@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x8, _ifma_link@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ifma_link@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
	mov	x1, x20
	bl	_CK_STAILQ_REMOVE
	ldr	w8, [x22]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
LBB0_6:
	ldr	w2, [x19]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_MCDPRINTF
	mov	x0, x20
	bl	_if_freemulti
Lloh18:
	adrp	x8, _ifma_restart@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ifma_restart@GOTPAGEOFF]
	mov	w9, #1
Lloh20:
	str	w9, [x8]
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IFMA_F_ENQUEUED,4,2            ; @IFMA_F_ENQUEUED
	.comm	_ifmultiaddr,4,2                ; @ifmultiaddr
	.comm	_ifma_link,4,2                  ; @ifma_link
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"removed ifma: %p from %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"removed ll_ifma: %p from %s\n"

	.comm	_ifma_restart,4,2               ; @ifma_restart
.subsections_via_symbols
