	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_collect_tlc_data
_rs_collect_tlc_data:                   ## @rs_collect_tlc_data
	.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
	testl	%r8d, %r8d
	js	LBB0_6
## %bb.1:
	movl	%r8d, %ebx
	movq	_IWL_RATE_COUNT@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	jle	LBB0_6
## %bb.2:
	movq	%rcx, %r15
	movq	%rdi, %r12
	movl	16(%rbp), %r13d
	movq	(%rcx), %rax
	movq	_RS_COLUMN_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %r14d
	jmp	LBB0_5
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%rsi), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	%ebx, %r14d
	addl	%r9d, (%rax,%r14,8)
	addl	%r13d, 4(%rax,%r14,8)
LBB0_5:
	movq	%r12, %rdi
	movl	%r13d, %ecx
	callq	_rs_update_tid_tpt_stats
	shlq	$2, %r14
	addq	8(%r15), %r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r13d, %r8d
	movq	%r14, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__rs_collect_tx_data            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_RATE_COUNT,4,2             ## @IWL_RATE_COUNT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RS_COLUMN_INVALID,8,3          ## @RS_COLUMN_INVALID
	.no_dead_strip	_rs_collect_tlc_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_collect_tlc_data
_rs_collect_tlc_data:                   ; @rs_collect_tlc_data
	.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
	tbnz	w4, #31, LBB0_4
; %bb.1:
	mov	x21, x4
Lloh0:
	adrp	x8, _IWL_RATE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_RATE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w4
	b.le	LBB0_4
; %bb.2:
	mov	x19, x6
	mov	x20, x5
	mov	x22, x3
	mov	x23, x0
	ldr	x8, [x3]
Lloh3:
	adrp	x9, _RS_COLUMN_INVALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RS_COLUMN_INVALID@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w24, w21
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	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
LBB0_5:
	ldr	x9, [x1]
	ldr	x8, [x9, x8, lsl #3]
	mov	w24, w21
	add	x8, x8, w21, uxtw #3
	ldp	w9, w10, [x8]
	add	w9, w9, w20
	add	w10, w10, w19
	stp	w9, w10, [x8]
LBB0_6:
	mov	x0, x23
	mov	x3, x19
	bl	_rs_update_tid_tpt_stats
	ldr	x8, [x22, #8]
	add	x5, x8, x24, lsl #2
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	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
	b	__rs_collect_tx_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_RATE_COUNT,4,2             ; @IWL_RATE_COUNT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RS_COLUMN_INVALID,8,3          ; @RS_COLUMN_INVALID
	.no_dead_strip	_rs_collect_tlc_data
.subsections_via_symbols
