	.file	"extr_ngx_stream_ssl_module.c_ngx_stream_ssl_init_connection.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ngx_stream_ssl_init_connection, @function
ngx_stream_ssl_init_connection:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	r12, QWORD PTR 16[rsi]
	mov	rbx, rsi
	mov	esi, DWORD PTR ngx_stream_core_module[rip]
	mov	rdi, r12
	call	ngx_stream_get_module_srv_conf@PLT
	cmp	QWORD PTR [rax], 0
	je	.L2
	mov	rdi, rbx
	call	ngx_tcp_nodelay@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L2
.L7:
	mov	rax, QWORD PTR NGX_ERROR[rip]
.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
.L2:
	.cfi_restore_state
	xor	edx, edx
	mov	rsi, rbx
	mov	rdi, rbp
	call	ngx_ssl_create_connection@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	jne	.L7
	mov	rdi, rbx
	call	ngx_ssl_handshake@PLT
	cmp	QWORD PTR NGX_ERROR[rip], rax
	je	.L1
	cmp	QWORD PTR NGX_AGAIN[rip], rax
	je	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, QWORD PTR NGX_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR ngx_stream_ssl_module[rip]
	mov	rdi, r12
	call	ngx_stream_get_module_srv_conf@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR [rax]
	call	ngx_add_timer@PLT
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR ngx_stream_ssl_handshake_handler[rip]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR NGX_AGAIN[rip]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ngx_stream_ssl_init_connection, .-ngx_stream_ssl_init_connection
	.comm	ngx_stream_ssl_module,4,4
	.comm	ngx_stream_ssl_handshake_handler,4,4
	.comm	ngx_stream_core_module,4,4
	.comm	NGX_OK,8,8
	.comm	NGX_ERROR,8,8
	.comm	NGX_AGAIN,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_ngx_stream_ssl_module.c_ngx_stream_ssl_init_connection.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_stream_ssl_init_connection, %function
ngx_stream_ssl_init_connection:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r2, .L13
	ldr	r7, [r1, #8]
	mov	r4, r1
	mov	r5, r0
	ldr	r1, [r2]
	mov	r0, r7
	bl	ngx_stream_get_module_srv_conf
	ldr	r3, [r0]
	cmp	r3, #0
	bne	.L8
	ldr	r6, .L13+4
.L2:
	mov	r0, r5
	mov	r2, #0
	mov	r1, r4
	bl	ngx_ssl_create_connection
	ldr	r3, [r6]
	cmp	r0, r3
	beq	.L4
.L10:
	ldr	r3, .L13+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r4
	bl	ngx_tcp_nodelay
	ldr	r6, .L13+4
	ldr	r3, [r6]
	cmp	r0, r3
	beq	.L2
	b	.L10
.L4:
	mov	r0, r4
	bl	ngx_ssl_handshake
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, r0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r5, .L13+12
	ldr	r3, [r5]
	cmp	r3, r0
	beq	.L12
	ldr	r0, [r6]
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	ldr	r3, .L13+16
	mov	r0, r7
	ldr	r1, [r3]
	bl	ngx_stream_get_module_srv_conf
	mov	r3, r0
	ldr	r0, [r4, #4]
	ldr	r1, [r3]
	bl	ngx_add_timer
	ldr	r2, .L13+20
	ldr	r3, [r4]
	ldr	r2, [r2]
	ldr	r0, [r5]
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	.align	2
.L13:
	.word	ngx_stream_core_module
	.word	NGX_OK
	.word	NGX_ERROR
	.word	NGX_AGAIN
	.word	ngx_stream_ssl_module
	.word	ngx_stream_ssl_handshake_handler
	.size	ngx_stream_ssl_init_connection, .-ngx_stream_ssl_init_connection
	.comm	ngx_stream_ssl_module,4,4
	.comm	ngx_stream_ssl_handshake_handler,4,4
	.comm	ngx_stream_core_module,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.comm	NGX_AGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
