	.file	"extr_wps_validate.c_wps_validate_rf_bands.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPS-STRICT: RF Bands attribute missing"
	.align 8
.LC1:
	.string	"WPS-STRICT: Invalid Rf Bands attribute value 0x%x"
	.text
	.p2align 4
	.type	wps_validate_rf_bands, @function
wps_validate_rf_bands:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	test	rdi, rdi
	je	.L10
	mov	edx, DWORD PTR [rdi]
	mov	eax, DWORD PTR WPS_RF_24GHZ[rip]
	xor	r8d, r8d
	cmp	edx, eax
	je	.L1
	mov	ecx, DWORD PTR WPS_RF_50GHZ[rip]
	cmp	edx, ecx
	je	.L1
	or	eax, ecx
	cmp	edx, eax
	jne	.L11
.L1:
	mov	eax, r8d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	test	esi, esi
	jne	.L12
	xor	r8d, r8d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	r8d, -1
	jmp	.L1
.L12:
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	r8d, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wps_validate_rf_bands, .-wps_validate_rf_bands
	.comm	WPS_RF_50GHZ,4,4
	.comm	WPS_RF_24GHZ,4,4
	.comm	MSG_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_wps_validate.c_wps_validate_rf_bands.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS-STRICT: RF Bands attribute missing\000"
	.align	2
.LC1:
	.ascii	"WPS-STRICT: Invalid Rf Bands attribute value 0x%x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_validate_rf_bands, %function
wps_validate_rf_bands:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	push	{r4, lr}
	beq	.L10
	ldr	r3, .L12
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L7
	ldr	r1, .L12+4
	ldr	r1, [r1]
	cmp	r2, r1
	beq	.L7
	orr	r3, r3, r1
	cmp	r2, r3
	bne	.L11
.L7:
	mov	r0, #0
	pop	{r4, pc}
.L10:
	cmp	r1, #0
	beq	.L7
	ldr	r3, .L12+8
	ldr	r1, .L12+12
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	pop	{r4, pc}
.L11:
	ldr	r3, .L12+8
	ldr	r1, .L12+16
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	pop	{r4, pc}
.L13:
	.align	2
.L12:
	.word	WPS_RF_24GHZ
	.word	WPS_RF_50GHZ
	.word	MSG_INFO
	.word	.LC0
	.word	.LC1
	.size	wps_validate_rf_bands, .-wps_validate_rf_bands
	.comm	WPS_RF_50GHZ,4,4
	.comm	WPS_RF_24GHZ,4,4
	.comm	MSG_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
