	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_jobs
_process_jobs:                          ## @process_jobs
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r12d
	leaq	-48(%rbp), %rdi
	callq	_STAILQ_INIT
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.1:
	movl	%r12d, %r14d
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %r12
	leaq	L_.str(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r15,8), %rdi
	movq	%r12, %rsi
	callq	_parse_jobspec
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx,%r15,8), %rsi
	movq	%r13, %rdi
	callq	_printf
	jmp	LBB0_4
LBB0_5:
	movq	_nitems@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_queue@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SCQ_JSORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r12
	movq	%r12, %rcx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_scanq_jobspec
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_free_jobspec
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tinvalid job specifier: %s\n"

	.comm	_nitems,4,2                     ## @nitems
	.comm	_queue,4,2                      ## @queue
	.comm	_SCQ_JSORDER,4,2                ## @SCQ_JSORDER
	.no_dead_strip	_process_jobs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_jobs
_process_jobs:                          ; @process_jobs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	bl	_STAILQ_INIT
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w23, w22
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #8
	subs	x23, x23, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	add	x1, sp, #8
	bl	_parse_jobspec
	cbnz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x21]
	mov	x0, x22
	bl	_printf
	b	LBB0_2
LBB0_5:
Lloh2:
	adrp	x8, _nitems@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nitems@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _queue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _queue@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _SCQ_JSORDER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SCQ_JSORDER@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x4, x20
	mov	x5, x19
	bl	_scanq_jobspec
	mov	x19, x0
	add	x0, sp, #8
	bl	_free_jobspec
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tinvalid job specifier: %s\n"

	.comm	_nitems,4,2                     ; @nitems
	.comm	_queue,4,2                      ; @queue
	.comm	_SCQ_JSORDER,4,2                ; @SCQ_JSORDER
	.no_dead_strip	_process_jobs
.subsections_via_symbols
