	.file	"844891.c"
	.intel_syntax noprefix
	.text
	.type	mbedtls_ssl_own_key, @function
mbedtls_ssl_own_key:
.LFB10:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 112[rax]
	mov	QWORD PTR -8[rbp], rax
.L3:
	cmp	QWORD PTR -8[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	jmp	.L6
.L4:
	mov	eax, 0
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	mbedtls_ssl_own_key, .-mbedtls_ssl_own_key
	.type	mbedtls_ssl_own_cert, @function
mbedtls_ssl_own_cert:
.LFB11:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 112[rax]
	mov	QWORD PTR -8[rbp], rax
.L9:
	cmp	QWORD PTR -8[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	jmp	.L12
.L10:
	mov	eax, 0
.L12:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	mbedtls_ssl_own_cert, .-mbedtls_ssl_own_cert
	.type	mbedtls_ssl_hs_hdr_len, @function
mbedtls_ssl_hs_hdr_len:
.LFB13:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L14
	mov	eax, 12
	jmp	.L15
.L14:
	mov	eax, 4
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	mbedtls_ssl_hs_hdr_len, .-mbedtls_ssl_hs_hdr_len
	.type	ssl_write_signature_algorithms_ext, @function
ssl_write_signature_algorithms_ext:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 304[rax]
	add	rax, 4096
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 6
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 169[rax]
	cmp	al, 3
	jne	.L25
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 136[rax]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L19
.L20:
	add	DWORD PTR -52[rbp], 2
	add	QWORD PTR -48[rbp], 4
.L19:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L20
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -40[rbp]
	jb	.L26
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 6
	cmp	edx, eax
	jb	.L26
	mov	DWORD PTR -52[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 136[rax]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L23
.L24:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -52[rbp]
	lea	ecx, 1[rdx]
	mov	DWORD PTR -52[rbp], ecx
	mov	ecx, edx
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	mbedtls_ssl_hash_from_md_alg@PLT
	mov	BYTE PTR [rbx], al
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -52[rbp], edx
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	add	QWORD PTR -48[rbp], 4
.L23:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR [rax], 13
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 2
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	lea	edx, 2[rcx]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, DWORD PTR -52[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 6[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L16
.L25:
	nop
	jmp	.L16
.L26:
	nop
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	ssl_write_signature_algorithms_ext, .-ssl_write_signature_algorithms_ext
	.type	ssl_write_max_fragment_length_ext, @function
ssl_write_max_fragment_length_ext:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 304[rax]
	add	rax, 4096
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 172[rax]
	and	ax, 448
	test	ax, ax
	je	.L32
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	jb	.L33
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -16[rbp]
	cmp	eax, 4
	jbe	.L33
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 172[rax]
	shr	ax, 6
	mov	ecx, eax
	and	ecx, 7
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -16[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 5
	jmp	.L27
.L32:
	nop
	jmp	.L27
.L33:
	nop
.L27:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	ssl_write_max_fragment_length_ext, .-ssl_write_max_fragment_length_ext
	.type	ssl_generate_random, @function
ssl_generate_random:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	add	rax, 156
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	je	.L35
	mov	eax, 0
	jmp	.L36
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r8, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 56[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L37
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L36
.L37:
	add	QWORD PTR -8[rbp], 4
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r8, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 56[rax]
	mov	rcx, QWORD PTR -8[rbp]
	mov	edx, 28
	mov	rsi, rcx
	mov	rdi, rax
	call	r8
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L38
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L36
.L38:
	mov	eax, 0
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	ssl_generate_random, .-ssl_generate_random
	.type	ssl_write_client_hello, @function
ssl_write_client_hello:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L40
	mov	eax, -29696
	jmp	.L63
.L40:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 170[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 171[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 16[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 168[rax]
	test	al, al
	jne	.L42
	mov	eax, -28928
	jmp	.L63
.L42:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 304[rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 4
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	shr	al
	and	eax, 1
	movzx	edx, al
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 169[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 168[rax]
	movzx	eax, al
	mov	rcx, QWORD PTR -48[rbp]
	mov	edi, eax
	call	mbedtls_ssl_write_version@PLT
	add	QWORD PTR -48[rbp], 2
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	ssl_generate_random
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L43
	mov	eax, DWORD PTR -52[rbp]
	jmp	.L63
.L43:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	lea	rcx, 156[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	add	QWORD PTR -48[rbp], 32
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -60[rbp], eax
	cmp	DWORD PTR -60[rbp], 15
	jbe	.L44
	cmp	DWORD PTR -60[rbp], 32
	ja	.L44
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	eax, DWORD PTR 268[rax]
	test	eax, eax
	jne	.L45
.L44:
	mov	DWORD PTR -60[rbp], 0
.L45:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, DWORD PTR -60[rbp]
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -64[rbp], 0
	jmp	.L46
.L47:
	mov	rax, QWORD PTR -88[rbp]
	mov	rcx, QWORD PTR 80[rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, DWORD PTR -64[rbp]
	movzx	edx, BYTE PTR 12[rcx+rdx]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -64[rbp], 1
.L46:
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jb	.L47
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L48
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L49
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 0
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdx, QWORD PTR 88[rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, 1[rax]
	mov	QWORD PTR -48[rbp], rcx
	movzx	edx, BYTE PTR 32[rdx]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	movzx	eax, BYTE PTR 32[rax]
	movzx	edx, al
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rcx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	movzx	eax, BYTE PTR 32[rax]
	movzx	eax, al
	add	QWORD PTR -48[rbp], rax
.L48:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 16[rdx]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -24[rbp], rax
	add	QWORD PTR -48[rbp], 2
	mov	DWORD PTR -64[rbp], 0
	jmp	.L50
.L56:
	mov	eax, DWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	mbedtls_ssl_ciphersuite_from_id@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L65
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 32[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 169[rax]
	movzx	eax, al
	cmp	edx, eax
	jg	.L66
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 40[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 171[rax]
	movzx	eax, al
	cmp	edx, eax
	jl	.L66
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L55
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR 44[rax]
	movzx	eax, al
	and	eax, 4
	test	eax, eax
	jne	.L67
.L55:
	add	DWORD PTR -60[rbp], 1
	mov	eax, DWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	sar	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L52
.L65:
	nop
	jmp	.L52
.L66:
	nop
	jmp	.L52
.L67:
	nop
.L52:
	add	DWORD PTR -64[rbp], 1
.L50:
	mov	eax, DWORD PTR -64[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], -1
	add	DWORD PTR -60[rbp], 1
	mov	eax, DWORD PTR -60[rbp]
	shr	eax, 7
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -60[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	lea	edx, [rcx+rcx]
	mov	BYTE PTR [rax], dl
	mov	BYTE PTR -69[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L57
	mov	BYTE PTR -69[rbp], 0
.L57:
	cmp	BYTE PTR -69[rbp], 0
	je	.L58
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 2
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 0
	jmp	.L59
.L58:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	BYTE PTR [rax], 0
.L59:
	mov	eax, DWORD PTR -56[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	lea	rdx, -68[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ssl_write_signature_algorithms_ext
	mov	eax, DWORD PTR -68[rbp]
	add	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	lea	rdx, -68[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ssl_write_max_fragment_length_ext
	mov	eax, DWORD PTR -68[rbp]
	add	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L60
	mov	eax, DWORD PTR -56[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, DWORD PTR -56[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -56[rbp]
	add	QWORD PTR -48[rbp], rax
.L60:
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 316[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 312[rax], 22
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 304[rax]
	mov	BYTE PTR [rax], 1
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L61
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_send_flight_completed@PLT
.L61:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_write_record@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	je	.L62
	mov	eax, DWORD PTR -52[rbp]
	jmp	.L63
.L62:
	mov	eax, 0
.L63:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	ssl_write_client_hello, .-ssl_write_client_hello
	.type	ssl_parse_renegotiation_info, @function
ssl_parse_renegotiation_info:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	cmp	DWORD PTR -36[rbp], 1
	jne	.L69
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L70
.L69:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_send_fatal_handshake_failure@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L71
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L72
.L71:
	mov	eax, -31104
	jmp	.L72
.L70:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 336[rax], 1
	mov	eax, 0
.L72:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	ssl_parse_renegotiation_info, .-ssl_parse_renegotiation_info
	.type	ssl_parse_max_fragment_length_ext, @function
ssl_parse_max_fragment_length_ext:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 172[rax]
	and	ax, 448
	test	ax, ax
	je	.L74
	cmp	DWORD PTR -20[rbp], 1
	jne	.L74
	mov	rax, QWORD PTR -16[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, WORD PTR 172[rax]
	shr	ax, 6
	and	eax, 7
	cmp	dl, al
	je	.L75
.L74:
	mov	eax, -31104
	jmp	.L76
.L75:
	mov	eax, 0
.L76:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	ssl_parse_max_fragment_length_ext, .-ssl_parse_max_fragment_length_ext
	.type	ssl_parse_hello_verify_request, @function
ssl_parse_hello_verify_request:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	rbx, QWORD PTR 192[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	eax, eax
	add	rax, rbx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	shr	al
	and	eax, 1
	movzx	edx, al
	mov	rcx, QWORD PTR -32[rbp]
	lea	rsi, -36[rbp]
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_read_version@PLT
	add	QWORD PTR -32[rbp], 2
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, 2
	jle	.L78
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 1
	jle	.L78
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 168[rax]
	movzx	edx, al
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jl	.L78
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 169[rax]
	movzx	edx, al
	mov	eax, DWORD PTR -36[rbp]
	cmp	edx, eax
	jge	.L79
.L78:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 70
	mov	esi, 2
	mov	rdi, rax
	call	mbedtls_ssl_send_alert_message@PLT
	mov	eax, -28288
	jmp	.L83
.L79:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -32[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -41[rbp], al
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 192[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 212[rax]
	mov	eax, eax
	add	rax, rdx
	sub	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	movzx	eax, BYTE PTR -41[rbp]
	cmp	rdx, rax
	jge	.L81
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 50
	mov	esi, 2
	mov	rdi, rax
	call	mbedtls_ssl_send_alert_message@PLT
	mov	eax, -31104
	jmp	.L83
.L81:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	mbedtls_free@PLT
	movzx	eax, BYTE PTR -41[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rbx, QWORD PTR 88[rdx]
	mov	esi, eax
	mov	edi, 1
	call	mbedtls_calloc@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L82
	mov	eax, -32512
	jmp	.L83
.L82:
	movzx	edx, BYTE PTR -41[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 88[rax]
	movzx	edx, BYTE PTR -41[rbp]
	mov	BYTE PTR 32[rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 8[rax], 1
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_reset_checksum@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_recv_flight_completed@PLT
	mov	eax, 0
.L83:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	ssl_parse_hello_verify_request, .-ssl_parse_hello_verify_request
	.type	ssl_parse_server_hello, @function
ssl_parse_server_hello:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -88[rbp], rdi
	mov	DWORD PTR -60[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 192[rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_read_record@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L86
	mov	eax, DWORD PTR -56[rbp]
	jmp	.L87
.L86:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 208[rax]
	cmp	eax, 22
	je	.L88
	mov	eax, -30464
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L89
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 3
	jne	.L90
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	ssl_parse_hello_verify_request
	jmp	.L87
.L90:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rax, QWORD PTR 24[rax]
	mov	rdi, rax
	call	mbedtls_free@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	BYTE PTR 32[rax], 0
.L89:
	mov	rax, QWORD PTR -88[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	add	eax, 38
	cmp	ebx, eax
	jb	.L91
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 2
	je	.L92
.L91:
	mov	eax, -31104
	jmp	.L87
.L92:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	eax, eax
	add	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	shr	al
	and	eax, 1
	movzx	eax, al
	mov	rdx, QWORD PTR -88[rbp]
	lea	rsi, 16[rdx]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rdi, 12[rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, eax
	call	mbedtls_ssl_read_version@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 170[rax]
	movzx	eax, al
	cmp	edx, eax
	jl	.L93
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 171[rax]
	movzx	eax, al
	cmp	edx, eax
	jl	.L93
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 168[rax]
	movzx	eax, al
	cmp	edx, eax
	jg	.L93
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 169[rax]
	movzx	eax, al
	cmp	edx, eax
	jle	.L94
.L93:
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 70
	mov	esi, 2
	mov	rdi, rax
	call	mbedtls_ssl_send_alert_message@PLT
	mov	eax, -28288
	jmp	.L87
.L94:
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 2[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	add	rax, 156
	add	rax, 32
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 34
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 32
	jbe	.L95
	mov	eax, -31104
	jmp	.L87
.L95:
	mov	rax, QWORD PTR -88[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 39
	cmp	ebx, eax
	jbe	.L96
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 38
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 39
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -64[rbp], 0
	je	.L97
	cmp	DWORD PTR -64[rbp], 3
	jbe	.L98
.L97:
	mov	rax, QWORD PTR -88[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	add	eax, edx
	add	eax, 40
	cmp	ebx, eax
	je	.L99
.L98:
	mov	eax, -31104
	jmp	.L87
.L96:
	mov	rax, QWORD PTR -88[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 38
	cmp	ebx, eax
	jne	.L100
	mov	DWORD PTR -64[rbp], 0
	jmp	.L99
.L100:
	mov	eax, -31104
	jmp	.L87
.L99:
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 35
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 36
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 37
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -69[rbp], al
	cmp	BYTE PTR -69[rbp], 0
	je	.L101
	mov	eax, -28800
	jmp	.L87
.L101:
	mov	rax, QWORD PTR -88[rbp]
	mov	rbx, QWORD PTR 120[rax]
	mov	eax, DWORD PTR -68[rbp]
	mov	edi, eax
	call	mbedtls_ssl_ciphersuite_from_id@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L102
	mov	eax, -28928
	jmp	.L87
.L102:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mbedtls_ssl_optimize_checksum@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	eax, DWORD PTR 268[rax]
	test	eax, eax
	je	.L103
	cmp	DWORD PTR -52[rbp], 0
	je	.L103
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -68[rbp], eax
	jne	.L103
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	edx, DWORD PTR 4[rax]
	movzx	eax, BYTE PTR -69[rbp]
	cmp	edx, eax
	jne	.L103
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L103
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 35[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	lea	rcx, 12[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	rdi, rcx
	call	memcmp@PLT
	test	eax, eax
	je	.L104
.L103:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	DWORD PTR 268[rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	edx, DWORD PTR -68[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	movzx	edx, BYTE PTR -69[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, 35[rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	lea	rcx, 12[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	rdi, rcx
	call	memcpy@PLT
	jmp	.L105
.L104:
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 8[rax], 12
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_derive_keys@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L105
	mov	eax, DWORD PTR -56[rbp]
	jmp	.L87
.L105:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	mbedtls_ssl_ciphersuite_from_id@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L106
	mov	eax, -31104
	jmp	.L87
.L106:
	mov	DWORD PTR -68[rbp], 0
.L110:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 16[rdx]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L107
	mov	eax, -31104
	jmp	.L87
.L107:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -88[rbp]
	mov	edx, DWORD PTR 16[rdx]
	movsx	rdx, edx
	mov	rcx, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -68[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -68[rbp], edx
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L123
	jmp	.L110
.L123:
	nop
	cmp	BYTE PTR -69[rbp], 0
	je	.L111
	mov	eax, -31104
	jmp	.L87
.L111:
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 80[rax]
	movzx	edx, BYTE PTR -69[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -40[rbp], rax
	jmp	.L112
.L118:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 4
	cmp	DWORD PTR -64[rbp], eax
	jnb	.L113
	mov	eax, -31104
	jmp	.L87
.L113:
	cmp	DWORD PTR -48[rbp], 1
	je	.L114
	cmp	DWORD PTR -48[rbp], 65281
	jne	.L115
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 4[rax]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ssl_parse_renegotiation_info
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L124
	mov	eax, DWORD PTR -56[rbp]
	jmp	.L87
.L114:
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, 4[rax]
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	ssl_parse_max_fragment_length_ext
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L125
	mov	eax, DWORD PTR -56[rbp]
	jmp	.L87
.L124:
	nop
	jmp	.L115
.L125:
	nop
.L115:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -44[rbp]
	sub	eax, 4
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 4
	mov	eax, eax
	add	QWORD PTR -40[rbp], rax
	cmp	DWORD PTR -64[rbp], 0
	je	.L112
	cmp	DWORD PTR -64[rbp], 3
	ja	.L112
	mov	eax, -31104
	jmp	.L87
.L112:
	cmp	DWORD PTR -64[rbp], 0
	jne	.L118
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR 336[rax]
	test	eax, eax
	jne	.L119
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 48
	cmp	al, 32
	jne	.L119
	mov	DWORD PTR -60[rbp], 1
.L119:
	cmp	DWORD PTR -60[rbp], 1
	jne	.L120
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_send_fatal_handshake_failure@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L121
	mov	eax, DWORD PTR -56[rbp]
	jmp	.L87
.L121:
	mov	eax, -31104
	jmp	.L87
.L120:
	mov	eax, 0
.L87:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	ssl_parse_server_hello, .-ssl_parse_server_hello
	.type	ssl_write_encrypted_pms, @function
ssl_write_encrypted_pms:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -32[rbp], ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	jne	.L127
	mov	eax, 0
	jmp	.L128
.L127:
	mov	eax, 2
.L128:
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	lea	rdx, 220[rax]
	mov	eax, DWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	cmp	eax, 4096
	jbe	.L129
	mov	eax, -27136
	jmp	.L130
.L129:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	shr	al
	and	eax, 1
	movzx	edx, al
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 169[rax]
	movzx	esi, al
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 168[rax]
	movzx	eax, al
	mov	rcx, QWORD PTR -8[rbp]
	mov	edi, eax
	call	mbedtls_ssl_write_version@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rcx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, 2[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 56[rax]
	mov	edx, 46
	mov	rdi, rax
	call	rcx
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L131
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L130
.L131:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	DWORD PTR 152[rax], 48
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	rax, QWORD PTR 96[rax]
	test	rax, rax
	jne	.L132
	mov	eax, -30464
	jmp	.L130
.L132:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	rax, QWORD PTR 96[rax]
	add	rax, 248
	mov	esi, 1
	mov	rdi, rax
	call	mbedtls_pk_can_do@PLT
	test	eax, eax
	jne	.L133
	mov	eax, -27904
	jmp	.L130
.L133:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r8, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR 48[rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	edx, 4096
	sub	edx, eax
	mov	r9d, edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 304[rax]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -16[rbp]
	add	rdx, rcx
	lea	rcx, [rax+rdx]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	edx, DWORD PTR 152[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 80[rax]
	mov	rax, QWORD PTR 96[rax]
	lea	rdi, 248[rax]
	mov	r10, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -8[rbp]
	push	r8
	push	rsi
	mov	r8, r10
	mov	rsi, rax
	call	mbedtls_pk_encrypt@PLT
	add	rsp, 16
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L134
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L130
.L134:
	cmp	DWORD PTR -16[rbp], 2
	jne	.L135
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 304[rax]
	mov	eax, DWORD PTR -28[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 304[rax]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	eax, eax
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
.L135:
	mov	eax, 0
.L130:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	ssl_write_encrypted_pms, .-ssl_write_encrypted_pms
	.type	ssl_parse_server_key_exchange, @function
ssl_parse_server_key_exchange:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 1
	jne	.L137
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, 0
	jmp	.L138
.L137:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_read_record@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	je	.L139
	mov	eax, DWORD PTR -44[rbp]
	jmp	.L138
.L139:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 208[rax]
	cmp	eax, 22
	je	.L140
	mov	eax, -30464
	jmp	.L138
.L140:
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 192[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 12
	je	.L141
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 5
	je	.L142
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 7
	jne	.L143
.L142:
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 256[rax], 1
	nop
.L144:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, 0
	jmp	.L138
.L143:
	mov	eax, -30464
	jmp	.L138
.L141:
	mov	rax, QWORD PTR -56[rbp]
	mov	rbx, QWORD PTR 192[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	eax, eax
	add	rax, rbx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 192[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 248[rax]
	mov	eax, eax
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	eax, -27648
.L138:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	ssl_parse_server_key_exchange, .-ssl_parse_server_key_exchange
	.type	ssl_parse_certificate_request, @function
ssl_parse_certificate_request:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 5
	je	.L146
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 7
	je	.L146
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 6
	je	.L146
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 8
	je	.L146
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 11
	jne	.L147
.L146:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, 0
	jmp	.L148
.L147:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 256[rax]
	test	eax, eax
	jne	.L149
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_read_record@PLT
	mov	DWORD PTR -40[rbp], eax
	cmp	DWORD PTR -40[rbp], 0
	je	.L150
	mov	eax, DWORD PTR -40[rbp]
	jmp	.L148
.L150:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 208[rax]
	cmp	eax, 22
	je	.L151
	mov	eax, -30464
	jmp	.L148
.L151:
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 256[rax], 1
.L149:
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 324[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 192[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L152
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 324[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 324[rax], edx
.L152:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 324[rax]
	test	eax, eax
	je	.L157
	mov	rax, QWORD PTR -72[rbp]
	mov	DWORD PTR 256[rax], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 192[rax]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	cmp	ebx, eax
	jnb	.L155
	mov	eax, -31360
	jmp	.L148
.L155:
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 3
	jne	.L156
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	ebx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, ebx
	mov	DWORD PTR -36[rbp], eax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	cmp	ebx, eax
	jnb	.L156
	mov	eax, -31360
	jmp	.L148
.L156:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	ebx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	or	eax, ebx
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	add	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	mov	edx, DWORD PTR -52[rbp]
	add	eax, edx
	add	eax, 3
	cmp	ebx, eax
	je	.L158
	mov	eax, -31360
	jmp	.L148
.L157:
	nop
	jmp	.L154
.L158:
	nop
.L154:
	mov	eax, 0
.L148:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	ssl_parse_certificate_request, .-ssl_parse_certificate_request
	.type	ssl_parse_server_hello_done, @function
ssl_parse_server_hello_done:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 256[rax]
	test	eax, eax
	jne	.L160
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_read_record@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L161
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L162
.L161:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 208[rax]
	cmp	eax, 22
	je	.L160
	mov	eax, -30464
	jmp	.L162
.L160:
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 256[rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	ebx, DWORD PTR 248[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_hs_hdr_len
	cmp	ebx, eax
	jne	.L163
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 192[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 14
	je	.L164
.L163:
	mov	eax, -31616
	jmp	.L162
.L164:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L165
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_recv_flight_completed@PLT
.L165:
	mov	eax, 0
.L162:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	ssl_parse_server_hello_done, .-ssl_parse_server_hello_done
	.type	ssl_write_client_key_exchange, @function
ssl_write_client_key_exchange:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 1
	jne	.L167
	mov	DWORD PTR -24[rbp], 4
	lea	rdx, -28[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, 0
	mov	rdi, rax
	call	ssl_write_encrypted_pms
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L168
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L171
.L167:
	mov	eax, -27648
	jmp	.L171
.L168:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 316[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 312[rax], 22
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR 304[rax]
	mov	BYTE PTR [rax], 16
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_write_record@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	je	.L170
	mov	eax, DWORD PTR -20[rbp]
	jmp	.L171
.L170:
	mov	eax, 0
.L171:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L172
	call	__stack_chk_fail@PLT
.L172:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	ssl_write_client_key_exchange, .-ssl_write_client_key_exchange
	.type	ssl_write_certificate_verify, @function
ssl_write_certificate_verify:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], -28800
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -112[rbp], rax
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	lea	rax, -96[rbp]
	mov	QWORD PTR -104[rbp], rax
	mov	DWORD PTR -128[rbp], 0
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_derive_keys@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	je	.L174
	mov	eax, DWORD PTR -124[rbp]
	jmp	.L187
.L174:
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 5
	je	.L176
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 7
	je	.L176
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 8
	je	.L176
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 6
	je	.L176
	mov	rax, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	eax, 11
	jne	.L177
.L176:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, 0
	jmp	.L187
.L177:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 324[rax]
	test	eax, eax
	je	.L178
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_own_cert
	test	rax, rax
	jne	.L179
.L178:
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	eax, 0
	jmp	.L187
.L179:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_own_key
	test	rax, rax
	jne	.L180
	mov	eax, -30208
	jmp	.L187
.L180:
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 88[rax]
	mov	rcx, QWORD PTR 128[rax]
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	rcx
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, 3
	jne	.L181
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 20[rax]
	cmp	eax, 7
	jne	.L182
	mov	DWORD PTR -128[rbp], 7
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 304[rax]
	add	rax, 4
	mov	BYTE PTR [rax], 5
	jmp	.L183
.L182:
	mov	DWORD PTR -128[rbp], 6
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 304[rax]
	add	rax, 4
	mov	BYTE PTR [rax], 4
.L183:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_own_key
	mov	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 304[rax]
	lea	rbx, 5[rax]
	mov	rdi, rdx
	call	mbedtls_ssl_sig_from_pk@PLT
	mov	BYTE PTR [rbx], al
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -120[rbp], 2
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	mov	r12, QWORD PTR 56[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rbx, QWORD PTR 48[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR 304[rax]
	mov	eax, DWORD PTR -120[rbp]
	add	rax, 6
	lea	r13, [rdx+rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_own_key
	mov	rdi, rax
	lea	rsi, -132[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -104[rbp]
	mov	eax, DWORD PTR -128[rbp]
	push	r12
	push	rbx
	mov	r9, rsi
	mov	r8, r13
	mov	esi, eax
	call	mbedtls_pk_sign@PLT
	add	rsp, 16
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	je	.L185
	jmp	.L189
.L181:
	mov	eax, -27648
	jmp	.L187
.L189:
	mov	eax, DWORD PTR -124[rbp]
	jmp	.L187
.L185:
	mov	eax, DWORD PTR -132[rbp]
	shr	eax, 8
	mov	ecx, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR 304[rax]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 4
	mov	eax, eax
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	edx, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	rcx, QWORD PTR 304[rax]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 5
	mov	eax, eax
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	mov	edx, DWORD PTR -132[rbp]
	mov	eax, DWORD PTR -120[rbp]
	add	eax, edx
	lea	edx, 6[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 316[rax], edx
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 312[rax], 22
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 304[rax]
	mov	BYTE PTR [rax], 15
	mov	rax, QWORD PTR -152[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -152[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_write_record@PLT
	mov	DWORD PTR -124[rbp], eax
	cmp	DWORD PTR -124[rbp], 0
	je	.L186
	mov	eax, DWORD PTR -124[rbp]
	jmp	.L187
.L186:
	mov	eax, DWORD PTR -124[rbp]
.L187:
	mov	rsi, QWORD PTR -40[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L188
	call	__stack_chk_fail@PLT
.L188:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	ssl_write_certificate_verify, .-ssl_write_certificate_verify
	.globl	mbedtls_ssl_handshake_client_step
	.type	mbedtls_ssl_handshake_client_step, @function
mbedtls_ssl_handshake_client_step:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 16
	je	.L191
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	test	rax, rax
	jne	.L192
.L191:
	mov	eax, -28928
	jmp	.L193
.L192:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_flush_output@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L194
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L193
.L194:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 172[rax]
	and	eax, 2
	test	al, al
	je	.L195
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 88[rax]
	movzx	eax, BYTE PTR 56[rax]
	cmp	al, 1
	jne	.L195
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_resend@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L195
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L193
.L195:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 15
	ja	.L196
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L198[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L198[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L198:
	.long	.L213-.L198
	.long	.L212-.L198
	.long	.L211-.L198
	.long	.L210-.L198
	.long	.L209-.L198
	.long	.L208-.L198
	.long	.L207-.L198
	.long	.L206-.L198
	.long	.L205-.L198
	.long	.L204-.L198
	.long	.L203-.L198
	.long	.L202-.L198
	.long	.L201-.L198
	.long	.L200-.L198
	.long	.L199-.L198
	.long	.L197-.L198
	.text
.L213:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], 1
	jmp	.L214
.L212:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_write_client_hello
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L211:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_parse_server_hello
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L210:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_parse_certificate@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L209:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_parse_server_key_exchange
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L208:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_parse_certificate_request
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L207:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_parse_server_hello_done
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L206:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_write_certificate@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L205:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_write_client_key_exchange
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L204:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ssl_write_certificate_verify
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L203:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_write_change_cipher_spec@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L202:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_write_finished@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L201:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_parse_change_cipher_spec@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L200:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_parse_finished@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L214
.L199:
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], 15
	jmp	.L214
.L197:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	mbedtls_ssl_handshake_wrapup@PLT
	jmp	.L214
.L196:
	mov	eax, -28928
	jmp	.L193
.L214:
	mov	eax, DWORD PTR -4[rbp]
.L193:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	mbedtls_ssl_handshake_client_step, .-mbedtls_ssl_handshake_client_step
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"844891.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_ssl_own_key, %function
mbedtls_ssl_own_key:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #56]
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	b	.L6
.L4:
	mov	r3, #0
.L6:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mbedtls_ssl_own_key, .-mbedtls_ssl_own_key
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_ssl_own_cert, %function
mbedtls_ssl_own_cert:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-8]
	b	.L9
.L8:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #56]
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	b	.L12
.L10:
	mov	r3, #0
.L12:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mbedtls_ssl_own_cert, .-mbedtls_ssl_own_cert
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_ssl_hs_hdr_len, %function
mbedtls_ssl_hs_hdr_len:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L14
	mov	r3, #12
	b	.L15
.L14:
	mov	r3, #4
.L15:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mbedtls_ssl_hs_hdr_len, .-mbedtls_ssl_hs_hdr_len
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_write_signature_algorithms_ext, %function
ssl_write_signature_algorithms_ext:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #176]
	add	r3, r3, #4096
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #6
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldrb	r3, [r3, #85]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L25
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldr	r3, [r3, #68]
	str	r3, [fp, #-28]
	b	.L19
.L20:
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L19:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L20
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L26
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	cmp	r2, r3
	bcc	.L26
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldr	r3, [r3, #68]
	str	r3, [fp, #-28]
	b	.L23
.L24:
	ldr	r3, [fp, #-28]
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r0, r1
	bl	mbedtls_ssl_hash_from_md_alg
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-32]
	add	r2, r3, #1
	str	r2, [fp, #-32]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	mov	r2, #13
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	lsr	r2, r3, #8
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	add	r2, r2, #2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	str	r1, [fp, #-24]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-32]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	add	r2, r3, #6
	ldr	r3, [fp, #-48]
	str	r2, [r3]
	b	.L16
.L25:
	nop
	b	.L16
.L26:
	nop
.L16:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	ssl_write_signature_algorithms_ext, .-ssl_write_signature_algorithms_ext
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_write_max_fragment_length_ext, %function
ssl_write_max_fragment_length_ext:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #176]
	add	r3, r3, #4096
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrh	r3, [r3, #88]
	and	r3, r3, #448
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	beq	.L32
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcc	.L33
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	cmp	r3, #4
	bls	.L33
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrh	r3, [r3, #88]
	lsr	r3, r3, #6
	and	r3, r3, #7
	and	r1, r3, #255
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r2, #5
	str	r2, [r3]
	b	.L27
.L32:
	nop
	b	.L27
.L33:
	nop
.L27:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ssl_write_max_fragment_length_ext, .-ssl_write_max_fragment_length_ext
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_generate_random, %function
ssl_generate_random:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	add	r3, r3, #92
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	beq	.L35
	mov	r3, #0
	b	.L36
.L35:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	ldr	r0, [r2, #28]
	mov	r2, #4
	ldr	r1, [fp, #-12]
	blx	r3
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-8]
	b	.L36
.L37:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-16]
	ldr	r2, [r2]
	ldr	r0, [r2, #28]
	mov	r2, #28
	ldr	r1, [fp, #-12]
	blx	r3
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L38
	ldr	r3, [fp, #-8]
	b	.L36
.L38:
	mov	r3, #0
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ssl_generate_random, .-ssl_generate_random
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_write_client_hello, %function
ssl_write_client_hello:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L68
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L68+4
	b	.L63
.L40:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #86]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #87]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #84]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L68+8
	b	.L63
.L42:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #176]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #84]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #85]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-36]
	bl	mbedtls_ssl_write_version
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-56]
	bl	ssl_generate_random
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-24]
	b	.L63
.L43:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #48]
	add	r3, r3, #92
	mov	r2, #32
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	memcpy
	ldr	r3, [fp, #-36]
	add	r3, r3, #32
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #44]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #15
	bls	.L44
	ldr	r3, [fp, #-40]
	cmp	r3, #32
	bhi	.L44
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #204]
	cmp	r3, #0
	bne	.L45
.L44:
	mov	r3, #0
	str	r3, [fp, #-40]
.L45:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldr	r2, [fp, #-40]
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L46
.L47:
	ldr	r3, [fp, #-56]
	ldr	r1, [r3, #44]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldr	r2, [fp, #-44]
	add	r2, r1, r2
	add	r2, r2, #12
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L46:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bcc	.L47
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L49
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	b	.L48
.L49:
	ldr	r3, [fp, #-56]
	ldr	r2, [r3, #48]
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	ldrb	r2, [r2, #24]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #48]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #48]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, [fp, #-36]
	bl	memcpy
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #48]
	ldrb	r3, [r3, #24]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-36]
.L48:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	ldr	r2, [r2, #12]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L50
.L56:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	mbedtls_ssl_ciphersuite_from_id
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-56]
	ldr	r2, [r2]
	ldrb	r2, [r2, #85]	@ zero_extendqisi2
	cmp	r3, r2
	bgt	.L66
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #32]
	ldr	r2, [fp, #-56]
	ldr	r2, [r2]
	ldrb	r2, [r2, #87]	@ zero_extendqisi2
	cmp	r3, r2
	blt	.L66
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L55
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3, #36]	@ zero_extendqisi2
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L67
.L55:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	asr	r2, r3, #8
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L52
.L65:
	nop
	b	.L52
.L66:
	nop
	b	.L52
.L67:
	nop
.L52:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L50:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mvn	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	lsr	r2, r3, #7
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	and	r2, r3, #255
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	lsl	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-49]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L57
	mov	r3, #0
	strb	r3, [fp, #-49]
.L57:
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #2
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	b	.L59
.L58:
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
.L59:
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	sub	r2, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	ssl_write_signature_algorithms_ext
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	sub	r2, fp, #48
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	ssl_write_max_fragment_length_ext
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-36]
	add	r1, r3, #1
	str	r1, [fp, #-36]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	ldr	r2, [fp, #-32]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-36]
.L60:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-56]
	str	r2, [r3, #184]
	ldr	r3, [fp, #-56]
	mov	r2, #22
	str	r2, [r3, #180]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #176]
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-56]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L61
	ldr	r0, [fp, #-56]
	bl	mbedtls_ssl_send_flight_completed
.L61:
	ldr	r0, [fp, #-56]
	bl	mbedtls_ssl_write_record
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-24]
	b	.L63
.L62:
	mov	r3, #0
.L63:
	ldr	r2, .L68
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	.LC0
	.word	-29696
	.word	-28928
	.size	ssl_write_client_hello, .-ssl_write_client_hello
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_renegotiation_info, %function
ssl_parse_renegotiation_info:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L71
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L72
.L71:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_send_fatal_handshake_failure
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-8]
	b	.L74
.L73:
	ldr	r3, .L75
	b	.L74
.L72:
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #200]
	mov	r3, #0
.L74:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	-31104
	.size	ssl_parse_renegotiation_info, .-ssl_parse_renegotiation_info
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_max_fragment_length_ext, %function
ssl_parse_max_fragment_length_ext:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldrh	r3, [r3, #88]
	and	r3, r3, #448
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	beq	.L78
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L78
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	ldrh	r2, [r2, #88]
	lsr	r2, r2, #6
	and	r2, r2, #7
	and	r2, r2, #255
	cmp	r3, r2
	beq	.L79
.L78:
	ldr	r3, .L81
	b	.L80
.L79:
	mov	r3, #0
.L80:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L82:
	.align	2
.L81:
	.word	-31104
	.size	ssl_parse_max_fragment_length_ext, .-ssl_parse_max_fragment_length_ext
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_hello_verify_request, %function
ssl_parse_hello_verify_request:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-40]
	ldr	r3, .L91
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	ldr	r4, [r3, #100]
	ldr	r0, [fp, #-40]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	sub	r1, fp, #24
	sub	r0, fp, #28
	ldr	r3, [fp, #-20]
	bl	mbedtls_ssl_read_version
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	ble	.L84
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	ble	.L84
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldrb	r3, [r3, #84]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L84
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	ldrb	r3, [r3, #85]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L85
.L84:
	mov	r2, #70
	mov	r1, #2
	ldr	r0, [fp, #-40]
	bl	mbedtls_ssl_send_alert_message
	ldr	r3, .L91+4
	b	.L89
.L85:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-29]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #100]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #112]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	sub	r2, r2, r3
	ldrb	r3, [fp, #-29]	@ zero_extendqisi2
	cmp	r2, r3
	bge	.L87
	mov	r2, #50
	mov	r1, #2
	ldr	r0, [fp, #-40]
	bl	mbedtls_ssl_send_alert_message
	ldr	r3, .L91+8
	b	.L89
.L87:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	mbedtls_free
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	ldr	r3, [fp, #-40]
	ldr	r4, [r3, #48]
	mov	r1, r2
	mov	r0, #1
	bl	mbedtls_calloc
	mov	r3, r0
	str	r3, [r4, #20]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L88
	ldr	r3, .L91+12
	b	.L89
.L88:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #20]
	ldrb	r2, [fp, #-29]	@ zero_extendqisi2
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	ldrb	r2, [fp, #-29]
	strb	r2, [r3, #24]
	ldr	r3, [fp, #-40]
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r0, [fp, #-40]
	bl	mbedtls_ssl_reset_checksum
	ldr	r0, [fp, #-40]
	bl	mbedtls_ssl_recv_flight_completed
	mov	r3, #0
.L89:
	ldr	r2, .L91
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L90
	bl	__stack_chk_fail
.L90:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC1
	.word	-28288
	.word	-31104
	.word	-32512
	.size	ssl_parse_hello_verify_request, .-ssl_parse_hello_verify_request
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_server_hello, %function
ssl_parse_server_hello:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #100]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_read_record
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L94
	ldr	r3, [fp, #-32]
	b	.L95
.L94:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #108]
	cmp	r3, #22
	beq	.L96
	ldr	r3, .L134
	b	.L95
.L96:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L97
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #3
	bne	.L98
	ldr	r0, [fp, #-64]
	bl	ssl_parse_hello_verify_request
	mov	r3, r0
	b	.L95
.L98:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	mbedtls_free
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #48]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #48]
	mov	r2, #0
	strb	r2, [r3, #24]
.L97:
	ldr	r3, [fp, #-64]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r3, r0
	add	r3, r3, #38
	cmp	r4, r3
	bcc	.L99
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #2
	beq	.L100
.L99:
	ldr	r3, .L134+4
	b	.L95
.L100:
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-64]
	add	r0, r3, #8
	ldr	r3, [fp, #-64]
	add	r1, r3, #12
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-36]
	bl	mbedtls_ssl_read_version
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2]
	ldrb	r2, [r2, #86]	@ zero_extendqisi2
	cmp	r3, r2
	blt	.L101
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2]
	ldrb	r2, [r2, #87]	@ zero_extendqisi2
	cmp	r3, r2
	blt	.L101
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2]
	ldrb	r2, [r2, #84]	@ zero_extendqisi2
	cmp	r3, r2
	bgt	.L101
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2]
	ldrb	r2, [r2, #85]	@ zero_extendqisi2
	cmp	r3, r2
	ble	.L102
.L101:
	mov	r2, #70
	mov	r1, #2
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_send_alert_message
	ldr	r3, .L134+8
	b	.L95
.L102:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #48]
	add	r3, r3, #92
	add	r0, r3, #32
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	mov	r2, #32
	mov	r1, r3
	bl	memcpy
	ldr	r3, [fp, #-36]
	add	r3, r3, #34
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #32
	bls	.L103
	ldr	r3, .L134+4
	b	.L95
.L103:
	ldr	r3, [fp, #-64]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	r3, r3, #39
	cmp	r4, r3
	bls	.L104
	ldr	r3, [fp, #-28]
	add	r3, r3, #38
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-28]
	add	r2, r2, #39
	ldr	r1, [fp, #-36]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L105
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bls	.L106
.L105:
	ldr	r3, [fp, #-64]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	add	r3, r3, #40
	cmp	r4, r3
	beq	.L107
.L106:
	ldr	r3, .L134+4
	b	.L95
.L104:
	ldr	r3, [fp, #-64]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	r3, r3, #38
	cmp	r4, r3
	bne	.L108
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L107
.L108:
	ldr	r3, .L134+4
	b	.L95
.L107:
	ldr	r3, [fp, #-28]
	add	r3, r3, #35
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-28]
	add	r2, r2, #36
	ldr	r1, [fp, #-36]
	add	r2, r1, r2
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-28]
	add	r3, r3, #37
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-53]
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L109
	ldr	r3, .L134+12
	b	.L95
.L109:
	ldr	r3, [fp, #-64]
	ldr	r4, [r3, #64]
	ldr	r0, [fp, #-52]
	bl	mbedtls_ssl_ciphersuite_from_id
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L110
	ldr	r3, .L134+16
	b	.L95
.L110:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_optimize_checksum
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #204]
	cmp	r3, #0
	beq	.L111
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L111
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bne	.L111
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r2, [r3, #4]
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L111
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L111
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	add	r0, r3, #12
	ldr	r3, [fp, #-36]
	add	r3, r3, #35
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L112
.L111:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-64]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #48]
	mov	r2, #0
	str	r2, [r3, #204]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-52]
	str	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldrb	r2, [fp, #-53]	@ zero_extendqisi2
	str	r2, [r3, #4]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	add	r0, r3, #12
	ldr	r3, [fp, #-36]
	add	r3, r3, #35
	ldr	r2, [fp, #-28]
	mov	r1, r3
	bl	memcpy
	b	.L113
.L112:
	ldr	r3, [fp, #-64]
	mov	r2, #12
	str	r2, [r3, #4]
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_derive_keys
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L113
	ldr	r3, [fp, #-32]
	b	.L95
.L113:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r3, [r3]
	mov	r0, r3
	bl	mbedtls_ssl_ciphersuite_from_id
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L114
	ldr	r3, .L134+4
	b	.L95
.L114:
	mov	r3, #0
	str	r3, [fp, #-52]
.L118:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2, #12]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L115
	ldr	r3, .L134+4
	b	.L95
.L115:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	ldr	r2, [r2, #12]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L131
	b	.L118
.L131:
	nop
	ldrb	r3, [fp, #-53]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L119
	ldr	r3, .L134+4
	b	.L95
.L119:
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #44]
	ldrb	r2, [fp, #-53]	@ zero_extendqisi2
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	add	r3, r3, #40
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	b	.L120
.L126:
	ldr	r3, [fp, #-44]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-44]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-44]
	add	r2, r2, #3
	ldrb	r2, [r2]	@ zero_extendqisi2
	orr	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [fp, #-48]
	cmp	r2, r3
	bcs	.L121
	ldr	r3, .L134+4
	b	.L95
.L121:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	beq	.L122
	ldr	r3, [fp, #-20]
	ldr	r2, .L134+20
	cmp	r3, r2
	bne	.L123
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	ssl_parse_renegotiation_info
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L132
	ldr	r3, [fp, #-32]
	b	.L95
.L122:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r2, [fp, #-16]
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	ssl_parse_max_fragment_length_ext
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L133
	ldr	r3, [fp, #-32]
	b	.L95
.L132:
	nop
	b	.L123
.L133:
	nop
.L123:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	sub	r3, r3, #4
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L120
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bhi	.L120
	ldr	r3, .L134+4
	b	.L95
.L120:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #200]
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-64]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #48
	and	r3, r3, #255
	cmp	r3, #32
	bne	.L127
	mov	r3, #1
	str	r3, [fp, #-40]
.L127:
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L128
	ldr	r0, [fp, #-64]
	bl	mbedtls_ssl_send_fatal_handshake_failure
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L129
	ldr	r3, [fp, #-32]
	b	.L95
.L129:
	ldr	r3, .L134+4
	b	.L95
.L128:
	mov	r3, #0
.L95:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L135:
	.align	2
.L134:
	.word	-30464
	.word	-31104
	.word	-28288
	.word	-28800
	.word	-28928
	.word	65281
	.size	ssl_parse_server_hello, .-ssl_parse_server_hello
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_write_encrypted_pms, %function
ssl_write_encrypted_pms:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L137
	mov	r3, #0
	b	.L138
.L137:
	mov	r3, #2
.L138:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #48]
	add	r2, r3, #156
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r3, #4096
	bls	.L139
	ldr	r3, .L146
	b	.L140
.L139:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldrb	r3, [r3, #84]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldrb	r3, [r3, #85]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	lsr	r3, r3, #1
	and	r3, r3, #1
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-12]
	bl	mbedtls_ssl_write_version
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-24]
	ldr	r2, [r2]
	ldr	r0, [r2, #28]
	ldr	r2, [fp, #-12]
	add	r1, r2, #2
	mov	r2, #46
	blx	r3
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L141
	ldr	r3, [fp, #-8]
	b	.L140
.L141:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #48]
	mov	r2, #48
	str	r2, [r3, #88]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	ldr	r3, [r3, #92]
	cmp	r3, #0
	bne	.L142
	ldr	r3, .L146+4
	b	.L140
.L142:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	ldr	r3, [r3, #92]
	add	r3, r3, #188
	mov	r1, #1
	mov	r0, r3
	bl	mbedtls_pk_can_do
	mov	r3, r0
	cmp	r3, #0
	bne	.L143
	ldr	r3, .L146+8
	b	.L140
.L143:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #44]
	ldr	r3, [r3, #92]
	add	r0, r3, #188
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #48]
	ldr	ip, [r3, #88]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #176]
	ldr	r1, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	add	lr, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	rsb	r3, r3, #4096
	ldr	r2, [fp, #-24]
	ldr	r2, [r2]
	ldr	r2, [r2, #24]
	ldr	r1, [fp, #-24]
	ldr	r1, [r1]
	ldr	r1, [r1, #28]
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-32]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, [fp, #-12]
	bl	mbedtls_pk_encrypt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L144
	ldr	r3, [fp, #-8]
	b	.L140
.L144:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L145
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #176]
	ldr	r3, [fp, #-28]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #176]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	add	r2, r3, #2
	ldr	r3, [fp, #-32]
	str	r2, [r3]
.L145:
	mov	r3, #0
.L140:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L147:
	.align	2
.L146:
	.word	-27136
	.word	-30464
	.word	-27904
	.size	ssl_write_encrypted_pms, .-ssl_write_encrypted_pms
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_server_key_exchange, %function
ssl_parse_server_key_exchange:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #1
	bne	.L149
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L150
.L149:
	ldr	r0, [fp, #-32]
	bl	mbedtls_ssl_read_record
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L151
	ldr	r3, [fp, #-24]
	b	.L150
.L151:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #108]
	cmp	r3, #22
	beq	.L152
	ldr	r3, .L157
	b	.L150
.L152:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #12
	beq	.L153
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #5
	beq	.L154
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #7
	bne	.L155
.L154:
	ldr	r3, [fp, #-32]
	mov	r2, #1
	str	r2, [r3, #152]
	nop
.L156:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L150
.L155:
	ldr	r3, .L157
	b	.L150
.L153:
	ldr	r3, [fp, #-32]
	ldr	r4, [r3, #100]
	ldr	r0, [fp, #-32]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r2, [r3, #100]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #144]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, .L157+4
.L150:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L158:
	.align	2
.L157:
	.word	-30464
	.word	-27648
	.size	ssl_parse_server_key_exchange, .-ssl_parse_server_key_exchange
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_certificate_request, %function
ssl_parse_certificate_request:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #5
	beq	.L160
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #7
	beq	.L160
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #6
	beq	.L160
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #8
	beq	.L160
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #16]
	cmp	r3, #11
	bne	.L161
.L160:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-48]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L162
.L161:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #152]
	cmp	r3, #0
	bne	.L163
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_read_record
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L164
	ldr	r3, [fp, #-24]
	b	.L162
.L164:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #108]
	cmp	r3, #22
	beq	.L165
	ldr	r3, .L173
	b	.L162
.L165:
	ldr	r3, [fp, #-48]
	mov	r2, #1
	str	r2, [r3, #152]
.L163:
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3, #192]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-48]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L166
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #192]
	add	r2, r3, #1
	ldr	r3, [fp, #-48]
	str	r2, [r3, #192]
.L166:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #192]
	cmp	r3, #0
	beq	.L171
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3, #152]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #100]
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #2
	cmp	r4, r3
	bcs	.L169
	ldr	r3, .L173+4
	b	.L162
.L169:
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #12]
	cmp	r3, #3
	bne	.L170
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r4, r3, #8
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r4, r3
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #2
	cmp	r4, r3
	bcs	.L170
	ldr	r3, .L173+4
	b	.L162
.L170:
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r4, r3, #8
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	orr	r3, r4, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-48]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r2, r0
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r3, r3, #3
	cmp	r4, r3
	beq	.L172
	ldr	r3, .L173+4
	b	.L162
.L171:
	nop
	b	.L168
.L172:
	nop
.L168:
	mov	r3, #0
.L162:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L174:
	.align	2
.L173:
	.word	-30464
	.word	-31360
	.size	ssl_parse_certificate_request, .-ssl_parse_certificate_request
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_parse_server_hello_done, %function
ssl_parse_server_hello_done:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #152]
	cmp	r3, #0
	bne	.L176
	ldr	r0, [fp, #-24]
	bl	mbedtls_ssl_read_record
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L177
	ldr	r3, [fp, #-16]
	b	.L178
.L177:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #108]
	cmp	r3, #22
	beq	.L176
	ldr	r3, .L182
	b	.L178
.L176:
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3, #152]
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #144]
	ldr	r0, [fp, #-24]
	bl	mbedtls_ssl_hs_hdr_len
	mov	r3, r0
	cmp	r4, r3
	bne	.L179
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #100]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #14
	beq	.L180
.L179:
	ldr	r3, .L182+4
	b	.L178
.L180:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L181
	ldr	r0, [fp, #-24]
	bl	mbedtls_ssl_recv_flight_completed
.L181:
	mov	r3, #0
.L178:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L183:
	.align	2
.L182:
	.word	-30464
	.word	-31616
	.size	ssl_parse_server_hello_done, .-ssl_parse_server_hello_done
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_write_client_key_exchange, %function
ssl_write_client_key_exchange:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L191
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #16]
	cmp	r3, #1
	bne	.L185
	mov	r3, #4
	str	r3, [fp, #-16]
	sub	r2, fp, #24
	mov	r3, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	ssl_write_encrypted_pms
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L186
	ldr	r3, [fp, #-12]
	b	.L189
.L185:
	ldr	r3, .L191+4
	b	.L189
.L186:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	str	r2, [r3, #184]
	ldr	r3, [fp, #-32]
	mov	r2, #22
	str	r2, [r3, #180]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #176]
	mov	r2, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-32]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-32]
	bl	mbedtls_ssl_write_record
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L188
	ldr	r3, [fp, #-12]
	b	.L189
.L188:
	mov	r3, #0
.L189:
	ldr	r2, .L191
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L190
	bl	__stack_chk_fail
.L190:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L192:
	.align	2
.L191:
	.word	.LC2
	.word	-27648
	.size	ssl_write_client_key_exchange, .-ssl_write_client_key_exchange
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_write_certificate_verify, %function
ssl_write_certificate_verify:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #108
	str	r0, [fp, #-96]
	ldr	r3, .L210
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L210+4
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-76]
	sub	r3, fp, #64
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-88]
	ldr	r0, [fp, #-96]
	bl	mbedtls_ssl_derive_keys
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L194
	ldr	r3, [fp, #-84]
	b	.L207
.L194:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #16]
	cmp	r3, #5
	beq	.L196
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #16]
	cmp	r3, #7
	beq	.L196
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #16]
	cmp	r3, #8
	beq	.L196
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #16]
	cmp	r3, #6
	beq	.L196
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #16]
	cmp	r3, #11
	bne	.L197
.L196:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-96]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L207
.L197:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #192]
	cmp	r3, #0
	beq	.L198
	ldr	r0, [fp, #-96]
	bl	mbedtls_ssl_own_cert
	mov	r3, r0
	cmp	r3, #0
	bne	.L199
.L198:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-96]
	str	r2, [r3, #4]
	mov	r3, #0
	b	.L207
.L199:
	ldr	r0, [fp, #-96]
	bl	mbedtls_ssl_own_key
	mov	r3, r0
	cmp	r3, #0
	bne	.L200
	ldr	r3, .L210+8
	b	.L207
.L200:
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #48]
	ldr	r3, [r3, #76]
	sub	r2, fp, #64
	mov	r1, r2
	ldr	r0, [fp, #-96]
	blx	r3
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #12]
	cmp	r3, #3
	bne	.L201
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #64]
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	cmp	r3, #7
	bne	.L202
	mov	r3, #7
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #176]
	add	r3, r3, #4
	mov	r2, #5
	strb	r2, [r3]
	b	.L203
.L202:
	mov	r3, #6
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #176]
	add	r3, r3, #4
	mov	r2, #4
	strb	r2, [r3]
.L203:
	ldr	r0, [fp, #-96]
	bl	mbedtls_ssl_own_key
	mov	r2, r0
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #176]
	add	r4, r3, #5
	mov	r0, r2
	bl	mbedtls_ssl_sig_from_pk
	mov	r3, r0
	strb	r3, [r4]
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #2
	str	r3, [fp, #-76]
	ldr	r0, [fp, #-96]
	bl	mbedtls_ssl_own_key
	ldr	r3, [fp, #-96]
	ldr	r2, [r3, #176]
	ldr	r3, [fp, #-76]
	add	r3, r3, #6
	add	r3, r2, r3
	ldr	r2, [fp, #-96]
	ldr	r2, [r2]
	ldr	r2, [r2, #24]
	ldr	r1, [fp, #-96]
	ldr	r1, [r1]
	ldr	r1, [r1, #28]
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	sub	r2, fp, #92
	str	r2, [sp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-68]
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-88]
	bl	mbedtls_pk_sign
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L205
	b	.L209
.L201:
	ldr	r3, .L210+12
	b	.L207
.L209:
	ldr	r3, [fp, #-84]
	b	.L207
.L205:
	ldr	r3, [fp, #-92]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-96]
	ldr	r1, [r3, #176]
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-96]
	ldr	r1, [r3, #176]
	ldr	r3, [fp, #-76]
	add	r3, r3, #5
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	add	r2, r3, #6
	ldr	r3, [fp, #-96]
	str	r2, [r3, #184]
	ldr	r3, [fp, #-96]
	mov	r2, #22
	str	r2, [r3, #180]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #176]
	mov	r2, #15
	strb	r2, [r3]
	ldr	r3, [fp, #-96]
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, [fp, #-96]
	str	r2, [r3, #4]
	ldr	r0, [fp, #-96]
	bl	mbedtls_ssl_write_record
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L206
	ldr	r3, [fp, #-84]
	b	.L207
.L206:
	ldr	r3, [fp, #-84]
.L207:
	ldr	r2, .L210
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L208
	bl	__stack_chk_fail
.L208:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L211:
	.align	2
.L210:
	.word	.LC3
	.word	-28800
	.word	-30208
	.word	-27648
	.size	ssl_write_certificate_verify, .-ssl_write_certificate_verify
	.align	2
	.global	mbedtls_ssl_handshake_client_step
	.syntax unified
	.arm
	.fpu softvfp
	.type	mbedtls_ssl_handshake_client_step, %function
mbedtls_ssl_handshake_client_step:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #16
	beq	.L213
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	cmp	r3, #0
	bne	.L214
.L213:
	ldr	r3, .L237
	b	.L215
.L214:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_flush_output
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L216
	ldr	r3, [fp, #-8]
	b	.L215
.L216:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3, #88]	@ zero_extendqisi2
	and	r3, r3, #2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L217
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #48]
	ldrb	r3, [r3, #36]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L217
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_resend
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L217
	ldr	r3, [fp, #-8]
	b	.L215
.L217:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #15
	ldrls	pc, [pc, r3, asl #2]
	b	.L218
.L220:
	.word	.L235
	.word	.L234
	.word	.L233
	.word	.L232
	.word	.L231
	.word	.L230
	.word	.L229
	.word	.L228
	.word	.L227
	.word	.L226
	.word	.L225
	.word	.L224
	.word	.L223
	.word	.L222
	.word	.L221
	.word	.L219
.L235:
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #4]
	b	.L236
.L234:
	ldr	r0, [fp, #-16]
	bl	ssl_write_client_hello
	str	r0, [fp, #-8]
	b	.L236
.L233:
	ldr	r0, [fp, #-16]
	bl	ssl_parse_server_hello
	str	r0, [fp, #-8]
	b	.L236
.L232:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_parse_certificate
	str	r0, [fp, #-8]
	b	.L236
.L231:
	ldr	r0, [fp, #-16]
	bl	ssl_parse_server_key_exchange
	str	r0, [fp, #-8]
	b	.L236
.L230:
	ldr	r0, [fp, #-16]
	bl	ssl_parse_certificate_request
	str	r0, [fp, #-8]
	b	.L236
.L229:
	ldr	r0, [fp, #-16]
	bl	ssl_parse_server_hello_done
	str	r0, [fp, #-8]
	b	.L236
.L228:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_write_certificate
	str	r0, [fp, #-8]
	b	.L236
.L227:
	ldr	r0, [fp, #-16]
	bl	ssl_write_client_key_exchange
	str	r0, [fp, #-8]
	b	.L236
.L226:
	ldr	r0, [fp, #-16]
	bl	ssl_write_certificate_verify
	str	r0, [fp, #-8]
	b	.L236
.L225:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_write_change_cipher_spec
	str	r0, [fp, #-8]
	b	.L236
.L224:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_write_finished
	str	r0, [fp, #-8]
	b	.L236
.L223:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_parse_change_cipher_spec
	str	r0, [fp, #-8]
	b	.L236
.L222:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_parse_finished
	str	r0, [fp, #-8]
	b	.L236
.L221:
	ldr	r3, [fp, #-16]
	mov	r2, #15
	str	r2, [r3, #4]
	b	.L236
.L219:
	ldr	r0, [fp, #-16]
	bl	mbedtls_ssl_handshake_wrapup
	b	.L236
.L218:
	ldr	r3, .L237
	b	.L215
.L236:
	ldr	r3, [fp, #-8]
.L215:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L238:
	.align	2
.L237:
	.word	-28928
	.size	mbedtls_ssl_handshake_client_step, .-mbedtls_ssl_handshake_client_step
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
