	.file	"extr_wps_registrar.c_wps_registrar_selected_registrar_changed.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"WPS: Selected registrar information changed"
	.align 8
.LC1:
	.string	"WPS: Authorized MACs union (start with own)"
	.align 8
.LC2:
	.string	"WPS: Internal Registrar selected (pbc=%d)"
	.align 8
.LC3:
	.string	"WPS: Internal Registrar not selected"
	.text
	.p2align 4
	.globl	wps_registrar_selected_registrar_changed
	.type	wps_registrar_selected_registrar_changed, @function
wps_registrar_selected_registrar_changed:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rsi, .LC0[rip]
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	wpa_printf@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR 40[rbp]
	mov	QWORD PTR 0[rbp], -1
	mov	edx, DWORD PTR WPS_MAX_AUTHORIZED_MACS[rip]
	imul	edx, DWORD PTR ETH_ALEN[rip]
	mov	QWORD PTR 48[rbp], rax
	mov	rdi, QWORD PTR 32[rbp]
	call	os_memcpy@PLT
	mov	rdx, QWORD PTR 32[rbp]
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	ecx, 8
	lea	rsi, .LC1[rip]
	call	wpa_hexdump@PLT
	cmp	QWORD PTR 24[rbp], 0
	je	.L2
	mov	rcx, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR WPS_CONFIG_PUSHBUTTON[rip]
	mov	rdx, QWORD PTR 8[rbp]
	not	eax
	and	eax, DWORD PTR [rcx]
	mov	DWORD PTR 4[rsp], eax
	test	rdx, rdx
	jne	.L11
.L3:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	eax, DWORD PTR 4[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 4[rbp], eax
	call	wps_registrar_sel_reg_union@PLT
	mov	rdi, rbp
	call	wps_set_ie@PLT
	mov	rdi, rbp
	call	wps_cb_set_sel_reg@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, DWORD PTR DEV_PW_PUSHBUTTON[rip]
	mov	esi, DWORD PTR [rcx]
	lea	rdi, 4[rsp]
	mov	DWORD PTR 0[rbp], eax
	call	wps_set_pushbutton@PLT
	mov	rdx, QWORD PTR 8[rbp]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wps_registrar_selected_registrar_changed, .-wps_registrar_selected_registrar_changed
	.comm	WPS_MAX_AUTHORIZED_MACS,4,4
	.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	ETH_ALEN,4,4
	.comm	DEV_PW_PUSHBUTTON,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_registrar_selected_registrar_changed.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPS: Selected registrar information changed\000"
	.align	2
.LC1:
	.ascii	"WPS: Authorized MACs union (start with own)\000"
	.align	2
.LC2:
	.ascii	"WPS: Internal Registrar selected (pbc=%d)\000"
	.align	2
.LC3:
	.ascii	"WPS: Internal Registrar not selected\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wps_registrar_selected_registrar_changed
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_registrar_selected_registrar_changed, %function
wps_registrar_selected_registrar_changed:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, .L13
	mov	r4, r0
	ldr	r3, .L13+4
	sub	sp, sp, #12
	ldr	r1, .L13+8
	ldr	r0, [r5]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	wpa_printf
	mvn	r3, #0
	ldr	r0, .L13+12
	ldr	r2, .L13+16
	ldr	ip, [r0]
	ldr	r1, [r4, #16]
	ldr	r2, [r2]
	str	r1, [r4, #28]
	mul	r2, ip, r2
	ldr	r1, [r4, #24]
	str	r3, [r4]
	str	r3, [r4, #4]
	ldr	r0, [r4, #20]
	bl	os_memcpy
	mov	r3, #4
	ldr	r2, [r4, #20]
	ldr	r0, [r5]
	ldr	r1, .L13+20
	bl	wpa_hexdump
	ldr	r3, [r4, #16]
	cmp	r3, #0
	beq	.L2
	ldr	r2, .L13+24
	ldr	r1, [r4, #12]
	ldr	r0, [r2]
	ldr	r3, [r1]
	ldr	r2, [r4, #8]
	bic	r3, r3, r0
	cmp	r2, #0
	str	r3, [sp]
	bne	.L11
.L3:
	ldr	r1, .L13+28
	ldr	r0, [r5]
	bl	wpa_printf
	ldr	r3, [sp]
	mov	r0, r4
	str	r3, [r4, #4]
	bl	wps_registrar_sel_reg_union
	mov	r0, r4
	bl	wps_set_ie
	mov	r0, r4
	bl	wps_cb_set_sel_reg
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L11:
	ldr	r3, .L13+32
	ldr	r1, [r1]
	ldr	r3, [r3]
	mov	r0, sp
	str	r3, [r4]
	bl	wps_set_pushbutton
	ldr	r2, [r4, #8]
	b	.L3
.L2:
	ldr	r0, [r5]
	ldr	r1, .L13+36
	bl	wpa_printf
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	MSG_DEBUG
	.word	.LC4
	.word	.LC0
	.word	ETH_ALEN
	.word	WPS_MAX_AUTHORIZED_MACS
	.word	.LC1
	.word	WPS_CONFIG_PUSHBUTTON
	.word	.LC2
	.word	DEV_PW_PUSHBUTTON
	.word	.LC3
	.size	wps_registrar_selected_registrar_changed, .-wps_registrar_selected_registrar_changed
	.comm	WPS_MAX_AUTHORIZED_MACS,4,4
	.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	ETH_ALEN,4,4
	.comm	DEV_PW_PUSHBUTTON,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
