	.file	"extr_wpas_glue.c_wpa_supplicant_init_wpa.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to allocate WPA context."
	.align 8
.LC1:
	.string	"Failed to initialize WPA state machine"
	.text
	.p2align 4
	.globl	wpa_supplicant_init_wpa
	.type	wpa_supplicant_init_wpa, @function
wpa_supplicant_init_wpa:
.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
	mov	rbx, rdi
	mov	edi, 128
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	os_zalloc@PLT
	test	rax, rax
	je	.L7
	mov	rbp, rax
	mov	QWORD PTR 120[rax], rbx
	mov	QWORD PTR 112[rax], rbx
	mov	eax, DWORD PTR _wpa_supplicant_set_state[rip]
	mov	rdi, rbp
	mov	DWORD PTR 108[rbp], eax
	mov	eax, DWORD PTR _wpa_supplicant_get_state[rip]
	mov	DWORD PTR 104[rbp], eax
	mov	eax, DWORD PTR _wpa_supplicant_deauthenticate[rip]
	mov	DWORD PTR 100[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_set_key[rip]
	mov	DWORD PTR 96[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_get_network_ctx[rip]
	mov	DWORD PTR 92[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_get_bssid[rip]
	mov	DWORD PTR 88[rbp], eax
	mov	eax, DWORD PTR _wpa_ether_send[rip]
	mov	DWORD PTR 84[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_get_beacon_ie[rip]
	mov	DWORD PTR 80[rbp], eax
	mov	eax, DWORD PTR _wpa_alloc_eapol[rip]
	mov	DWORD PTR 76[rbp], eax
	mov	eax, DWORD PTR _wpa_supplicant_cancel_auth_timeout[rip]
	mov	DWORD PTR 72[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_add_pmkid[rip]
	mov	DWORD PTR 68[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_remove_pmkid[rip]
	mov	DWORD PTR 64[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_set_config_blob[rip]
	mov	DWORD PTR 60[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_get_config_blob[rip]
	mov	DWORD PTR 56[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_mlme_setprotection[rip]
	mov	DWORD PTR 52[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_set_rekey_offload[rip]
	mov	DWORD PTR 12[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_key_mgmt_set_pmk[rip]
	mov	DWORD PTR 8[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_fils_hlp_rx[rip]
	mov	DWORD PTR 4[rbp], eax
	mov	eax, DWORD PTR wpa_supplicant_channel_info[rip]
	mov	DWORD PTR 0[rbp], eax
	call	wpa_sm_init@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L8
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_ERROR[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
.L8:
	mov	edi, DWORD PTR MSG_ERROR[rip]
	lea	rsi, .LC1[rip]
	call	wpa_printf@PLT
	mov	rdi, rbp
	call	os_free@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	wpa_supplicant_init_wpa, .-wpa_supplicant_init_wpa
	.comm	wpa_supplicant_update_ft_ies,4,4
	.comm	wpa_supplicant_tdls_peer_addset,4,4
	.comm	wpa_supplicant_tdls_oper,4,4
	.comm	wpa_supplicant_tdls_get_capa,4,4
	.comm	wpa_supplicant_tdls_enable_channel_switch,4,4
	.comm	wpa_supplicant_tdls_disable_channel_switch,4,4
	.comm	wpa_supplicant_set_rekey_offload,4,4
	.comm	wpa_supplicant_set_key,4,4
	.comm	wpa_supplicant_set_config_blob,4,4
	.comm	wpa_supplicant_send_tdls_mgmt,4,4
	.comm	wpa_supplicant_send_ft_action,4,4
	.comm	wpa_supplicant_remove_pmkid,4,4
	.comm	wpa_supplicant_mlme_setprotection,4,4
	.comm	wpa_supplicant_mark_authenticated,4,4
	.comm	wpa_supplicant_key_mgmt_set_pmk,4,4
	.comm	wpa_supplicant_get_network_ctx,4,4
	.comm	wpa_supplicant_get_config_blob,4,4
	.comm	wpa_supplicant_get_bssid,4,4
	.comm	wpa_supplicant_get_beacon_ie,4,4
	.comm	wpa_supplicant_fils_hlp_rx,4,4
	.comm	wpa_supplicant_channel_info,4,4
	.comm	wpa_supplicant_add_pmkid,4,4
	.comm	_wpa_supplicant_set_state,4,4
	.comm	_wpa_supplicant_get_state,4,4
	.comm	_wpa_supplicant_deauthenticate,4,4
	.comm	_wpa_supplicant_cancel_auth_timeout,4,4
	.comm	_wpa_ether_send,4,4
	.comm	_wpa_alloc_eapol,4,4
	.comm	MSG_ERROR,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_wpas_glue.c_wpa_supplicant_init_wpa.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to allocate WPA context.\000"
	.align	2
.LC1:
	.ascii	"Failed to initialize WPA state machine\000"
	.text
	.align	2
	.global	wpa_supplicant_init_wpa
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_supplicant_init_wpa, %function
wpa_supplicant_init_wpa:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, #120
	bl	os_zalloc
	subs	r4, r0, #0
	beq	.L7
	ldr	r3, .L9
	ldr	r2, .L9+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	ip, .L9+8
	str	r3, [r4, #108]
	ldr	r3, .L9+12
	ldr	lr, [ip]
	ldr	r1, .L9+16
	str	r2, [r4, #104]
	ldr	r2, [r3]
	ldr	r3, .L9+20
	ldr	ip, [r1]
	str	lr, [r4, #100]
	ldr	r1, .L9+24
	ldr	lr, [r3]
	ldr	r3, .L9+28
	ldr	r1, [r1]
	str	ip, [r4, #96]
	ldr	ip, [r3]
	ldr	r3, .L9+32
	str	r1, [r4, #92]
	ldr	r1, [r3]
	ldr	r3, .L9+36
	str	r2, [r4, #88]
	ldr	r2, [r3]
	ldr	r3, .L9+40
	str	lr, [r4, #84]
	ldr	lr, [r3]
	ldr	r3, .L9+44
	str	ip, [r4, #80]
	ldr	ip, [r3]
	ldr	r3, .L9+48
	str	r1, [r4, #76]
	ldr	r1, [r3]
	ldr	r3, .L9+52
	str	r2, [r4, #72]
	ldr	r2, [r3]
	ldr	r3, .L9+56
	str	ip, [r4, #64]
	ldr	r3, [r3]
	str	r1, [r4, #60]
	str	r2, [r4, #56]
	str	r3, [r4, #52]
	ldr	ip, .L9+60
	ldr	r1, .L9+64
	ldr	r2, .L9+68
	ldr	r3, .L9+72
	str	lr, [r4, #68]
	str	r5, [r4, #116]
	str	r5, [r4, #112]
	ldr	ip, [ip]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	ip, [r4, #12]
	str	r1, [r4, #8]
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	wpa_sm_init
	cmp	r0, #0
	str	r0, [r5]
	beq	.L8
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L9+76
	ldr	r1, .L9+80
	ldr	r0, [r3]
	bl	wpa_printf
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L9+76
	ldr	r1, .L9+84
	ldr	r0, [r3]
	bl	wpa_printf
	mov	r0, r4
	bl	os_free
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L10:
	.align	2
.L9:
	.word	_wpa_supplicant_set_state
	.word	_wpa_supplicant_get_state
	.word	_wpa_supplicant_deauthenticate
	.word	wpa_supplicant_get_bssid
	.word	wpa_supplicant_set_key
	.word	_wpa_ether_send
	.word	wpa_supplicant_get_network_ctx
	.word	wpa_supplicant_get_beacon_ie
	.word	_wpa_alloc_eapol
	.word	_wpa_supplicant_cancel_auth_timeout
	.word	wpa_supplicant_add_pmkid
	.word	wpa_supplicant_remove_pmkid
	.word	wpa_supplicant_set_config_blob
	.word	wpa_supplicant_get_config_blob
	.word	wpa_supplicant_mlme_setprotection
	.word	wpa_supplicant_set_rekey_offload
	.word	wpa_supplicant_key_mgmt_set_pmk
	.word	wpa_supplicant_fils_hlp_rx
	.word	wpa_supplicant_channel_info
	.word	MSG_ERROR
	.word	.LC0
	.word	.LC1
	.size	wpa_supplicant_init_wpa, .-wpa_supplicant_init_wpa
	.comm	wpa_supplicant_update_ft_ies,4,4
	.comm	wpa_supplicant_tdls_peer_addset,4,4
	.comm	wpa_supplicant_tdls_oper,4,4
	.comm	wpa_supplicant_tdls_get_capa,4,4
	.comm	wpa_supplicant_tdls_enable_channel_switch,4,4
	.comm	wpa_supplicant_tdls_disable_channel_switch,4,4
	.comm	wpa_supplicant_set_rekey_offload,4,4
	.comm	wpa_supplicant_set_key,4,4
	.comm	wpa_supplicant_set_config_blob,4,4
	.comm	wpa_supplicant_send_tdls_mgmt,4,4
	.comm	wpa_supplicant_send_ft_action,4,4
	.comm	wpa_supplicant_remove_pmkid,4,4
	.comm	wpa_supplicant_mlme_setprotection,4,4
	.comm	wpa_supplicant_mark_authenticated,4,4
	.comm	wpa_supplicant_key_mgmt_set_pmk,4,4
	.comm	wpa_supplicant_get_network_ctx,4,4
	.comm	wpa_supplicant_get_config_blob,4,4
	.comm	wpa_supplicant_get_bssid,4,4
	.comm	wpa_supplicant_get_beacon_ie,4,4
	.comm	wpa_supplicant_fils_hlp_rx,4,4
	.comm	wpa_supplicant_channel_info,4,4
	.comm	wpa_supplicant_add_pmkid,4,4
	.comm	_wpa_supplicant_set_state,4,4
	.comm	_wpa_supplicant_get_state,4,4
	.comm	_wpa_supplicant_deauthenticate,4,4
	.comm	_wpa_supplicant_cancel_auth_timeout,4,4
	.comm	_wpa_ether_send,4,4
	.comm	_wpa_alloc_eapol,4,4
	.comm	MSG_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
