	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6352_port_set_egress_floods ## -- Begin function mv88e6352_port_set_egress_floods
	.p2align	4, 0x90
_mv88e6352_port_set_egress_floods:      ## @mv88e6352_port_set_egress_floods
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_MV88E6XXX_PORT_CTL0@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-44(%rbp), %rcx
	callq	_mv88e6xxx_port_read
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	-44(%rbp), %ecx
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.5:
	movq	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.7:
	movq	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA@GOTPCREL(%rip), %rax
LBB0_9:
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_mv88e6xxx_port_write
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6XXX_PORT_CTL0,4,2        ## @MV88E6XXX_PORT_CTL0
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK,4,2 ## @MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA,4,2 ## @MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA,4,2 ## @MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA,4,2 ## @MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA,4,2 ## @MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6352_port_set_egress_floods ; -- Begin function mv88e6352_port_set_egress_floods
	.p2align	2
_mv88e6352_port_set_egress_floods:      ; @mv88e6352_port_set_egress_floods
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x23, _MV88E6XXX_PORT_CTL0@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MV88E6XXX_PORT_CTL0@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x3, sp, #12
	bl	_mv88e6xxx_port_read
	cbnz	w0, LBB0_10
; %bb.1:
Lloh2:
	adrp	x8, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	cbz	w22, LBB0_4
; %bb.2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
	cbz	w22, LBB0_6
; %bb.5:
Lloh7:
	adrp	x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	cbz	w21, LBB0_8
; %bb.7:
Lloh9:
	adrp	x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	orr	w3, w9, w8
	str	w3, [sp, #12]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x19
	bl	_mv88e6xxx_port_write
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6XXX_PORT_CTL0,4,2        ; @MV88E6XXX_PORT_CTL0
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK,4,2 ; @MV88E6352_PORT_CTL0_EGRESS_FLOODS_MASK
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA,4,2 ; @MV88E6352_PORT_CTL0_EGRESS_FLOODS_ALL_UNKNOWN_DA
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA,4,2 ; @MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_MC_DA
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA,4,2 ; @MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_UC_DA
	.comm	_MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA,4,2 ; @MV88E6352_PORT_CTL0_EGRESS_FLOODS_NO_UNKNOWN_DA
.subsections_via_symbols
