	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsi_fill_rx_status
_rsi_fill_rx_status:                    ## @rsi_fill_rx_status
	.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	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	8(%rdx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r14
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	4(%rcx), %edi
	xorl	%r12d, %r12d
	movb	(%rax), %al
	subb	%al, %r12b
	callq	_ieee80211_hdrlen
	movl	%eax, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movb	%r12b, (%r13)
	movq	%r15, %r12
	movl	(%r15), %esi
	movl	%esi, 16(%r13)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ieee80211_channel_to_frequency
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, 8(%r13)
LBB0_2:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %edi
	callq	_ieee80211_has_protected
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movl	%ebx, %r15d
	movq	%r12, %rdi
	callq	_rsi_is_cipher_wep
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	4(%rsi), %rdi
	movl	%r15d, %edx
	callq	_memmove
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movl	4(%r13), %eax
	jmp	LBB0_6
LBB0_5:
	leaq	8(%rsi), %rdi
	movl	%r15d, %edx
	callq	_memmove
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_skb_pull
	movq	_RX_FLAG_MMIC_STRIPPED@GOTPCREL(%rip), %rcx
	movl	4(%r13), %eax
	orl	(%rcx), %eax
LBB0_6:
	movq	_RX_FLAG_DECRYPTED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_RX_FLAG_IV_STRIPPED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r13)
LBB0_7:
	movq	_RSI_MAX_VIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.8:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	je	LBB0_15
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	%rdx, (%rbx)
	jne	LBB0_11
## %bb.12:
	cmpq	$0, 16(%rbx)
	je	LBB0_15
## %bb.13:
	movl	8(%rbx), %edi
	movl	(%r14), %esi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_14
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	4(%r14), %edi
	callq	_ieee80211_is_beacon
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movl	(%r14), %esi
	movsbl	(%r13), %edx
	movq	%r12, %rdi
	movq	%rbx, %rcx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rsi_perform_cqm                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_FLAG_MMIC_STRIPPED,4,2      ## @RX_FLAG_MMIC_STRIPPED
	.comm	_RX_FLAG_DECRYPTED,4,2          ## @RX_FLAG_DECRYPTED
	.comm	_RX_FLAG_IV_STRIPPED,4,2        ## @RX_FLAG_IV_STRIPPED
	.comm	_RSI_MAX_VIFS,4,2               ## @RSI_MAX_VIFS
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_rsi_fill_rx_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsi_fill_rx_status
_rsi_fill_rx_status:                    ; @rsi_fill_rx_status
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x2
	mov	x21, x1
	ldr	x26, [x2, #8]
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
	ldr	x8, [x0]
	ldrb	w27, [x8]
	ldr	w24, [x8, #4]
	ldr	x25, [x21]
	ldr	w0, [x25, #4]
	bl	_ieee80211_hdrlen
	mov	x22, x0
	mov	x0, x23
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	neg	w8, w27
	strb	w8, [x20]
	ldr	w1, [x19]
	str	w1, [x20, #16]
	mov	x0, x24
	bl	_ieee80211_channel_to_frequency
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [x20, #8]
LBB0_2:
	ldr	w0, [x25, #4]
	bl	_ieee80211_has_protected
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_rsi_is_cipher_wep
	ldr	x1, [x21]
	cbz	x0, LBB0_5
; %bb.4:
	add	x0, x1, #4
	mov	x2, x22
	bl	_memmove
	mov	x0, x21
	mov	w1, #4
	bl	_skb_pull
	ldr	w8, [x20, #4]
	b	LBB0_6
LBB0_5:
	add	x0, x1, #8
	mov	x2, x22
	bl	_memmove
	mov	x0, x21
	mov	w1, #8
	bl	_skb_pull
Lloh0:
	adrp	x8, _RX_FLAG_MMIC_STRIPPED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_FLAG_MMIC_STRIPPED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
LBB0_6:
Lloh3:
	adrp	x9, _RX_FLAG_DECRYPTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RX_FLAG_DECRYPTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh6:
	adrp	x9, _RX_FLAG_IV_STRIPPED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_FLAG_IV_STRIPPED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_7:
Lloh9:
	adrp	x8, _RSI_MAX_VIFS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSI_MAX_VIFS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.8:
	ldr	x9, [x26]
Lloh12:
	adrp	x10, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x21, [x9]
	cbz	x21, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x11, [x21]
	cmp	x11, x10
	b.ne	LBB0_9
; %bb.12:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	w0, [x21, #8]
	ldr	w1, [x25]
Lloh15:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	bl	_memcmp
	cbz	w0, LBB0_15
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	w0, [x25, #4]
	bl	_ieee80211_is_beacon
	cbz	x0, LBB0_14
; %bb.16:
	ldr	w1, [x25]
	ldrsb	w2, [x20]
	mov	x0, x19
	mov	x3, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rsi_perform_cqm
	.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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_FLAG_MMIC_STRIPPED,4,2      ; @RX_FLAG_MMIC_STRIPPED
	.comm	_RX_FLAG_DECRYPTED,4,2          ; @RX_FLAG_DECRYPTED
	.comm	_RX_FLAG_IV_STRIPPED,4,2        ; @RX_FLAG_IV_STRIPPED
	.comm	_RSI_MAX_VIFS,4,2               ; @RSI_MAX_VIFS
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_rsi_fill_rx_status
.subsections_via_symbols
