	.file	"extr_ssl_engine.c_jump_handshake.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	jump_handshake, @function
jump_handshake:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	r14, 48[rdi]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r13, 8[rsp]
	lea	r12, 16[rsp]
.L9:
	mov	rsi, r13
	mov	rdi, rbx
	call	recvpld_buf@PLT
	mov	QWORD PTR 64[rbx], rax
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR BR_SSL_APPLICATION_DATA[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L2
	mov	QWORD PTR 8[rsp], 0
.L2:
	mov	rsi, r12
	mov	rdi, rbx
	call	sendpld_buf@PLT
	mov	QWORD PTR 40[rbx], rax
	mov	QWORD PTR 32[rbx], rax
	test	rax, rax
	je	.L16
	mov	rdi, rbx
	call	br_ssl_engine_has_pld_to_send@PLT
	test	rax, rax
	jne	.L5
.L16:
	mov	rdx, QWORD PTR 16[rsp]
.L4:
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, r14
	mov	QWORD PTR 16[rbx], rdx
	mov	DWORD PTR 24[rbx], ebp
	mov	QWORD PTR 8[rbx], rax
	call	[QWORD PTR 56[rbx]]
	mov	rdi, rbx
	call	br_ssl_engine_closed@PLT
	test	rax, rax
	jne	.L1
	mov	rsi, QWORD PTR 40[rbx]
	mov	rax, QWORD PTR 32[rbx]
	cmp	rsi, rax
	je	.L7
	sub	rsi, rax
	mov	rdi, rbx
	sar	rsi, 2
	call	sendpld_ack@PLT
.L7:
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR 8[rsp]
	cmp	rax, rsi
	je	.L1
	sub	rsi, rax
	mov	rdi, rbx
	call	recvpld_ack@PLT
	cmp	QWORD PTR 8[rbx], 0
	je	.L18
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	QWORD PTR 16[rsp], 0
	xor	edx, edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	xor	ebp, ebp
	jmp	.L9
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	jump_handshake, .-jump_handshake
	.comm	BR_SSL_APPLICATION_DATA,8,8
	.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_ssl_engine.c_jump_handshake.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jump_handshake, %function
jump_handshake:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L19
	sub	sp, sp, #16
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r8, #0
	ldr	r7, .L19+4
	add	r6, r0, #24
.L9:
	mov	r0, r4
	add	r1, sp, #4
	bl	recvpld_buf
	cmp	r0, #0
	str	r0, [r4, #32]
	beq	.L2
	ldr	r2, [r4]
	ldr	r3, [r7]
	cmp	r2, r3
	streq	r8, [sp, #4]
.L2:
	mov	r0, r4
	add	r1, sp, #8
	bl	sendpld_buf
	cmp	r0, #0
	str	r0, [r4, #20]
	str	r0, [r4, #16]
	beq	.L16
	mov	r0, r4
	bl	br_ssl_engine_has_pld_to_send
	cmp	r0, #0
	movne	r2, #0
	strne	r8, [sp, #8]
	beq	.L16
.L4:
	ldr	r3, [sp, #4]
	str	r2, [r4, #8]
	str	r5, [r4, #12]
	str	r3, [r4, #4]
	mov	r0, r6
	ldr	r3, [r4, #28]
	blx	r3
	mov	r0, r4
	bl	br_ssl_engine_closed
	subs	r5, r0, #0
	bne	.L1
	ldr	r1, [r4, #20]
	ldr	r3, [r4, #16]
	cmp	r1, r3
	beq	.L7
	sub	r1, r1, r3
	mov	r0, r4
	asr	r1, r1, #2
	bl	sendpld_ack
.L7:
	ldr	r3, [r4, #4]
	ldr	r1, [sp, #4]
	cmp	r3, r1
	beq	.L1
	sub	r1, r1, r3
	mov	r0, r4
	bl	recvpld_ack
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L9
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r2, [sp, #8]
	b	.L4
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	BR_SSL_APPLICATION_DATA
	.size	jump_handshake, .-jump_handshake
	.comm	BR_SSL_APPLICATION_DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
