	.file	"extr_job-mgr.c_seaf_job_manager_schedule_job.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	seaf_job_manager_schedule_job
	.type	seaf_job_manager_schedule_job, @function
seaf_job_manager_schedule_job:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	call	seaf_job_new@PLT
	mov	rbp, rax
	movsx	rax, DWORD PTR [rbx]
	mov	rdi, rbp
	lea	edx, 1[rax]
	mov	DWORD PTR [rbx], edx
	mov	QWORD PTR 24[rbp], rax
	mov	QWORD PTR 16[rbp], rbx
	mov	DWORD PTR 12[rbp], r14d
	mov	DWORD PTR 8[rbp], r13d
	mov	QWORD PTR 0[rbp], r12
	call	job_thread_create@PLT
	test	rax, rax
	js	.L6
	xor	eax, eax
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	seaf_job_free@PLT
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	seaf_job_manager_schedule_job, .-seaf_job_manager_schedule_job
	.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_job-mgr.c_seaf_job_manager_schedule_job.c"
	.text
	.align	2
	.global	seaf_job_manager_schedule_job
	.syntax unified
	.arm
	.fpu softvfp
	.type	seaf_job_manager_schedule_job, %function
seaf_job_manager_schedule_job:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r8, r1
	mov	r7, r2
	mov	r6, r3
	bl	seaf_job_new
	ldr	r3, [r5]
	mov	r4, r0
	add	r2, r3, #1
	str	r2, [r5]
	stm	r0, {r6, r7, r8}
	str	r3, [r0, #16]
	str	r5, [r0, #12]
	bl	job_thread_create
	cmp	r0, #0
	blt	.L6
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, r4
	bl	seaf_job_free
	mvn	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
	.size	seaf_job_manager_schedule_job, .-seaf_job_manager_schedule_job
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
