	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_mc_check                 ## -- Begin function inet6_mc_check
	.p2align	4, 0x90
_inet6_mc_check:                        ## @inet6_mc_check
	.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, %r15
	movq	%rsi, %r13
	callq	_inet6_sk
	movq	%rax, %r14
	movq	_ipv6_sk_mc_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	movq	(%r14), %rbx
	movl	$1, %r12d
	testq	%rbx, %rbx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	24(%rbx), %rdi
	movq	%r13, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_17
LBB0_4:
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_read_lock
	movq	16(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_7
## %bb.5:
	cmpl	$0, (%r13)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_6
## %bb.8:
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	addq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movslq	(%r13), %rax
	addq	$4, %r12
	cmpq	%rax, %r14
	jl	LBB0_9
	jmp	LBB0_11
LBB0_7:
	movq	(%rbx), %rax
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	cmpq	(%rcx), %rax
	sete	%r12b
	jmp	LBB0_16
LBB0_6:
	xorl	%r14d, %r14d
LBB0_11:
	movq	(%rbx), %rax
	movq	_MCAST_INCLUDE@GOTPCREL(%rip), %rcx
	movl	$1, %r12d
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	xorl	%r12d, %r12d
	cmpl	(%r13), %r14d
	setl	%r12b
LBB0_13:
	movq	_MCAST_EXCLUDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	cmpl	(%r13), %r14d
	cmovll	%eax, %r12d
LBB0_15:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movq	%r14, %rdi
	callq	_read_unlock
LBB0_17:
	movq	_ipv6_sk_mc_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ipv6_sk_mc_lock,4,2            ## @ipv6_sk_mc_lock
	.comm	_MCAST_EXCLUDE,8,3              ## @MCAST_EXCLUDE
	.comm	_MCAST_INCLUDE,8,3              ## @MCAST_INCLUDE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_inet6_mc_check                 ; -- Begin function inet6_mc_check
	.p2align	2
_inet6_mc_check:                        ; @inet6_mc_check
	.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	x19, x1
	bl	_inet6_sk
	mov	x21, x0
Lloh0:
	adrp	x0, _ipv6_sk_mc_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ipv6_sk_mc_lock@GOTPAGEOFF]
	bl	_read_lock
	ldr	x21, [x21]
	cbz	x21, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, #24
	mov	x1, x19
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x21, [x21, #32]
	cbnz	x21, LBB0_1
LBB0_3:
	mov	w20, #1
	b	LBB0_17
LBB0_4:
	add	x19, x21, #8
	mov	x0, x19
	bl	_read_lock
	ldr	x22, [x21, #16]
	cbz	x22, LBB0_9
; %bb.5:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x24, #0
	mov	x23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x0, x8, x24
	mov	x1, x20
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	add	x24, x24, #4
	cmp	x23, x8
	b.lt	LBB0_7
	b	LBB0_11
LBB0_9:
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _MCAST_EXCLUDE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w20, eq
	b	LBB0_16
LBB0_10:
	mov	w23, #0
LBB0_11:
	ldr	x8, [x21]
Lloh5:
	adrp	x9, _MCAST_INCLUDE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MCAST_INCLUDE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	ldr	w9, [x22]
	cmp	w23, w9
	cset	w20, lt
	b	LBB0_14
LBB0_13:
	mov	w20, #1
LBB0_14:
Lloh8:
	adrp	x9, _MCAST_EXCLUDE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MCAST_EXCLUDE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:
	ldr	w8, [x22]
	cmp	w23, w8
	csel	w20, wzr, w20, lt
LBB0_16:
	mov	x0, x19
	bl	_read_unlock
LBB0_17:
Lloh11:
	adrp	x0, _ipv6_sk_mc_lock@GOTPAGE
Lloh12:
	ldr	x0, [x0, _ipv6_sk_mc_lock@GOTPAGEOFF]
	bl	_read_unlock
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ipv6_sk_mc_lock,4,2            ; @ipv6_sk_mc_lock
	.comm	_MCAST_EXCLUDE,8,3              ; @MCAST_EXCLUDE
	.comm	_MCAST_INCLUDE,8,3              ; @MCAST_INCLUDE
.subsections_via_symbols
