	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_filter_update_rx_scatter ## -- Begin function ef4_farch_filter_update_rx_scatter
	.p2align	4, 0x90
_ef4_farch_filter_update_rx_scatter:    ## @ef4_farch_filter_update_rx_scatter
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addq	$8, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_bh
	movq	_EF4_FARCH_FILTER_TABLE_RX_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_EF4_FARCH_FILTER_TABLE_RX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_EF4_FARCH_FILTER_TABLE_RX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%esi
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	%eax, %esi
	ja	LBB0_14
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movl	%esi, %esi
	movq	%rsi, %rdx
	shlq	$5, %rdx
	cmpl	$0, (%rcx,%rdx)
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rcx,%rdx), %r15
	leaq	(%rcx,%rdx), %r13
	addq	$24, %r13
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	movl	(%r15), %eax
	addq	$16, %r14
	cmpq	%rax, %rbx
	jae	LBB0_12
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-8(%r13), %rsi
	movq	(%rsi,%r14), %rax
	cmpq	(%r12), %rax
	jge	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpq	$0, 16(%r12)
	movq	_EF4_FILTER_FLAG_RX_SCATTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	orl	%eax, 8(%rsi,%r14)
	jmp	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	notl	%eax
	andl	%eax, 8(%rsi,%r14)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	_EF4_FARCH_FILTER_TABLE_RX_DEF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	addq	%r14, %rsi
	leaq	-44(%rbp), %rdi
	callq	_ef4_farch_filter_build
	movl	-20(%r13), %edx
	imull	%ebx, %edx
	addq	-16(%r13), %rdx
	movq	%r12, %rdi
	leaq	-44(%rbp), %rsi
	callq	_ef4_writeo
	jmp	LBB0_11
LBB0_14:
	movq	%r12, %rdi
	callq	_ef4_farch_filter_push_rx_config
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_bh
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EF4_FARCH_FILTER_TABLE_RX_IP,4,2 ## @EF4_FARCH_FILTER_TABLE_RX_IP
	.comm	_EF4_FARCH_FILTER_TABLE_RX_DEF,4,2 ## @EF4_FARCH_FILTER_TABLE_RX_DEF
	.comm	_EF4_FILTER_FLAG_RX_SCATTER,4,2 ## @EF4_FILTER_FLAG_RX_SCATTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_farch_filter_update_rx_scatter ; -- Begin function ef4_farch_filter_update_rx_scatter
	.p2align	2
_ef4_farch_filter_update_rx_scatter:    ; @ef4_farch_filter_update_rx_scatter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	ldr	x8, [x0, #24]
	add	x0, x0, #8
	stp	x0, x8, [sp, #8]                ; 16-byte Folded Spill
	bl	_spin_lock_bh
Lloh0:
	adrp	x8, _EF4_FARCH_FILTER_TABLE_RX_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EF4_FARCH_FILTER_TABLE_RX_IP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x23, _EF4_FARCH_FILTER_TABLE_RX_DEF@GOTPAGE
Lloh4:
	ldr	x23, [x23, _EF4_FARCH_FILTER_TABLE_RX_DEF@GOTPAGEOFF]
	ldr	w8, [x23]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w25, #1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	w9, w8
	b.hi	LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	x10, [x10]
	mov	w25, w9
	add	x26, x10, x25, lsl #5
	ldr	w9, [x26]
	cbz	w9, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x27, #0
	mov	x21, #0
	add	x28, x26, #24
	add	x19, x26, #16
	add	x22, x26, #8
	add	x24, x26, #4
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x21, x21, #1
	ldr	w8, [x26]
	add	x27, x27, #16
	cmp	x21, x8
	b.hs	LBB0_1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w1, [x28]
	mov	x0, x21
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x19]
	ldr	x9, [x8, x27]
	ldr	x10, [x20]
	cmp	x9, x10
	b.ge	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x10, [x20, #16]
Lloh5:
	adrp	x9, _EF4_FILTER_FLAG_RX_SCATTER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EF4_FILTER_FLAG_RX_SCATTER@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cbz	x10, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x10, x8, x27
	ldr	w11, [x10, #8]
	orr	w9, w11, w9
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x10, x8, x27
	ldr	w11, [x10, #8]
	bic	w9, w11, w9
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	str	w9, [x10, #8]
	ldr	w9, [x23]
	cmp	w25, w9
	b.eq	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	add	x1, x8, x27
	add	x0, sp, #28
	bl	_ef4_farch_filter_build
	ldr	x8, [x22]
	ldr	w9, [x24]
	mul	w9, w9, w21
	add	x2, x8, x9
	add	x1, sp, #28
	mov	x0, x20
	bl	_ef4_writeo
	b	LBB0_6
LBB0_14:
	mov	x0, x20
	bl	_ef4_farch_filter_push_rx_config
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_spin_unlock_bh
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EF4_FARCH_FILTER_TABLE_RX_IP,4,2 ; @EF4_FARCH_FILTER_TABLE_RX_IP
	.comm	_EF4_FARCH_FILTER_TABLE_RX_DEF,4,2 ; @EF4_FARCH_FILTER_TABLE_RX_DEF
	.comm	_EF4_FILTER_FLAG_RX_SCATTER,4,2 ; @EF4_FILTER_FLAG_RX_SCATTER
.subsections_via_symbols
