	.file	"extr_wps_registrar.c_wps_build_sel_reg_config_methods.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPS:  * Selected Registrar Config Methods (%x)"
	.text
	.p2align 4
	.type	wps_build_sel_reg_config_methods, @function
wps_build_sel_reg_config_methods:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR 24[rdi]
	test	eax, eax
	je	.L2
	mov	rdx, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR WPS_CONFIG_PUSHBUTTON[rip]
	mov	rbx, rdi
	mov	rbp, rsi
	not	eax
	and	eax, DWORD PTR [rdx]
	cmp	QWORD PTR 16[rdi], 0
	mov	DWORD PTR 4[rsp], eax
	jne	.L9
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	js	.L10
.L4:
	mov	DWORD PTR 4[rsp], edx
.L5:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	esi, DWORD PTR ATTR_SELECTED_REGISTRAR_CONFIG_METHODS[rip]
	mov	rdi, rbp
	call	wpabuf_put_be16@PLT
	mov	esi, 2
	mov	rdi, rbp
	call	wpabuf_put_be16@PLT
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	wpabuf_put_be16@PLT
.L2:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR [rdx]
	lea	rdi, 4[rsp]
	call	wps_set_pushbutton@PLT
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jns	.L4
	jmp	.L10
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wps_build_sel_reg_config_methods, .-wps_build_sel_reg_config_methods
	.comm	WPS_CONFIG_VIRT_PUSHBUTTON,4,4
	.comm	WPS_CONFIG_PUSHBUTTON,4,4
	.comm	WPS_CONFIG_PHY_PUSHBUTTON,4,4
	.comm	MSG_DEBUG,4,4
	.comm	ATTR_SELECTED_REGISTRAR_CONFIG_METHODS,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_build_sel_reg_config_methods.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS:  * Selected Registrar Config Methods (%x)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_build_sel_reg_config_methods, %function
wps_build_sel_reg_config_methods:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r0, #12]
	sub	sp, sp, #12
	cmp	r3, #0
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	beq	.L2
	mov	r4, r0
	ldr	r2, [r0, #4]
	mov	r5, r1
	ldr	r1, .L17+4
	ldr	r3, [r2]
	ldr	r0, [r1]
	ldr	r1, [r4, #8]
	bic	r3, r3, r0
	cmp	r1, #0
	str	r3, [sp]
	bne	.L15
.L3:
	ldr	r2, [r4]
	ldr	r3, .L17+8
	cmp	r2, #0
	ldrlt	r2, [sp]
	ldr	r0, [r3]
	ldr	r1, .L17+12
	strge	r2, [sp]
	bl	wpa_printf
	ldr	r3, .L17+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	wpabuf_put_be16
	mov	r1, #2
	mov	r0, r5
	bl	wpabuf_put_be16
	mov	r0, r5
	ldr	r1, [sp]
	bl	wpabuf_put_be16
.L2:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	mov	r0, sp
	ldr	r1, [r2]
	bl	wps_set_pushbutton
	b	.L3
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	WPS_CONFIG_PUSHBUTTON
	.word	MSG_DEBUG
	.word	.LC0
	.word	ATTR_SELECTED_REGISTRAR_CONFIG_METHODS
	.size	wps_build_sel_reg_config_methods, .-wps_build_sel_reg_config_methods
	.comm	WPS_CONFIG_VIRT_PUSHBUTTON,4,4
	.comm	WPS_CONFIG_PUSHBUTTON,4,4
	.comm	WPS_CONFIG_PHY_PUSHBUTTON,4,4
	.comm	MSG_DEBUG,4,4
	.comm	ATTR_SELECTED_REGISTRAR_CONFIG_METHODS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
