	.file	"extr_ngx_thread_pool.c_ngx_thread_pool_handler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"thread pool handler"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"run completion handler for task #%ui"
	.text
	.p2align 4
	.type	ngx_thread_pool_handler, @function
ngx_thread_pool_handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	lea	rcx, .LC0[rip]
	xor	edx, edx
	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	esi, DWORD PTR 24[rdi]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_CORE[rip]
	call	ngx_log_debug0@PLT
	mov	edx, 2048
	mov	esi, 1
	lea	rdi, ngx_thread_pool_done_lock[rip]
	call	ngx_spinlock@PLT
	lea	rax, ngx_thread_pool_done[rip]
	mov	rbx, QWORD PTR ngx_thread_pool_done[rip]
	mov	QWORD PTR ngx_thread_pool_done[rip], 0
	mov	QWORD PTR ngx_thread_pool_done[rip+8], rax
	xor	eax, eax
	call	ngx_memory_barrier@PLT
	lea	rdi, ngx_thread_pool_done_lock[rip]
	call	ngx_unlock@PLT
	test	rbx, rbx
	je	.L1
	lea	r12, .LC1[rip]
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r8d, DWORD PTR 40[rbx]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_CORE[rip]
	xor	edx, edx
	mov	rcx, r12
	mov	esi, DWORD PTR 24[rbp]
	call	ngx_log_debug1@PLT
	mov	rax, rbx
	lea	rdi, 8[rbx]
	mov	rbx, QWORD PTR [rbx]
	mov	DWORD PTR 8[rax], 1
	mov	QWORD PTR 24[rax], 0
	call	[QWORD PTR 16[rax]]
	test	rbx, rbx
	jne	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_thread_pool_handler, .-ngx_thread_pool_handler
	.comm	ngx_thread_pool_done_lock,4,4
	.comm	ngx_thread_pool_done,16,16
	.comm	NGX_LOG_DEBUG_CORE,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_thread_pool.c_ngx_thread_pool_handler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"thread pool handler\000"
	.align	2
.LC1:
	.ascii	"run completion handler for task #%ui\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_thread_pool_handler, %function
ngx_thread_pool_handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r6, #0
	ldr	r7, .L10
	sub	sp, sp, #12
	ldr	r1, [r0, #12]
	ldr	r3, .L10+4
	mov	r2, r6
	mov	r5, r0
	ldr	r0, [r7]
	bl	ngx_log_debug0
	mov	r2, #2048
	mov	r1, #1
	ldr	r0, .L10+8
	bl	ngx_spinlock
	ldr	r3, .L10+12
	ldr	r4, [r3]
	str	r3, [r3, #4]
	str	r6, [r3]
	bl	ngx_memory_barrier
	ldr	r0, .L10+8
	bl	ngx_unlock
	cmp	r4, r6
	beq	.L1
	mov	r8, #1
	ldr	r9, .L10+16
.L3:
	ldr	r2, [r4, #20]
	mov	r3, r9
	str	r2, [sp]
	ldr	r1, [r5, #12]
	mov	r2, #0
	ldr	r0, [r7]
	bl	ngx_log_debug1
	mov	r2, r4
	add	r0, r4, #4
	ldr	r4, [r4]
	str	r8, [r2, #4]
	str	r6, [r2, #12]
	ldr	r2, [r2, #8]
	blx	r2
	cmp	r4, #0
	bne	.L3
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	NGX_LOG_DEBUG_CORE
	.word	.LC0
	.word	ngx_thread_pool_done_lock
	.word	ngx_thread_pool_done
	.word	.LC1
	.size	ngx_thread_pool_handler, .-ngx_thread_pool_handler
	.comm	ngx_thread_pool_done_lock,4,4
	.comm	ngx_thread_pool_done,8,4
	.comm	NGX_LOG_DEBUG_CORE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
