	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_set_expected_tpt_table
_rs_set_expected_tpt_table:             ## @rs_set_expected_tpt_table
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_IWL_RATE_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	20(%rsi), %edi
	callq	_is_legacy
	xorl	%edi, %edi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	20(%rbx), %edi
	callq	_is_Ht
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
LBB0_2:
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movl	20(%rbx), %edi
	callq	_is_legacy
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	movq	_expected_tpt_legacy@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_25:
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	20(%rbx), %edi
	callq	_is_siso
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_expected_tpt_siso20MHz@GOTPCREL(%rip), %rax
	cmpl	$0, 16(%rbx)
	je	LBB0_19
## %bb.7:
	cmpq	$0, 8(%r14)
	jne	LBB0_19
LBB0_8:
	movl	20(%rbx), %edi
	callq	_is_siso
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_expected_tpt_siso40MHz@GOTPCREL(%rip), %rax
LBB0_19:
	movq	(%rax), %rax
	cmpq	$0, 8(%rbx)
	movq	(%r14), %rcx
	je	LBB0_20
## %bb.22:
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.24:
	leaq	(%r15,%r15,2), %rcx
	leaq	(%rax,%rcx,4), %rax
	jmp	LBB0_25
LBB0_20:
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.21:
	leaq	(%rax,%r15,8), %rax
	jmp	LBB0_25
LBB0_23:
	leaq	(%rax,%r15,4), %rax
	jmp	LBB0_25
LBB0_10:
	movl	20(%rbx), %edi
	callq	_is_mimo2
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_expected_tpt_mimo2_20MHz@GOTPCREL(%rip), %rax
	cmpl	$0, 16(%rbx)
	je	LBB0_19
## %bb.12:
	cmpq	$0, 8(%r14)
	jne	LBB0_19
LBB0_13:
	movl	20(%rbx), %edi
	callq	_is_mimo2
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_expected_tpt_mimo2_40MHz@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_15:
	movl	20(%rbx), %edi
	callq	_is_mimo3
	testq	%rax, %rax
	je	LBB0_18
## %bb.16:
	movq	_expected_tpt_mimo3_20MHz@GOTPCREL(%rip), %rax
	cmpl	$0, 16(%rbx)
	je	LBB0_19
## %bb.17:
	cmpq	$0, 8(%r14)
	jne	LBB0_19
LBB0_18:
	movq	_expected_tpt_mimo3_40MHz@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_RATE_COUNT,4,2             ## @IWL_RATE_COUNT
	.comm	_expected_tpt_legacy,8,3        ## @expected_tpt_legacy
	.comm	_expected_tpt_siso20MHz,8,3     ## @expected_tpt_siso20MHz
	.comm	_expected_tpt_siso40MHz,8,3     ## @expected_tpt_siso40MHz
	.comm	_expected_tpt_mimo2_20MHz,8,3   ## @expected_tpt_mimo2_20MHz
	.comm	_expected_tpt_mimo2_40MHz,8,3   ## @expected_tpt_mimo2_40MHz
	.comm	_expected_tpt_mimo3_20MHz,8,3   ## @expected_tpt_mimo3_20MHz
	.comm	_expected_tpt_mimo3_40MHz,8,3   ## @expected_tpt_mimo3_40MHz
	.no_dead_strip	_rs_set_expected_tpt_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_set_expected_tpt_table
_rs_set_expected_tpt_table:             ; @rs_set_expected_tpt_table
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IWL_RATE_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_RATE_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x1, #20]
	bl	_is_legacy
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_4
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #20]
	bl	_is_Ht
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbnz	x0, LBB0_4
LBB0_3:
	ldr	w0, [x19, #20]
	bl	_is_legacy
	cbz	x0, LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _expected_tpt_legacy@GOTPAGE
Lloh4:
	ldr	x8, [x8, _expected_tpt_legacy@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
LBB0_5:
	str	x8, [x19]
	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
LBB0_6:
	ldr	w0, [x19, #20]
	bl	_is_siso
	cbz	x0, LBB0_10
; %bb.7:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _expected_tpt_siso20MHz@GOTPAGE
Lloh7:
	ldr	x8, [x8, _expected_tpt_siso20MHz@GOTPAGEOFF]
	b	LBB0_23
LBB0_10:
	ldr	w0, [x19, #20]
	bl	_is_siso
	cbz	x0, LBB0_12
; %bb.11:
Lloh8:
	adrp	x8, _expected_tpt_siso40MHz@GOTPAGE
Lloh9:
	ldr	x8, [x8, _expected_tpt_siso40MHz@GOTPAGEOFF]
	b	LBB0_23
LBB0_12:
	ldr	w0, [x19, #20]
	bl	_is_mimo2
	cbz	x0, LBB0_16
; %bb.13:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_16
LBB0_15:
Lloh10:
	adrp	x8, _expected_tpt_mimo2_20MHz@GOTPAGE
Lloh11:
	ldr	x8, [x8, _expected_tpt_mimo2_20MHz@GOTPAGEOFF]
	b	LBB0_23
LBB0_16:
	ldr	w0, [x19, #20]
	bl	_is_mimo2
	cbz	x0, LBB0_18
; %bb.17:
Lloh12:
	adrp	x8, _expected_tpt_mimo2_40MHz@GOTPAGE
Lloh13:
	ldr	x8, [x8, _expected_tpt_mimo2_40MHz@GOTPAGEOFF]
	b	LBB0_23
LBB0_18:
	ldr	w0, [x19, #20]
	bl	_is_mimo3
	cbz	x0, LBB0_22
; %bb.19:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_21
; %bb.20:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_22
LBB0_21:
Lloh14:
	adrp	x8, _expected_tpt_mimo3_20MHz@GOTPAGE
Lloh15:
	ldr	x8, [x8, _expected_tpt_mimo3_20MHz@GOTPAGEOFF]
	b	LBB0_23
LBB0_22:
Lloh16:
	adrp	x8, _expected_tpt_mimo3_40MHz@GOTPAGE
Lloh17:
	ldr	x8, [x8, _expected_tpt_mimo3_40MHz@GOTPAGEOFF]
LBB0_23:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x10, [x20]
	mov	w11, #12
	madd	x11, x21, x11, x8
	add	x12, x8, x21, lsl #2
	cmp	x10, #0
	csel	x10, x11, x12, ne
	add	x11, x8, x21, lsl #3
	csel	x8, x8, x11, eq
	cmp	x9, #0
	csel	x8, x10, x8, ne
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_RATE_COUNT,4,2             ; @IWL_RATE_COUNT
	.comm	_expected_tpt_legacy,8,3        ; @expected_tpt_legacy
	.comm	_expected_tpt_siso20MHz,8,3     ; @expected_tpt_siso20MHz
	.comm	_expected_tpt_siso40MHz,8,3     ; @expected_tpt_siso40MHz
	.comm	_expected_tpt_mimo2_20MHz,8,3   ; @expected_tpt_mimo2_20MHz
	.comm	_expected_tpt_mimo2_40MHz,8,3   ; @expected_tpt_mimo2_40MHz
	.comm	_expected_tpt_mimo3_20MHz,8,3   ; @expected_tpt_mimo3_20MHz
	.comm	_expected_tpt_mimo3_40MHz,8,3   ; @expected_tpt_mimo3_40MHz
	.no_dead_strip	_rs_set_expected_tpt_table
.subsections_via_symbols
