	.file	"extr_httpd_sess.c_httpd_sess_close_lru.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fd = %d"
	.text
	.p2align 4
	.globl	httpd_sess_close_lru
	.type	httpd_sess_close_lru, @function
httpd_sess_close_lru:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR 8[rdi]
	mov	rsi, QWORD PTR UINT64_MAX[rip]
	test	edx, edx
	jle	.L7
	mov	rax, QWORD PTR [rdi]
	sub	edx, 1
	mov	ebp, -1
	sal	rdx, 4
	lea	rdi, 16[rax+rdx]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rcx, QWORD PTR 8[rax]
	cmp	rcx, rsi
	jge	.L5
	mov	ebp, edx
	mov	rsi, rcx
.L5:
	add	rax, 16
	cmp	rax, rdi
	je	.L2
.L6:
	mov	edx, DWORD PTR [rax]
	cmp	edx, -1
	jne	.L3
	mov	eax, DWORD PTR ESP_OK[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	mov	ebp, -1
.L2:
	lea	rdi, .LC0[rip]
	call	LOG_FMT@PLT
	mov	edi, DWORD PTR TAG[rip]
	mov	edx, ebp
	mov	esi, eax
	call	ESP_LOGD@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	esi, ebp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	httpd_sess_trigger_close@PLT
	.cfi_endproc
.LFE0:
	.size	httpd_sess_close_lru, .-httpd_sess_close_lru
	.comm	UINT64_MAX,8,8
	.comm	TAG,4,4
	.comm	ESP_OK,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_httpd_sess.c_httpd_sess_close_lru.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fd = %d\000"
	.text
	.align	2
	.global	httpd_sess_close_lru
	.syntax unified
	.arm
	.fpu softvfp
	.type	httpd_sess_close_lru, %function
httpd_sess_close_lru:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, [r0, #4]
	ldr	r3, .L12
	cmp	r5, #0
	mov	r7, r0
	ldr	r1, [r3]
	ble	.L7
	ldr	r2, [r0]
	mov	r3, #0
	mvn	r4, #0
	add	r6, r2, #4
	b	.L6
.L3:
	ldr	lr, [r6, r3, lsl #3]
	add	r3, r3, #1
	cmp	lr, r1
	movlt	r4, ip
	movlt	r1, lr
	cmp	r3, r5
	beq	.L2
.L6:
	ldr	ip, [r2, r3, lsl #3]
	cmn	ip, #1
	bne	.L3
	ldr	r3, .L12+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mvn	r4, #0
.L2:
	ldr	r3, .L12+8
	ldr	r0, .L12+12
	ldr	r5, [r3]
	bl	LOG_FMT
	mov	r2, r4
	mov	r1, r0
	mov	r0, r5
	bl	ESP_LOGD
	mov	r1, r4
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	httpd_sess_trigger_close
.L13:
	.align	2
.L12:
	.word	UINT64_MAX
	.word	ESP_OK
	.word	TAG
	.word	.LC0
	.size	httpd_sess_close_lru, .-httpd_sess_close_lru
	.comm	UINT64_MAX,4,4
	.comm	TAG,4,4
	.comm	ESP_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
