	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sw_init_broad_storm
_sw_init_broad_storm:                   ## @sw_init_broad_storm
	.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, %r14
	movq	(%rdi), %rax
	movl	$1, (%rax)
	movl	$1, %esi
	callq	_sw_cfg_broad_storm
	movq	_TOTAL_PORT_NUM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_sw_dis_broad_storm
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_2
LBB0_3:
	movq	_KS8842_SWITCH_CTRL_2_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MULTICAST_STORM_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sw_cfg                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TOTAL_PORT_NUM,4,2             ## @TOTAL_PORT_NUM
	.comm	_KS8842_SWITCH_CTRL_2_OFFSET,4,2 ## @KS8842_SWITCH_CTRL_2_OFFSET
	.comm	_MULTICAST_STORM_DISABLE,4,2    ## @MULTICAST_STORM_DISABLE
	.no_dead_strip	_sw_init_broad_storm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sw_init_broad_storm
_sw_init_broad_storm:                   ; @sw_init_broad_storm
	.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	x19, x0
	ldr	x8, [x0]
	mov	w9, #1
	str	w9, [x8]
	mov	w1, #1
	bl	_sw_cfg_broad_storm
Lloh0:
	adrp	x21, _TOTAL_PORT_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TOTAL_PORT_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_sw_dis_broad_storm
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _KS8842_SWITCH_CTRL_2_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _KS8842_SWITCH_CTRL_2_OFFSET@GOTPAGEOFF]
Lloh4:
	adrp	x9, _MULTICAST_STORM_DISABLE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MULTICAST_STORM_DISABLE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	ldr	w2, [x9]
	mov	x0, x19
	mov	w3, #1
	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	_sw_cfg
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TOTAL_PORT_NUM,4,2             ; @TOTAL_PORT_NUM
	.comm	_KS8842_SWITCH_CTRL_2_OFFSET,4,2 ; @KS8842_SWITCH_CTRL_2_OFFSET
	.comm	_MULTICAST_STORM_DISABLE,4,2    ; @MULTICAST_STORM_DISABLE
	.no_dead_strip	_sw_init_broad_storm
.subsections_via_symbols
