	.file	"extr_ngx_stream_proxy_module.c_ngx_stream_proxy_test_connect.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"connect() failed"
	.text
	.p2align 4
	.type	ngx_stream_proxy_test_connect, @function
ngx_stream_proxy_test_connect:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR SOL_SOCKET[rip]
	mov	edx, DWORD PTR SO_ERROR[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edi, DWORD PTR [rdi]
	mov	rcx, rsp
	lea	r8, 4[rsp]
	mov	DWORD PTR [rsp], 0
	mov	DWORD PTR 4[rsp], 4
	call	getsockopt@PLT
	mov	esi, DWORD PTR [rsp]
	cmp	eax, -1
	jne	.L3
	mov	esi, DWORD PTR ngx_socket_errno[rip]
	mov	DWORD PTR [rsp], esi
.L3:
	mov	eax, DWORD PTR NGX_OK[rip]
	test	esi, esi
	jne	.L10
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdx, .LC0[rip]
	mov	rdi, rbp
	call	ngx_connection_error@PLT
	mov	eax, DWORD PTR NGX_ERROR[rip]
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_stream_proxy_test_connect, .-ngx_stream_proxy_test_connect
	.comm	ngx_socket_errno,4,4
	.comm	ngx_event_flags,4,4
	.comm	SO_ERROR,4,4
	.comm	SOL_SOCKET,4,4
	.comm	NGX_USE_KQUEUE_EVENT,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,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_ngx_stream_proxy_module.c_ngx_stream_proxy_test_connect.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"connect() failed\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_stream_proxy_test_connect, %function
ngx_stream_proxy_test_connect:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	mov	ip, #4
	push	{r4, r5, lr}
	ldr	lr, .L11
	sub	sp, sp, #28
	ldr	r2, .L11+4
	ldr	r1, .L11+8
	ldr	lr, [lr]
	str	lr, [sp, #20]
	mov	lr,#0
	str	r3, [sp, #12]
	add	r3, sp, #16
	ldr	r1, [r1]
	ldr	r2, [r2]
	mov	r4, r0
	ldr	r0, [r0]
	str	r3, [sp]
	add	r3, sp, #12
	str	ip, [sp, #16]
	bl	getsockopt
	cmn	r0, #1
	ldreq	r3, .L11+12
	ldrne	r1, [sp, #12]
	ldreq	r1, [r3]
	streq	r1, [sp, #12]
	cmp	r1, #0
	bne	.L9
	ldr	r3, .L11+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	mov	r0, r4
	ldr	r2, .L11+20
	bl	ngx_connection_error
	ldr	r3, .L11+24
	ldr	r0, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	SO_ERROR
	.word	SOL_SOCKET
	.word	ngx_socket_errno
	.word	NGX_OK
	.word	.LC0
	.word	NGX_ERROR
	.size	ngx_stream_proxy_test_connect, .-ngx_stream_proxy_test_connect
	.comm	ngx_socket_errno,4,4
	.comm	ngx_event_flags,4,4
	.comm	SO_ERROR,4,4
	.comm	SOL_SOCKET,4,4
	.comm	NGX_USE_KQUEUE_EVENT,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
