	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function com20020_set_mc_list
_com20020_set_mc_list:                  ## @com20020_set_mc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	4(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	_IFF_UP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	_PROMISCset@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r14)
	jne	LBB0_4
## %bb.3:
	movq	_D_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BUGMSG
LBB0_4:
	movq	_SUB_SETUP1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SET_SUBADR
	movl	(%r14), %edi
	orl	(%rbx), %edi
	jmp	LBB0_8
LBB0_5:
	movq	_PROMISCset@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r14)
	je	LBB0_7
## %bb.6:
	movq	_D_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_BUGMSG
LBB0_7:
	movq	_SUB_SETUP1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SET_SUBADR
	movl	(%rbx), %edi
	notl	%edi
	andl	(%r14), %edi
LBB0_8:
	movl	%edi, (%r14)
	movq	__XREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_PROMISCset,4,2                 ## @PROMISCset
	.comm	_D_NORMAL,4,2                   ## @D_NORMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting promiscuous flag...\n"

	.comm	_SUB_SETUP1,4,2                 ## @SUB_SETUP1
	.comm	__XREG,4,2                      ## @_XREG
L_.str.1:                               ## @.str.1
	.asciz	"Resetting promiscuous flag...\n"

	.no_dead_strip	_com20020_set_mc_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function com20020_set_mc_list
_com20020_set_mc_list:                  ; @com20020_set_mc_list
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
Lloh3:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [x19]
Lloh6:
	adrp	x20, _PROMISCset@GOTPAGE
Lloh7:
	ldr	x20, [x20, _PROMISCset@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _D_NORMAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _D_NORMAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BUGMSG
LBB0_4:
Lloh13:
	adrp	x8, _SUB_SETUP1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SUB_SETUP1@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_SET_SUBADR
	ldr	w8, [x20]
	ldr	w9, [x19]
	orr	w0, w9, w8
	b	LBB0_8
LBB0_5:
	ldr	w8, [x19]
Lloh16:
	adrp	x20, _PROMISCset@GOTPAGE
Lloh17:
	ldr	x20, [x20, _PROMISCset@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _D_NORMAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _D_NORMAL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_BUGMSG
LBB0_7:
Lloh23:
	adrp	x8, _SUB_SETUP1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SUB_SETUP1@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_SET_SUBADR
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w0, w9, w8
LBB0_8:
	str	w0, [x19]
Lloh26:
	adrp	x8, __XREG@GOTPAGE
Lloh27:
	ldr	x8, [x8, __XREG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_PROMISCset,4,2                 ; @PROMISCset
	.comm	_D_NORMAL,4,2                   ; @D_NORMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting promiscuous flag...\n"

	.comm	_SUB_SETUP1,4,2                 ; @SUB_SETUP1
	.comm	__XREG,4,2                      ; @_XREG
l_.str.1:                               ; @.str.1
	.asciz	"Resetting promiscuous flag...\n"

	.no_dead_strip	_com20020_set_mc_list
.subsections_via_symbols
