	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_multicast_list
_set_multicast_list:                    ## @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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$66, %edi
	callq	_SelectPage
	movq	_XIRCREG42_SWC1@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_GetByte
	movl	%eax, %ebx
	andl	$192, %ebx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	orl	$6, %ebx
	jmp	LBB0_5
LBB0_2:
	movq	%r14, %rdi
	callq	_netdev_mc_count
	cmpl	$9, %eax
	jg	LBB0_4
## %bb.3:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_7
LBB0_4:
	movl	(%r15), %edi
	orl	$2, %ebx
LBB0_5:
	movl	%ebx, %esi
LBB0_6:
	callq	_PutByte
	xorl	%edi, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SelectPage                     ## TAILCALL
LBB0_7:
	movq	%r14, %rdi
	callq	_netdev_mc_empty
	movl	(%r15), %edi
	testl	%eax, %eax
	jne	LBB0_5
## %bb.8:
	orl	$1, %ebx
	movl	%ebx, %esi
	callq	_PutByte
	movl	$64, %edi
	callq	_SelectPage
	movq	_XIRCREG40_CMD0@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_Offline@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PutByte
	movq	%r14, %rdi
	callq	_set_addresses
	movl	$64, %edi
	callq	_SelectPage
	movl	(%rbx), %edi
	movq	_EnableRecv@GOTPCREL(%rip), %rax
	movq	_Online@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_XIRCREG42_SWC1,4,2             ## @XIRCREG42_SWC1
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_XIRCREG40_CMD0,4,2             ## @XIRCREG40_CMD0
	.comm	_Offline,4,2                    ## @Offline
	.comm	_EnableRecv,4,2                 ## @EnableRecv
	.comm	_Online,4,2                     ## @Online
	.no_dead_strip	_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 set_multicast_list
_set_multicast_list:                    ; @set_multicast_list
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	w0, #66
	bl	_SelectPage
Lloh0:
	adrp	x21, _XIRCREG42_SWC1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _XIRCREG42_SWC1@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_GetByte
	and	w20, w0, #0xc0
	ldr	w8, [x19, #4]
Lloh2:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	orr	w1, w20, #0x6
	b	LBB0_5
LBB0_2:
	mov	x0, x19
	bl	_netdev_mc_count
	cmp	w0, #9
	b.gt	LBB0_4
; %bb.3:
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
LBB0_4:
	ldr	w0, [x21]
	orr	w1, w20, #0x2
LBB0_5:
	bl	_PutByte
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_SelectPage
LBB0_6:
	mov	x0, x19
	bl	_netdev_mc_empty
	mov	x8, x0
	ldr	w0, [x21]
	cbz	w8, LBB0_8
; %bb.7:
	mov	x1, x20
	b	LBB0_5
LBB0_8:
	orr	w1, w20, #0x1
	bl	_PutByte
	mov	w0, #64
	bl	_SelectPage
Lloh8:
	adrp	x20, _XIRCREG40_CMD0@GOTPAGE
Lloh9:
	ldr	x20, [x20, _XIRCREG40_CMD0@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh10:
	adrp	x8, _Offline@GOTPAGE
Lloh11:
	ldr	x8, [x8, _Offline@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_PutByte
	mov	x0, x19
	bl	_set_addresses
	mov	w0, #64
	bl	_SelectPage
Lloh13:
	adrp	x8, _EnableRecv@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EnableRecv@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _Online@GOTPAGE
Lloh17:
	ldr	x9, [x9, _Online@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w9, w8
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_XIRCREG42_SWC1,4,2             ; @XIRCREG42_SWC1
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_XIRCREG40_CMD0,4,2             ; @XIRCREG40_CMD0
	.comm	_Offline,4,2                    ; @Offline
	.comm	_EnableRecv,4,2                 ; @EnableRecv
	.comm	_Online,4,2                     ; @Online
	.no_dead_strip	_set_multicast_list
.subsections_via_symbols
