	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_ether_mod_event
_ng_ether_mod_event:                    ## @ng_ether_mod_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.2:
	movq	_ng_ether_attach_p@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_ifnet_arrival_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ng_ether_ifnet_arrival_cookie@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVENTHANDLER_DEREGISTER
	movq	_ng_ether_attach_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ng_ether_detach_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ng_ether_output_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ng_ether_input_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ng_ether_input_orphan_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ng_ether_link_state_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_4:
	movq	_ng_ether_attach@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_ng_ether_detach@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ng_ether_detach_p@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ng_ether_output@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ng_ether_output_p@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ng_ether_input@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ng_ether_input_p@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ng_ether_input_orphan@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ng_ether_input_orphan_p@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ng_ether_link_state@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ng_ether_link_state_p@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ifnet_arrival_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ng_ether_ifnet_arrival_event@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EVENTHANDLER_PRI_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_EVENTHANDLER_REGISTER
	movq	_ng_ether_ifnet_arrival_cookie@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ng_ether_attach_p,8,3          ## @ng_ether_attach_p
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_ng_ether_attach,8,3            ## @ng_ether_attach
	.comm	_ng_ether_detach,8,3            ## @ng_ether_detach
	.comm	_ng_ether_detach_p,8,3          ## @ng_ether_detach_p
	.comm	_ng_ether_output,8,3            ## @ng_ether_output
	.comm	_ng_ether_output_p,8,3          ## @ng_ether_output_p
	.comm	_ng_ether_input,8,3             ## @ng_ether_input
	.comm	_ng_ether_input_p,8,3           ## @ng_ether_input_p
	.comm	_ng_ether_input_orphan,8,3      ## @ng_ether_input_orphan
	.comm	_ng_ether_input_orphan_p,8,3    ## @ng_ether_input_orphan_p
	.comm	_ng_ether_link_state,8,3        ## @ng_ether_link_state
	.comm	_ng_ether_link_state_p,8,3      ## @ng_ether_link_state_p
	.comm	_ifnet_arrival_event,4,2        ## @ifnet_arrival_event
	.comm	_ng_ether_ifnet_arrival_event,4,2 ## @ng_ether_ifnet_arrival_event
	.comm	_EVENTHANDLER_PRI_ANY,4,2       ## @EVENTHANDLER_PRI_ANY
	.comm	_ng_ether_ifnet_arrival_cookie,4,2 ## @ng_ether_ifnet_arrival_cookie
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_ng_ether_mod_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_ether_mod_event
_ng_ether_mod_event:                    ; @ng_ether_mod_event
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _ng_ether_attach_p@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ng_ether_attach_p@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _EEXIST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _ifnet_arrival_event@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ifnet_arrival_event@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x8, _ng_ether_ifnet_arrival_cookie@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ng_ether_ifnet_arrival_cookie@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_EVENTHANDLER_DEREGISTER
	mov	w0, #0
Lloh10:
	adrp	x8, _ng_ether_attach_p@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ng_ether_attach_p@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
Lloh13:
	adrp	x8, _ng_ether_detach_p@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ng_ether_detach_p@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
Lloh16:
	adrp	x8, _ng_ether_output_p@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ng_ether_output_p@GOTPAGEOFF]
Lloh18:
	str	xzr, [x8]
Lloh19:
	adrp	x8, _ng_ether_input_p@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ng_ether_input_p@GOTPAGEOFF]
Lloh21:
	str	xzr, [x8]
Lloh22:
	adrp	x8, _ng_ether_input_orphan_p@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ng_ether_input_orphan_p@GOTPAGEOFF]
Lloh24:
	str	xzr, [x8]
Lloh25:
	adrp	x8, _ng_ether_link_state_p@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ng_ether_link_state_p@GOTPAGEOFF]
Lloh27:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh28:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh30:
	adrp	x9, _ng_ether_attach@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ng_ether_attach@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh33:
	adrp	x8, _ng_ether_detach@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ng_ether_detach@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
Lloh36:
	adrp	x9, _ng_ether_detach_p@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ng_ether_detach_p@GOTPAGEOFF]
Lloh38:
	str	x8, [x9]
Lloh39:
	adrp	x8, _ng_ether_output@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ng_ether_output@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _ng_ether_output_p@GOTPAGE
Lloh43:
	ldr	x9, [x9, _ng_ether_output_p@GOTPAGEOFF]
Lloh44:
	str	x8, [x9]
Lloh45:
	adrp	x8, _ng_ether_input@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ng_ether_input@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
Lloh48:
	adrp	x9, _ng_ether_input_p@GOTPAGE
Lloh49:
	ldr	x9, [x9, _ng_ether_input_p@GOTPAGEOFF]
Lloh50:
	str	x8, [x9]
Lloh51:
	adrp	x8, _ng_ether_input_orphan@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ng_ether_input_orphan@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
Lloh54:
	adrp	x9, _ng_ether_input_orphan_p@GOTPAGE
Lloh55:
	ldr	x9, [x9, _ng_ether_input_orphan_p@GOTPAGEOFF]
Lloh56:
	str	x8, [x9]
Lloh57:
	adrp	x8, _ng_ether_link_state@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ng_ether_link_state@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
Lloh60:
	adrp	x9, _ng_ether_link_state_p@GOTPAGE
Lloh61:
	ldr	x9, [x9, _ng_ether_link_state_p@GOTPAGEOFF]
Lloh62:
	str	x8, [x9]
Lloh63:
	adrp	x8, _ifnet_arrival_event@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ifnet_arrival_event@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x8, _ng_ether_ifnet_arrival_event@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ng_ether_ifnet_arrival_event@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
Lloh69:
	adrp	x8, _EVENTHANDLER_PRI_ANY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _EVENTHANDLER_PRI_ANY@GOTPAGEOFF]
Lloh71:
	ldr	w3, [x8]
	mov	x2, #0
	bl	_EVENTHANDLER_REGISTER
	mov	x8, x0
	mov	w0, #0
Lloh72:
	adrp	x9, _ng_ether_ifnet_arrival_cookie@GOTPAGE
Lloh73:
	ldr	x9, [x9, _ng_ether_ifnet_arrival_cookie@GOTPAGEOFF]
Lloh74:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotStr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotStr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotStr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ng_ether_attach_p,8,3          ; @ng_ether_attach_p
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_ng_ether_attach,8,3            ; @ng_ether_attach
	.comm	_ng_ether_detach,8,3            ; @ng_ether_detach
	.comm	_ng_ether_detach_p,8,3          ; @ng_ether_detach_p
	.comm	_ng_ether_output,8,3            ; @ng_ether_output
	.comm	_ng_ether_output_p,8,3          ; @ng_ether_output_p
	.comm	_ng_ether_input,8,3             ; @ng_ether_input
	.comm	_ng_ether_input_p,8,3           ; @ng_ether_input_p
	.comm	_ng_ether_input_orphan,8,3      ; @ng_ether_input_orphan
	.comm	_ng_ether_input_orphan_p,8,3    ; @ng_ether_input_orphan_p
	.comm	_ng_ether_link_state,8,3        ; @ng_ether_link_state
	.comm	_ng_ether_link_state_p,8,3      ; @ng_ether_link_state_p
	.comm	_ifnet_arrival_event,4,2        ; @ifnet_arrival_event
	.comm	_ng_ether_ifnet_arrival_event,4,2 ; @ng_ether_ifnet_arrival_event
	.comm	_EVENTHANDLER_PRI_ANY,4,2       ; @EVENTHANDLER_PRI_ANY
	.comm	_ng_ether_ifnet_arrival_cookie,4,2 ; @ng_ether_ifnet_arrival_cookie
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_ng_ether_mod_event
.subsections_via_symbols
