	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p54_set_groupfilter            ## -- Begin function p54_set_groupfilter
	.p2align	4, 0x90
_p54_set_groupfilter:                   ## @p54_set_groupfilter
	.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, %r15
	movq	_P54_HDR_FLAG_CONTROL_OPSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$24, %edx
	callq	_p54_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$24, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movq	_FIF_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_3
LBB0_6:
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	jmp	LBB0_7
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_3:
	movl	4(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	movq	_MC_FILTER_ADDRESS_NUM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_6
## %bb.5:
	movl	$1, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	4(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edi
	movl	8(%r15), %esi
	movl	$4, %edx
	callq	_memcpy
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_p54_tx
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P54_HDR_FLAG_CONTROL_OPSET,4,2 ## @P54_HDR_FLAG_CONTROL_OPSET
	.comm	_P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE,4,2 ## @P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FIF_ALLMULTI,4,2               ## @FIF_ALLMULTI
	.comm	_MC_FILTER_ADDRESS_NUM,4,2      ## @MC_FILTER_ADDRESS_NUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p54_set_groupfilter            ; -- Begin function p54_set_groupfilter
	.p2align	2
_p54_set_groupfilter:                   ; @p54_set_groupfilter
	.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	x19, x0
Lloh0:
	adrp	x8, _P54_HDR_FLAG_CONTROL_OPSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P54_HDR_FLAG_CONTROL_OPSET@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w2, #24
	bl	_p54_alloc_skb
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	w1, #24
	bl	_skb_put
	mov	x21, x0
	ldr	w8, [x19]
Lloh9:
	adrp	x9, _FIF_ALLMULTI@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FIF_ALLMULTI@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x21, #16]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x21, #8]
	ldr	w0, [x21]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	b	LBB0_7
LBB0_3:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_4:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.5:
Lloh15:
	adrp	x9, _MC_FILTER_ADDRESS_NUM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MC_FILTER_ADDRESS_NUM@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.6:
	mov	w0, #1
	bl	_cpu_to_le16
	str	x0, [x21, #16]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le16
	str	x0, [x21, #8]
	ldr	w0, [x21]
	ldr	w1, [x19, #8]
	mov	w2, #4
	bl	_memcpy
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_p54_tx
	mov	w0, #0
LBB0_8:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_P54_HDR_FLAG_CONTROL_OPSET,4,2 ; @P54_HDR_FLAG_CONTROL_OPSET
	.comm	_P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE,4,2 ; @P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FIF_ALLMULTI,4,2               ; @FIF_ALLMULTI
	.comm	_MC_FILTER_ADDRESS_NUM,4,2      ; @MC_FILTER_ADDRESS_NUM
.subsections_via_symbols
