	.file	"extr_workqueue.c_init_rescuer.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.type	init_rescuer, @function
init_rescuer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	eax, DWORD PTR [rdi]
	and	eax, DWORD PTR WQ_MEM_RECLAIM[rip]
	mov	r12d, eax
	jne	.L10
.L1:
	mov	eax, r12d
	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
.L10:
	.cfi_restore_state
	mov	rbx, rdi
	mov	edi, DWORD PTR NUMA_NO_NODE[rip]
	call	alloc_worker@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	mov	rbp, rax
	neg	r12d
	test	rax, rax
	je	.L1
	mov	ecx, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR rescuer_thread[rip]
	mov	QWORD PTR 8[rax], rbx
	mov	rsi, rax
	lea	rdx, .LC0[rip]
	call	kthread_create@PLT
	mov	DWORD PTR 0[rbp], eax
	mov	edi, eax
	call	PTR_ERR_OR_ZERO@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L11
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, DWORD PTR cpu_possible_mask[rip]
	mov	QWORD PTR 8[rbx], rbp
	call	kthread_bind_mask@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	wake_up_process@PLT
	mov	eax, r12d
	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
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	kfree@PLT
	mov	eax, r12d
	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	init_rescuer, .-init_rescuer
	.comm	rescuer_thread,4,4
	.comm	cpu_possible_mask,4,4
	.comm	WQ_MEM_RECLAIM,4,4
	.comm	NUMA_NO_NODE,4,4
	.comm	ENOMEM,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_workqueue.c_init_rescuer.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_rescuer, %function
init_rescuer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L13
	push	{r4, r5, r6, lr}
	ldr	r3, [r0]
	ldr	r4, [r2]
	ands	r4, r3, r4
	bne	.L10
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, .L13+4
	mov	r5, r0
	ldr	r0, [r3]
	bl	alloc_worker
	subs	r6, r0, #0
	beq	.L11
	ldr	r3, .L13+8
	mov	r1, r6
	ldr	r0, [r3]
	ldr	r2, .L13+12
	ldr	r3, [r5, #8]
	str	r5, [r6, #4]
	bl	kthread_create
	str	r0, [r6]
	bl	PTR_ERR_OR_ZERO
	subs	r4, r0, #0
	bne	.L12
	ldr	r3, .L13+16
	ldr	r0, [r6]
	ldr	r1, [r3]
	str	r6, [r5, #4]
	bl	kthread_bind_mask
	ldr	r0, [r6]
	bl	wake_up_process
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L11:
	ldr	r3, .L13+20
	ldr	r3, [r3]
	rsb	r4, r3, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	mov	r0, r6
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	WQ_MEM_RECLAIM
	.word	NUMA_NO_NODE
	.word	rescuer_thread
	.word	.LC0
	.word	cpu_possible_mask
	.word	ENOMEM
	.size	init_rescuer, .-init_rescuer
	.comm	rescuer_thread,4,4
	.comm	cpu_possible_mask,4,4
	.comm	WQ_MEM_RECLAIM,4,4
	.comm	NUMA_NO_NODE,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
