	.file	"extr_esp_wps.c_wps_send_eap_identity_rsp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"wps send eapol id rsp"
.LC1:
	.string	"bssid is empty!"
	.text
	.p2align 4
	.globl	wps_send_eap_identity_rsp
	.type	wps_send_eap_identity_rsp, @function
wps_send_eap_identity_rsp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rsi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, edi
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	r12, QWORD PTR gWpsSm[rip]
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	wpa_printf@PLT
	mov	ecx, DWORD PTR EAP_CODE_RESPONSE[rip]
	mov	edx, DWORD PTR [r12]
	mov	r8d, ebp
	mov	esi, DWORD PTR EAP_TYPE_IDENTITY[rip]
	mov	edi, DWORD PTR EAP_VENDOR_IETF[rip]
	call	eap_msg_alloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L12
	lea	r14, 16[rsp]
	mov	rdi, r14
	call	esp_wifi_get_assoc_bssid_internal@PLT
	test	eax, eax
	jne	.L13
	mov	esi, DWORD PTR 4[r12]
	mov	edx, DWORD PTR [r12]
	mov	rdi, rbp
	call	wpabuf_put_data@PLT
	mov	rdi, rbp
	call	wpabuf_len@PLT
	mov	rdi, rbp
	mov	r13d, eax
	call	wpabuf_head_u8@PLT
	mov	ecx, r13d
	xor	r9d, r9d
	lea	r8, 12[rsp]
	mov	esi, DWORD PTR IEEE802_1X_TYPE_EAP_PACKET[rip]
	mov	edx, eax
	mov	rdi, r12
	call	wps_sm_alloc_eapol@PLT
	mov	r13, rax
	test	rax, rax
	je	.L14
	mov	r8d, DWORD PTR 12[rsp]
	mov	rdi, r12
	mov	rcx, rax
	mov	rsi, r14
	mov	edx, DWORD PTR ETH_P_EAPOL[rip]
	call	wps_sm_ether_send@PLT
	mov	r12d, eax
	test	eax, eax
	cmovne	r12d, DWORD PTR ESP_FAIL[rip]
.L3:
	mov	rdi, r13
	call	wps_sm_free_eapol@PLT
	mov	rdi, rbp
	call	wpabuf_free@PLT
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_ERROR[rip]
	lea	rsi, .LC1[rip]
	call	wpa_printf@PLT
	mov	r12d, DWORD PTR ESP_FAIL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r12d, DWORD PTR ESP_FAIL[rip]
	xor	r13d, r13d
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r12d, DWORD PTR ESP_ERR_NO_MEM[rip]
	jmp	.L3
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wps_send_eap_identity_rsp, .-wps_send_eap_identity_rsp
	.comm	gWpsSm,8,8
	.comm	MSG_ERROR,4,4
	.comm	MSG_DEBUG,4,4
	.comm	IEEE802_1X_TYPE_EAP_PACKET,4,4
	.comm	ETH_P_EAPOL,4,4
	.comm	ESP_OK,4,4
	.comm	ESP_FAIL,4,4
	.comm	ESP_ERR_NO_MEM,4,4
	.comm	EAP_VENDOR_IETF,4,4
	.comm	EAP_TYPE_IDENTITY,4,4
	.comm	EAP_CODE_RESPONSE,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_esp_wps.c_wps_send_eap_identity_rsp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"wps send eapol id rsp\000"
	.align	2
.LC1:
	.ascii	"bssid is empty!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	wps_send_eap_identity_rsp
	.syntax unified
	.arm
	.fpu softvfp
	.type	wps_send_eap_identity_rsp, %function
wps_send_eap_identity_rsp:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L17
	ldr	r2, .L17+4
	ldr	r0, [r3]
	ldr	r3, .L17+8
	sub	sp, sp, #40
	ldr	r6, [r2]
	ldr	r1, .L17+12
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	wpa_printf
	ldr	r3, .L17+16
	ldr	r1, .L17+20
	ldr	r0, .L17+24
	ldr	r2, [r6]
	str	r4, [sp]
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r0, [r0]
	bl	eap_msg_alloc
	subs	r4, r0, #0
	beq	.L13
	add	r0, sp, #12
	bl	esp_wifi_get_assoc_bssid_internal
	subs	r5, r0, #0
	bne	.L14
	ldr	r2, [r6]
	ldr	r1, [r6, #4]
	mov	r0, r4
	bl	wpabuf_put_data
	ldr	r3, .L17+28
	mov	r0, r4
	ldr	r8, [r3]
	bl	wpabuf_head_u8
	mov	r7, r0
	mov	r0, r4
	bl	wpabuf_len
	add	ip, sp, #8
	mov	r3, r0
	str	r5, [sp, #4]
	mov	r2, r7
	mov	r1, r8
	mov	r0, r6
	str	ip, [sp]
	bl	wps_sm_alloc_eapol
	subs	r5, r0, #0
	beq	.L15
	ldr	r3, [sp, #8]
	ldr	r2, .L17+32
	mov	r0, r6
	ldr	r2, [r2]
	add	r1, sp, #12
	str	r3, [sp]
	mov	r3, r5
	bl	wps_sm_ether_send
	subs	r6, r0, #0
	ldrne	r3, .L17+36
	ldrne	r6, [r3]
.L3:
	mov	r0, r5
	bl	wps_sm_free_eapol
	mov	r0, r4
	bl	wpabuf_free
.L1:
	ldr	r3, .L17+8
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	mov	r0, r6
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	ldr	r3, .L17+40
	ldr	r1, .L17+44
	ldr	r0, [r3]
	bl	wpa_printf
	ldr	r3, .L17+36
	ldr	r6, [r3]
	b	.L1
.L13:
	ldr	r3, .L17+36
	mov	r5, r4
	ldr	r6, [r3]
	b	.L3
.L15:
	ldr	r3, .L17+48
	ldr	r6, [r3]
	b	.L3
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	MSG_DEBUG
	.word	gWpsSm
	.word	.LC2
	.word	.LC0
	.word	EAP_CODE_RESPONSE
	.word	EAP_TYPE_IDENTITY
	.word	EAP_VENDOR_IETF
	.word	IEEE802_1X_TYPE_EAP_PACKET
	.word	ETH_P_EAPOL
	.word	ESP_FAIL
	.word	MSG_ERROR
	.word	.LC1
	.word	ESP_ERR_NO_MEM
	.size	wps_send_eap_identity_rsp, .-wps_send_eap_identity_rsp
	.comm	gWpsSm,4,4
	.comm	MSG_ERROR,4,4
	.comm	MSG_DEBUG,4,4
	.comm	IEEE802_1X_TYPE_EAP_PACKET,4,4
	.comm	ETH_P_EAPOL,4,4
	.comm	ESP_OK,4,4
	.comm	ESP_FAIL,4,4
	.comm	ESP_ERR_NO_MEM,4,4
	.comm	EAP_VENDOR_IETF,4,4
	.comm	EAP_TYPE_IDENTITY,4,4
	.comm	EAP_CODE_RESPONSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
