	.file	"extr_remote.c_ssl_print_text.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"warning, in SSL_write, peer closed connection"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"could not SSL_write"
.LC2:
	.string	"could not send: %s"
	.text
	.p2align 4
	.globl	ssl_print_text
	.type	ssl_print_text, @function
ssl_print_text:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L10
	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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	xor	ebx, ebx
	cmp	QWORD PTR 8[rdi], 0
	jne	.L18
.L3:
	mov	rdi, rbp
	call	strlen@PLT
	cmp	rax, rbx
	jbe	.L9
.L8:
	sub	rax, rbx
	mov	edi, DWORD PTR [r12]
	xor	ecx, ecx
	lea	rsi, 0[rbp+rbx]
	mov	rdx, rax
	call	send@PLT
	cmp	eax, -1
	je	.L19
	cdqe
	mov	rdi, rbp
	add	rbx, rax
	call	strlen@PLT
	cmp	rax, rbx
	ja	.L8
.L9:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	rdi, QWORD PTR errno[rip]
	cmp	rdi, QWORD PTR EAGAIN[rip]
	je	.L3
	cmp	rdi, QWORD PTR EINTR[rip]
	je	.L3
	call	strerror@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	call	log_err@PLT
	xor	eax, eax
.L1:
	pop	rbx
	.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
.L18:
	.cfi_restore_state
	xor	eax, eax
	call	ERR_clear_error@PLT
	mov	rdi, rbp
	call	strlen@PLT
	mov	rdi, QWORD PTR 8[r12]
	mov	rsi, rbp
	mov	rdx, rax
	call	SSL_write@PLT
	test	eax, eax
	jg	.L9
	mov	rdi, QWORD PTR 8[r12]
	mov	esi, eax
	call	SSL_get_error@PLT
	cmp	rax, QWORD PTR SSL_ERROR_ZERO_RETURN[rip]
	je	.L20
	lea	rdi, .LC1[rip]
	call	log_crypto_err@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	xor	eax, eax
	ret
.L20:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	edi, DWORD PTR VERB_QUERY[rip]
	lea	rsi, .LC0[rip]
	call	verbose@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ssl_print_text, .-ssl_print_text
	.comm	errno,8,8
	.comm	VERB_QUERY,4,4
	.comm	SSL_ERROR_ZERO_RETURN,8,8
	.comm	EINTR,8,8
	.comm	EAGAIN,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_remote.c_ssl_print_text.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"warning, in SSL_write, peer closed connection\000"
	.align	2
.LC1:
	.ascii	"could not SSL_write\000"
	.align	2
.LC2:
	.ascii	"could not send: %s\000"
	.text
	.align	2
	.global	ssl_print_text
	.syntax unified
	.arm
	.fpu softvfp
	.type	ssl_print_text, %function
ssl_print_text:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r6, r0, #0
	moveq	r7, r6
	beq	.L1
	ldr	r7, [r6, #4]
	mov	r5, r1
	cmp	r7, #0
	bne	.L14
	mov	r4, r7
	ldr	r9, .L16
	ldr	r8, .L16+4
	ldr	r10, .L16+8
.L3:
	mov	r0, r5
	bl	strlen
	cmp	r0, r4
	add	r1, r5, r4
	sub	r2, r0, r4
	bls	.L9
	mov	r3, #0
	ldr	r0, [r6]
	bl	send
	cmn	r0, #1
	addne	r4, r4, r0
	bne	.L3
	ldr	r0, [r9]
	ldr	r3, [r8]
	cmp	r0, r3
	beq	.L3
	ldr	r3, [r10]
	cmp	r0, r3
	beq	.L3
	bl	strerror
	mov	r1, r0
	ldr	r0, .L16+12
	bl	log_err
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	bl	ERR_clear_error
	mov	r0, r5
	bl	strlen
	mov	r1, r5
	mov	r2, r0
	ldr	r0, [r6, #4]
	bl	SSL_write
	subs	r1, r0, #0
	ble	.L4
.L9:
	mov	r7, #1
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r0, [r6, #4]
	bl	SSL_get_error
	ldr	r3, .L16+16
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L15
	ldr	r0, .L16+20
	bl	log_crypto_err
	mov	r7, #0
	b	.L1
.L15:
	ldr	r3, .L16+24
	ldr	r1, .L16+28
	ldr	r0, [r3]
	bl	verbose
	mov	r7, #0
	b	.L1
.L17:
	.align	2
.L16:
	.word	errno
	.word	EAGAIN
	.word	EINTR
	.word	.LC2
	.word	SSL_ERROR_ZERO_RETURN
	.word	.LC1
	.word	VERB_QUERY
	.word	.LC0
	.size	ssl_print_text, .-ssl_print_text
	.comm	errno,4,4
	.comm	VERB_QUERY,4,4
	.comm	SSL_ERROR_ZERO_RETURN,4,4
	.comm	EINTR,4,4
	.comm	EAGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
