	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_wps_rf_band
_wpa_supplicant_wps_rf_band:            ## @wpa_supplicant_wps_rf_band
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	cmpl	$0, 4(%rdi)
	je	LBB0_8
## %bb.1:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.2:
	cmpl	$50001, %ecx                    ## imm = 0xC351
	jl	LBB0_4
## %bb.3:
	movq	_WPS_RF_60GHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	cmpl	$2485, %ecx                     ## imm = 0x9B5
	jl	LBB0_5
## %bb.6:
	movq	_WPS_RF_50GHZ@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_WPS_RF_24GHZ@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPS_RF_60GHZ,4,2               ## @WPS_RF_60GHZ
	.comm	_WPS_RF_50GHZ,4,2               ## @WPS_RF_50GHZ
	.comm	_WPS_RF_24GHZ,4,2               ## @WPS_RF_24GHZ
	.no_dead_strip	_wpa_supplicant_wps_rf_band
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_wps_rf_band
_wpa_supplicant_wps_rf_band:            ; @wpa_supplicant_wps_rf_band
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w9, #50001
	cmp	w8, w9
	b.lt	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _WPS_RF_60GHZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WPS_RF_60GHZ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ret
LBB0_4:
	mov	w0, #0
	ret
LBB0_5:
Lloh3:
	adrp	x9, _WPS_RF_50GHZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WPS_RF_50GHZ@GOTPAGEOFF]
Lloh5:
	adrp	x10, _WPS_RF_24GHZ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _WPS_RF_24GHZ@GOTPAGEOFF]
	cmp	w8, #2484
	csel	x8, x9, x10, gt
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_WPS_RF_60GHZ,4,2               ; @WPS_RF_60GHZ
	.comm	_WPS_RF_50GHZ,4,2               ; @WPS_RF_50GHZ
	.comm	_WPS_RF_24GHZ,4,2               ; @WPS_RF_24GHZ
	.no_dead_strip	_wpa_supplicant_wps_rf_band
.subsections_via_symbols
