	.file	"extr_job.c_job_add_to_run_queue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to enable job run queue event source, ignoring: %m"
	.align 8
.LC1:
	.string	"Failed put job in run queue, ignoring: %m"
	.text
	.p2align 4
	.globl	job_add_to_run_queue
	.type	job_add_to_run_queue, @function
job_add_to_run_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	assert@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	assert@PLT
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	je	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR [rax]
	call	prioq_isempty@PLT
	test	rax, rax
	jne	.L10
.L4:
	mov	rax, QWORD PTR 8[rbx]
	lea	rdx, 4[rbx]
	mov	rsi, rbx
	mov	edi, DWORD PTR [rax]
	call	prioq_put@PLT
	test	eax, eax
	js	.L11
	mov	DWORD PTR [rbx], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbx]
	mov	esi, DWORD PTR SD_EVENT_ONESHOT[rip]
	mov	edi, DWORD PTR 4[rax]
	call	sd_event_source_set_enabled@PLT
	test	eax, eax
	jns	.L4
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	log_warning_errno@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rsi, .LC1[rip]
	mov	edi, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	log_warning_errno@PLT
	.cfi_endproc
.LFE0:
	.size	job_add_to_run_queue, .-job_add_to_run_queue
	.comm	SD_EVENT_ONESHOT,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_job.c_job_add_to_run_queue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to enable job run queue event source, ignori"
	.ascii	"ng: %m\000"
	.align	2
.LC1:
	.ascii	"Failed put job in run queue, ignoring: %m\000"
	.text
	.align	2
	.global	job_add_to_run_queue
	.syntax unified
	.arm
	.fpu softvfp
	.type	job_add_to_run_queue, %function
job_add_to_run_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	assert
	ldr	r0, [r4, #12]
	bl	assert
	ldr	r3, [r4]
	cmp	r3, #0
	popne	{r4, pc}
	ldr	r3, [r4, #8]
	ldr	r0, [r3]
	bl	prioq_isempty
	cmp	r0, #0
	bne	.L9
.L4:
	ldr	r3, [r4, #8]
	mov	r1, r4
	ldr	r0, [r3]
	add	r2, r4, #4
	bl	prioq_put
	cmp	r0, #0
	blt	.L10
	mov	r3, #1
	str	r3, [r4]
	pop	{r4, pc}
.L9:
	ldr	r2, .L11
	ldr	r3, [r4, #8]
	ldr	r1, [r2]
	ldr	r0, [r3, #4]
	bl	sd_event_source_set_enabled
	cmp	r0, #0
	bge	.L4
	ldr	r1, .L11+4
	bl	log_warning_errno
	b	.L4
.L10:
	ldr	r1, .L11+8
	pop	{r4, lr}
	b	log_warning_errno
.L12:
	.align	2
.L11:
	.word	SD_EVENT_ONESHOT
	.word	.LC0
	.word	.LC1
	.size	job_add_to_run_queue, .-job_add_to_run_queue
	.comm	SD_EVENT_ONESHOT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
