	.file	"extr_ngx_http_lua_util.c_ngx_http_lua_close_fake_connection.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"http lua close fake http connection %p"
	.text
	.p2align 4
	.globl	ngx_http_lua_close_fake_connection
	.type	ngx_http_lua_close_fake_connection, @function
ngx_http_lua_close_fake_connection:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8, rdi
	xor	edx, edx
	lea	rcx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	esi, DWORD PTR 40[rdi]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_HTTP[rip]
	call	ngx_log_debug1@PLT
	mov	rdi, QWORD PTR 24[rbx]
	mov	DWORD PTR [rbx], 1
	mov	r12, QWORD PTR 32[rbx]
	cmp	QWORD PTR 8[rdi], 0
	jne	.L15
.L2:
	mov	rdi, QWORD PTR 16[rbx]
	cmp	QWORD PTR 8[rdi], 0
	jne	.L16
.L3:
	mov	rax, QWORD PTR 24[rbx]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR ngx_cycle[rip]
	mov	DWORD PTR [rdi], 1
	mov	rbp, QWORD PTR [rax]
	mov	QWORD PTR 8[rbx], 0
	test	rbp, rbp
	je	.L4
	mov	rbp, QWORD PTR 0[rbp]
.L4:
	mov	rdi, rbx
	call	ngx_free_connection@PLT
	mov	rax, QWORD PTR ngx_cycle[rip]
	mov	QWORD PTR 8[rbx], -1
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L5
	mov	QWORD PTR [rax], rbp
.L5:
	test	r12, r12
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ngx_destroy_pool@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	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
.L16:
	.cfi_restore_state
	call	ngx_del_timer@PLT
	mov	rdi, QWORD PTR 16[rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	call	ngx_del_timer@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ngx_http_lua_close_fake_connection, .-ngx_http_lua_close_fake_connection
	.comm	ngx_cycle,8,8
	.comm	NGX_LOG_DEBUG_HTTP,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_http_lua_util.c_ngx_http_lua_close_fake_connection.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"http lua close fake http connection %p\000"
	.text
	.align	2
	.global	ngx_http_lua_close_fake_connection
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_lua_close_fake_connection, %function
ngx_http_lua_close_fake_connection:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L23
	sub	sp, sp, #12
	mov	r4, r0
	str	r0, [sp]
	ldr	r1, [r0, #20]
	mov	r2, #0
	ldr	r0, [r3]
	ldr	r3, .L23+4
	bl	ngx_log_debug1
	mov	r3, #1
	ldr	r0, [r4, #12]
	str	r3, [r4]
	ldr	r3, [r0, #4]
	ldr	r7, [r4, #16]
	cmp	r3, #0
	bne	.L21
.L2:
	ldr	r0, [r4, #8]
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bne	.L22
.L3:
	mov	r3, #1
	mov	r2, #0
	ldr	r6, .L23+8
	ldr	ip, [r4, #12]
	ldr	r1, [r6]
	str	r3, [ip]
	ldr	r5, [r1]
	str	r3, [r0]
	cmp	r5, r2
	str	r2, [r4, #4]
	mov	r0, r4
	ldrne	r5, [r5]
	bl	ngx_free_connection
	mvn	r2, #0
	ldr	r3, [r6]
	str	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	strne	r5, [r3]
	cmp	r7, #0
	beq	.L1
	mov	r0, r7
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	ngx_destroy_pool
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L22:
	bl	ngx_del_timer
	ldr	r0, [r4, #8]
	b	.L3
.L21:
	bl	ngx_del_timer
	b	.L2
.L24:
	.align	2
.L23:
	.word	NGX_LOG_DEBUG_HTTP
	.word	.LC0
	.word	ngx_cycle
	.size	ngx_http_lua_close_fake_connection, .-ngx_http_lua_close_fake_connection
	.comm	ngx_cycle,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
