	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76_channel_state
_mt76_channel_state:                    ## @mt76_channel_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rcx
	leaq	16(%rdi), %rdx
	cmpq	(%rcx), %rax
	cmovneq	%rdi, %rdx
	subq	8(%rdx), %rsi
	shrq	$3, %rsi
	movslq	%esi, %rax
	shlq	$2, %rax
	addq	(%rdx), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.no_dead_strip	_mt76_channel_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76_channel_state
_mt76_channel_state:                    ; @mt76_channel_state
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, x0, #16
	cmp	x8, x9
	csel	x8, x10, x0, eq
	ldp	x8, x9, [x8]
	sub	x9, x1, x9
	lsr	x9, x9, #3
	add	x0, x8, w9, sxtw #2
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.no_dead_strip	_mt76_channel_state
.subsections_via_symbols
