	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcnet32_set_multicast_list
_pcnet32_set_multicast_list:            ## @pcnet32_set_multicast_list
	.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	(%rdi), %r15
	callq	_netdev_priv
	movq	%rax, %rbx
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_pcnet32_suspend
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rax
	movq	_CSR15@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r15, %rdi
	callq	*(%rax)
	movl	%eax, %r13d
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	je	LBB0_2
## %bb.1:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_netif_info
	movq	_PCNET32_PORT_PORTSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	shll	$7, %edi
	orl	$32768, %edi                    ## imm = 0x8000
	callq	_cpu_to_le16
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rax
	movq	_CSR15@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	$32768, %r13d                   ## imm = 0x8000
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	*8(%rax)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pcnet32_clr_suspend
	jmp	LBB0_6
LBB0_2:
	movq	_PCNET32_PORT_PORTSEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rbx), %edi
	shll	$7, %edi
	callq	_cpu_to_le16
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%rbx), %rax
	movq	_CSR15@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	$32767, %r13d                   ## imm = 0x7FFF
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	*8(%rax)
	movq	%r12, %rdi
	callq	_pcnet32_load_multicast
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_4
LBB0_5:
	movq	8(%rbx), %rax
	movq	_CSR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CSR0_STOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	callq	*8(%rax)
	movq	_CSR0_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_pcnet32_restart
	movq	%r12, %rdi
	callq	_netif_wake_queue
LBB0_6:
	movq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR15,4,2                      ## @CSR15
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Promiscuous mode enabled\n"

	.comm	_PCNET32_PORT_PORTSEL,4,2       ## @PCNET32_PORT_PORTSEL
	.comm	_CSR0,4,2                       ## @CSR0
	.comm	_CSR0_STOP,4,2                  ## @CSR0_STOP
	.comm	_CSR0_NORMAL,4,2                ## @CSR0_NORMAL
	.no_dead_strip	_pcnet32_set_multicast_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcnet32_set_multicast_list
_pcnet32_set_multicast_list:            ; @pcnet32_set_multicast_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x0
	ldr	x21, [x0]
	bl	_netdev_priv
	mov	x22, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #0
	bl	_pcnet32_suspend
	mov	x23, x0
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x25, _CSR15@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CSR15@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x21
	blr	x8
	mov	x24, x0
	ldr	w8, [x20, #8]
Lloh2:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _hw@GOTPAGE
Lloh6:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	bl	_netif_info
	ldr	w8, [x22]
Lloh10:
	adrp	x9, _PCNET32_PORT_PORTSEL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PCNET32_PORT_PORTSEL@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	and	w8, w9, w8
	lsl	w8, w8, #7
	orr	w0, w8, #0x8000
	bl	_cpu_to_le16
	ldp	x9, x8, [x22, #8]
	str	x0, [x8]
	ldr	x8, [x9, #8]
	ldr	w1, [x25]
	orr	w2, w24, #0x8000
	mov	x0, x21
	blr	x8
	cbz	w23, LBB0_4
LBB0_2:
	mov	x0, x22
	mov	x1, x21
	bl	_pcnet32_clr_suspend
	b	LBB0_5
LBB0_3:
	ldr	w8, [x22]
Lloh13:
	adrp	x9, _PCNET32_PORT_PORTSEL@GOTPAGE
Lloh14:
	ldr	x9, [x9, _PCNET32_PORT_PORTSEL@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
	lsl	w0, w8, #7
	bl	_cpu_to_le16
	ldp	x9, x8, [x22, #8]
	str	x0, [x8]
	ldr	x8, [x9, #8]
	ldr	w1, [x25]
	and	w2, w24, #0x7fff
	mov	x0, x21
	blr	x8
	mov	x0, x20
	bl	_pcnet32_load_multicast
	cbnz	w23, LBB0_2
LBB0_4:
	ldr	x8, [x22, #8]
	ldr	x8, [x8, #8]
Lloh16:
	adrp	x9, _CSR0@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CSR0@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
Lloh19:
	adrp	x9, _CSR0_STOP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _CSR0_STOP@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x9]
	mov	x0, x21
	blr	x8
Lloh22:
	adrp	x8, _CSR0_NORMAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _CSR0_NORMAL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pcnet32_restart
	mov	x0, x20
	bl	_netif_wake_queue
LBB0_5:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR15,4,2                      ; @CSR15
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Promiscuous mode enabled\n"

	.comm	_PCNET32_PORT_PORTSEL,4,2       ; @PCNET32_PORT_PORTSEL
	.comm	_CSR0,4,2                       ; @CSR0
	.comm	_CSR0_STOP,4,2                  ; @CSR0_STOP
	.comm	_CSR0_NORMAL,4,2                ; @CSR0_NORMAL
	.no_dead_strip	_pcnet32_set_multicast_list
.subsections_via_symbols
