	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54_get_band_from_freq
_p54_get_band_from_freq:                ## @p54_get_band_from_freq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-2412(%rdi), %eax
	cmpl	$72, %eax
	ja	LBB0_2
## %bb.1:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	addl	$-4920, %edi                    ## imm = 0xECC8
	movl	$-1, %eax
	cmpl	$906, %edi                      ## imm = 0x38A
	jae	LBB0_5
## %bb.3:
	movq	_NL80211_BAND_5GHZ@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ## @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ## @NL80211_BAND_5GHZ
	.no_dead_strip	_p54_get_band_from_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54_get_band_from_freq
_p54_get_band_from_freq:                ; @p54_get_band_from_freq
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #2412
	cmp	w8, #72
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_2:
	mov	w8, #-4920
	add	w8, w0, w8
Lloh3:
	adrp	x9, _NL80211_BAND_5GHZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_BAND_5GHZ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #906
	csinv	w0, w9, wzr, lo
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,4,2          ; @NL80211_BAND_2GHZ
	.comm	_NL80211_BAND_5GHZ,4,2          ; @NL80211_BAND_5GHZ
	.no_dead_strip	_p54_get_band_from_freq
.subsections_via_symbols
