	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_modevent
_bridge_modevent:                       ## @bridge_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_4
## %bb.2:
	movq	_bridge_dummynet@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_bridge_dn_p@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_ifnet_departure_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_bridge_ifdetach@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	_bridge_detach_cookie@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_5
LBB0_3:
	movq	_ifnet_departure_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_bridge_detach_cookie@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVENTHANDLER_DEREGISTER
	movq	_bridge_dn_p@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bridge_dummynet,8,3            ## @bridge_dummynet
	.comm	_bridge_dn_p,8,3                ## @bridge_dn_p
	.comm	_ifnet_departure_event,4,2      ## @ifnet_departure_event
	.comm	_bridge_ifdetach,4,2            ## @bridge_ifdetach
	.comm	_EVENTHANDLER_PRI_ANY,4,2       ## @EVENTHANDLER_PRI_ANY
	.comm	_bridge_detach_cookie,4,2       ## @bridge_detach_cookie
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_bridge_modevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_modevent
_bridge_modevent:                       ; @bridge_modevent
	.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_3
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _bridge_dummynet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bridge_dummynet@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _bridge_dn_p@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bridge_dn_p@GOTPAGEOFF]
Lloh5:
	str	x8, [x9]
Lloh6:
	adrp	x8, _ifnet_departure_event@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ifnet_departure_event@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _bridge_ifdetach@GOTPAGE
Lloh10:
	ldr	x8, [x8, _bridge_ifdetach@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _EVENTHANDLER_PRI_ANY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EVENTHANDLER_PRI_ANY@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x2, #0
	bl	_EVENTHANDLER_REGISTER
	mov	x8, x0
	mov	w0, #0
Lloh15:
	adrp	x9, _bridge_detach_cookie@GOTPAGE
Lloh16:
	ldr	x9, [x9, _bridge_detach_cookie@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh18:
	adrp	x8, _ifnet_departure_event@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ifnet_departure_event@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x8, _bridge_detach_cookie@GOTPAGE
Lloh22:
	ldr	x8, [x8, _bridge_detach_cookie@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_EVENTHANDLER_DEREGISTER
	mov	w0, #0
Lloh24:
	adrp	x8, _bridge_dn_p@GOTPAGE
Lloh25:
	ldr	x8, [x8, _bridge_dn_p@GOTPAGEOFF]
Lloh26:
	str	xzr, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh27:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_bridge_dummynet,8,3            ; @bridge_dummynet
	.comm	_bridge_dn_p,8,3                ; @bridge_dn_p
	.comm	_ifnet_departure_event,4,2      ; @ifnet_departure_event
	.comm	_bridge_ifdetach,4,2            ; @bridge_ifdetach
	.comm	_EVENTHANDLER_PRI_ANY,4,2       ; @EVENTHANDLER_PRI_ANY
	.comm	_bridge_detach_cookie,4,2       ; @bridge_detach_cookie
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_bridge_modevent
.subsections_via_symbols
