	.file	"extr_tls_wolfssl.c_wolfssl_get_appl_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"SSL: No Application Data included"
	.align 8
.LC1:
	.string	"Failed to read possible Application Data %s"
	.align 8
.LC2:
	.string	"SSL: Application Data in Finished message"
	.text
	.p2align 4
	.type	wolfssl_get_appl_data, @function
wolfssl_get_appl_data:
.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	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	lea	rdi, 100[rsi]
	sub	rsp, 96
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	wpabuf_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	rdi, rax
	call	wpabuf_size@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	wpabuf_mhead@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, r13d
	mov	esi, eax
	call	wolfSSL_read@PLT
	mov	esi, eax
	test	eax, eax
	js	.L13
	mov	rdi, r12
	call	wpabuf_put@PLT
	mov	edi, DWORD PTR MSG_MSGDUMP[rip]
	mov	rdx, r12
	lea	rsi, .LC2[rip]
	call	wpa_hexdump_buf_key@PLT
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 96
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.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
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	call	wolfSSL_get_error@PLT
	cmp	DWORD PTR SSL_ERROR_WANT_READ[rip], eax
	je	.L4
	cmp	DWORD PTR SSL_ERROR_WANT_WRITE[rip], eax
	jne	.L5
.L4:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	wpa_printf@PLT
.L6:
	mov	rdi, r12
	xor	r12d, r12d
	call	wpabuf_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, rsp
	mov	edi, eax
	call	wolfSSL_ERR_error_string@PLT
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	mov	edx, eax
	xor	eax, eax
	call	wpa_printf@PLT
	jmp	.L6
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	wolfssl_get_appl_data, .-wolfssl_get_appl_data
	.comm	SSL_ERROR_WANT_WRITE,4,4
	.comm	SSL_ERROR_WANT_READ,4,4
	.comm	MSG_MSGDUMP,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_tls_wolfssl.c_wolfssl_get_appl_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SSL: No Application Data included\000"
	.align	2
.LC1:
	.ascii	"Failed to read possible Application Data %s\000"
	.align	2
.LC2:
	.ascii	"SSL: Application Data in Finished message\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wolfssl_get_appl_data, %function
wolfssl_get_appl_data:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L17
	sub	sp, sp, #92
	mov	r6, r0
	add	r0, r1, #100
	ldr	r3, [r3]
	str	r3, [sp, #84]
	mov	r3,#0
	bl	wpabuf_alloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r7, [r6]
	bl	wpabuf_mhead
	mov	r5, r0
	mov	r0, r4
	bl	wpabuf_size
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	wolfSSL_read
	subs	r1, r0, #0
	blt	.L14
	mov	r0, r4
	bl	wpabuf_put
	ldr	r3, .L17+4
	mov	r2, r4
	ldr	r0, [r3]
	ldr	r1, .L17+8
	bl	wpa_hexdump_buf_key
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #84]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #92
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	ldr	r0, [r6]
	bl	wolfSSL_get_error
	ldr	r2, .L17+12
	ldr	r2, [r2]
	cmp	r2, r0
	beq	.L16
	ldr	r2, .L17+16
	ldr	r1, .L17+20
	ldr	r2, [r2]
	ldr	r5, [r1]
	cmp	r2, r0
	bne	.L6
.L5:
	mov	r0, r5
	ldr	r1, .L17+24
	bl	wpa_printf
.L7:
	mov	r0, r4
	bl	wpabuf_free
	mov	r4, #0
	b	.L1
.L6:
	add	r1, sp, #4
	bl	wolfSSL_ERR_error_string
	ldr	r1, .L17+28
	mov	r2, r0
	mov	r0, r5
	bl	wpa_printf
	b	.L7
.L16:
	ldr	r3, .L17+20
	ldr	r5, [r3]
	b	.L5
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC3
	.word	MSG_MSGDUMP
	.word	.LC2
	.word	SSL_ERROR_WANT_READ
	.word	SSL_ERROR_WANT_WRITE
	.word	MSG_DEBUG
	.word	.LC0
	.word	.LC1
	.size	wolfssl_get_appl_data, .-wolfssl_get_appl_data
	.comm	SSL_ERROR_WANT_WRITE,4,4
	.comm	SSL_ERROR_WANT_READ,4,4
	.comm	MSG_MSGDUMP,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
