	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_chk_mcast_addr            ## -- Begin function ipv6_chk_mcast_addr
	.p2align	4, 0x90
_ipv6_chk_mcast_addr:                   ## @ipv6_chk_mcast_addr
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_in6_dev_get
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_read_lock_bh
	movq	8(%r13), %r12
	xorl	%r15d, %r15d
	testq	%r12, %r12
	je	LBB0_17
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	24(%r12), %rdi
	movq	%rbx, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r12), %r12
	testq	%r12, %r12
	jne	LBB0_4
LBB0_17:
	movq	%r13, %rdi
	callq	_read_unlock_bh
	movq	%r13, %rdi
	callq	_in6_dev_put
	jmp	LBB0_18
LBB0_1:
	xorl	%r15d, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	$1, %r15d
	testq	%r14, %r14
	je	LBB0_17
## %bb.7:
	movq	%r14, %rdi
	callq	_ipv6_addr_any
	testl	%eax, %eax
	jne	LBB0_17
## %bb.8:
	leaq	8(%r12), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leaq	8(%rbx), %rdi
	movq	%r14, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
LBB0_12:
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$3, %rax
	addq	(%r12), %rax
	xorl	%ecx, %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_15:
	xorl	%r15d, %r15d
	cmpq	%rcx, (%rax)
	setne	%r15b
	jmp	LBB0_16
LBB0_13:
	movq	(%rbx), %rax
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, %r15d
	cmpq	$0, (%rax,%rcx,8)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_14
LBB0_16:
	callq	_spin_unlock_bh
	jmp	LBB0_17
LBB0_14:
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx,8), %rax
	movq	(%r12), %rdx
	movq	(%rdx,%rcx,8), %rcx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MCAST_INCLUDE,8,3              ## @MCAST_INCLUDE
	.comm	_MCAST_EXCLUDE,8,3              ## @MCAST_EXCLUDE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipv6_chk_mcast_addr            ; -- Begin function ipv6_chk_mcast_addr
	.p2align	2
_ipv6_chk_mcast_addr:                   ; @ipv6_chk_mcast_addr
	.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	x20, x2
	mov	x21, x1
	bl	_in6_dev_get
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_read_lock_bh
	ldr	x22, [x19, #8]
	cbz	x22, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x22, #24
	mov	x1, x21
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x22, [x22, #32]
	cbnz	x22, LBB0_2
LBB0_4:
	mov	w20, #0
	b	LBB0_17
LBB0_5:
	mov	w20, #0
	b	LBB0_18
LBB0_6:
	cbz	x20, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_ipv6_addr_any
	cbz	w0, LBB0_9
LBB0_8:
	mov	w20, #1
	b	LBB0_17
LBB0_9:
	add	x21, x22, #8
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x23, [x22, #16]
	cbz	x23, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, x23, #8
	mov	x1, x20
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x23, [x23, #16]
	cbnz	x23, LBB0_10
LBB0_12:
	mov	x8, #0
	ldr	x9, [x22]
Lloh0:
	adrp	x10, _MCAST_EXCLUDE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #3
LBB0_13:
	ldr	x9, [x9]
	cmp	x9, x8
	cset	w20, ne
	b	LBB0_16
LBB0_14:
	ldr	x8, [x23]
Lloh3:
	adrp	x9, _MCAST_INCLUDE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MCAST_INCLUDE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_19
; %bb.15:
	mov	w20, #1
LBB0_16:
	mov	x0, x21
	bl	_spin_unlock_bh
LBB0_17:
	mov	x0, x19
	bl	_read_unlock_bh
	mov	x0, x19
	bl	_in6_dev_put
LBB0_18:
	mov	x0, x20
	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
	ret
LBB0_19:
Lloh6:
	adrp	x9, _MCAST_EXCLUDE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	lsl	x10, x9, #3
	add	x9, x8, x10
	ldr	x8, [x22]
	ldr	x8, [x8, x10]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MCAST_INCLUDE,8,3              ; @MCAST_INCLUDE
	.comm	_MCAST_EXCLUDE,8,3              ; @MCAST_EXCLUDE
.subsections_via_symbols
