	.file	"extr_statem_clnt.c_tls_process_hello_req.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tls_process_hello_req
	.type	tls_process_hello_req, @function
tls_process_hello_req:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	rdi, rsi
	call	PACKET_remaining@PLT
	test	rax, rax
	jg	.L9
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR SSL_OP_NO_RENEGOTIATION[rip], eax
	jne	.L10
	mov	rdi, rbp
	call	SSL_IS_DTLS@PLT
	mov	rdi, rbp
	test	rax, rax
	je	.L5
	call	SSL_renegotiate@PLT
.L6:
	mov	eax, DWORD PTR MSG_PROCESS_FINISHED_READING[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edx, DWORD PTR SSL_AD_NO_RENEGOTIATION[rip]
	mov	esi, DWORD PTR SSL3_AL_WARNING[rip]
	mov	rdi, rbp
	call	ssl3_send_alert@PLT
	mov	eax, DWORD PTR MSG_PROCESS_FINISHED_READING[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	ecx, DWORD PTR SSL_R_LENGTH_MISMATCH[rip]
	mov	edx, DWORD PTR SSL_F_TLS_PROCESS_HELLO_REQ[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR SSL_AD_DECODE_ERROR[rip]
	call	SSLfatal@PLT
	mov	eax, DWORD PTR MSG_PROCESS_ERROR[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	SSL_renegotiate_abbreviated@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	tls_process_hello_req, .-tls_process_hello_req
	.comm	SSL_R_LENGTH_MISMATCH,4,4
	.comm	SSL_OP_NO_RENEGOTIATION,4,4
	.comm	SSL_F_TLS_PROCESS_HELLO_REQ,4,4
	.comm	SSL_AD_NO_RENEGOTIATION,4,4
	.comm	SSL_AD_DECODE_ERROR,4,4
	.comm	SSL3_AL_WARNING,4,4
	.comm	MSG_PROCESS_FINISHED_READING,4,4
	.comm	MSG_PROCESS_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_statem_clnt.c_tls_process_hello_req.c"
	.text
	.align	2
	.global	tls_process_hello_req
	.syntax unified
	.arm
	.fpu softvfp
	.type	tls_process_hello_req, %function
tls_process_hello_req:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	mov	r0, r1
	bl	PACKET_remaining
	cmp	r0, #0
	bgt	.L9
	ldr	r3, .L11
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L10
	mov	r0, r4
	bl	SSL_IS_DTLS
	cmp	r0, #0
	mov	r0, r4
	beq	.L5
	bl	SSL_renegotiate
.L6:
	ldr	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L10:
	ldr	r3, .L11+8
	ldr	r2, .L11+12
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	ssl3_send_alert
	ldr	r3, .L11+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L9:
	ldr	r3, .L11+16
	ldr	r2, .L11+20
	ldr	r1, .L11+24
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	SSLfatal
	ldr	r3, .L11+28
	ldr	r0, [r3]
	pop	{r4, pc}
.L5:
	bl	SSL_renegotiate_abbreviated
	b	.L6
.L12:
	.align	2
.L11:
	.word	SSL_OP_NO_RENEGOTIATION
	.word	MSG_PROCESS_FINISHED_READING
	.word	SSL3_AL_WARNING
	.word	SSL_AD_NO_RENEGOTIATION
	.word	SSL_R_LENGTH_MISMATCH
	.word	SSL_F_TLS_PROCESS_HELLO_REQ
	.word	SSL_AD_DECODE_ERROR
	.word	MSG_PROCESS_ERROR
	.size	tls_process_hello_req, .-tls_process_hello_req
	.comm	SSL_R_LENGTH_MISMATCH,4,4
	.comm	SSL_OP_NO_RENEGOTIATION,4,4
	.comm	SSL_F_TLS_PROCESS_HELLO_REQ,4,4
	.comm	SSL_AD_NO_RENEGOTIATION,4,4
	.comm	SSL_AD_DECODE_ERROR,4,4
	.comm	SSL3_AL_WARNING,4,4
	.comm	MSG_PROCESS_FINISHED_READING,4,4
	.comm	MSG_PROCESS_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
