	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_mc_dec_group                ## -- Begin function ip_mc_dec_group
	.p2align	4, 0x90
_ip_mc_dec_group:                       ## @ip_mc_dec_group
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_ASSERT_RTNL
	movq	16(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	cmpq	%r15, (%rbx)
	jne	LBB0_9
## %bb.2:
	leaq	16(%r14), %r12
	decq	8(%rbx)
	jne	LBB0_10
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r12
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%r15, (%rbx)
	jne	LBB0_9
## %bb.4:
	addq	$16, %r12
	decq	8(%rbx)
	je	LBB0_6
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	callq	_write_lock_bh
	movq	16(%rbx), %rax
	movq	%rax, (%r12)
	decl	8(%r14)
	movq	%r15, %rdi
	callq	_write_unlock_bh
	movq	%rbx, %rdi
	callq	_igmp_group_dropped
	movq	%rbx, %rdi
	callq	_ip_mc_clear_src
	cmpl	$0, (%r14)
	jne	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_ip_rt_multicast_event
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ip_ma_put                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_mc_dec_group                ; -- Begin function ip_mc_dec_group
	.p2align	2
_ip_mc_dec_group:                       ; @ip_mc_dec_group
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_ASSERT_RTNL
	mov	x22, x19
	ldr	x20, [x22, #16]!
	cbz	x20, LBB0_6
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, x21
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x20
	ldr	x20, [x20, #16]
	cbz	x20, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x20]
	cmp	x9, x21
	b.ne	LBB0_2
; %bb.4:
	add	x22, x8, #16
LBB0_5:
	ldr	x8, [x20, #8]
	subs	x8, x8, #1
	str	x8, [x20, #8]
	b.eq	LBB0_7
LBB0_6:
	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
LBB0_7:
	add	x21, x19, #4
	mov	x0, x21
	bl	_write_lock_bh
	ldr	x8, [x20, #16]
	str	x8, [x22]
	ldr	w8, [x19, #8]
	sub	w8, w8, #1
	str	w8, [x19, #8]
	mov	x0, x21
	bl	_write_unlock_bh
	mov	x0, x20
	bl	_igmp_group_dropped
	mov	x0, x20
	bl	_ip_mc_clear_src
	ldr	w8, [x19]
	cbnz	w8, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_ip_rt_multicast_event
LBB0_9:
	mov	x0, x20
	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
	b	_ip_ma_put
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
