	.file	"extr_bss_conn.c_conn_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	conn_write, @function
conn_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rsi, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR BIO_CONN_S_OK[rip]
	cmp	QWORD PTR [rsi], rax
	je	.L5
	call	conn_state@PLT
	mov	r12d, eax
	test	eax, eax
	jle	.L1
.L5:
	xor	eax, eax
	call	clear_socket_error@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	edx, r14d
	mov	rsi, r13
	call	writesocket@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	BIO_clear_retry_flags@PLT
	test	r12d, r12d
	jle	.L11
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L11:
	.cfi_restore_state
	mov	edi, r12d
	call	BIO_sock_should_retry@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	call	BIO_set_retry_write@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	conn_write, .-conn_write
	.comm	BIO_CONN_S_OK,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_bss_conn.c_conn_write.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	conn_write, %function
conn_write:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	ldr	ip, .L12
	push	{r4, r5, r6, r7, r8, lr}
	ldr	ip, [ip]
	ldr	lr, [r3]
	mov	r5, r0
	cmp	lr, ip
	mov	r6, r1
	mov	r7, r2
	beq	.L5
	mov	r1, r3
	bl	conn_state
	subs	r4, r0, #0
	ble	.L1
.L5:
	bl	clear_socket_error
	mov	r2, r7
	mov	r1, r6
	ldr	r0, [r5]
	bl	writesocket
	mov	r4, r0
	mov	r0, r5
	bl	BIO_clear_retry_flags
	cmp	r4, #0
	ble	.L11
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, r4
	bl	BIO_sock_should_retry
	cmp	r0, #0
	beq	.L1
	mov	r0, r5
	bl	BIO_set_retry_write
	b	.L1
.L13:
	.align	2
.L12:
	.word	BIO_CONN_S_OK
	.size	conn_write, .-conn_write
	.comm	BIO_CONN_S_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
