	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_jobspec                  ## -- Begin function parse_jobspec
	.p2align	4, 0x90
_parse_jobspec:                         ## @parse_jobspec
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_55
## %bb.1:
	movq	%rdi, %r13
	cmpb	$0, (%rdi)
	je	LBB0_55
## %bb.2:
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	$24, %edi
	callq	_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	$-1, (%r15)
	movq	%r13, %rdi
	movl	$64, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movb	$0, (%rbx)
LBB0_4:
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movb	$0, (%rax)
LBB0_6:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:
	cmpb	$0, 1(%rbx)
	je	LBB0_9
## %bb.8:
	leaq	1(%rbx), %rcx
	movq	%rcx, 8(%r15)
LBB0_9:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_15
## %bb.10:
	leaq	1(%rax), %rbx
	movb	1(%rax), %al
	xorl	%r14d, %r14d
	testb	%al, %al
	movq	%rbx, %r12
	cmoveq	%r14, %r12
	cmpb	$0, (%r13)
	cmovneq	%r13, %r14
	testq	%r14, %r14
	je	LBB0_16
## %bb.11:
	testb	%al, %al
	je	LBB0_16
## %bb.12:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movsbl	(%r14), %edi
	callq	_isdigitch
	movq	%rax, %r15
	movsbl	(%r12), %edi
	callq	_isdigitch
	testq	%r15, %r15
	je	LBB0_37
## %bb.13:
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_50
## %bb.14:
	movq	%r14, -48(%rbp)
	movq	%r12, 16(%r15)
	jmp	LBB0_20
LBB0_15:
	movb	(%r13), %al
	testb	%al, %al
	jne	LBB0_18
	jmp	LBB0_46
LBB0_16:
	testq	%r14, %r14
	je	LBB0_41
## %bb.17:
	movb	(%r14), %al
LBB0_18:
	movsbl	%al, %edi
	callq	_isdigitch
	testq	%rax, %rax
	je	LBB0_36
## %bb.19:
	movq	%r13, -48(%rbp)
LBB0_20:
	movq	%r13, %rbx
LBB0_21:
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	cmpq	$0, (%r14)
	jne	LBB0_50
## %bb.22:
	testl	%eax, %eax
	js	LBB0_50
## %bb.23:
	cmpl	$99999, %eax                    ## imm = 0x1869F
	jg	LBB0_50
## %bb.24:
	movl	%eax, 4(%r15)
	movl	%eax, (%r15)
	movq	-48(%rbp), %rbx
	movb	(%rbx), %al
	cmpb	$45, %al
	jne	LBB0_31
## %bb.25:
	movsbl	1(%rbx), %edi
	callq	_isdigitch
	testq	%rax, %rax
	je	LBB0_30
## %bb.26:
	incq	%rbx
	movq	%rbx, -48(%rbp)
	movq	$0, (%r14)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	cmpq	$0, (%r14)
	jne	LBB0_50
## %bb.27:
	cmpl	$99999, %eax                    ## imm = 0x1869F
	jg	LBB0_50
## %bb.28:
	cmpl	(%r15), %eax
	jl	LBB0_50
## %bb.29:
	movl	%eax, 4(%r15)
	movq	-48(%rbp), %rbx
LBB0_30:
	movb	(%rbx), %al
LBB0_31:
	testb	%al, %al
	je	LBB0_46
## %bb.32:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_51
## %bb.33:
	cmpq	$0, 8(%r15)
	jne	LBB0_52
## %bb.34:
	cmpq	$0, 16(%r15)
	jne	LBB0_52
## %bb.35:
	movq	%rbx, 8(%r15)
	jmp	LBB0_46
LBB0_36:
	movq	%r13, 16(%r15)
	jmp	LBB0_46
LBB0_37:
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_50
## %bb.38:
	movq	%r12, -48(%rbp)
	movq	%r14, %rdi
	movl	$46, %esi
	callq	_strchr
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_44
## %bb.39:
	testq	%rax, %rax
	je	LBB0_44
## %bb.40:
	movq	%r14, 8(%r15)
	jmp	LBB0_21
LBB0_41:
	testb	%al, %al
	je	LBB0_46
## %bb.42:
	movsbl	(%r12), %edi
	callq	_isdigitch
	testq	%rax, %rax
	je	LBB0_45
## %bb.43:
	movq	%r12, -48(%rbp)
	jmp	LBB0_21
LBB0_44:
	movq	%r14, 16(%r15)
	jmp	LBB0_21
LBB0_45:
	movq	%r12, 16(%r15)
LBB0_46:
	cmpl	$0, (%r15)
	jns	LBB0_49
## %bb.47:
	cmpq	$0, 16(%r15)
	jne	LBB0_49
## %bb.48:
	cmpq	$0, 8(%r15)
	je	LBB0_50
LBB0_49:
	movq	_nextjs@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_STAILQ_INSERT_TAIL
	movl	$1, %eax
	jmp	LBB0_55
LBB0_50:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_52
LBB0_51:
	movb	$64, (%rax)
LBB0_52:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_54
## %bb.53:
	movb	$58, (%rax)
LBB0_54:
	movq	%r15, %rdi
	callq	_free
	xorl	%eax, %eax
LBB0_55:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_nextjs,4,2                     ## @nextjs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_jobspec                  ; -- Begin function parse_jobspec
	.p2align	2
_parse_jobspec:                         ; @parse_jobspec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x0, LBB0_56
; %bb.1:
	mov	x23, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_55
; %bb.2:
	mov	x20, x1
	mov	w0, #24
	bl	_malloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	mov	x0, x23
	mov	w1, #64
	bl	_strchr
	mov	x21, x0
	mov	x0, x23
	mov	w1, #58
	bl	_strchr
	mov	x22, x0
	cbz	x21, LBB0_4
; %bb.3:
	strb	wzr, [x21]
LBB0_4:
	cbz	x22, LBB0_6
; %bb.5:
	strb	wzr, [x22]
LBB0_6:
	cbz	x21, LBB0_9
; %bb.7:
	mov	x8, x21
	ldrb	w9, [x8, #1]!
	cbz	w9, LBB0_9
; %bb.8:
	str	x8, [x19, #8]
LBB0_9:
	cbz	x22, LBB0_15
; %bb.10:
	mov	x24, x22
	ldrb	w8, [x24, #1]!
	cmp	w8, #0
	csel	x27, xzr, x24, eq
	ldrb	w9, [x23]
	cmp	w9, #0
	csel	x25, xzr, x23, eq
	cbz	x25, LBB0_16
; %bb.11:
	cbz	w8, LBB0_16
; %bb.12:
	ldrsb	w0, [x25]
	bl	_isdigitch
	mov	x26, x0
	ldrsb	w0, [x27]
	bl	_isdigitch
	cbz	x26, LBB0_37
; %bb.13:
	cbnz	x0, LBB0_50
; %bb.14:
	str	x25, [sp, #8]
	str	x27, [x19, #16]
	b	LBB0_20
LBB0_15:
	ldrb	w8, [x23]
	cbnz	w8, LBB0_18
	b	LBB0_46
LBB0_16:
	cbz	x25, LBB0_41
; %bb.17:
	ldrb	w8, [x25]
LBB0_18:
	sxtb	w0, w8
	bl	_isdigitch
	cbz	x0, LBB0_36
; %bb.19:
	str	x23, [sp, #8]
LBB0_20:
	mov	x24, x23
LBB0_21:
Lloh0:
	adrp	x25, _errno@GOTPAGE
Lloh1:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
	str	xzr, [x25]
	add	x1, sp, #8
	mov	x0, x24
	mov	w2, #10
	bl	_strtol
	ldr	x8, [x25]
	cbnz	x8, LBB0_50
; %bb.22:
	tbnz	w0, #31, LBB0_50
; %bb.23:
	mov	w26, #34463
	movk	w26, #1, lsl #16
	cmp	w0, w26
	b.gt	LBB0_50
; %bb.24:
	stp	w0, w0, [x19]
	ldr	x24, [sp, #8]
	ldrb	w8, [x24]
	cmp	w8, #45
	b.ne	LBB0_31
; %bb.25:
	mov	x23, x24
	ldrsb	w0, [x23, #1]!
	bl	_isdigitch
	cbz	x0, LBB0_30
; %bb.26:
	str	x23, [sp, #8]
	str	xzr, [x25]
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #10
	bl	_strtol
	ldr	x8, [x25]
	cbnz	x8, LBB0_50
; %bb.27:
	cmp	w0, w26
	b.gt	LBB0_50
; %bb.28:
	ldr	w8, [x19]
	cmp	w0, w8
	b.lt	LBB0_50
; %bb.29:
	str	w0, [x19, #4]
	ldr	x24, [sp, #8]
LBB0_30:
	ldrb	w8, [x24]
LBB0_31:
	cbz	w8, LBB0_46
; %bb.32:
	cbnz	x21, LBB0_51
; %bb.33:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_52
; %bb.34:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_52
; %bb.35:
	str	x24, [x19, #8]
	b	LBB0_46
LBB0_36:
	str	x23, [x19, #16]
	b	LBB0_46
LBB0_37:
	cbz	x0, LBB0_50
; %bb.38:
	str	x27, [sp, #8]
	mov	x0, x25
	mov	w1, #46
	bl	_strchr
	cbnz	x21, LBB0_44
; %bb.39:
	cbz	x0, LBB0_44
; %bb.40:
	str	x25, [x19, #8]
	b	LBB0_21
LBB0_41:
	cbz	w8, LBB0_46
; %bb.42:
	ldrsb	w0, [x27]
	bl	_isdigitch
	cbz	x0, LBB0_45
; %bb.43:
	str	x27, [sp, #8]
	b	LBB0_21
LBB0_44:
	str	x25, [x19, #16]
	b	LBB0_21
LBB0_45:
	str	x27, [x19, #16]
LBB0_46:
	ldr	w8, [x19]
	tbz	w8, #31, LBB0_49
; %bb.47:
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_49
; %bb.48:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_50
LBB0_49:
Lloh2:
	adrp	x8, _nextjs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nextjs@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_STAILQ_INSERT_TAIL
	mov	w0, #1
	b	LBB0_56
LBB0_50:
	cbz	x21, LBB0_52
LBB0_51:
	mov	w8, #64
	strb	w8, [x21]
LBB0_52:
	cbz	x22, LBB0_54
; %bb.53:
	mov	w8, #58
	strb	w8, [x22]
LBB0_54:
	mov	x0, x19
	bl	_free
LBB0_55:
	mov	w0, #0
LBB0_56:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_nextjs,4,2                     ; @nextjs
.subsections_via_symbols
