	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_rx_statistics
_iwlagn_rx_statistics:                  ## @iwlagn_rx_statistics
	.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	$72, %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	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iwl_rx_packet_payload_len
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_IWL_DEBUG_RX
	leaq	12(%r12), %r14
	movq	%r14, %rdi
	callq	_spin_lock
	cmpl	$56, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$72, %ebx
	jne	LBB0_3
## %bb.2:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %r13
	leaq	56(%r15), %r10
	leaq	64(%r15), %rsi
	leaq	24(%r15), %rdx
	leaq	48(%r15), %r14
	movq	%r15, %rax
	addq	$40, %r15
	leaq	32(%rax), %r9
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	72(%rax), %rbx
	jmp	LBB0_5
LBB0_4:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r15), %r13
	leaq	56(%r15), %rsi
	leaq	24(%r15), %r9
	leaq	48(%r15), %rdx
	leaq	40(%r15), %r14
	movq	%r15, %rax
	addq	$32, %r15
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%rax), %rbx
	xorl	%r10d, %r10d
LBB0_5:
	movq	(%rsi), %rdi
	leaq	64(%r12), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	cmpq	64(%r12), %rdi
	jne	LBB0_7
## %bb.6:
	movl	8(%r12), %edi
	xorl	(%r13), %edi
	movq	_STATISTICS_REPLY_FLG_HT40_MODE_MSK@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	setne	%al
LBB0_7:
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rcx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %r8
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	pushq	%r10
	pushq	%rbx
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	callq	_iwlagn_accumulative_statistics
	addq	$16, %rsp
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	callq	_iwlagn_recover_from_statistics
	movl	(%r13), %eax
	movl	%eax, 8(%r12)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	leaq	56(%r12), %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	leaq	48(%r12), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_memcpy
	leaq	40(%r12), %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_memcpy
	leaq	32(%r12), %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	leaq	24(%r12), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	$8, %edx
	callq	_memcpy
	movq	%rbx, (%r12)
	movq	_STATUS_STATISTICS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	96(%r12), %r13
	movq	%r13, %rsi
	callq	_set_bit
	leaq	100(%r12), %r14
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	$60000, %edi                    ## imm = 0xEA60
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	movq	_STATUS_SCANNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_STATISTICS_NOTIFICATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	%r12, %rdi
	callq	_iwlagn_rx_calc_noise
	movl	92(%r12), %edi
	leaq	88(%r12), %rsi
	callq	_queue_work
LBB0_10:
	movq	80(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	setne	%cl
	andb	-41(%rbp), %cl                  ## 1-byte Folded Reload
	cmpb	$1, %cl
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	callq	*%rax
	jmp	LBB0_12
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	movl	$72, %ecx
	movl	$56, %r8d
	callq	_WARN_ONCE
LBB0_12:
	movq	%r14, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Statistics notification received (%d bytes).\n"

L_.str.1:                               ## @.str.1
	.asciz	"len %d doesn't match BT (%zu) or normal (%zu)\n"

	.comm	_STATISTICS_REPLY_FLG_HT40_MODE_MSK,4,2 ## @STATISTICS_REPLY_FLG_HT40_MODE_MSK
	.comm	_STATUS_STATISTICS,4,2          ## @STATUS_STATISTICS
	.comm	_STATUS_SCANNING,4,2            ## @STATUS_SCANNING
	.comm	_STATISTICS_NOTIFICATION,8,3    ## @STATISTICS_NOTIFICATION
	.no_dead_strip	_iwlagn_rx_statistics
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_rx_statistics
_iwlagn_rx_statistics:                  ; @iwlagn_rx_statistics
	.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	x19, x0
Lloh0:
	adrp	x8, _jiffies@GOTPAGE
Lloh1:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x1
	bl	_rxb_addr
	mov	x21, x0
	bl	_iwl_rx_packet_payload_len
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_IWL_DEBUG_RX
	add	x22, x19, #12
	mov	x0, x22
	bl	_spin_lock
	cmp	w20, #56
	b.eq	LBB0_3
; %bb.1:
	cmp	w20, #72
	b.ne	LBB0_6
; %bb.2:
	stp	x23, x22, [sp, #8]              ; 16-byte Folded Spill
	add	x10, x21, #8
	add	x7, x21, #56
	add	x23, x21, #64
	add	x24, x21, #24
	add	x28, x21, #48
	add	x26, x21, #40
	add	x27, x21, #32
	add	x25, x21, #72
	b	LBB0_4
LBB0_3:
	stp	x23, x22, [sp, #8]              ; 16-byte Folded Spill
	mov	x7, #0
	add	x10, x21, #8
	add	x23, x21, #56
	add	x27, x21, #24
	add	x24, x21, #48
	add	x28, x21, #40
	add	x26, x21, #32
	add	x25, x21, #16
LBB0_4:
	ldr	x8, [x23]
	mov	x20, x19
	ldr	x9, [x20, #64]!
	cmp	x8, x9
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	b.ne	LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _STATISTICS_REPLY_FLG_HT40_MODE_MSK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _STATISTICS_REPLY_FLG_HT40_MODE_MSK@GOTPAGEOFF]
	ldr	w9, [x10]
Lloh7:
	ldr	w8, [x8]
	ldr	w10, [x19, #8]
	eor	w9, w10, w9
	tst	w9, w8
	cset	w8, ne
	b	LBB0_8
LBB0_6:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	mov	x2, x20
	mov	w3, #72
	mov	w4, #56
	bl	_WARN_ONCE
	b	LBB0_13
LBB0_7:
	mov	w8, #1
LBB0_8:
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	mov	x3, x28
	mov	x4, x26
	mov	x5, x27
	mov	x6, x25
	bl	_iwlagn_accumulative_statistics
	mov	x0, x19
	mov	x1, x28
	mov	x2, x26
	mov	x3, x25
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	mov	x4, x22
	bl	_iwlagn_recover_from_statistics
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	x0, x20
	mov	x1, x23
	mov	w2, #8
	bl	_memcpy
	add	x0, x19, #56
	mov	x1, x24
	mov	w2, #8
	bl	_memcpy
	add	x0, x19, #48
	mov	x1, x28
	mov	w2, #8
	bl	_memcpy
	add	x0, x19, #40
	mov	x1, x26
	mov	w2, #8
	bl	_memcpy
	add	x0, x19, #32
	mov	x1, x27
	mov	w2, #8
	bl	_memcpy
	add	x0, x19, #24
	mov	x1, x25
	mov	w2, #8
	bl	_memcpy
	str	x22, [x19]
Lloh10:
	adrp	x8, _STATUS_STATISTICS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STATUS_STATISTICS@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x20, x19, #96
	mov	x1, x20
	bl	_set_bit
	add	x22, x19, #100
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	x23, [x8]
	mov	w0, #60000
	bl	_msecs_to_jiffies
	add	x1, x0, x23
	mov	x0, x22
	bl	_mod_timer
Lloh16:
	adrp	x8, _STATUS_SCANNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STATUS_SCANNING@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x8, [x21]
Lloh19:
	adrp	x9, _STATISTICS_NOTIFICATION@GOTPAGE
Lloh20:
	ldr	x9, [x9, _STATISTICS_NOTIFICATION@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_iwlagn_rx_calc_noise
	ldr	w0, [x19, #92]
	add	x1, x19, #88
	bl	_queue_work
LBB0_11:
	ldr	x8, [x19, #80]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w9, ne
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
	and	w9, w9, w10
	cmp	w9, #1
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	blr	x8
LBB0_13:
	mov	x0, x22
	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
	b	_spin_unlock
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Statistics notification received (%d bytes).\n"

l_.str.1:                               ; @.str.1
	.asciz	"len %d doesn't match BT (%zu) or normal (%zu)\n"

	.comm	_STATISTICS_REPLY_FLG_HT40_MODE_MSK,4,2 ; @STATISTICS_REPLY_FLG_HT40_MODE_MSK
	.comm	_STATUS_STATISTICS,4,2          ; @STATUS_STATISTICS
	.comm	_STATUS_SCANNING,4,2            ; @STATUS_SCANNING
	.comm	_STATISTICS_NOTIFICATION,8,3    ; @STATISTICS_NOTIFICATION
	.no_dead_strip	_iwlagn_rx_statistics
.subsections_via_symbols
