	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TLan_SetMulticastList
_TLan_SetMulticastList:                 ## @TLan_SetMulticastList
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	8(%r12), %edi
	movq	_TLAN_NET_CMD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_TLan_DioRead8
	movl	8(%r12), %edi
	movl	(%rbx), %esi
	movq	_TLAN_NET_CMD_CAF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TLan_DioWrite8                 ## TAILCALL
LBB0_2:
	movq	16(%r12), %r14
	movl	8(%r12), %edi
	movq	_TLAN_NET_CMD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_TLan_DioRead8
	movl	8(%r12), %edi
	movl	(%rbx), %esi
	movq	_TLAN_NET_CMD_CAF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	callq	_TLan_DioWrite8
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	callq	_TLan_SetMac
	movq	%r12, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_TLan_SetMac
	movq	%r12, %rdi
	movl	$3, %esi
	xorl	%edx, %edx
	callq	_TLan_SetMac
	movl	8(%r12), %edi
	movq	_TLAN_HASH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_TLan_DioWrite32
	movl	8(%r12), %edi
	movq	_TLAN_HASH_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	jmp	LBB0_19
LBB0_4:
	cmpl	$0, 4(%r12)
	jle	LBB0_13
## %bb.5:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	leaq	8(%r14), %rdx
	movl	$1, %ebx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_TLan_SetMac
	cmpl	$2, 4(%r12)
	jl	LBB0_14
## %bb.6:
	movq	(%r14), %r14
	leaq	8(%r14), %rdx
	movl	$2, %ebx
	movq	%r12, %rdi
	movl	$2, %esi
	callq	_TLan_SetMac
	cmpl	$3, 4(%r12)
	movl	$0, %r15d
	jl	LBB0_15
## %bb.7:
	movq	(%r14), %r13
	leaq	8(%r13), %rdx
	movq	%r12, %rdi
	movl	$3, %esi
	callq	_TLan_SetMac
	xorl	%ebx, %ebx
	cmpl	$4, 4(%r12)
	movl	$0, %r15d
	jl	LBB0_18
## %bb.8:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$2, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	addl	$-32, %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	btsl	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	leal	1(%r14), %ebx
	addl	$2, %r14d
	cmpl	4(%r12), %r14d
	movl	%ebx, %r14d
	jge	LBB0_20
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %r13
	leaq	8(%r13), %rdi
	callq	_TLan_HashFunc
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$31, %eax
	jg	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	btsl	%eax, %r15d
	jmp	LBB0_10
LBB0_13:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
LBB0_14:
	xorl	%r15d, %r15d
LBB0_15:
	incl	%ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_TLan_SetMac
	incl	%ebx
	cmpl	$4, %ebx
	jne	LBB0_16
LBB0_17:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_18:
	movl	8(%r12), %edi
	movq	_TLAN_HASH_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_TLan_DioWrite32
	movl	8(%r12), %edi
	movq	_TLAN_HASH_2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TLan_DioWrite32                ## TAILCALL
LBB0_20:
	cmpl	$1, %ebx
	ja	LBB0_17
## %bb.21:
	incl	%ebx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_TLAN_NET_CMD,4,2               ## @TLAN_NET_CMD
	.comm	_TLAN_NET_CMD_CAF,4,2           ## @TLAN_NET_CMD_CAF
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_TLAN_HASH_1,4,2                ## @TLAN_HASH_1
	.comm	_TLAN_HASH_2,4,2                ## @TLAN_HASH_2
	.no_dead_strip	_TLan_SetMulticastList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TLan_SetMulticastList
_TLan_SetMulticastList:                 ; @TLan_SetMulticastList
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x20, _TLAN_NET_CMD@GOTPAGE
Lloh4:
	ldr	x20, [x20, _TLAN_NET_CMD@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_TLan_DioRead8
	ldr	w8, [x19, #8]
Lloh5:
	adrp	x9, _TLAN_NET_CMD_CAF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TLAN_NET_CMD_CAF@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w0
	mov	x0, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_TLan_DioWrite8
LBB0_2:
	ldr	x20, [x19, #16]
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x21, _TLAN_NET_CMD@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TLAN_NET_CMD@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_TLan_DioRead8
	ldr	w8, [x19, #8]
	ldr	w1, [x21]
Lloh10:
	adrp	x9, _TLAN_NET_CMD_CAF@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TLAN_NET_CMD_CAF@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	bic	w2, w0, w9
	mov	x0, x8
	bl	_TLan_DioWrite8
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	mov	x2, #0
	bl	_TLan_SetMac
	mov	x0, x19
	mov	w1, #2
	mov	x2, #0
	bl	_TLan_SetMac
	mov	x0, x19
	mov	w1, #3
	mov	x2, #0
	bl	_TLan_SetMac
	ldr	w0, [x19, #8]
Lloh16:
	adrp	x8, _TLAN_HASH_1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TLAN_HASH_1@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_TLan_DioWrite32
	ldr	w0, [x19, #8]
Lloh19:
	adrp	x8, _TLAN_HASH_2@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TLAN_HASH_2@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	w2, #-1
	b	LBB0_17
LBB0_4:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.5:
	add	x2, x20, #8
	mov	w22, #1
	mov	x0, x19
	mov	w1, #1
	bl	_TLan_SetMac
	ldr	w8, [x19, #4]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.6:
	ldr	x20, [x20]
	add	x2, x20, #8
	mov	w22, #2
	mov	x0, x19
	mov	w1, #2
	bl	_TLan_SetMac
	ldr	w8, [x19, #4]
	cmp	w8, #3
	b.lt	LBB0_13
; %bb.7:
	ldr	x22, [x20]
	add	x2, x22, #8
	mov	x0, x19
	mov	w1, #3
	bl	_TLan_SetMac
	ldr	w8, [x19, #4]
	cmp	w8, #4
	b.lt	LBB0_18
; %bb.8:
	mov	w20, #0
	mov	w21, #0
	mov	w24, #2
	mov	w23, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x22]
	add	x0, x22, #8
	bl	_TLan_HashFunc
	lsl	w8, w23, w0
	orr	w9, w8, w20
	orr	w8, w8, w21
	cmp	w0, #31
	csel	w21, w21, w8, gt
	csel	w20, w9, w20, gt
	ldr	w9, [x19, #4]
	add	w8, w24, #1
	add	w10, w24, #2
	mov	x24, x8
	cmp	w10, w9
	b.lt	LBB0_9
; %bb.10:
	cmp	w8, #1
	b.hi	LBB0_16
; %bb.11:
	add	w22, w8, #1
	b	LBB0_14
LBB0_12:
	mov	w22, #0
LBB0_13:
	mov	w20, #0
	mov	w21, #0
LBB0_14:
	add	w22, w22, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	bl	_TLan_SetMac
	add	w22, w22, #1
	cmp	w22, #4
	b.ne	LBB0_15
LBB0_16:
	ldr	w0, [x19, #8]
Lloh22:
	adrp	x8, _TLAN_HASH_1@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TLAN_HASH_1@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_TLan_DioWrite32
	ldr	w0, [x19, #8]
Lloh25:
	adrp	x8, _TLAN_HASH_2@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TLAN_HASH_2@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x2, x20
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_TLan_DioWrite32
LBB0_18:
	mov	w20, #0
	mov	w21, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_TLAN_NET_CMD,4,2               ; @TLAN_NET_CMD
	.comm	_TLAN_NET_CMD_CAF,4,2           ; @TLAN_NET_CMD_CAF
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_TLAN_HASH_1,4,2                ; @TLAN_HASH_1
	.comm	_TLAN_HASH_2,4,2                ; @TLAN_HASH_2
	.no_dead_strip	_TLan_SetMulticastList
.subsections_via_symbols
