	.file	"extr_wpa_supplicant.c_wpa_supplicant_reload_configuration.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to parse the configuration file '%s' - exiting"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Reconfiguration completed"
	.text
	.p2align 4
	.globl	wpa_supplicant_reload_configuration
	.type	wpa_supplicant_reload_configuration, @function
wpa_supplicant_reload_configuration:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdi, QWORD PTR 72[rdi]
	test	rdi, rdi
	je	.L18
	xor	esi, esi
	call	wpa_config_read@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L32
	mov	rdi, QWORD PTR 64[rbp]
	test	rdi, rdi
	je	.L4
	mov	rsi, rax
	call	wpa_config_read@PLT
	test	rax, rax
	je	.L33
.L4:
	mov	rax, QWORD PTR 40[rbp]
	mov	rdi, QWORD PTR 16[rbx]
	mov	DWORD PTR [rbx], -1
	mov	rsi, QWORD PTR 16[rax]
	test	rdi, rdi
	setne	dl
	test	rsi, rsi
	setne	al
	cmp	dl, al
	je	.L5
.L9:
	mov	rdi, QWORD PTR 32[rbp]
	test	rdi, rdi
	je	.L29
	call	wpa_supplicant_ctrl_iface_deinit@PLT
	mov	QWORD PTR 32[rbp], 0
.L29:
	mov	r12d, 1
.L7:
	mov	edi, DWORD PTR 52[rbp]
	call	eapol_sm_invalidate_cached_session@PLT
	cmp	QWORD PTR 56[rbp], 0
	je	.L11
	mov	rax, QWORD PTR WPA_AUTHENTICATING[rip]
	cmp	QWORD PTR 0[rbp], rax
	jl	.L12
	mov	DWORD PTR 8[rbp], 1
.L12:
	mov	esi, DWORD PTR WLAN_REASON_DEAUTH_LEAVING[rip]
	mov	rdi, rbp
	call	wpa_supplicant_deauthenticate@PLT
.L11:
	mov	rdi, QWORD PTR 16[rbp]
	call	wpa_key_mgmt_wpa_psk@PLT
	test	rax, rax
	jne	.L13
	mov	rax, QWORD PTR 16[rbp]
	cmp	rax, QWORD PTR WPA_KEY_MGMT_OWE[rip]
	je	.L13
	cmp	rax, QWORD PTR WPA_KEY_MGMT_DPP[rip]
	jne	.L14
.L13:
	mov	edi, DWORD PTR 52[rbp]
	mov	esi, DWORD PTR FALSE[rip]
	call	eapol_sm_notify_eap_success@PLT
.L14:
	mov	edi, DWORD PTR 52[rbp]
	xor	edx, edx
	xor	esi, esi
	call	eapol_sm_notify_config@PLT
	mov	edi, DWORD PTR 48[rbp]
	xor	esi, esi
	call	wpa_sm_set_config@PLT
	mov	edi, DWORD PTR 48[rbp]
	xor	esi, esi
	call	wpa_sm_pmksa_cache_flush@PLT
	mov	rax, QWORD PTR 40[rbp]
	mov	edi, DWORD PTR 48[rbp]
	mov	esi, DWORD PTR 8[rax]
	call	wpa_sm_set_fast_reauth@PLT
	mov	edi, DWORD PTR 48[rbp]
	call	rsn_preauth_deinit@PLT
	mov	rdi, QWORD PTR 40[rbp]
	mov	r13d, DWORD PTR 4[rdi]
	call	wpa_config_free@PLT
	mov	QWORD PTR 40[rbp], rbx
	cmp	DWORD PTR 4[rbx], r13d
	je	.L15
	mov	rdi, rbp
	call	wpas_notify_ap_scan_changed@PLT
.L15:
	test	r12d, r12d
	jne	.L34
.L16:
	mov	rdi, rbp
	call	wpa_supplicant_update_config@PLT
	mov	rdi, rbp
	call	wpa_supplicant_clear_status@PLT
	mov	rdi, rbp
	call	wpa_supplicant_enabled_networks@PLT
	test	rax, rax
	jne	.L35
.L17:
	mov	esi, DWORD PTR MSG_DEBUG[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	call	wpa_dbg@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	test	rdi, rdi
	jne	.L8
.L10:
	xor	r12d, r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L35:
	mov	DWORD PTR 24[rbp], 1
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	wpa_supplicant_req_scan@PLT
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L34:
	mov	rdi, rbp
	call	wpa_supplicant_ctrl_iface_init@PLT
	mov	QWORD PTR 32[rbp], rax
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L8:
	call	os_strcmp@PLT
	test	rax, rax
	jne	.L9
	jmp	.L10
.L18:
	mov	eax, -1
	jmp	.L1
.L32:
	mov	rcx, QWORD PTR 72[rbp]
.L30:
	mov	esi, DWORD PTR MSG_ERROR[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	wpa_msg@PLT
	mov	eax, -1
	jmp	.L1
.L33:
	mov	rcx, QWORD PTR 64[rbp]
	jmp	.L30
	.cfi_endproc
.LFE0:
	.size	wpa_supplicant_reload_configuration, .-wpa_supplicant_reload_configuration
	.comm	WPA_KEY_MGMT_OWE,8,8
	.comm	WPA_KEY_MGMT_DPP,8,8
	.comm	WPA_AUTHENTICATING,8,8
	.comm	WLAN_REASON_DEAUTH_LEAVING,4,4
	.comm	MSG_ERROR,4,4
	.comm	MSG_DEBUG,4,4
	.comm	FALSE,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_wpa_supplicant.c_wpa_supplicant_reload_configuration.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to parse the configuration file '%s' - exiti"
	.ascii	"ng\000"
	.align	2
.LC1:
	.ascii	"Reconfiguration completed\000"
	.text
	.align	2
	.global	wpa_supplicant_reload_configuration
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_supplicant_reload_configuration, %function
wpa_supplicant_reload_configuration:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0, #40]
	cmp	r0, #0
	beq	.L33
	mov	r1, #0
	bl	wpa_config_read
	subs	r5, r0, #0
	beq	.L35
	ldr	r0, [r4, #36]
	cmp	r0, #0
	beq	.L4
	mov	r1, r5
	bl	wpa_config_read
	cmp	r0, #0
	beq	.L36
.L4:
	ldr	r3, [r4, #20]
	ldr	r0, [r5, #12]
	ldr	r1, [r3, #12]
	subs	ip, r0, #0
	movne	ip, #1
	subs	r2, r1, #0
	movne	r2, #1
	mvn	r3, #0
	cmp	ip, r2
	str	r3, [r5]
	beq	.L5
.L9:
	ldr	r0, [r4, #16]
	cmp	r0, #0
	moveq	r6, #1
	beq	.L7
	bl	wpa_supplicant_ctrl_iface_deinit
	mov	r3, #0
	mov	r6, #1
	str	r3, [r4, #16]
.L7:
	ldr	r0, [r4, #28]
	bl	eapol_sm_invalidate_cached_session
	ldr	r3, [r4, #32]
	cmp	r3, #0
	bne	.L37
.L11:
	ldr	r0, [r4, #8]
	bl	wpa_key_mgmt_wpa_psk
	cmp	r0, #0
	bne	.L13
	ldr	r2, .L40
	ldr	r3, [r4, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
	ldr	r2, .L40+4
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L14
.L13:
	ldr	r3, .L40+8
	ldr	r0, [r4, #28]
	ldr	r1, [r3]
	bl	eapol_sm_notify_eap_success
.L14:
	mov	r2, #0
	ldr	r0, [r4, #28]
	mov	r1, r2
	bl	eapol_sm_notify_config
	mov	r1, #0
	ldr	r0, [r4, #24]
	bl	wpa_sm_set_config
	mov	r1, #0
	ldr	r0, [r4, #24]
	bl	wpa_sm_pmksa_cache_flush
	ldr	r3, [r4, #20]
	ldr	r0, [r4, #24]
	ldr	r1, [r3, #8]
	bl	wpa_sm_set_fast_reauth
	ldr	r0, [r4, #24]
	bl	rsn_preauth_deinit
	ldr	r0, [r4, #20]
	ldr	r7, [r0, #4]
	bl	wpa_config_free
	ldr	r3, [r5, #4]
	str	r5, [r4, #20]
	cmp	r3, r7
	beq	.L15
	mov	r0, r4
	bl	wpas_notify_ap_scan_changed
.L15:
	cmp	r6, #0
	bne	.L38
.L16:
	mov	r0, r4
	bl	wpa_supplicant_update_config
	mov	r0, r4
	bl	wpa_supplicant_clear_status
	mov	r0, r4
	bl	wpa_supplicant_enabled_networks
	cmp	r0, #0
	bne	.L39
.L17:
	ldr	r3, .L40+12
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, .L40+16
	bl	wpa_dbg
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L37:
	ldr	r3, .L40+20
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r2, r3
	movge	r3, #1
	strge	r3, [r4, #4]
	ldr	r3, .L40+24
	ldr	r1, [r3]
	bl	wpa_supplicant_deauthenticate
	b	.L11
.L5:
	cmp	r0, #0
	bne	.L8
.L10:
	mov	r6, #0
	b	.L7
.L39:
	mov	r3, #1
	mov	r2, #0
	mov	r0, r4
	mov	r1, r2
	str	r3, [r4, #12]
	bl	wpa_supplicant_req_scan
	b	.L17
.L38:
	mov	r0, r4
	bl	wpa_supplicant_ctrl_iface_init
	str	r0, [r4, #16]
	b	.L16
.L8:
	bl	os_strcmp
	cmp	r0, #0
	bne	.L9
	b	.L10
.L35:
	ldr	r2, .L40+28
	ldr	r3, [r4, #40]
.L32:
	ldr	r1, [r2]
	mov	r0, r4
	ldr	r2, .L40+32
	bl	wpa_msg
.L33:
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L36:
	ldr	r2, .L40+28
	ldr	r3, [r4, #36]
	b	.L32
.L41:
	.align	2
.L40:
	.word	WPA_KEY_MGMT_OWE
	.word	WPA_KEY_MGMT_DPP
	.word	FALSE
	.word	MSG_DEBUG
	.word	.LC1
	.word	WPA_AUTHENTICATING
	.word	WLAN_REASON_DEAUTH_LEAVING
	.word	MSG_ERROR
	.word	.LC0
	.size	wpa_supplicant_reload_configuration, .-wpa_supplicant_reload_configuration
	.comm	WPA_KEY_MGMT_OWE,4,4
	.comm	WPA_KEY_MGMT_DPP,4,4
	.comm	WPA_AUTHENTICATING,4,4
	.comm	WLAN_REASON_DEAUTH_LEAVING,4,4
	.comm	MSG_ERROR,4,4
	.comm	MSG_DEBUG,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
