	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_add_dual_emac_def_ale_entries
_cpsw_add_dual_emac_def_ale_entries:    ## @cpsw_add_dual_emac_def_ale_entries
	.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	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	movq	_ALE_PORT_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r13), %rax
	movq	_CPSW_VERSION_1@GOTPCREL(%rip), %rcx
	movl	(%rsi), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_CPSW1_PORT_VLAN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_CPSW2_PORT_VLAN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_slave_write
	btsl	%r14d, %ebx
	movl	8(%r13), %edi
	movl	(%r12), %esi
	movl	%ebx, %edx
	movl	%ebx, %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_cpsw_ale_add_vlan
	movl	8(%r13), %edi
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	_ALE_PORT_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ALE_VLAN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	movl	(%r12), %r8d
	xorl	%r9d, %r9d
	callq	_cpsw_ale_add_mcast
	movl	8(%r13), %edi
	movl	(%r15), %esi
	movq	_HOST_PORT_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ALE_SECURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	orl	(%rbx), %ecx
	movl	(%r12), %r8d
	callq	_cpsw_ale_add_ucast
	movl	8(%r13), %edi
	movq	_ALE_PORT_DROP_UNKNOWN_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %esi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpsw_ale_control_set           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ALE_PORT_HOST,4,2              ## @ALE_PORT_HOST
	.comm	_CPSW_VERSION_1,8,3             ## @CPSW_VERSION_1
	.comm	_CPSW1_PORT_VLAN,4,2            ## @CPSW1_PORT_VLAN
	.comm	_CPSW2_PORT_VLAN,4,2            ## @CPSW2_PORT_VLAN
	.comm	_ALE_VLAN,4,2                   ## @ALE_VLAN
	.comm	_HOST_PORT_NUM,4,2              ## @HOST_PORT_NUM
	.comm	_ALE_SECURE,4,2                 ## @ALE_SECURE
	.comm	_ALE_PORT_DROP_UNKNOWN_VLAN,4,2 ## @ALE_PORT_DROP_UNKNOWN_VLAN
	.no_dead_strip	_cpsw_add_dual_emac_def_ale_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_add_dual_emac_def_ale_entries
_cpsw_add_dual_emac_def_ale_entries:    ; @cpsw_add_dual_emac_def_ale_entries
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x22, [x0, #16]
Lloh0:
	adrp	x23, _ALE_PORT_HOST@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ALE_PORT_HOST@GOTPAGEOFF]
	ldr	w24, [x23]
	ldr	x8, [x22]
Lloh2:
	adrp	x9, _CPSW_VERSION_1@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CPSW_VERSION_1@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _CPSW1_PORT_VLAN@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CPSW1_PORT_VLAN@GOTPAGEOFF]
	ldr	w1, [x1]
Lloh7:
	adrp	x11, _CPSW2_PORT_VLAN@GOTPAGE
Lloh8:
	ldr	x11, [x11, _CPSW2_PORT_VLAN@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w2, [x8]
	mov	x0, x20
	bl	_slave_write
	mov	w8, #1
	lsl	w8, w8, w19
	orr	w2, w24, w8
	ldr	w0, [x22, #8]
	ldr	w1, [x20]
	mov	x3, x2
	mov	x4, x2
	mov	w5, #0
	bl	_cpsw_ale_add_vlan
	ldr	w0, [x22, #8]
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	ldr	w2, [x23]
Lloh9:
	adrp	x23, _ALE_VLAN@GOTPAGE
Lloh10:
	ldr	x23, [x23, _ALE_VLAN@GOTPAGEOFF]
	ldr	w3, [x23]
	ldr	w4, [x20]
	mov	w5, #0
	bl	_cpsw_ale_add_mcast
	ldr	w0, [x22, #8]
	ldr	w1, [x21]
Lloh11:
	adrp	x8, _HOST_PORT_NUM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HOST_PORT_NUM@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w8, [x23]
Lloh14:
	adrp	x9, _ALE_SECURE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ALE_SECURE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w3, w9, w8
	ldr	w4, [x20]
	bl	_cpsw_ale_add_ucast
Lloh17:
	adrp	x8, _ALE_PORT_DROP_UNKNOWN_VLAN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ALE_PORT_DROP_UNKNOWN_VLAN@GOTPAGEOFF]
	ldr	w0, [x22, #8]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x19
	mov	w3, #1
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cpsw_ale_control_set
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ALE_PORT_HOST,4,2              ; @ALE_PORT_HOST
	.comm	_CPSW_VERSION_1,8,3             ; @CPSW_VERSION_1
	.comm	_CPSW1_PORT_VLAN,4,2            ; @CPSW1_PORT_VLAN
	.comm	_CPSW2_PORT_VLAN,4,2            ; @CPSW2_PORT_VLAN
	.comm	_ALE_VLAN,4,2                   ; @ALE_VLAN
	.comm	_HOST_PORT_NUM,4,2              ; @HOST_PORT_NUM
	.comm	_ALE_SECURE,4,2                 ; @ALE_SECURE
	.comm	_ALE_PORT_DROP_UNKNOWN_VLAN,4,2 ; @ALE_PORT_DROP_UNKNOWN_VLAN
	.no_dead_strip	_cpsw_add_dual_emac_def_ale_entries
.subsections_via_symbols
