	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_freq_to_band              ## -- Begin function wpas_freq_to_band
	.p2align	4, 0x90
_wpas_freq_to_band:                     ## @wpas_freq_to_band
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$50001, %edi                    ## imm = 0xC351
	jl	LBB0_1
## %bb.2:
	movq	_BAND_60_GHZ@GOTPCREL(%rip), %rax
	cmpl	$3000, %edi                     ## imm = 0xBB8
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_BAND_5_GHZ@GOTPCREL(%rip), %rax
	cmpl	$3000, %edi                     ## imm = 0xBB8
	jge	LBB0_5
LBB0_4:
	movq	_BAND_2_4_GHZ@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAND_2_4_GHZ,4,2               ## @BAND_2_4_GHZ
	.comm	_BAND_60_GHZ,4,2                ## @BAND_60_GHZ
	.comm	_BAND_5_GHZ,4,2                 ## @BAND_5_GHZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_freq_to_band              ; -- Begin function wpas_freq_to_band
	.p2align	2
_wpas_freq_to_band:                     ; @wpas_freq_to_band
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _BAND_2_4_GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BAND_2_4_GHZ@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BAND_60_GHZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BAND_60_GHZ@GOTPAGEOFF]
Lloh4:
	adrp	x10, _BAND_5_GHZ@GOTPAGE
Lloh5:
	ldr	x10, [x10, _BAND_5_GHZ@GOTPAGEOFF]
	mov	w11, #50000
	cmp	w0, w11
	csel	x9, x9, x10, gt
	cmp	w0, #3000
	csel	x8, x8, x9, lt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BAND_2_4_GHZ,4,2               ; @BAND_2_4_GHZ
	.comm	_BAND_60_GHZ,4,2                ; @BAND_60_GHZ
	.comm	_BAND_5_GHZ,4,2                 ; @BAND_5_GHZ
.subsections_via_symbols
