	.file	"extr_ngx_http_tfs_block_cache.c_ngx_http_tfs_block_cache_batch_lookup.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ngx_http_tfs_block_cache_batch_lookup
	.type	ngx_http_tfs_block_cache_batch_lookup, @function
ngx_http_tfs_block_cache_batch_lookup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edx, DWORD PTR [rdi]
	mov	ecx, DWORD PTR NGX_HTTP_TFS_REMOTE_BLOCK_CACHE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	edx, DWORD PTR NGX_HTTP_TFS_LOCAL_BLOCK_CACHE[rip]
	mov	rax, QWORD PTR NGX_DECLINED[rip]
	je	.L20
.L2:
	cmp	edx, ecx
	je	.L21
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rdi]
	mov	DWORD PTR [rdi], ecx
	test	edx, esi
	jne	.L23
.L3:
	mov	rdx, QWORD PTR NGX_HTTP_TFS_NO_BLOCK_CACHE[rip]
	mov	DWORD PTR [rbx], edx
	test	ecx, esi
	je	.L1
	mov	r9, QWORD PTR 8[rbx]
	mov	rdx, QWORD PTR 0[rbp]
	mov	ecx, 8
	sub	rdx, QWORD PTR [r8]
	lea	r8, 16[rsp]
	mov	esi, DWORD PTR 24[r9]
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR [rsp], r8
	call	ngx_array_init@PLT
	cmp	QWORD PTR NGX_ERROR[rip], rax
	je	.L1
	mov	r9, QWORD PTR 8[rsp]
	xor	r15d, r15d
	mov	r8, QWORD PTR [rsp]
	mov	r14, QWORD PTR 8[r9]
	sal	r14, 4
	add	r14, QWORD PTR 16[r9]
	cmp	QWORD PTR 0[rbp], 0
	jg	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	add	r15, 1
	add	r14, 16
	cmp	QWORD PTR 0[rbp], r15
	jle	.L7
.L5:
	mov	rax, QWORD PTR NGX_HTTP_TFS_NO_BLOCK_CACHE[rip]
	cmp	QWORD PTR [r14], rax
	jne	.L6
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r9
	mov	QWORD PTR [rsp], r8
	call	ngx_array_push@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR [rsp]
	mov	edx, DWORD PTR [r9]
	mov	DWORD PTR 4[rax], edx
	mov	edx, DWORD PTR 8[r14]
	mov	DWORD PTR [rax], edx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 16[rdi]
	mov	rcx, rbp
	mov	rdx, r13
	mov	rsi, r12
	mov	QWORD PTR [rsp], r8
	call	ngx_http_tfs_local_block_cache_batch_lookup@PLT
	cmp	QWORD PTR NGX_OK[rip], rax
	je	.L1
	cmp	QWORD PTR NGX_ERROR[rip], rax
	je	.L1
	mov	edx, DWORD PTR [rbx]
	mov	ecx, DWORD PTR NGX_HTTP_TFS_REMOTE_BLOCK_CACHE[rip]
	mov	r8, QWORD PTR [rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR 4[rbx]
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rdi, 8[rbx]
	mov	rcx, r8
	mov	rdx, r13
	mov	rsi, r12
	call	ngx_http_tfs_remote_block_cache_batch_lookup@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_tfs_block_cache_batch_lookup, .-ngx_http_tfs_block_cache_batch_lookup
	.comm	NGX_OK,8,8
	.comm	NGX_HTTP_TFS_REMOTE_BLOCK_CACHE,4,4
	.comm	NGX_HTTP_TFS_NO_BLOCK_CACHE,8,8
	.comm	NGX_HTTP_TFS_LOCAL_BLOCK_CACHE,4,4
	.comm	NGX_ERROR,8,8
	.comm	NGX_DECLINED,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_http_tfs_block_cache.c_ngx_http_tfs_block_cache_batch_lookup.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ngx_http_tfs_block_cache_batch_lookup
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_tfs_block_cache_batch_lookup, %function
ngx_http_tfs_block_cache_batch_lookup:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r0, .L23
	ldr	ip, [r4]
	ldr	lr, [r0]
	ldr	r8, .L23+4
	ldr	r0, .L23+8
	cmp	ip, lr
	ldr	lr, .L23+12
	sub	sp, sp, #20
	ldr	lr, [lr]
	str	lr, [sp, #12]
	mov	lr,#0
	mov	r6, r1
	mov	r7, r2
	mov	r5, r3
	ldr	r0, [r0]
	ldr	lr, [r8]
	ldr	r9, [sp, #56]
	beq	.L19
.L2:
	cmp	lr, ip
	beq	.L20
.L1:
	ldr	r3, .L23+12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	ldr	r10, [r4, #4]
	str	lr, [r4]
	tst	ip, r10
	bne	.L22
.L3:
	ldr	r8, .L23+16
	tst	lr, r10
	ldr	r3, [r8]
	str	r3, [r4]
	beq	.L1
	ldr	r3, [r9]
	ldr	r2, [r5]
	ldr	r10, [r4, #8]
	sub	r2, r2, r3
	ldr	r1, [r10, #12]
	mov	r3, #8
	add	r0, sp, #8
	bl	ngx_array_init
	ldr	r3, .L23+20
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	ldr	r1, [r5]
	ldr	r3, [r10, #4]
	cmp	r1, #0
	ldr	r9, [r10, #8]
	addgt	r3, r3, #1
	movgt	fp, #0
	addgt	r9, r9, r3, lsl #3
	bgt	.L7
	b	.L8
.L6:
	add	fp, fp, #1
	cmp	r1, fp
	add	r9, r9, #8
	ble	.L8
.L7:
	ldr	r2, [r9, #-8]
	ldr	r3, [r8]
	cmp	r2, r3
	bne	.L6
	add	r0, sp, #8
	bl	ngx_array_push
	ldr	r3, [r10]
	ldr	r1, [r5]
	str	r3, [r0, #4]
	ldr	r3, [r9, #-4]
	str	r3, [r0]
	b	.L6
.L22:
	str	r9, [sp]
	ldr	r0, [r4, #12]
	bl	ngx_http_tfs_local_block_cache_batch_lookup
	ldr	r3, .L23+24
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	ldr	r3, .L23+20
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L1
	ldr	lr, [r8]
	ldr	ip, [r4]
	b	.L2
.L20:
	ldr	r10, [r4, #4]
	b	.L3
.L8:
	mov	r2, r7
	mov	r1, r6
	add	r3, sp, #8
	add	r0, r4, #8
	bl	ngx_http_tfs_remote_block_cache_batch_lookup
	b	.L1
.L21:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	NGX_HTTP_TFS_LOCAL_BLOCK_CACHE
	.word	NGX_HTTP_TFS_REMOTE_BLOCK_CACHE
	.word	NGX_DECLINED
	.word	.LC0
	.word	NGX_HTTP_TFS_NO_BLOCK_CACHE
	.word	NGX_ERROR
	.word	NGX_OK
	.size	ngx_http_tfs_block_cache_batch_lookup, .-ngx_http_tfs_block_cache_batch_lookup
	.comm	NGX_OK,4,4
	.comm	NGX_HTTP_TFS_REMOTE_BLOCK_CACHE,4,4
	.comm	NGX_HTTP_TFS_NO_BLOCK_CACHE,4,4
	.comm	NGX_HTTP_TFS_LOCAL_BLOCK_CACHE,4,4
	.comm	NGX_ERROR,4,4
	.comm	NGX_DECLINED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
