	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __de_set_rx_mode
___de_set_rx_mode:                      ## @__de_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_MacMode@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_dr32
	movl	%eax, %r12d
	movq	_AcceptAllMulticast@GOTPCREL(%rip), %rbx
	movq	_AcceptAllPhys@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	je	LBB0_2
## %bb.1:
	orl	%eax, %r12d
	jmp	LBB0_21
LBB0_2:
	notl	%eax
	andl	%eax, %r12d
	movq	%r14, %rdi
	callq	_netdev_mc_count
	cmpl	$1000, %eax                     ## imm = 0x3E8
	jg	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_5
LBB0_4:
	orl	(%rbx), %r12d
LBB0_21:
	movl	(%r13), %edi
	callq	_dr32
	cmpl	%eax, %r12d
	jne	LBB0_23
## %bb.22:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	(%r13), %edi
	movl	%r12d, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dw32                           ## TAILCALL
LBB0_5:
	movq	%r14, %rdi
	callq	_netdev_mc_count
	movl	16(%r15), %edi
	movq	%r14, %rsi
	cmpl	$15, %eax
	jl	LBB0_7
## %bb.6:
	callq	_build_setup_frame_hash
	jmp	LBB0_8
LBB0_7:
	callq	_build_setup_frame_perfect
LBB0_8:
	movl	(%r15), %ebx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.10:
	movq	_DE_DUMMY_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r15), %rcx
	movl	%eax, 4(%rcx,%rbx,8)
	movq	8(%r15), %rdx
	leaq	(%rbx,%rbx,2), %rsi
	movq	_DE_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cmpl	%eax, %ebx
	jne	LBB0_11
## %bb.12:
	movq	_RingEnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_cpu_to_le32
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
LBB0_11:
	xorl	%eax, %eax
LBB0_13:
	leaq	(%rdx,%rsi,8), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%rdx,%rsi,8)
	movq	$0, 8(%rdx,%rsi,8)
	movl	%ebx, %edi
	callq	_NEXT_TX
LBB0_14:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_DE_SETUP_SKB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	24(%r15), %rcx
	movl	%eax, %ebx
	movl	%edx, 4(%rcx,%rbx,8)
	movl	16(%r15), %esi
	movl	20(%r15), %edi
	movq	_PCI_DMA_TODEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_pci_map_single
	movq	24(%r15), %rcx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, (%rcx,%rbx,8)
	movq	8(%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_DE_TX_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	decl	%ecx
	movq	_SetupFrame@GOTPCREL(%rip), %rax
	movl	$0, %edi
	cmpl	%ecx, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movq	_RingEnd@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_16:
	orl	(%rax), %edi
	orl	$4, %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rcx,2), %r13
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, 16(%rbx,%r13,8)
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 8(%rbx,%r13,8)
	xorl	%eax, %eax
	callq	_wmb
	movq	_DescOwn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, (%rbx,%r13,8)
	xorl	%eax, %eax
	callq	_wmb
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.17:
	movq	_DescOwn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_wmb
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_NEXT_TX
	movl	%eax, (%r15)
	movq	%r15, %rdi
	callq	_TX_BUFFS_AVAIL
	testq	%rax, %rax
	movq	_MacMode@GOTPCREL(%rip), %r13
	jne	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	callq	_netif_stop_queue
LBB0_20:
	movq	_TxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_NormalTxPoll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dw32
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_MacMode,4,2                    ## @MacMode
	.comm	_AcceptAllMulticast,4,2         ## @AcceptAllMulticast
	.comm	_AcceptAllPhys,4,2              ## @AcceptAllPhys
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_DE_DUMMY_SKB,4,2               ## @DE_DUMMY_SKB
	.comm	_DE_TX_RING_SIZE,4,2            ## @DE_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ## @RingEnd
	.comm	_DE_SETUP_SKB,4,2               ## @DE_SETUP_SKB
	.comm	_PCI_DMA_TODEVICE,4,2           ## @PCI_DMA_TODEVICE
	.comm	_SetupFrame,4,2                 ## @SetupFrame
	.comm	_DescOwn,4,2                    ## @DescOwn
	.comm	_TxPoll,4,2                     ## @TxPoll
	.comm	_NormalTxPoll,4,2               ## @NormalTxPoll
	.no_dead_strip	___de_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 __de_set_rx_mode
___de_set_rx_mode:                      ; @__de_set_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	bl	_netdev_priv
	mov	x21, x0
Lloh0:
	adrp	x24, _MacMode@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MacMode@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_dr32
Lloh2:
	adrp	x22, _AcceptAllMulticast@GOTPAGE
Lloh3:
	ldr	x22, [x22, _AcceptAllMulticast@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh4:
	adrp	x9, _AcceptAllPhys@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AcceptAllPhys@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
Lloh7:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	orr	w19, w8, w0
	b	LBB0_5
LBB0_2:
	bic	w19, w0, w8
	mov	x0, x20
	bl	_netdev_mc_count
	cmp	w0, #1000
	b.gt	LBB0_4
; %bb.3:
	ldr	w8, [x20]
Lloh10:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_4:
	ldr	w8, [x22]
	orr	w19, w8, w19
LBB0_5:
	ldr	w0, [x24]
	bl	_dr32
	cmp	w19, w0
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	w0, [x24]
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dw32
LBB0_8:
	mov	x0, x20
	bl	_netdev_mc_count
	mov	x8, x0
	ldr	w0, [x21, #16]
	mov	x1, x20
	cmp	w8, #15
	b.lt	LBB0_10
; %bb.9:
	bl	_build_setup_frame_hash
	b	LBB0_11
LBB0_10:
	bl	_build_setup_frame_perfect
LBB0_11:
	ldr	w22, [x21]
Lloh13:
	adrp	x27, _DE_TX_RING_SIZE@GOTPAGE
Lloh14:
	ldr	x27, [x27, _DE_TX_RING_SIZE@GOTPAGEOFF]
Lloh15:
	adrp	x26, _RingEnd@GOTPAGE
Lloh16:
	ldr	x26, [x26, _RingEnd@GOTPAGEOFF]
	cbz	w22, LBB0_14
; %bb.12:
Lloh17:
	adrp	x8, _DE_DUMMY_SKB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DE_DUMMY_SKB@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [x21, #24]
	add	x9, x9, x22, lsl #3
	str	w8, [x9, #4]
	ldr	x23, [x21, #8]
	mov	w8, #24
	madd	x25, x22, x8, x23
	ldr	w8, [x27]
	sub	w8, w8, #1
	cmp	w22, w8
	b.ne	LBB0_15
; %bb.13:
	ldr	w0, [x26]
	bl	_cpu_to_le32
	b	LBB0_16
LBB0_14:
	mov	x25, #0
	b	LBB0_17
LBB0_15:
	mov	x0, #0
LBB0_16:
	mov	w8, #24
	madd	x8, x22, x8, x23
	stp	xzr, x0, [x8, #8]
	mov	x0, x22
	bl	_NEXT_TX
	mov	x22, x0
LBB0_17:
Lloh20:
	adrp	x8, _DE_SETUP_SKB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DE_SETUP_SKB@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	x9, [x21, #24]
	mov	w10, w22
	lsl	x28, x10, #3
	add	x9, x9, x28
	str	w8, [x9, #4]
	ldp	w1, w0, [x21, #16]
Lloh23:
	adrp	x8, _PCI_DMA_TODEVICE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PCI_DMA_TODEVICE@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_pci_map_single
	mov	x23, x0
	ldr	x8, [x21, #24]
	str	w0, [x8, x28]
	ldr	x28, [x21, #8]
	ldr	w8, [x27]
	sub	w8, w8, #1
Lloh26:
	adrp	x9, _SetupFrame@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SetupFrame@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	ldr	w10, [x26]
	cmp	w22, w8
	csel	w8, w10, wzr, eq
	orr	w8, w9, w8
	orr	w0, w8, #0x4
	bl	_cpu_to_le32
	mov	w8, #24
	umaddl	x26, w22, w8, x28
	str	x0, [x26, #16]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x26, #8]
	bl	_wmb
Lloh29:
	adrp	x23, _DescOwn@GOTPAGE
Lloh30:
	ldr	x23, [x23, _DescOwn@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_cpu_to_le32
	str	x0, [x26]
	bl	_wmb
	cbz	x25, LBB0_19
; %bb.18:
	ldr	w0, [x23]
	bl	_cpu_to_le32
	str	x0, [x25]
	bl	_wmb
LBB0_19:
	mov	x0, x22
	bl	_NEXT_TX
	str	w0, [x21]
	mov	x0, x21
	bl	_TX_BUFFS_AVAIL
	cbnz	x0, LBB0_21
; %bb.20:
	mov	x0, x20
	bl	_netif_stop_queue
LBB0_21:
Lloh31:
	adrp	x8, _TxPoll@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TxPoll@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x8, _NormalTxPoll@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NormalTxPoll@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bl	_dw32
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MacMode,4,2                    ; @MacMode
	.comm	_AcceptAllMulticast,4,2         ; @AcceptAllMulticast
	.comm	_AcceptAllPhys,4,2              ; @AcceptAllPhys
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_DE_DUMMY_SKB,4,2               ; @DE_DUMMY_SKB
	.comm	_DE_TX_RING_SIZE,4,2            ; @DE_TX_RING_SIZE
	.comm	_RingEnd,4,2                    ; @RingEnd
	.comm	_DE_SETUP_SKB,4,2               ; @DE_SETUP_SKB
	.comm	_PCI_DMA_TODEVICE,4,2           ; @PCI_DMA_TODEVICE
	.comm	_SetupFrame,4,2                 ; @SetupFrame
	.comm	_DescOwn,4,2                    ; @DescOwn
	.comm	_TxPoll,4,2                     ; @TxPoll
	.comm	_NormalTxPoll,4,2               ; @NormalTxPoll
	.no_dead_strip	___de_set_rx_mode
.subsections_via_symbols
