	.file	"extr_eap_ttls.c_eap_ttls_encrypt_response.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"EAP-TTLS: Encrypting Phase 2 data"
	.align 8
.LC1:
	.string	"EAP-TTLS: Failed to encrypt a Phase 2 frame"
	.text
	.p2align 4
	.type	eap_ttls_encrypt_response, @function
eap_ttls_encrypt_response:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	r15d, r15d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdx, rdx
	je	.L1
	mov	r14, rdi
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	r13, rsi
	mov	rbp, rdx
	lea	rsi, .LC0[rip]
	mov	ebx, ecx
	mov	r12, r8
	call	wpa_hexdump_buf_key@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	ecx, DWORD PTR 0[r13]
	mov	r9, rbp
	push	r12
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR EAP_TYPE_TTLS[rip]
	lea	rsi, 4[r13]
	mov	r8d, ebx
	mov	rdi, r14
	call	eap_peer_tls_encrypt@PLT
	pop	rdx
	.cfi_def_cfa_offset 72
	pop	rcx
	.cfi_def_cfa_offset 64
	test	rax, rax
	jne	.L8
	mov	rdi, rbp
	call	wpabuf_clear_free@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_INFO[rip]
	lea	rsi, .LC1[rip]
	mov	r15d, -1
	call	wpa_printf@PLT
	mov	rdi, rbp
	call	wpabuf_clear_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	eap_ttls_encrypt_response, .-eap_ttls_encrypt_response
	.comm	MSG_INFO,4,4
	.comm	MSG_DEBUG,4,4
	.comm	EAP_TYPE_TTLS,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_eap_ttls.c_eap_ttls_encrypt_response.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EAP-TTLS: Encrypting Phase 2 data\000"
	.align	2
.LC1:
	.ascii	"EAP-TTLS: Failed to encrypt a Phase 2 frame\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	eap_ttls_encrypt_response, %function
eap_ttls_encrypt_response:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	subs	r6, r2, #0
	moveq	r4, r6
	sub	sp, sp, #20
	beq	.L1
	mov	r4, r1
	mov	r5, r3
	ldr	r3, .L8
	mov	r7, r0
	ldr	r1, .L8+4
	ldr	r0, [r3]
	bl	wpa_hexdump_buf_key
	mov	r1, r4
	ldr	r0, [sp, #40]
	ldr	r3, [r1], #4
	stm	sp, {r5, r6}
	ldr	r2, .L8+8
	str	r0, [sp, #8]
	ldr	r2, [r2]
	mov	r0, r7
	bl	eap_peer_tls_encrypt
	subs	r4, r0, #0
	bne	.L7
	mov	r0, r6
	bl	wpabuf_clear_free
.L1:
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r3, .L8+12
	ldr	r1, .L8+16
	ldr	r0, [r3]
	bl	wpa_printf
	mov	r0, r6
	bl	wpabuf_clear_free
	mvn	r4, #0
	b	.L1
.L9:
	.align	2
.L8:
	.word	MSG_DEBUG
	.word	.LC0
	.word	EAP_TYPE_TTLS
	.word	MSG_INFO
	.word	.LC1
	.size	eap_ttls_encrypt_response, .-eap_ttls_encrypt_response
	.comm	MSG_INFO,4,4
	.comm	MSG_DEBUG,4,4
	.comm	EAP_TYPE_TTLS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
