	.file	"extr_async.c_async_schedule_node_domain.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	async_schedule_node_domain
	.type	async_schedule_node_domain, @function
async_schedule_node_domain:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	mov	edi, 48
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	call	kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L4
	lea	rdi, entry_count[rip]
	call	atomic_read@PLT
	cmp	rax, QWORD PTR MAX_WORK[rip]
	jle	.L8
.L4:
	mov	rdi, rbp
	call	kfree@PLT
	xor	esi, esi
	lea	rdi, async_lock[rip]
	mov	QWORD PTR [rsp], rsi
	call	spin_lock_irqsave@PLT
	movsx	r12, DWORD PTR next_cookie[rip]
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, async_lock[rip]
	lea	eax, 1[r12]
	mov	DWORD PTR next_cookie[rip], eax
	call	spin_unlock_irqrestore@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	r14
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
.L8:
	.cfi_restore_state
	lea	r8, 8[rbp]
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], r8
	call	INIT_LIST_HEAD@PLT
	lea	r9, 4[rbp]
	mov	rdi, r9
	mov	QWORD PTR [rsp], r9
	call	INIT_LIST_HEAD@PLT
	mov	esi, DWORD PTR async_run_entry_fn[rip]
	mov	rdi, rbp
	call	INIT_WORK@PLT
	mov	QWORD PTR 40[rbp], r14
	xor	esi, esi
	lea	rdi, async_lock[rip]
	mov	QWORD PTR 32[rbp], r13
	mov	QWORD PTR 24[rbp], rbx
	call	spin_lock_irqsave@PLT
	movsx	r12, DWORD PTR next_cookie[rip]
	mov	r8, QWORD PTR 8[rsp]
	lea	rsi, 8[rbx]
	mov	QWORD PTR 16[rbp], r12
	lea	eax, 1[r12]
	mov	rdi, r8
	mov	DWORD PTR next_cookie[rip], eax
	call	list_add_tail@PLT
	cmp	QWORD PTR [rbx], 0
	mov	r9, QWORD PTR [rsp]
	jne	.L9
.L5:
	lea	rdi, entry_count[rip]
	call	atomic_inc@PLT
	xor	esi, esi
	lea	rdi, async_lock[rip]
	call	spin_unlock_irqrestore@PLT
	mov	rax, QWORD PTR current[rip]
	mov	edx, DWORD PTR PF_USED_ASYNC[rip]
	mov	edi, r15d
	or	DWORD PTR [rax], edx
	mov	esi, DWORD PTR system_unbound_wq[rip]
	mov	rdx, rbp
	call	queue_work_node@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rsi, async_global_pending[rip]
	mov	rdi, r9
	call	list_add_tail@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	async_schedule_node_domain, .-async_schedule_node_domain
	.comm	system_unbound_wq,4,4
	.comm	next_cookie,4,4
	.comm	entry_count,4,4
	.comm	current,8,8
	.comm	async_run_entry_fn,4,4
	.comm	async_lock,4,4
	.comm	async_global_pending,4,4
	.comm	PF_USED_ASYNC,4,4
	.comm	MAX_WORK,8,8
	.comm	GFP_ATOMIC,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_async.c_async_schedule_node_domain.c"
	.text
	.align	2
	.global	async_schedule_node_domain
	.syntax unified
	.arm
	.fpu softvfp
	.type	async_schedule_node_domain, %function
async_schedule_node_domain:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r1
	ldr	r1, .L13
	mov	r8, r0
	ldr	r1, [r1]
	mov	r0, #28
	mov	r9, r2
	mov	r6, r3
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L4
	ldr	r0, .L13+4
	bl	atomic_read
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r0, r3
	ble	.L11
.L4:
	mov	r5, #0
	mov	r0, r4
	bl	kfree
	mov	r1, r5
	ldr	r0, .L13+12
	bl	spin_lock_irqsave
	ldr	r3, .L13+16
	mov	r1, r5
	ldr	r5, [r3]
	ldr	r0, .L13+12
	add	r2, r5, #1
	str	r2, [r3]
	bl	spin_unlock_irqrestore
	mov	r1, r5
	mov	r0, r7
	blx	r8
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	add	r5, r4, #8
	mov	r0, r5
	add	r10, r4, #4
	bl	INIT_LIST_HEAD
	mov	r0, r10
	bl	INIT_LIST_HEAD
	ldr	r3, .L13+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	INIT_WORK
	mov	r1, #0
	ldr	r0, .L13+12
	str	r8, [r4, #24]
	str	r7, [r4, #20]
	str	r6, [r4, #16]
	bl	spin_lock_irqsave
	ldr	r3, .L13+16
	mov	r0, r5
	ldr	r5, [r3]
	add	r1, r6, #4
	add	r2, r5, #1
	str	r5, [r4, #12]
	str	r2, [r3]
	bl	list_add_tail
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L12
.L5:
	ldr	r0, .L13+4
	bl	atomic_inc
	mov	r1, #0
	ldr	r0, .L13+12
	bl	spin_unlock_irqrestore
	ldr	r2, .L13+24
	ldr	r3, .L13+28
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r3, [r2]
	ldr	r1, .L13+32
	orr	r3, r3, r0
	str	r3, [r2]
	mov	r0, r9
	mov	r2, r4
	ldr	r1, [r1]
	bl	queue_work_node
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r0, r10
	ldr	r1, .L13+36
	bl	list_add_tail
	b	.L5
.L14:
	.align	2
.L13:
	.word	GFP_ATOMIC
	.word	entry_count
	.word	MAX_WORK
	.word	async_lock
	.word	next_cookie
	.word	async_run_entry_fn
	.word	current
	.word	PF_USED_ASYNC
	.word	system_unbound_wq
	.word	async_global_pending
	.size	async_schedule_node_domain, .-async_schedule_node_domain
	.comm	system_unbound_wq,4,4
	.comm	next_cookie,4,4
	.comm	entry_count,4,4
	.comm	current,4,4
	.comm	async_run_entry_fn,4,4
	.comm	async_lock,4,4
	.comm	async_global_pending,4,4
	.comm	PF_USED_ASYNC,4,4
	.comm	MAX_WORK,4,4
	.comm	GFP_ATOMIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
