	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function packet_mc_add
_packet_mc_add:                         ## @packet_mc_add
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_pkt_sk
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rtnl_lock
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	%r15, %rdi
	callq	_sock_net
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_16
## %bb.1:
	movq	%rax, %r15
	movq	8(%r14), %rax
	cmpq	(%r15), %rax
	jle	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r13d
	jmp	LBB0_16
LBB0_3:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	%rax, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	32(%rbx), %rbx
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rax
	cmpq	16(%r14), %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rdx
	cmpq	8(%r14), %rdx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	40(%rbx), %edi
	movl	24(%r14), %esi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	incl	24(%rbx)
	xorl	%r13d, %r13d
	jmp	LBB0_15
LBB0_12:
	movq	16(%r14), %rax
	movq	%rax, 8(%r12)
	movq	(%r14), %rax
	movq	%rax, (%r12)
	movq	8(%r14), %rdx
	movq	%rdx, 16(%r12)
	movl	40(%r12), %edi
	movl	24(%r14), %esi
	callq	_memcpy
	movl	$1, 24(%r12)
	movq	(%r13), %rax
	movq	%rax, 32(%r12)
	movq	%r12, (%r13)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_packet_dev_mc
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movq	%r13, %rcx
	movl	%eax, %r13d
	movq	32(%r12), %rax
	movq	%rax, (%rcx)
LBB0_15:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_16
LBB0_13:
	xorl	%r13d, %r13d
LBB0_16:
	xorl	%eax, %eax
	callq	_rtnl_unlock
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_packet_mc_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function packet_mc_add
_packet_mc_add:                         ; @packet_mc_add
	.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, x1
	mov	x21, x0
	bl	_pkt_sk
	mov	x19, x0
	bl	_rtnl_lock
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
	mov	x0, x21
	bl	_sock_net
	ldr	x1, [x20]
	bl	___dev_get_by_index
	cbz	x0, LBB0_14
; %bb.1:
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	x9, [x0]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_15
LBB0_3:
Lloh6:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kmalloc
	cbz	x0, LBB0_14
; %bb.4:
	mov	x21, x0
	ldr	x23, [x19]
	cbnz	x23, LBB0_9
LBB0_5:
	ldr	x8, [x20]
	str	x8, [x21]
	ldur	q0, [x20, #8]
	ext.16b	v1, v0, v0, #8
	stur	q1, [x21, #8]
	ldr	w0, [x21, #40]
	ldr	w1, [x20, #24]
	fmov	x2, d0
	bl	_memcpy
	mov	w8, #1
	str	w8, [x21, #24]
	ldr	x8, [x19]
	str	x8, [x21, #32]
	str	x21, [x19]
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1
	bl	_packet_dev_mc
	mov	x20, x0
	cbz	w0, LBB0_15
; %bb.6:
	ldr	x8, [x21, #32]
	str	x8, [x19]
LBB0_7:
	mov	x0, x21
	bl	_kfree
	b	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x23, [x23, #32]
	cbz	x23, LBB0_5
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23, #8]
	ldr	x9, [x20, #16]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x2, [x23, #16]
	ldr	x8, [x20, #8]
	cmp	x2, x8
	b.ne	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x23, #40]
	ldr	w1, [x20, #24]
	bl	_memcmp
	cbnz	x0, LBB0_8
; %bb.13:
	mov	w20, #0
	ldr	w8, [x23, #24]
	add	w8, w8, #1
	str	w8, [x23, #24]
	b	LBB0_7
LBB0_14:
	neg	w20, w23
LBB0_15:
	bl	_rtnl_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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_packet_mc_add
.subsections_via_symbols
