	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_sta_info_parse_rate
_qtnf_sta_info_parse_rate:              ## @qtnf_sta_info_parse_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	16(%rsi), %rdi
	callq	_get_unaligned_le16
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movl	%eax, (%r14)
	movl	12(%rbx), %eax
	movl	%eax, 16(%r14)
	movl	8(%rbx), %eax
	movl	%eax, 12(%r14)
	movl	$0, 4(%r14)
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_RATE_INFO_BW_20@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_7:
	movq	_RATE_INFO_BW_80@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_3:
	movq	_RATE_INFO_BW_5@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_RATE_INFO_BW_40@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_8:
	movq	_RATE_INFO_BW_160@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	_RATE_INFO_BW_10@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
LBB0_10:
	movl	%eax, 8(%r14)
	movl	4(%rbx), %eax
	movq	_QLINK_STA_INFO_RATE_FLAG_HT_MCS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	_RATE_INFO_FLAGS_MCS@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_12:
	movq	_QLINK_STA_INFO_RATE_FLAG_VHT_MCS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.13:
	movq	_RATE_INFO_FLAGS_VHT_MCS@GOTPCREL(%rip), %rcx
LBB0_14:
	movl	(%rcx), %ecx
	movl	%ecx, 4(%r14)
LBB0_15:
	movq	_QLINK_STA_INFO_RATE_FLAG_SHORT_GI@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_17
## %bb.16:
	movq	_RATE_INFO_FLAGS_SHORT_GI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%r14)
LBB0_17:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_18:
	xorl	%ecx, %ecx
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_RATE_INFO_BW_5,4,2             ## @RATE_INFO_BW_5
	.comm	_RATE_INFO_BW_10,4,2            ## @RATE_INFO_BW_10
	.comm	_RATE_INFO_BW_20,4,2            ## @RATE_INFO_BW_20
	.comm	_RATE_INFO_BW_40,4,2            ## @RATE_INFO_BW_40
	.comm	_RATE_INFO_BW_80,4,2            ## @RATE_INFO_BW_80
	.comm	_RATE_INFO_BW_160,4,2           ## @RATE_INFO_BW_160
	.comm	_QLINK_STA_INFO_RATE_FLAG_HT_MCS,4,2 ## @QLINK_STA_INFO_RATE_FLAG_HT_MCS
	.comm	_RATE_INFO_FLAGS_MCS,4,2        ## @RATE_INFO_FLAGS_MCS
	.comm	_QLINK_STA_INFO_RATE_FLAG_VHT_MCS,4,2 ## @QLINK_STA_INFO_RATE_FLAG_VHT_MCS
	.comm	_RATE_INFO_FLAGS_VHT_MCS,4,2    ## @RATE_INFO_FLAGS_VHT_MCS
	.comm	_QLINK_STA_INFO_RATE_FLAG_SHORT_GI,4,2 ## @QLINK_STA_INFO_RATE_FLAG_SHORT_GI
	.comm	_RATE_INFO_FLAGS_SHORT_GI,4,2   ## @RATE_INFO_FLAGS_SHORT_GI
	.no_dead_strip	_qtnf_sta_info_parse_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_sta_info_parse_rate
_qtnf_sta_info_parse_rate:              ; @qtnf_sta_info_parse_rate
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	add	x0, x1, #16
	bl	_get_unaligned_le16
	add	w8, w0, w0, lsl #2
	lsl	w8, w8, #1
	str	w8, [x19]
	ldr	d0, [x20, #8]
	stur	d0, [x19, #12]
	str	wzr, [x19, #4]
	ldr	w8, [x20]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _RATE_INFO_BW_20@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RATE_INFO_BW_20@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	mov	w8, #0
	b	LBB0_10
LBB0_4:
Lloh4:
	adrp	x8, _RATE_INFO_BW_80@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RATE_INFO_BW_80@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x8, _RATE_INFO_BW_5@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RATE_INFO_BW_5@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x8, _RATE_INFO_BW_40@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RATE_INFO_BW_40@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x8, _RATE_INFO_BW_160@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RATE_INFO_BW_160@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _RATE_INFO_BW_10@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RATE_INFO_BW_10@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
LBB0_10:
	str	w8, [x19, #8]
	ldr	w8, [x20, #4]
Lloh14:
	adrp	x9, _QLINK_STA_INFO_RATE_FLAG_HT_MCS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _QLINK_STA_INFO_RATE_FLAG_HT_MCS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
Lloh17:
	adrp	x9, _RATE_INFO_FLAGS_MCS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RATE_INFO_FLAGS_MCS@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh19:
	adrp	x9, _QLINK_STA_INFO_RATE_FLAG_VHT_MCS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _QLINK_STA_INFO_RATE_FLAG_VHT_MCS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.13:
Lloh22:
	adrp	x9, _RATE_INFO_FLAGS_VHT_MCS@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RATE_INFO_FLAGS_VHT_MCS@GOTPAGEOFF]
LBB0_14:
	ldr	w9, [x9]
	str	w9, [x19, #4]
LBB0_15:
Lloh24:
	adrp	x10, _QLINK_STA_INFO_RATE_FLAG_SHORT_GI@GOTPAGE
Lloh25:
	ldr	x10, [x10, _QLINK_STA_INFO_RATE_FLAG_SHORT_GI@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_17
; %bb.16:
Lloh27:
	adrp	x8, _RATE_INFO_FLAGS_SHORT_GI@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RATE_INFO_FLAGS_SHORT_GI@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_17:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_18:
	mov	w9, #0
	b	LBB0_15
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_RATE_INFO_BW_5,4,2             ; @RATE_INFO_BW_5
	.comm	_RATE_INFO_BW_10,4,2            ; @RATE_INFO_BW_10
	.comm	_RATE_INFO_BW_20,4,2            ; @RATE_INFO_BW_20
	.comm	_RATE_INFO_BW_40,4,2            ; @RATE_INFO_BW_40
	.comm	_RATE_INFO_BW_80,4,2            ; @RATE_INFO_BW_80
	.comm	_RATE_INFO_BW_160,4,2           ; @RATE_INFO_BW_160
	.comm	_QLINK_STA_INFO_RATE_FLAG_HT_MCS,4,2 ; @QLINK_STA_INFO_RATE_FLAG_HT_MCS
	.comm	_RATE_INFO_FLAGS_MCS,4,2        ; @RATE_INFO_FLAGS_MCS
	.comm	_QLINK_STA_INFO_RATE_FLAG_VHT_MCS,4,2 ; @QLINK_STA_INFO_RATE_FLAG_VHT_MCS
	.comm	_RATE_INFO_FLAGS_VHT_MCS,4,2    ; @RATE_INFO_FLAGS_VHT_MCS
	.comm	_QLINK_STA_INFO_RATE_FLAG_SHORT_GI,4,2 ; @QLINK_STA_INFO_RATE_FLAG_SHORT_GI
	.comm	_RATE_INFO_FLAGS_SHORT_GI,4,2   ; @RATE_INFO_FLAGS_SHORT_GI
	.no_dead_strip	_qtnf_sta_info_parse_rate
.subsections_via_symbols
