	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igmp6_event_report             ## -- Begin function igmp6_event_report
	.p2align	4, 0x90
_igmp6_event_report:                    ## @igmp6_event_report
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_PACKET_LOOPBACK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_18
## %bb.1:
	movq	%rdi, %r14
	movq	_PACKET_MULTICAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_PACKET_BROADCAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
LBB0_3:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_pskb_may_pull
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	callq	_icmp6_hdr
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_ipv6_hdr
	movq	%rax, %rdi
	callq	_ipv6_addr_type
	movq	_IPV6_ADDR_ANY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.6:
	movq	_IPV6_ADDR_LINKLOCAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_9:
	movl	8(%r14), %edi
	callq	_in6_dev_get
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_read_lock_bh
	movq	8(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leaq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_ipv6_addr_equal
	testq	%rax, %rax
	jne	LBB0_14
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_13
	jmp	LBB0_17
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_14:
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	leaq	12(%rbx), %rdi
	callq	_del_timer
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	8(%rbx), %rdi
	callq	_atomic_dec
LBB0_16:
	movq	_MAF_LAST_REPORTER@GOTPCREL(%rip), %rax
	movq	_MAF_TIMER_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, (%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock
LBB0_17:
	movq	%r14, %rdi
	callq	_read_unlock_bh
	movq	%r14, %rdi
	callq	_in6_dev_put
	xorl	%ebx, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_LOOPBACK,8,3            ## @PACKET_LOOPBACK
	.comm	_PACKET_MULTICAST,8,3           ## @PACKET_MULTICAST
	.comm	_PACKET_BROADCAST,8,3           ## @PACKET_BROADCAST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IPV6_ADDR_ANY,4,2              ## @IPV6_ADDR_ANY
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ## @IPV6_ADDR_LINKLOCAL
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_MAF_LAST_REPORTER,4,2          ## @MAF_LAST_REPORTER
	.comm	_MAF_TIMER_RUNNING,4,2          ## @MAF_TIMER_RUNNING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igmp6_event_report             ; -- Begin function igmp6_event_report
	.p2align	2
_igmp6_event_report:                    ; @igmp6_event_report
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PACKET_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PACKET_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.1:
Lloh3:
	adrp	x9, _PACKET_MULTICAST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PACKET_MULTICAST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _PACKET_BROADCAST@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PACKET_BROADCAST@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_16
; %bb.2:
	mov	x19, x0
	mov	w1, #0
	bl	_pskb_may_pull
	cbz	w0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_icmp6_hdr
	mov	x20, x0
	mov	x0, x19
	bl	_ipv6_hdr
	bl	_ipv6_addr_type
Lloh9:
	adrp	x8, _IPV6_ADDR_ANY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPV6_ADDR_ANY@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _IPV6_ADDR_LINKLOCAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPV6_ADDR_LINKLOCAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_9
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_in6_dev_get
	cbz	x0, LBB0_10
; %bb.6:
	mov	x19, x0
	bl	_read_lock_bh
	ldr	x21, [x19, #8]
	cbz	x21, LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, #16
	mov	x1, x20
	bl	_ipv6_addr_equal
	cbnz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x21, [x21, #24]
	cbnz	x21, LBB0_7
	b	LBB0_15
LBB0_9:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_17
LBB0_12:
	add	x20, x21, #4
	mov	x0, x20
	bl	_spin_lock
	add	x0, x21, #12
	bl	_del_timer
	cbz	x0, LBB0_14
; %bb.13:
	add	x0, x21, #8
	bl	_atomic_dec
LBB0_14:
Lloh19:
	adrp	x8, _MAF_LAST_REPORTER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MAF_LAST_REPORTER@GOTPAGEOFF]
Lloh21:
	adrp	x9, _MAF_TIMER_RUNNING@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MAF_TIMER_RUNNING@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
	mov	x0, x20
	bl	_spin_unlock
LBB0_15:
	mov	x0, x19
	bl	_read_unlock_bh
	mov	x0, x19
	bl	_in6_dev_put
LBB0_16:
	mov	w0, #0
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_LOOPBACK,8,3            ; @PACKET_LOOPBACK
	.comm	_PACKET_MULTICAST,8,3           ; @PACKET_MULTICAST
	.comm	_PACKET_BROADCAST,8,3           ; @PACKET_BROADCAST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IPV6_ADDR_ANY,4,2              ; @IPV6_ADDR_ANY
	.comm	_IPV6_ADDR_LINKLOCAL,4,2        ; @IPV6_ADDR_LINKLOCAL
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_MAF_LAST_REPORTER,4,2          ; @MAF_LAST_REPORTER
	.comm	_MAF_TIMER_RUNNING,4,2          ; @MAF_TIMER_RUNNING
.subsections_via_symbols
