	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlan_modevent
_wlan_modevent:                         ## @wlan_modevent
	.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
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.2:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_4:
	movq	_bpf_track@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVENTHANDLER_PRI_ANY@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	xorl	%ebx, %ebx
	movl	%edi, %esi
	xorl	%edx, %edx
	callq	_EVENTHANDLER_REGISTER
	movq	_wlan_bpfevent@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_iflladdr_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_wlan_iflladdr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	xorl	%edx, %edx
	callq	_EVENTHANDLER_REGISTER
	movq	_wlan_ifllevent@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_wlanname@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_wlan_clone_create@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_wlan_clone_destroy@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_if_clone_simple
	movq	_wlan_cloner@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_7
LBB0_5:
	movq	_wlan_cloner@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_if_clone_detach
	movq	_bpf_track@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_wlan_bpfevent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVENTHANDLER_DEREGISTER
	movq	_iflladdr_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_wlan_ifllevent@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVENTHANDLER_DEREGISTER
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bootverbose,4,2                ## @bootverbose
	.comm	_bpf_track,4,2                  ## @bpf_track
	.comm	_EVENTHANDLER_PRI_ANY,4,2       ## @EVENTHANDLER_PRI_ANY
	.comm	_wlan_bpfevent,4,2              ## @wlan_bpfevent
	.comm	_iflladdr_event,4,2             ## @iflladdr_event
	.comm	_wlan_iflladdr,4,2              ## @wlan_iflladdr
	.comm	_wlan_ifllevent,4,2             ## @wlan_ifllevent
	.comm	_wlanname,4,2                   ## @wlanname
	.comm	_wlan_clone_create,4,2          ## @wlan_clone_create
	.comm	_wlan_clone_destroy,4,2         ## @wlan_clone_destroy
	.comm	_wlan_cloner,4,2                ## @wlan_cloner
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"wlan: <802.11 Link Layer>"

	.no_dead_strip	_wlan_modevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlan_modevent
_wlan_modevent:                         ; @wlan_modevent
	.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
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _bootverbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_4:
Lloh5:
	adrp	x8, _bpf_track@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bpf_track@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x19, _EVENTHANDLER_PRI_ANY@GOTPAGE
Lloh9:
	ldr	x19, [x19, _EVENTHANDLER_PRI_ANY@GOTPAGEOFF]
	ldr	w3, [x19]
	mov	x1, x0
	mov	x2, #0
	bl	_EVENTHANDLER_REGISTER
Lloh10:
	adrp	x8, _wlan_bpfevent@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wlan_bpfevent@GOTPAGEOFF]
Lloh12:
	adrp	x9, _iflladdr_event@GOTPAGE
Lloh13:
	ldr	x9, [x9, _iflladdr_event@GOTPAGEOFF]
Lloh14:
	str	w0, [x8]
Lloh15:
	ldr	w0, [x9]
Lloh16:
	adrp	x8, _wlan_iflladdr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _wlan_iflladdr@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w3, [x19]
	mov	x2, #0
	bl	_EVENTHANDLER_REGISTER
Lloh19:
	adrp	x8, _wlan_ifllevent@GOTPAGE
Lloh20:
	ldr	x8, [x8, _wlan_ifllevent@GOTPAGEOFF]
Lloh21:
	str	w0, [x8]
Lloh22:
	adrp	x8, _wlanname@GOTPAGE
Lloh23:
	ldr	x8, [x8, _wlanname@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, _wlan_clone_create@GOTPAGE
Lloh26:
	ldr	x8, [x8, _wlan_clone_create@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _wlan_clone_destroy@GOTPAGE
Lloh29:
	ldr	x8, [x8, _wlan_clone_destroy@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_if_clone_simple
	mov	x8, x0
	mov	w0, #0
Lloh31:
	adrp	x9, _wlan_cloner@GOTPAGE
Lloh32:
	ldr	x9, [x9, _wlan_cloner@GOTPAGEOFF]
Lloh33:
	str	w8, [x9]
	b	LBB0_7
LBB0_5:
Lloh34:
	adrp	x8, _wlan_cloner@GOTPAGE
Lloh35:
	ldr	x8, [x8, _wlan_cloner@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_if_clone_detach
Lloh37:
	adrp	x8, _bpf_track@GOTPAGE
Lloh38:
	ldr	x8, [x8, _bpf_track@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _wlan_bpfevent@GOTPAGE
Lloh41:
	ldr	x8, [x8, _wlan_bpfevent@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	bl	_EVENTHANDLER_DEREGISTER
Lloh43:
	adrp	x8, _iflladdr_event@GOTPAGE
Lloh44:
	ldr	x8, [x8, _iflladdr_event@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x8, _wlan_ifllevent@GOTPAGE
Lloh47:
	ldr	x8, [x8, _wlan_ifllevent@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	bl	_EVENTHANDLER_DEREGISTER
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh49:
	adrp	x8, _EINVAL@GOTPAGE
Lloh50:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_bootverbose,4,2                ; @bootverbose
	.comm	_bpf_track,4,2                  ; @bpf_track
	.comm	_EVENTHANDLER_PRI_ANY,4,2       ; @EVENTHANDLER_PRI_ANY
	.comm	_wlan_bpfevent,4,2              ; @wlan_bpfevent
	.comm	_iflladdr_event,4,2             ; @iflladdr_event
	.comm	_wlan_iflladdr,4,2              ; @wlan_iflladdr
	.comm	_wlan_ifllevent,4,2             ; @wlan_ifllevent
	.comm	_wlanname,4,2                   ; @wlanname
	.comm	_wlan_clone_create,4,2          ; @wlan_clone_create
	.comm	_wlan_clone_destroy,4,2         ; @wlan_clone_destroy
	.comm	_wlan_cloner,4,2                ; @wlan_cloner
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"wlan: <802.11 Link Layer>"

	.no_dead_strip	_wlan_modevent
.subsections_via_symbols
