	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpsw_set_promiscious
_cpsw_set_promiscious:                  ## @cpsw_set_promiscious
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_ndev_to_cpsw
	movq	%rax, %r13
	movq	24(%rax), %r12
	cmpq	$0, 8(%rax)
	je	LBB0_17
## %bb.1:
	movl	(%r13), %r10d
	testl	%r10d, %r10d
	jle	LBB0_2
## %bb.4:
	movq	16(%r13), %rsi
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	leaq	-1(%r10), %rdx
	movl	%r10d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rdx
	jae	LBB0_6
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	jmp	LBB0_8
LBB0_17:
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.18:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movq	_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	js	LBB0_21
## %bb.19:
	movl	$-1, %ebx
	movq	_ALE_PORT_NOLEARN@GOTPCREL(%rip), %r14
	movq	_ALE_PORT_NO_SA_UPDATE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	callq	_cpsw_ale_control_set
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$1, %ecx
	callq	_cpsw_ale_control_set
	cmpl	(%r13), %ebx
	jl	LBB0_20
LBB0_21:
	movq	_ALE_AGEOUT@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_cpsw_ale_control_set
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r14), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_cpsw_ale_control_get
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_22
LBB0_24:
	movl	(%r14), %edx
	movl	$1, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1, %ecx
	callq	_cpsw_ale_control_set
	movq	_ALE_ALL_PORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_cpsw_ale_flush_multicast
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	4(%r14), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	___hw_addr_ref_unsync_dev
	leaq	L_.str.1(%rip), %rbx
	movq	_ALE_P0_UNI_FLOOD@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_6:
	andl	$-4, %r10d
	xorl	%ebx, %ebx
	movl	$1, %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rbx,8), %rcx
	movq	8(%rsi,%rbx,8), %rdi
	movl	(%rdi), %edi
	orl	(%rcx), %edi
	movq	16(%rsi,%rbx,8), %rcx
	movq	24(%rsi,%rbx,8), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	%edi, %eax
	testl	%eax, %r11d
	cmovnel	%r8d, %edx
	addq	$4, %rbx
	cmpq	%rbx, %r10
	jne	LBB0_7
LBB0_8:
	testq	%r9, %r9
	je	LBB0_11
## %bb.9:
	leaq	(%rsi,%rbx,8), %rsi
	xorl	%edi, %edi
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rdi,8), %rax
	testl	%r11d, (%rax)
	cmovnel	%ebx, %edx
	incq	%rdi
	cmpq	%rdi, %r9
	jne	LBB0_10
LBB0_11:
	testl	%r15d, %r15d
	jne	LBB0_2
## %bb.12:
	testl	%edx, %edx
	je	LBB0_2
## %bb.13:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_3
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_14
LBB0_3:
	leaq	L_.str.1(%rip), %rbx
	movl	$1, %r15d
	jmp	LBB0_15
LBB0_14:
	leaq	L_.str.2(%rip), %rbx
	xorl	%r15d, %r15d
LBB0_15:
	movq	_ALE_BYPASS@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%r15d, %ecx
	callq	_cpsw_ale_control_set
LBB0_29:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_25:
	movq	_ALE_P0_UNI_FLOOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_cpsw_ale_control_set
	leaq	L_.str.2(%rip), %rbx
	cmpl	$0, (%r13)
	js	LBB0_29
## %bb.26:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$-1, %ebx
	movq	_ALE_PORT_NOLEARN@GOTPCREL(%rip), %r14
	movq	_ALE_PORT_NO_SA_UPDATE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	(%r14), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_cpsw_ale_control_set
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_cpsw_ale_control_set
	cmpl	(%r13), %ebx
	jl	LBB0_27
## %bb.28:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"promiscuity not disabled as the other interface is still in promiscuity mode\n"

	.comm	_ALE_BYPASS,4,2                 ## @ALE_BYPASS
L_.str.1:                               ## @.str.1
	.asciz	"promiscuity enabled\n"

L_.str.2:                               ## @.str.2
	.asciz	"promiscuity disabled\n"

	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_ALE_PORT_NOLEARN,4,2           ## @ALE_PORT_NOLEARN
	.comm	_ALE_PORT_NO_SA_UPDATE,4,2      ## @ALE_PORT_NO_SA_UPDATE
	.comm	_ALE_AGEOUT,4,2                 ## @ALE_AGEOUT
	.comm	_ALE_ALL_PORTS,4,2              ## @ALE_ALL_PORTS
	.comm	_ALE_P0_UNI_FLOOD,4,2           ## @ALE_P0_UNI_FLOOD
	.no_dead_strip	_cpsw_set_promiscious
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpsw_set_promiscious
_cpsw_set_promiscious:                  ; @cpsw_set_promiscious
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	bl	_ndev_to_cpsw
	mov	x21, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #0
	b.le	LBB0_7
; %bb.2:
	mov	w9, #0
	ldr	x10, [x21, #16]
Lloh0:
	adrp	x11, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x11, [x11, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10], #8
	ldr	w12, [x12]
	tst	w11, w12
	csinc	w9, w9, wzr, eq
	subs	x8, x8, #1
	b.ne	LBB0_3
; %bb.4:
	cbnz	w22, LBB0_7
; %bb.5:
	cbz	w9, LBB0_7
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_8
LBB0_7:
	cbz	w22, LBB0_17
LBB0_8:
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	w21, #1
	b	LBB0_18
LBB0_9:
	cbz	w22, LBB0_21
; %bb.10:
Lloh7:
	adrp	x24, _jiffies@GOTPAGE
Lloh8:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh9:
	adrp	x9, _HZ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x22, x9, x8
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_13
; %bb.11:
	mov	w23, #-1
Lloh12:
	adrp	x25, _ALE_PORT_NOLEARN@GOTPAGE
Lloh13:
	ldr	x25, [x25, _ALE_PORT_NOLEARN@GOTPAGEOFF]
Lloh14:
	adrp	x26, _ALE_PORT_NO_SA_UPDATE@GOTPAGE
Lloh15:
	ldr	x26, [x26, _ALE_PORT_NO_SA_UPDATE@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1
	bl	_cpsw_ale_control_set
	ldr	w2, [x26]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1
	bl	_cpsw_ale_control_set
	ldr	w8, [x21]
	cmp	w23, w8
	b.lt	LBB0_12
LBB0_13:
Lloh16:
	adrp	x21, _ALE_AGEOUT@GOTPAGE
Lloh17:
	ldr	x21, [x21, _ALE_AGEOUT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	mov	w3, #1
	bl	_cpsw_ale_control_set
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	bl	_cpu_relax
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_cpsw_ale_control_get
	cbnz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x1, [x24]
	mov	x0, x22
	bl	_time_after
	cbnz	x0, LBB0_14
LBB0_16:
	ldr	w2, [x21]
	mov	w21, #1
	mov	x0, x20
	mov	w1, #0
	mov	w3, #1
	bl	_cpsw_ale_control_set
Lloh18:
	adrp	x8, _ALE_ALL_PORTS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALE_ALL_PORTS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #-1
	bl	_cpsw_ale_flush_multicast
	add	x0, x19, #4
	mov	x1, x19
	mov	x2, #0
	bl	___hw_addr_ref_unsync_dev
Lloh21:
	adrp	x22, l_.str.1@PAGE
Lloh22:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh23:
	adrp	x8, _ALE_P0_UNI_FLOOD@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ALE_P0_UNI_FLOOD@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:
	mov	w21, #0
Lloh25:
	adrp	x22, l_.str.2@PAGE
Lloh26:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_18:
Lloh27:
	adrp	x8, _ALE_BYPASS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ALE_BYPASS@GOTPAGEOFF]
LBB0_19:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	x3, x21
	bl	_cpsw_ale_control_set
LBB0_20:
	mov	x0, x19
	mov	x1, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_dbg
LBB0_21:
Lloh29:
	adrp	x8, _ALE_P0_UNI_FLOOD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ALE_P0_UNI_FLOOD@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w3, #0
	bl	_cpsw_ale_control_set
	ldr	w8, [x21]
	tbnz	w8, #31, LBB0_24
; %bb.22:
	mov	w23, #-1
Lloh32:
	adrp	x24, _ALE_PORT_NOLEARN@GOTPAGE
Lloh33:
	ldr	x24, [x24, _ALE_PORT_NOLEARN@GOTPAGEOFF]
Lloh34:
	adrp	x25, _ALE_PORT_NO_SA_UPDATE@GOTPAGE
Lloh35:
	ldr	x25, [x25, _ALE_PORT_NO_SA_UPDATE@GOTPAGEOFF]
Lloh36:
	adrp	x22, l_.str.2@PAGE
Lloh37:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	add	w23, w23, #1
	ldr	w2, [x24]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	bl	_cpsw_ale_control_set
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	bl	_cpsw_ale_control_set
	ldr	w8, [x21]
	cmp	w23, w8
	b.lt	LBB0_23
	b	LBB0_20
LBB0_24:
Lloh38:
	adrp	x22, l_.str.2@PAGE
Lloh39:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"promiscuity not disabled as the other interface is still in promiscuity mode\n"

	.comm	_ALE_BYPASS,4,2                 ; @ALE_BYPASS
l_.str.1:                               ; @.str.1
	.asciz	"promiscuity enabled\n"

l_.str.2:                               ; @.str.2
	.asciz	"promiscuity disabled\n"

	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_ALE_PORT_NOLEARN,4,2           ; @ALE_PORT_NOLEARN
	.comm	_ALE_PORT_NO_SA_UPDATE,4,2      ; @ALE_PORT_NO_SA_UPDATE
	.comm	_ALE_AGEOUT,4,2                 ; @ALE_AGEOUT
	.comm	_ALE_ALL_PORTS,4,2              ; @ALE_ALL_PORTS
	.comm	_ALE_P0_UNI_FLOOD,4,2           ; @ALE_P0_UNI_FLOOD
	.no_dead_strip	_cpsw_set_promiscious
.subsections_via_symbols
