	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setrate
_setrate:                               ## @setrate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	movq	_IEEE80211_RATE_MCS@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	_IEEE80211_RATE_VAL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_1:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	testb	$1, %al
	jne	LBB0_4
## %bb.2:
	leaq	L_.str.2(%rip), %rdx
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_4:
	leaq	L_.str.1(%rip), %rdx
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RATE_MCS,4,2         ## @IEEE80211_RATE_MCS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MCS%u"

	.comm	_IEEE80211_RATE_VAL,4,2         ## @IEEE80211_RATE_VAL
L_.str.1:                               ## @.str.1
	.asciz	"%u.5M"

L_.str.2:                               ## @.str.2
	.asciz	"%uM"

	.no_dead_strip	_setrate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setrate
_setrate:                               ; @setrate
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _IEEE80211_RATE_MCS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_RATE_MCS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IEEE80211_RATE_VAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_RATE_VAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w3, w8, w2
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	_snprintf
LBB0_2:
	cmp	w2, #0
	cinc	w8, w2, lt
	asr	w3, w8, #1
	tbnz	w2, #0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	b	_snprintf
LBB0_4:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	_snprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RATE_MCS,4,2         ; @IEEE80211_RATE_MCS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MCS%u"

	.comm	_IEEE80211_RATE_VAL,4,2         ; @IEEE80211_RATE_VAL
l_.str.1:                               ; @.str.1
	.asciz	"%u.5M"

l_.str.2:                               ; @.str.2
	.asciz	"%uM"

	.no_dead_strip	_setrate
.subsections_via_symbols
