	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_chanspec_freq2bandrange_lpssn ## -- Begin function wlc_phy_chanspec_freq2bandrange_lpssn
	.p2align	4, 0x90
_wlc_phy_chanspec_freq2bandrange_lpssn: ## @wlc_phy_chanspec_freq2bandrange_lpssn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$2500, %edi                     ## imm = 0x9C4
	jge	LBB0_2
## %bb.1:
	movq	_WL_CHAN_FREQ_RANGE_2G@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	cmpl	$5321, %edi                     ## imm = 0x14C9
	jae	LBB0_4
## %bb.3:
	movq	_WL_CHAN_FREQ_RANGE_5GL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$5701, %edi                     ## imm = 0x1645
	jae	LBB0_5
## %bb.6:
	movq	_WL_CHAN_FREQ_RANGE_5GM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_WL_CHAN_FREQ_RANGE_5GH@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL_CHAN_FREQ_RANGE_2G,4,2      ## @WL_CHAN_FREQ_RANGE_2G
	.comm	_WL_CHAN_FREQ_RANGE_5GL,4,2     ## @WL_CHAN_FREQ_RANGE_5GL
	.comm	_WL_CHAN_FREQ_RANGE_5GM,4,2     ## @WL_CHAN_FREQ_RANGE_5GM
	.comm	_WL_CHAN_FREQ_RANGE_5GH,4,2     ## @WL_CHAN_FREQ_RANGE_5GH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_chanspec_freq2bandrange_lpssn ; -- Begin function wlc_phy_chanspec_freq2bandrange_lpssn
	.p2align	2
_wlc_phy_chanspec_freq2bandrange_lpssn: ; @wlc_phy_chanspec_freq2bandrange_lpssn
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _WL_CHAN_FREQ_RANGE_2G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WL_CHAN_FREQ_RANGE_2G@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WL_CHAN_FREQ_RANGE_5GL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WL_CHAN_FREQ_RANGE_5GL@GOTPAGEOFF]
Lloh4:
	adrp	x10, _WL_CHAN_FREQ_RANGE_5GH@GOTPAGE
Lloh5:
	ldr	x10, [x10, _WL_CHAN_FREQ_RANGE_5GH@GOTPAGEOFF]
	mov	w11, #5321
Lloh6:
	adrp	x12, _WL_CHAN_FREQ_RANGE_5GM@GOTPAGE
Lloh7:
	ldr	x12, [x12, _WL_CHAN_FREQ_RANGE_5GM@GOTPAGEOFF]
	mov	w13, #5701
	cmp	w0, w13
	csel	x10, x12, x10, lo
	cmp	w0, w11
	csel	x9, x9, x10, lo
	cmp	w0, #2500
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WL_CHAN_FREQ_RANGE_2G,4,2      ; @WL_CHAN_FREQ_RANGE_2G
	.comm	_WL_CHAN_FREQ_RANGE_5GL,4,2     ; @WL_CHAN_FREQ_RANGE_5GL
	.comm	_WL_CHAN_FREQ_RANGE_5GM,4,2     ; @WL_CHAN_FREQ_RANGE_5GM
	.comm	_WL_CHAN_FREQ_RANGE_5GH,4,2     ; @WL_CHAN_FREQ_RANGE_5GH
.subsections_via_symbols
