	.file	"extr_wps_registrar.c_wps_process_config_methods.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" [Keypad]"
.LC1:
	.string	""
.LC2:
	.string	" [PBC]"
.LC3:
	.string	" [NFC]"
.LC4:
	.string	" [Int NFC Token]"
.LC5:
	.string	" [Ext NFC Token]"
.LC6:
	.string	" [Display]"
.LC7:
	.string	" [Label]"
.LC8:
	.string	" [Ethernet]"
.LC9:
	.string	" [USBA]"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC10:
	.string	"WPS: No Config Methods received"
	.align 8
.LC11:
	.string	"WPS: Enrollee Config Methods 0x%x%s%s%s%s%s%s%s%s%s"
	.align 8
.LC12:
	.string	"WPS: Prefer PSK format key due to Enrollee not supporting display"
	.text
	.p2align 4
	.type	wps_process_config_methods, @function
wps_process_config_methods:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rsi, rsi
	je	.L25
	mov	rbp, rdi
	mov	rdi, rsi
	lea	r12, .LC0[rip]
	call	WPA_GET_BE16@PLT
	lea	rcx, .LC1[rip]
	test	DWORD PTR WPS_CONFIG_KEYPAD[rip], eax
	lea	r11, .LC2[rip]
	cmove	r12, rcx
	test	DWORD PTR WPS_CONFIG_PUSHBUTTON[rip], eax
	mov	ebx, eax
	cmove	r11, rcx
	lea	r10, .LC3[rip]
	test	DWORD PTR WPS_CONFIG_NFC_INTERFACE[rip], eax
	cmove	r10, rcx
	lea	rdi, .LC4[rip]
	push	r12
	.cfi_def_cfa_offset 40
	test	DWORD PTR WPS_CONFIG_INT_NFC_TOKEN[rip], eax
	cmove	rdi, rcx
	lea	rsi, .LC5[rip]
	push	r11
	.cfi_def_cfa_offset 48
	test	DWORD PTR WPS_CONFIG_EXT_NFC_TOKEN[rip], eax
	cmove	rsi, rcx
	lea	rdx, .LC6[rip]
	push	r10
	.cfi_def_cfa_offset 56
	test	DWORD PTR WPS_CONFIG_DISPLAY[rip], eax
	cmove	rdx, rcx
	lea	r9, .LC7[rip]
	test	DWORD PTR WPS_CONFIG_LABEL[rip], eax
	push	rdi
	.cfi_def_cfa_offset 64
	cmove	r9, rcx
	lea	r8, .LC8[rip]
	push	rsi
	.cfi_def_cfa_offset 72
	test	DWORD PTR WPS_CONFIG_ETHERNET[rip], eax
	push	rdx
	.cfi_def_cfa_offset 80
	cmove	r8, rcx
	test	DWORD PTR WPS_CONFIG_USBA[rip], eax
	mov	edx, ebx
	lea	rax, .LC9[rip]
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC11[rip]
	cmovne	rcx, rax
	xor	eax, eax
	call	wpa_printf@PLT
	add	rsp, 48
	.cfi_def_cfa_offset 32
	and	ebx, DWORD PTR WPS_CONFIG_DISPLAY[rip]
	mov	r12d, ebx
	je	.L26
	xor	r12d, r12d
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC12[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	DWORD PTR 0[rbp], 1
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L25:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC10[rip]
	xor	eax, eax
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wps_process_config_methods, .-wps_process_config_methods
	.comm	WPS_CONFIG_USBA,4,4
	.comm	WPS_CONFIG_PUSHBUTTON,4,4
	.comm	WPS_CONFIG_NFC_INTERFACE,4,4
	.comm	WPS_CONFIG_LABEL,4,4
	.comm	WPS_CONFIG_KEYPAD,4,4
	.comm	WPS_CONFIG_INT_NFC_TOKEN,4,4
	.comm	WPS_CONFIG_EXT_NFC_TOKEN,4,4
	.comm	WPS_CONFIG_ETHERNET,4,4
	.comm	WPS_CONFIG_DISPLAY,4,4
	.comm	MSG_DEBUG,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_registrar.c_wps_process_config_methods.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" [USBA]\000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	" [Ethernet]\000"
	.align	2
.LC3:
	.ascii	" [Label]\000"
	.align	2
.LC4:
	.ascii	" [Display]\000"
	.align	2
.LC5:
	.ascii	" [Ext NFC Token]\000"
	.align	2
.LC6:
	.ascii	" [Int NFC Token]\000"
	.align	2
.LC7:
	.ascii	" [NFC]\000"
	.align	2
.LC8:
	.ascii	" [PBC]\000"
	.align	2
.LC9:
	.ascii	" [Keypad]\000"
	.align	2
.LC10:
	.ascii	"WPS: No Config Methods received\000"
	.align	2
.LC11:
	.ascii	"WPS: Enrollee Config Methods 0x%x%s%s%s%s%s%s%s%s%s"
	.ascii	"\000"
	.align	2
.LC12:
	.ascii	"WPS: Prefer PSK format key due to Enrollee not supp"
	.ascii	"orting display\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_process_config_methods, %function
wps_process_config_methods:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r1, #0
	sub	sp, sp, #32
	beq	.L25
	mov	r5, r0
	mov	r0, r1
	bl	WPA_GET_BE16
	mov	r4, r0
	ldr	r3, .L27
	ldr	ip, .L27+4
	ldr	r0, [r3]
	ldr	r1, .L27+8
	ldr	r2, .L27+12
	ldr	ip, [ip]
	tst	r4, r0
	ldr	r6, .L27+16
	ldr	r0, [r1]
	ldr	r3, .L27+20
	moveq	r3, r2
	tst	r4, ip
	ldr	lr, .L27+24
	ldr	r1, .L27+28
	moveq	lr, r2
	tst	r4, r0
	ldr	r0, [r6]
	ldr	r1, [r1]
	ldr	ip, .L27+32
	moveq	ip, r2
	tst	r4, r0
	ldr	r0, .L27+36
	moveq	r0, r2
	tst	r4, r1
	ldr	r1, .L27+40
	moveq	r1, r2
	ldr	r7, .L27+44
	ldr	r8, [r7]
	ldr	r7, .L27+48
	tst	r4, r8
	ldr	r8, .L27+52
	ldr	r7, [r7]
	str	lr, [sp]
	ldr	r8, [r8]
	str	ip, [sp, #4]
	ldr	ip, .L27+56
	str	r0, [sp, #8]
	ldr	lr, .L27+60
	moveq	lr, r2
	tst	r4, r7
	ldr	r7, [ip]
	ldr	r0, .L27+64
	str	r1, [sp, #12]
	moveq	r0, r2
	ldr	r1, .L27+68
	tst	r4, r8
	ldr	ip, .L27+72
	moveq	ip, r2
	tst	r4, r7
	movne	r2, r1
	ldr	r7, .L27+76
	str	r2, [sp, #28]
	str	lr, [sp, #16]
	str	r0, [sp, #20]
	str	ip, [sp, #24]
	mov	r2, r4
	ldr	r0, [r7]
	ldr	r1, .L27+80
	bl	wpa_printf
	ldr	r2, [r6]
	ands	r4, r4, r2
	movne	r4, #0
	bne	.L1
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L26
.L1:
	mov	r0, r4
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	ldr	r0, [r7]
	ldr	r1, .L27+84
	bl	wpa_printf
	mov	r3, #1
	mov	r0, r4
	str	r3, [r5]
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L25:
	ldr	r3, .L27+76
	ldr	r1, .L27+88
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r4, #0
	b	.L1
.L28:
	.align	2
.L27:
	.word	WPS_CONFIG_USBA
	.word	WPS_CONFIG_ETHERNET
	.word	WPS_CONFIG_LABEL
	.word	.LC1
	.word	WPS_CONFIG_DISPLAY
	.word	.LC0
	.word	.LC2
	.word	WPS_CONFIG_EXT_NFC_TOKEN
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	WPS_CONFIG_INT_NFC_TOKEN
	.word	WPS_CONFIG_NFC_INTERFACE
	.word	WPS_CONFIG_PUSHBUTTON
	.word	WPS_CONFIG_KEYPAD
	.word	.LC6
	.word	.LC7
	.word	.LC9
	.word	.LC8
	.word	MSG_DEBUG
	.word	.LC11
	.word	.LC12
	.word	.LC10
	.size	wps_process_config_methods, .-wps_process_config_methods
	.comm	WPS_CONFIG_USBA,4,4
	.comm	WPS_CONFIG_PUSHBUTTON,4,4
	.comm	WPS_CONFIG_NFC_INTERFACE,4,4
	.comm	WPS_CONFIG_LABEL,4,4
	.comm	WPS_CONFIG_KEYPAD,4,4
	.comm	WPS_CONFIG_INT_NFC_TOKEN,4,4
	.comm	WPS_CONFIG_EXT_NFC_TOKEN,4,4
	.comm	WPS_CONFIG_ETHERNET,4,4
	.comm	WPS_CONFIG_DISPLAY,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
