	.file	"extr_unbound-anchor.c_read_ssl_line.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"line too long\n"
.LC1:
	.string	"could not SSL_read\n"
.LC2:
	.string	"error: stray linefeeds\n"
	.text
	.p2align 4
	.type	read_ssl_line, @function
read_ssl_line:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	rdx, rdx
	je	.L5
	mov	r15, rdi
	mov	r12, rsi
	mov	rbp, rdx
	xor	r13d, r13d
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L2:
	lea	r14, [r12+rbx]
	mov	edx, 1
	mov	rdi, r15
	mov	rsi, r14
	call	SSL_read@PLT
	test	eax, eax
	jle	.L24
	movzx	eax, BYTE PTR [r14]
	test	r13d, r13d
	je	.L9
	cmp	al, 10
	je	.L8
	cmp	QWORD PTR verb[rip], 0
	jne	.L25
.L22:
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	cmp	al, 13
	je	.L12
	cmp	al, 10
	je	.L8
	add	rbx, 1
.L10:
	cmp	rbx, rbp
	jb	.L2
.L5:
	cmp	QWORD PTR verb[rip], 0
	je	.L22
	lea	rdi, .LC0[rip]
	call	printf@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	r13d, 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L24:
	mov	esi, eax
	mov	rdi, r15
	call	SSL_get_error@PLT
	cmp	rax, QWORD PTR SSL_ERROR_ZERO_RETURN[rip]
	jne	.L26
.L8:
	mov	BYTE PTR [r14], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	cmp	QWORD PTR verb[rip], 0
	je	.L22
	lea	rdi, .LC1[rip]
	call	printf@PLT
	jmp	.L22
.L25:
	lea	rdi, .LC2[rip]
	call	printf@PLT
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	read_ssl_line, .-read_ssl_line
	.comm	verb,8,8
	.comm	SSL_ERROR_ZERO_RETURN,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_unbound-anchor.c_read_ssl_line.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"line too long\012\000"
	.align	2
.LC1:
	.ascii	"could not SSL_read\012\000"
	.align	2
.LC2:
	.ascii	"error: stray linefeeds\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_ssl_line, %function
read_ssl_line:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r7, r2, #0
	movne	r8, #0
	movne	r6, r0
	movne	r5, r1
	movne	r4, r8
	beq	.L5
.L2:
	add	r9, r5, r4
	mov	r1, r9
	mov	r2, #1
	mov	r0, r6
	bl	SSL_read
	cmp	r0, #0
	ble	.L28
	cmp	r8, #0
	ldrb	r3, [r5, r4]	@ zero_extendqisi2
	beq	.L9
	cmp	r3, #10
	beq	.L8
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
.L26:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	cmp	r3, #13
	beq	.L12
	cmp	r3, #10
	beq	.L8
	add	r4, r4, #1
.L10:
	cmp	r4, r7
	bcc	.L2
.L5:
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L31+4
	bl	printf
	b	.L26
.L12:
	mov	r8, #1
	b	.L10
.L28:
	mov	r1, r0
	mov	r0, r6
	bl	SSL_get_error
	ldr	r3, .L31+8
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L30
.L8:
	mov	r3, #0
	mov	r0, #1
	strb	r3, [r9]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L30:
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L31+12
	bl	printf
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L29:
	ldr	r0, .L31+16
	bl	printf
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L32:
	.align	2
.L31:
	.word	verb
	.word	.LC0
	.word	SSL_ERROR_ZERO_RETURN
	.word	.LC1
	.word	.LC2
	.size	read_ssl_line, .-read_ssl_line
	.comm	verb,4,4
	.comm	SSL_ERROR_ZERO_RETURN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
