	.file	"extr_wpa.c_wpa_supplicant_process_1_of_2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"WPA 1/2 Group Key Handshake\n"
	.text
	.p2align 4
	.globl	wpa_supplicant_process_1_of_2
	.type	wpa_supplicant_process_1_of_2, @function
wpa_supplicant_process_1_of_2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 12[rdi]
	xor	esi, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, r8d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	mov	edx, 4
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, r15
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	memset@PLT
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	edi, DWORD PTR 4[r12]
	call	WPA_GET_BE16@PLT
	mov	edi, DWORD PTR [r12]
	mov	r13d, eax
	call	WPA_GET_BE16@PLT
	mov	edx, eax
	mov	rax, QWORD PTR WPA_PROTO_RSN[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L8
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	r8d, ebx
	mov	r9d, r14d
	mov	ecx, r13d
	push	r15
	.cfi_def_cfa_offset 80
	mov	rsi, r12
	mov	rdi, rbp
	call	wpa_supplicant_process_1_of_2_wpa@PLT
	mov	ebx, eax
	pop	rax
	.cfi_def_cfa_offset 72
	pop	rdx
	.cfi_def_cfa_offset 64
.L3:
	mov	edi, DWORD PTR WPA_GROUP_HANDSHAKE[rip]
	call	wpa_sm_set_state@PLT
	test	ebx, ebx
	je	.L4
.L5:
	mov	esi, DWORD PTR WLAN_REASON_UNSPECIFIED[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	wpa_sm_deauthenticate@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	xor	edx, edx
	mov	rsi, r12
	mov	rdi, rbp
	call	wpa_sm_set_seq@PLT
	mov	DWORD PTR 8[rbp], r13d
	mov	ecx, r13d
	mov	edx, r14d
	mov	rsi, r12
	mov	rdi, rbp
	call	wpa_supplicant_send_2_of_2@PLT
	test	rax, rax
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rsi, 8[r12]
	mov	r8, r15
	mov	ecx, r13d
	mov	rdi, rbp
	call	wpa_supplicant_process_1_of_2_rsn@PLT
	mov	ebx, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	wpa_supplicant_process_1_of_2, .-wpa_supplicant_process_1_of_2
	.comm	WPA_PROTO_RSN,8,8
	.comm	WPA_GROUP_HANDSHAKE,4,4
	.comm	WLAN_REASON_UNSPECIFIED,4,4
	.comm	MSG_DEBUG,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.c_wpa_supplicant_process_1_of_2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"WPA 1/2 Group Key Handshake\012\000"
	.text
	.align	2
	.global	wpa_supplicant_process_1_of_2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wpa_supplicant_process_1_of_2, %function
wpa_supplicant_process_1_of_2:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r1, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r2
	add	r6, r0, #8
	ldr	r2, .L9
	strb	r1, [r0, #8]
	strb	r1, [r6, #1]
	strb	r1, [r6, #2]
	strb	r1, [r6, #3]
	sub	sp, sp, #20
	ldr	r1, .L9+4
	mov	r4, r0
	ldr	r0, [r2]
	mov	r9, r3
	ldr	r8, [sp, #48]
	bl	wpa_printf
	ldr	r0, [r5, #4]
	bl	WPA_GET_BE16
	mov	r7, r0
	ldr	r0, [r5]
	bl	WPA_GET_BE16
	ldr	r3, .L9+8
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r2, r0
	cmp	r1, r3
	beq	.L8
	str	r6, [sp, #8]
	mov	r3, r7
	mov	r1, r5
	mov	r0, r4
	str	r8, [sp, #4]
	str	r9, [sp]
	bl	wpa_supplicant_process_1_of_2_wpa
	mov	r6, r0
.L3:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	bl	wpa_sm_set_state
	cmp	r6, #0
	beq	.L4
.L5:
	mov	r0, r4
	ldr	r3, .L9+16
	ldr	r1, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	wpa_sm_deauthenticate
.L4:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	wpa_sm_set_seq
	mov	r3, r7
	mov	r2, r8
	mov	r1, r5
	mov	r0, r4
	str	r7, [r4, #4]
	bl	wpa_supplicant_send_2_of_2
	cmp	r0, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L8:
	str	r6, [sp]
	mov	r3, r7
	mov	r0, r4
	add	r1, r5, #8
	bl	wpa_supplicant_process_1_of_2_rsn
	mov	r6, r0
	b	.L3
.L10:
	.align	2
.L9:
	.word	MSG_DEBUG
	.word	.LC0
	.word	WPA_PROTO_RSN
	.word	WPA_GROUP_HANDSHAKE
	.word	WLAN_REASON_UNSPECIFIED
	.size	wpa_supplicant_process_1_of_2, .-wpa_supplicant_process_1_of_2
	.comm	WPA_PROTO_RSN,4,4
	.comm	WPA_GROUP_HANDSHAKE,4,4
	.comm	WLAN_REASON_UNSPECIFIED,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
