	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mcs_to_chains        ## -- Begin function ieee80211_mcs_to_chains
	.p2align	4, 0x90
_ieee80211_mcs_to_chains:               ## @ieee80211_mcs_to_chains
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rcx
	movl	$4, %eax
	cmpq	$0, 24(%rcx)
	je	LBB0_3
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_3:
	movl	$3, %eax
	cmpq	$0, 16(%rcx)
	jne	LBB0_5
## %bb.4:
	cmpq	$1, 8(%rcx)
	movl	$2, %eax
	sbbl	$0, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_mcs_to_chains        ; -- Begin function ieee80211_mcs_to_chains
	.p2align	2
_ieee80211_mcs_to_chains:               ; @ieee80211_mcs_to_chains
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_4
; %bb.2:
	mov	w0, #4
	ret
LBB0_3:
	mov	w0, #1
	ret
LBB0_4:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_6
; %bb.5:
	mov	w0, #3
	ret
LBB0_6:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	mov	w8, #1
	cinc	w0, w8, ne
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
