	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_get_txwi_rxwi_size      ## -- Begin function rt2800_get_txwi_rxwi_size
	.p2align	4, 0x90
_rt2800_get_txwi_rxwi_size:             ## @rt2800_get_txwi_rxwi_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.rt2800_get_txwi_rxwi_size(%rip), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	l_switch.table.rt2800_get_txwi_rxwi_size.1(%rip), %rdi
	movq	(%rdi,%rax,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_RXWI_DESC_SIZE_4WORDS@GOTPCREL(%rip), %rax
	movq	_TXWI_DESC_SIZE_4WORDS@GOTPCREL(%rip), %rcx
LBB0_3:
	movzwl	(%rcx), %ecx
	movw	%cx, (%rsi)
	movzwl	(%rax), %eax
	movw	%ax, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TXWI_DESC_SIZE_4WORDS,2,1      ## @TXWI_DESC_SIZE_4WORDS
	.comm	_RXWI_DESC_SIZE_5WORDS,2,1      ## @RXWI_DESC_SIZE_5WORDS
	.comm	_TXWI_DESC_SIZE_5WORDS,2,1      ## @TXWI_DESC_SIZE_5WORDS
	.comm	_RXWI_DESC_SIZE_6WORDS,2,1      ## @RXWI_DESC_SIZE_6WORDS
	.comm	_RXWI_DESC_SIZE_4WORDS,2,1      ## @RXWI_DESC_SIZE_4WORDS
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rt2800_get_txwi_rxwi_size
l_switch.table.rt2800_get_txwi_rxwi_size:
	.quad	_TXWI_DESC_SIZE_5WORDS
	.quad	_TXWI_DESC_SIZE_5WORDS
	.quad	_TXWI_DESC_SIZE_4WORDS
	.quad	_TXWI_DESC_SIZE_4WORDS

	.p2align	3                               ## @switch.table.rt2800_get_txwi_rxwi_size.1
l_switch.table.rt2800_get_txwi_rxwi_size.1:
	.quad	_RXWI_DESC_SIZE_6WORDS
	.quad	_RXWI_DESC_SIZE_6WORDS
	.quad	_RXWI_DESC_SIZE_5WORDS
	.quad	_RXWI_DESC_SIZE_5WORDS

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2800_get_txwi_rxwi_size      ; -- Begin function rt2800_get_txwi_rxwi_size
	.p2align	2
_rt2800_get_txwi_rxwi_size:             ; @rt2800_get_txwi_rxwi_size
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #3, #32
Lloh0:
	adrp	x9, l_switch.table.rt2800_get_txwi_rxwi_size@PAGE
Lloh1:
	add	x9, x9, l_switch.table.rt2800_get_txwi_rxwi_size@PAGEOFF
	ldr	x9, [x9, x8]
Lloh2:
	adrp	x10, l_switch.table.rt2800_get_txwi_rxwi_size.1@PAGE
Lloh3:
	add	x10, x10, l_switch.table.rt2800_get_txwi_rxwi_size.1@PAGEOFF
	ldr	x8, [x10, x8]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _RXWI_DESC_SIZE_4WORDS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RXWI_DESC_SIZE_4WORDS@GOTPAGEOFF]
Lloh6:
	adrp	x9, _TXWI_DESC_SIZE_4WORDS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TXWI_DESC_SIZE_4WORDS@GOTPAGEOFF]
LBB0_3:
	ldrh	w9, [x9]
	strh	w9, [x1]
	ldrh	w8, [x8]
	strh	w8, [x2]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TXWI_DESC_SIZE_4WORDS,2,1      ; @TXWI_DESC_SIZE_4WORDS
	.comm	_RXWI_DESC_SIZE_5WORDS,2,1      ; @RXWI_DESC_SIZE_5WORDS
	.comm	_TXWI_DESC_SIZE_5WORDS,2,1      ; @TXWI_DESC_SIZE_5WORDS
	.comm	_RXWI_DESC_SIZE_6WORDS,2,1      ; @RXWI_DESC_SIZE_6WORDS
	.comm	_RXWI_DESC_SIZE_4WORDS,2,1      ; @RXWI_DESC_SIZE_4WORDS
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rt2800_get_txwi_rxwi_size
l_switch.table.rt2800_get_txwi_rxwi_size:
	.quad	_TXWI_DESC_SIZE_5WORDS
	.quad	_TXWI_DESC_SIZE_5WORDS
	.quad	_TXWI_DESC_SIZE_4WORDS
	.quad	_TXWI_DESC_SIZE_4WORDS

	.p2align	3                               ; @switch.table.rt2800_get_txwi_rxwi_size.1
l_switch.table.rt2800_get_txwi_rxwi_size.1:
	.quad	_RXWI_DESC_SIZE_6WORDS
	.quad	_RXWI_DESC_SIZE_6WORDS
	.quad	_RXWI_DESC_SIZE_5WORDS
	.quad	_RXWI_DESC_SIZE_5WORDS

.subsections_via_symbols
