	.file	"extr_extensions_srvr.c_tls_parse_ctos_renegotiate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tls_parse_ctos_renegotiate
	.type	tls_parse_ctos_renegotiate, @function
tls_parse_ctos_renegotiate:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	rdi, rbp
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rsi, 12[rsp]
	call	PACKET_get_1@PLT
	test	eax, eax
	je	.L4
	mov	edx, DWORD PTR 12[rsp]
	lea	rsi, 16[rsp]
	mov	rdi, rbp
	call	PACKET_get_bytes@PLT
	test	eax, eax
	je	.L4
	mov	edx, DWORD PTR [r12]
	cmp	edx, DWORD PTR 12[rsp]
	jne	.L12
	mov	esi, DWORD PTR 8[r12]
	mov	rdi, QWORD PTR 16[rsp]
	call	memcmp@PLT
	test	rax, rax
	jne	.L12
	mov	DWORD PTR 4[r12], 1
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	ecx, DWORD PTR SSL_R_RENEGOTIATION_ENCODING_ERR[rip]
	mov	edx, DWORD PTR SSL_F_TLS_PARSE_CTOS_RENEGOTIATE[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR SSL_AD_DECODE_ERROR[rip]
	call	SSLfatal@PLT
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	ecx, DWORD PTR SSL_R_RENEGOTIATION_MISMATCH[rip]
	mov	edx, DWORD PTR SSL_F_TLS_PARSE_CTOS_RENEGOTIATE[rip]
	mov	rdi, r12
	mov	esi, DWORD PTR SSL_AD_HANDSHAKE_FAILURE[rip]
	call	SSLfatal@PLT
	xor	eax, eax
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tls_parse_ctos_renegotiate, .-tls_parse_ctos_renegotiate
	.comm	SSL_R_RENEGOTIATION_MISMATCH,4,4
	.comm	SSL_R_RENEGOTIATION_ENCODING_ERR,4,4
	.comm	SSL_F_TLS_PARSE_CTOS_RENEGOTIATE,4,4
	.comm	SSL_AD_HANDSHAKE_FAILURE,4,4
	.comm	SSL_AD_DECODE_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_extensions_srvr.c_tls_parse_ctos_renegotiate.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tls_parse_ctos_renegotiate
	.syntax unified
	.arm
	.fpu softvfp
	.type	tls_parse_ctos_renegotiate, %function
tls_parse_ctos_renegotiate:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r1
	sub	sp, sp, #20
	ldr	r3, .L16
	mov	r5, r0
	add	r1, sp, #4
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	PACKET_get_1
	cmp	r0, #0
	beq	.L4
	mov	r0, r4
	ldr	r2, [sp, #4]
	add	r1, sp, #8
	bl	PACKET_get_bytes
	cmp	r0, #0
	beq	.L4
	ldr	r2, [r5]
	ldr	r3, [sp, #4]
	cmp	r2, r3
	bne	.L12
	ldr	r1, [r5, #8]
	ldr	r0, [sp, #8]
	bl	memcmp
	cmp	r0, #0
	moveq	r3, #1
	moveq	r0, r3
	streq	r3, [r5, #4]
	beq	.L1
.L12:
	ldr	r3, .L16+4
	ldr	r2, .L16+8
	ldr	r1, .L16+12
	b	.L13
.L4:
	ldr	r3, .L16+16
	ldr	r2, .L16+8
	ldr	r1, .L16+20
.L13:
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	SSLfatal
	mov	r0, #0
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	SSL_R_RENEGOTIATION_MISMATCH
	.word	SSL_F_TLS_PARSE_CTOS_RENEGOTIATE
	.word	SSL_AD_HANDSHAKE_FAILURE
	.word	SSL_R_RENEGOTIATION_ENCODING_ERR
	.word	SSL_AD_DECODE_ERROR
	.size	tls_parse_ctos_renegotiate, .-tls_parse_ctos_renegotiate
	.comm	SSL_R_RENEGOTIATION_MISMATCH,4,4
	.comm	SSL_R_RENEGOTIATION_ENCODING_ERR,4,4
	.comm	SSL_F_TLS_PARSE_CTOS_RENEGOTIATE,4,4
	.comm	SSL_AD_HANDSHAKE_FAILURE,4,4
	.comm	SSL_AD_DECODE_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
