	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_notify_node_leave    ## -- Begin function ieee80211_notify_node_leave
	.p2align	4, 0x90
_ieee80211_notify_node_leave:           ## @ieee80211_notify_node_leave
	.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, %r15
	movq	8(%rdi), %rbx
	movq	8(%rbx), %r14
	movl	(%r14), %edi
	callq	_CURVNET_SET_QUIET
	movq	_IEEE80211_MSG_NODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpq	%r15, (%rbx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %r8
	cmoveq	%rax, %r8
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_IEEE80211_NOTE
	cmpq	%r15, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_RTM_IEEE80211_LEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_notify_macaddr
	jmp	LBB0_3
LBB0_1:
	movq	_RTM_IEEE80211_DISASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_rt_ieee80211msg
	movq	_LINK_STATE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_if_link_state_change
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CURVNET_RESTORE                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_MSG_NODE,4,2         ## @IEEE80211_MSG_NODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%snode leave"

L_.str.1:                               ## @.str.1
	.asciz	"bss "

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_RTM_IEEE80211_DISASSOC,4,2     ## @RTM_IEEE80211_DISASSOC
	.comm	_LINK_STATE_DOWN,4,2            ## @LINK_STATE_DOWN
	.comm	_RTM_IEEE80211_LEAVE,4,2        ## @RTM_IEEE80211_LEAVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_notify_node_leave    ; -- Begin function ieee80211_notify_node_leave
	.p2align	2
_ieee80211_notify_node_leave:           ; @ieee80211_notify_node_leave
	.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	x21, [x0, #8]
	ldr	x19, [x21, #8]
	ldr	w0, [x19]
	bl	_CURVNET_SET_QUIET
Lloh0:
	adrp	x8, _IEEE80211_MSG_NODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_MSG_NODE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x21]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	x8, x20
	csel	x4, x10, x9, eq
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_IEEE80211_NOTE
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _RTM_IEEE80211_LEAVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTM_IEEE80211_LEAVE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_notify_macaddr
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _RTM_IEEE80211_DISASSOC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTM_IEEE80211_DISASSOC@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, #0
	mov	w3, #0
	bl	_rt_ieee80211msg
Lloh15:
	adrp	x8, _LINK_STATE_DOWN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LINK_STATE_DOWN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_if_link_state_change
LBB0_3:
	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	_CURVNET_RESTORE
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_MSG_NODE,4,2         ; @IEEE80211_MSG_NODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%snode leave"

l_.str.1:                               ; @.str.1
	.asciz	"bss "

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_RTM_IEEE80211_DISASSOC,4,2     ; @RTM_IEEE80211_DISASSOC
	.comm	_LINK_STATE_DOWN,4,2            ; @LINK_STATE_DOWN
	.comm	_RTM_IEEE80211_LEAVE,4,2        ; @RTM_IEEE80211_LEAVE
.subsections_via_symbols
