	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function veth_set_multicast_list
_veth_set_multicast_list:               ## @veth_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
	pushq	%rax
	.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, %r13
	movq	%rax, %r15
	addq	$16, %r15
	movq	%r15, %rdi
	callq	_write_lock_irqsave
	movl	(%r14), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	8(%r14), %rax
	movq	_VETH_MAX_MCAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_4
LBB0_3:
	movl	$1, (%r13)
LBB0_9:
	movq	%r15, %rdi
	callq	_write_unlock_irqrestore
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%r14), %rbx
	movl	$0, (%r13)
	movq	$0, 8(%r13)
	testq	%rax, %rax
	jle	LBB0_9
## %bb.5:
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rbx
	incq	%r12
	cmpq	%r12, %rax
	jle	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movl	$0, -44(%rbp)
	testb	$1, (%rsi)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rdi
	callq	_memcpy
	movl	-44(%rbp), %eax
	movq	8(%r13), %rcx
	movq	24(%r13), %rdx
	movl	%eax, (%rdx,%rcx,4)
	incq	%rcx
	movq	%rcx, 8(%r13)
	movq	8(%r14), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_VETH_MAX_MCAST,8,3             ## @VETH_MAX_MCAST
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_veth_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 veth_set_multicast_list
_veth_set_multicast_list:               ; @veth_set_multicast_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_netdev_priv
	mov	x21, x0
	add	x20, x0, #16
	mov	x0, x20
	bl	_write_lock_irqsave
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
Lloh6:
	adrp	x9, _VETH_MAX_MCAST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VETH_MAX_MCAST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_5
LBB0_3:
	mov	w8, #1
	str	w8, [x21]
LBB0_4:
	mov	x0, x20
	bl	_write_unlock_irqrestore
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	x22, [x19, #16]
	str	wzr, [x21]
	str	xzr, [x21, #8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.6:
	mov	x23, #0
Lloh9:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [x22, #8]
	add	x23, x23, #1
	cmp	x8, x23
	b.le	LBB0_4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22]
	str	wzr, [sp, #12]
	ldrb	w9, [x1]
	tbz	w9, #0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x24]
	add	x0, sp, #12
	bl	_memcpy
	ldr	w8, [sp, #12]
	ldr	x9, [x21, #24]
	ldr	x10, [x21, #8]
	str	w8, [x9, x10, lsl #2]
	add	x8, x10, #1
	str	x8, [x21, #8]
	ldr	x8, [x19, #8]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_VETH_MAX_MCAST,8,3             ; @VETH_MAX_MCAST
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_veth_set_multicast_list
.subsections_via_symbols
