	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JobRestartJobs
_JobRestartJobs:                        ## @JobRestartJobs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_job_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_job_table_end@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rbx
	jae	LBB0_15
## %bb.1:
	movq	_JOB_ST_RUNNING@GOTPCREL(%rip), %r14
	movq	_JOB@GOTPCREL(%rip), %r12
	movq	_JOB_ST_FINISHED@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$32, %rbx
	cmpq	(%r13), %rbx
	jae	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_make_suspended@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rax
	movq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 16(%rbx)
	movl	8(%rbx), %edi
	movq	_SIGCONT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_KILLPG
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	callq	_DEBUG
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_debug_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	callq	_JobFinish
	jmp	LBB0_14
LBB0_15:
	movq	_make_suspended@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_job_table,8,3                  ## @job_table
	.comm	_job_table_end,8,3              ## @job_table_end
	.comm	_JOB_ST_RUNNING,8,3             ## @JOB_ST_RUNNING
	.comm	_make_suspended,8,3             ## @make_suspended
	.comm	_JOB,4,2                        ## @JOB
	.comm	_debug_file,4,2                 ## @debug_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Restarting stopped job pid %d.\n"

L_.str.1:                               ## @.str.1
	.asciz	"*** [%s] Continued\n"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_SIGCONT,4,2                    ## @SIGCONT
L_.str.2:                               ## @.str.2
	.asciz	"Failed to send SIGCONT to %d\n"

	.comm	_JOB_ST_FINISHED,8,3            ## @JOB_ST_FINISHED
	.no_dead_strip	_JobRestartJobs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JobRestartJobs
_JobRestartJobs:                        ; @JobRestartJobs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _job_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _job_table@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x23, _job_table_end@GOTPAGE
Lloh4:
	ldr	x23, [x23, _job_table_end@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh5:
	adrp	x24, _make_suspended@GOTPAGE
Lloh6:
	ldr	x24, [x24, _make_suspended@GOTPAGEOFF]
	cmp	x19, x8
	b.hs	LBB0_15
; %bb.1:
Lloh7:
	adrp	x25, _JOB_ST_RUNNING@GOTPAGE
Lloh8:
	ldr	x25, [x25, _JOB_ST_RUNNING@GOTPAGEOFF]
Lloh9:
	adrp	x26, _JOB@GOTPAGE
Lloh10:
	ldr	x26, [x26, _JOB@GOTPAGEOFF]
Lloh11:
	adrp	x27, _SIGCONT@GOTPAGE
Lloh12:
	ldr	x27, [x27, _SIGCONT@GOTPAGEOFF]
Lloh13:
	adrp	x28, _debug_file@GOTPAGE
Lloh14:
	ldr	x28, [x28, _debug_file@GOTPAGEOFF]
Lloh15:
	adrp	x21, l_.str.1@PAGE
Lloh16:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh17:
	adrp	x22, l_.str@PAGE
Lloh18:
	add	x22, x22, l_.str@PAGEOFF
Lloh19:
	adrp	x20, _JOB_ST_FINISHED@GOTPAGE
Lloh20:
	ldr	x20, [x20, _JOB_ST_FINISHED@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #32
	ldr	x8, [x23]
	cmp	x19, x8
	b.hs	LBB0_15
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x24]
	cbnz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	bl	_DEBUG
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28]
	ldr	w2, [x19, #8]
	mov	x1, x22
	bl	_fprintf
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #24]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_printf
Lloh21:
	adrp	x8, _stdout@GOTPAGE
Lloh22:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_fflush
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x19, #16]
	ldr	w0, [x19, #8]
	ldr	w1, [x27]
	bl	_KILLPG
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x26]
	bl	_DEBUG
	cbz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x28]
	ldr	w2, [x19, #8]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x19, #12]
	mov	x0, x19
	bl	_JobFinish
	b	LBB0_2
LBB0_15:
	str	xzr, [x24]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_job_table,8,3                  ; @job_table
	.comm	_job_table_end,8,3              ; @job_table_end
	.comm	_JOB_ST_RUNNING,8,3             ; @JOB_ST_RUNNING
	.comm	_make_suspended,8,3             ; @make_suspended
	.comm	_JOB,4,2                        ; @JOB
	.comm	_debug_file,4,2                 ; @debug_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Restarting stopped job pid %d.\n"

l_.str.1:                               ; @.str.1
	.asciz	"*** [%s] Continued\n"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_SIGCONT,4,2                    ; @SIGCONT
l_.str.2:                               ; @.str.2
	.asciz	"Failed to send SIGCONT to %d\n"

	.comm	_JOB_ST_FINISHED,8,3            ; @JOB_ST_FINISHED
	.no_dead_strip	_JobRestartJobs
.subsections_via_symbols
