	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function br_device_event
_br_device_event:                       ## @br_device_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdx), %r15
	testq	%r15, %r15
	je	LBB0_16
## %bb.1:
	addq	$-128, %rsi
	cmpq	$6, %rsi
	ja	LBB0_16
## %bb.2:
	movq	%rdx, %rbx
	movq	(%r15), %r14
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movq	%rbx, %rdi
	callq	_netif_carrier_ok
	testl	%eax, %eax
	je	LBB0_15
## %bb.11:
	movq	8(%r14), %rax
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_15
## %bb.12:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	%r15, %rdi
	callq	_br_stp_enable_port
	jmp	LBB0_9
LBB0_13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_br_del_if
	jmp	LBB0_16
LBB0_5:
	movq	8(%r14), %rdi
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_16
## %bb.6:
	movq	%r14, %rdi
	callq	_br_features_recompute
	jmp	LBB0_16
LBB0_7:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movq	8(%r14), %rax
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_br_stp_disable_port
	jmp	LBB0_9
LBB0_3:
	movq	8(%r14), %rbx
	movq	%r14, %rdi
	callq	_br_min_mtu
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_dev_set_mtu
	jmp	LBB0_16
LBB0_4:
	movq	%r14, %rdi
	callq	_spin_lock_bh
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_br_fdb_changeaddr
	movq	%r14, %rdi
	callq	_br_stp_recalculate_bridge_id
LBB0_9:
	movq	%r14, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_br_port_carrier_check
LBB0_15:
	movq	_RTM_NEWLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_br_ifinfo_notify
LBB0_16:
	movq	_NOTIFY_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_14
	.end_data_region
                                        ## -- End function
	.comm	_NOTIFY_DONE,4,2                ## @NOTIFY_DONE
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_RTM_NEWLINK,4,2                ## @RTM_NEWLINK
	.no_dead_strip	_br_device_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function br_device_event
_br_device_event:                       ; @br_device_event
	.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
	ldr	x19, [x2, #8]
	cbz	x19, LBB0_16
; %bb.1:
	sub	x8, x1, #128
	cmp	x8, #6
	b.hi	LBB0_16
; %bb.2:
	mov	x21, x2
	ldr	x20, [x19]
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	x0, x21
	bl	_netif_carrier_ok
	cbz	w0, LBB0_15
; %bb.4:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.5:
	mov	x0, x20
	bl	_spin_lock_bh
	mov	x0, x19
	bl	_br_stp_enable_port
	b	LBB0_13
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_br_del_if
	b	LBB0_16
LBB0_7:
	ldr	x0, [x20, #8]
	bl	_netif_running
	cbz	w0, LBB0_16
; %bb.8:
	mov	x0, x20
	bl	_br_features_recompute
	b	LBB0_16
LBB0_9:
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_br_stp_disable_port
	b	LBB0_13
LBB0_11:
	ldr	x19, [x20, #8]
	mov	x0, x20
	bl	_br_min_mtu
	mov	x1, x0
	mov	x0, x19
	bl	_dev_set_mtu
	b	LBB0_16
LBB0_12:
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	w1, [x21]
	mov	x0, x19
	bl	_br_fdb_changeaddr
	mov	x0, x20
	bl	_br_stp_recalculate_bridge_id
LBB0_13:
	mov	x0, x20
	bl	_spin_unlock_bh
	b	LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_br_port_carrier_check
LBB0_15:
Lloh8:
	adrp	x8, _RTM_NEWLINK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTM_NEWLINK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_br_ifinfo_notify
LBB0_16:
Lloh11:
	adrp	x8, _NOTIFY_DONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NOTIFY_DONE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
                                        ; -- End function
	.comm	_NOTIFY_DONE,4,2                ; @NOTIFY_DONE
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_RTM_NEWLINK,4,2                ; @RTM_NEWLINK
	.no_dead_strip	_br_device_event
.subsections_via_symbols
