	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glc_set_multicast
_glc_set_multicast:                     ## @glc_set_multicast
	.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
	movq	8(%rdi), %r14
	movl	(%rdi), %esi
	movl	4(%rdi), %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_lv1_net_remove_multicast_address
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_lv1_net_add_multicast_address
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_3
## %bb.1:
	movq	_glc_add_maddr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_if_foreach_llmaddr
	cmpl	$31, %eax
	jne	LBB0_2
LBB0_3:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	xorl	%edx, %edx
	movl	$1, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lv1_net_add_multicast_address  ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_glc_add_maddr,4,2              ## @glc_add_maddr
	.no_dead_strip	_glc_set_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glc_set_multicast
_glc_set_multicast:                     ; @glc_set_multicast
	.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	x19, x0
	ldr	x20, [x0, #8]
	ldr	w0, [x0, #4]
	ldr	w1, [x19]
	mov	w2, #0
	mov	w3, #1
	bl	_lv1_net_remove_multicast_address
	ldp	w1, w0, [x19]
	mov	w2, #-1
	mov	w3, #0
	bl	_lv1_net_add_multicast_address
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _glc_add_maddr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _glc_add_maddr@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_if_foreach_llmaddr
	cmp	w0, #31
	b.ne	LBB0_3
LBB0_2:
	ldp	w1, w0, [x19]
	mov	w2, #0
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lv1_net_add_multicast_address
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_glc_add_maddr,4,2              ; @glc_add_maddr
	.no_dead_strip	_glc_set_multicast
.subsections_via_symbols
