	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cp_set_rx_mode
___cp_set_rx_mode:                      ## @__cp_set_rx_mode
	.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
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movl	(%r12), %ecx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	_AcceptBroadcast@GOTPCREL(%rip), %rdx
	movq	_AcceptMulticast@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rdx), %ebx
	movq	_AcceptMyPhys@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movq	_AcceptAllPhys@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	8(%r12), %rsi
	movq	_multicast_filter_limit@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rsi
	jg	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_6
LBB0_4:
	movq	_AcceptBroadcast@GOTPCREL(%rip), %rdx
	movq	_AcceptMulticast@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rdx), %ebx
	movq	_AcceptMyPhys@GOTPCREL(%rip), %rcx
LBB0_5:
	orl	(%rcx), %ebx
	movl	$-1, %r15d
	movl	$-1, %r12d
LBB0_13:
	movq	_cp_rx_config@GOTPCREL(%rip), %rcx
	orl	(%rcx), %ebx
	movl	%ebx, (%rax)
	movq	_RxConfig@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	callq	_cpw32_f
	movq	_MAR0@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	%r12d, %esi
	callq	_cpw32_f
	movq	(%rbx), %rdi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.15:
	addq	$4, %rdi
	movl	%r15d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpw32_f                        ## TAILCALL
LBB0_6:
	movq	_AcceptBroadcast@GOTPCREL(%rip), %rcx
	movq	_AcceptMyPhys@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	movl	$0, -56(%rbp)
	movq	16(%r12), %r13
	xorl	%r15d, %r15d
	testq	%r13, %r13
	je	LBB0_7
## %bb.8:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	jle	LBB0_12
## %bb.9:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_ether_crc
	movl	%eax, %ecx
	shrl	$26, %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	sarl	$31, %eax
	cltq
	orl	%edx, -56(%rbp,%rax,4)
	movq	_AcceptMulticast@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	cmpq	%r14, 8(%r12)
	jg	LBB0_10
LBB0_12:
	movl	-56(%rbp), %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_AcceptBroadcast,4,2            ## @AcceptBroadcast
	.comm	_AcceptMulticast,4,2            ## @AcceptMulticast
	.comm	_AcceptMyPhys,4,2               ## @AcceptMyPhys
	.comm	_AcceptAllPhys,4,2              ## @AcceptAllPhys
	.comm	_multicast_filter_limit,8,3     ## @multicast_filter_limit
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_cp_rx_config,4,2               ## @cp_rx_config
	.comm	_RxConfig,8,3                   ## @RxConfig
	.comm	_MAR0,8,3                       ## @MAR0
	.no_dead_strip	___cp_set_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cp_set_rx_mode
___cp_set_rx_mode:                      ; @__cp_set_rx_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	bl	_netdev_priv
	mov	x19, x0
	ldr	w9, [x20]
Lloh3:
	adrp	x8, _IFF_PROMISC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFF_PROMISC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _AcceptBroadcast@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AcceptBroadcast@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _AcceptMulticast@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AcceptMulticast@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _AcceptMyPhys@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AcceptMyPhys@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _AcceptAllPhys@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AcceptAllPhys@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldr	x8, [x20, #8]
Lloh17:
	adrp	x10, _multicast_filter_limit@GOTPAGE
Lloh18:
	ldr	x10, [x10, _multicast_filter_limit@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x8, x10
	b.gt	LBB0_4
; %bb.3:
Lloh20:
	adrp	x10, _IFF_ALLMULTI@GOTPAGE
Lloh21:
	ldr	x10, [x10, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
LBB0_4:
Lloh23:
	adrp	x8, _AcceptBroadcast@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AcceptBroadcast@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _AcceptMulticast@GOTPAGE
Lloh27:
	ldr	x9, [x9, _AcceptMulticast@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh29:
	adrp	x9, _AcceptMyPhys@GOTPAGE
Lloh30:
	ldr	x9, [x9, _AcceptMyPhys@GOTPAGEOFF]
LBB0_5:
	ldr	w9, [x9]
	orr	w22, w8, w9
	mov	w20, #-1
	mov	w21, #-1
LBB0_6:
Lloh31:
	adrp	x8, _cp_rx_config@GOTPAGE
Lloh32:
	ldr	x8, [x8, _cp_rx_config@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	orr	w1, w8, w22
	str	w1, [x19]
Lloh34:
	adrp	x8, _RxConfig@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RxConfig@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
	bl	_cpw32_f
Lloh37:
	adrp	x19, _MAR0@GOTPAGE
Lloh38:
	ldr	x19, [x19, _MAR0@GOTPAGEOFF]
	ldr	x0, [x19]
	mov	x1, x21
	bl	_cpw32_f
	ldr	x8, [x19]
	ldr	x9, [sp, #8]
Lloh39:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_15
; %bb.7:
	add	x0, x8, #4
	mov	x1, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_cpw32_f
LBB0_8:
Lloh42:
	adrp	x9, _AcceptBroadcast@GOTPAGE
Lloh43:
	ldr	x9, [x9, _AcceptBroadcast@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
Lloh45:
	adrp	x10, _AcceptMyPhys@GOTPAGE
Lloh46:
	ldr	x10, [x10, _AcceptMyPhys@GOTPAGEOFF]
Lloh47:
	ldr	w10, [x10]
	orr	w22, w10, w9
	str	wzr, [sp]
	ldr	x21, [x20, #16]
	cbz	x21, LBB0_14
; %bb.9:
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x23, #0
Lloh48:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh49:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	mov	w25, #1
	mov	x26, sp
Lloh50:
	adrp	x27, _AcceptMulticast@GOTPAGE
Lloh51:
	ldr	x27, [x27, _AcceptMulticast@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	ldr	w1, [x21]
	bl	_ether_crc
	lsr	w8, w0, #26
	lsl	w8, w25, w8
	asr	w9, w0, #31
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x26, x9]
	orr	w8, w8, w10
	str	w8, [x26, x9]
	ldr	w8, [x27]
	orr	w22, w8, w22
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x23, x23, #1
	ldr	x8, [x20, #8]
	cmp	x8, x23
	b.gt	LBB0_11
LBB0_13:
	mov	w20, #0
	ldr	w21, [sp]
	b	LBB0_6
LBB0_14:
	mov	w20, #0
	b	LBB0_6
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_AcceptBroadcast,4,2            ; @AcceptBroadcast
	.comm	_AcceptMulticast,4,2            ; @AcceptMulticast
	.comm	_AcceptMyPhys,4,2               ; @AcceptMyPhys
	.comm	_AcceptAllPhys,4,2              ; @AcceptAllPhys
	.comm	_multicast_filter_limit,8,3     ; @multicast_filter_limit
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_cp_rx_config,4,2               ; @cp_rx_config
	.comm	_RxConfig,8,3                   ; @RxConfig
	.comm	_MAR0,8,3                       ; @MAR0
	.no_dead_strip	___cp_set_rx_mode
.subsections_via_symbols
