	.file	"extr_tlsv1_client_write.c_tlsv1_client_handshake_write.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"TLSv1: Handshake completed successfully"
	.align 8
.LC1:
	.string	"TLSv1: Unexpected state %d while generating reply"
	.text
	.p2align 4
	.globl	tlsv1_client_handshake_write
	.type	tlsv1_client_handshake_write, @function
tlsv1_client_handshake_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	mov	edx, DWORD PTR [rdi]
	cmp	edx, 129
	je	.L2
	cmp	edx, 130
	je	.L3
	cmp	edx, 128
	je	.L10
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	wpa_printf@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	tls_send_change_cipher_spec@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	tls_send_client_key_exchange@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	eax, DWORD PTR ESTABLISHED[rip]
	mov	DWORD PTR 0[rbp], eax
	mov	QWORD PTR [r12], 0
	test	ebx, ebx
	je	.L1
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	edi, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	os_malloc@PLT
	.cfi_endproc
.LFE0:
	.size	tlsv1_client_handshake_write, .-tlsv1_client_handshake_write
	.comm	MSG_DEBUG,4,4
	.comm	ESTABLISHED,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_tlsv1_client_write.c_tlsv1_client_handshake_write.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"TLSv1: Handshake completed successfully\000"
	.align	2
.LC1:
	.ascii	"TLSv1: Unexpected state %d while generating reply\000"
	.text
	.align	2
	.global	tlsv1_client_handshake_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	tlsv1_client_handshake_write, %function
tlsv1_client_handshake_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	cmp	r3, #129
	beq	.L2
	cmp	r3, #130
	push	{r4, r5, r6, lr}
	beq	.L3
	cmp	r3, #128
	beq	.L12
	ldr	r1, .L13
	mov	r2, r3
	ldr	r0, [r1]
	ldr	r1, .L13+4
	bl	wpa_printf
.L1:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	b	tls_send_change_cipher_spec
.L12:
	pop	{r4, r5, r6, lr}
	b	tls_send_client_key_exchange
.L3:
	ldr	r3, .L13
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [r3]
	ldr	r1, .L13+8
	mov	r6, r2
	bl	wpa_printf
	mov	r3, #0
	ldr	r2, .L13+12
	cmp	r6, r3
	ldr	r2, [r2]
	str	r2, [r4]
	str	r3, [r5]
	beq	.L1
	pop	{r4, r5, r6, lr}
	mov	r0, #1
	b	os_malloc
.L14:
	.align	2
.L13:
	.word	MSG_DEBUG
	.word	.LC1
	.word	.LC0
	.word	ESTABLISHED
	.size	tlsv1_client_handshake_write, .-tlsv1_client_handshake_write
	.comm	MSG_DEBUG,4,4
	.comm	ESTABLISHED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
