	.file	"extr_10072.c_setup_ssl_io.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"setup_ssl_ctx:SSL_new"
.LC1:
	.string	"setup_ssl_ctx:BIO_new_socket"
	.text
	.p2align 4
	.globl	setup_ssl_io
	.type	setup_ssl_io, @function
setup_ssl_io:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	call	SSL_new@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L6
.L2:
	mov	esi, DWORD PTR BIO_NOCLOSE[rip]
	mov	edi, r12d
	call	BIO_new_socket@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L7
.L3:
	mov	rdi, rbx
	mov	rdx, rsi
	call	SSL_set_bio@PLT
	mov	rdi, rbx
	call	SSL_set_connect_state@PLT
	mov	QWORD PTR 8[rbp], rbx
	mov	DWORD PTR 0[rbp], r12d
	mov	DWORD PTR 4[rbp], r13d
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	fail@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rdi, .LC1[rip]
	mov	QWORD PTR 8[rsp], rax
	call	fail@PLT
	mov	rsi, QWORD PTR 8[rsp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	setup_ssl_io, .-setup_ssl_io
	.comm	BIO_NOCLOSE,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_10072.c_setup_ssl_io.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"setup_ssl_ctx:SSL_new\000"
	.align	2
.LC1:
	.ascii	"setup_ssl_ctx:BIO_new_socket\000"
	.text
	.align	2
	.global	setup_ssl_io
	.syntax unified
	.arm
	.fpu softvfp
	.type	setup_ssl_io, %function
setup_ssl_io:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r0
	sub	sp, sp, #12
	mov	r0, r1
	mov	r6, r2
	mov	r7, r3
	bl	SSL_new
	subs	r4, r0, #0
	beq	.L6
.L2:
	ldr	r3, .L8
	mov	r0, r6
	ldr	r1, [r3]
	bl	BIO_new_socket
	subs	r2, r0, #0
	beq	.L7
.L3:
	mov	r1, r2
	mov	r0, r4
	bl	SSL_set_bio
	mov	r0, r4
	bl	SSL_set_connect_state
	stm	r5, {r6, r7}
	str	r4, [r5, #8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	ldr	r0, .L8+4
	bl	fail
	b	.L2
.L7:
	ldr	r0, .L8+8
	str	r2, [sp, #4]
	bl	fail
	ldr	r2, [sp, #4]
	b	.L3
.L9:
	.align	2
.L8:
	.word	BIO_NOCLOSE
	.word	.LC0
	.word	.LC1
	.size	setup_ssl_io, .-setup_ssl_io
	.comm	BIO_NOCLOSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
