	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getjob_nonotfound
_getjob_nonotfound:                     ## @getjob_nonotfound
	.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	%rdi, %r14
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	cmpb	$37, (%r14)
	jne	LBB0_26
LBB0_3:
	leaq	1(%r14), %r15
	movsbl	1(%r14), %edi
	callq	_is_digit
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%r15, %rdi
	callq	_number
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_33
## %bb.5:
	movq	_njobs@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_33
## %bb.6:
	movq	_jobtab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	decl	%eax
	leaq	(%rax,%rax,2), %rax
	cmpq	$0, (%rcx,%rax,8)
	je	LBB0_33
## %bb.7:
	leaq	(%rcx,%rax,8), %rbx
	jmp	LBB0_34
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
	cmpb	$37, (%r14)
	je	LBB0_3
LBB0_26:
	movq	%r14, %rdi
	callq	_is_number
	testq	%rax, %rax
	je	LBB0_33
## %bb.27:
	movq	%r14, %rdi
	callq	_number
	movq	_njobs@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_33
## %bb.28:
	cltq
	movq	_jobtab@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	incl	%ecx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=1
	addq	$24, %rbx
	decl	%ecx
	cmpl	$1, %ecx
	jbe	LBB0_33
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	8(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	16(%rbx), %rsi
	decl	%edx
	shlq	$4, %rdx
	cmpq	%rax, (%rsi,%rdx)
	jne	LBB0_32
	jmp	LBB0_34
LBB0_8:
	cmpb	$63, (%r15)
	movq	_njobs@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jne	LBB0_18
## %bb.9:
	testl	%r13d, %r13d
	jle	LBB0_33
## %bb.10:
	movq	_jobtab@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	2(%r14), %r15
	incl	%r13d
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	$24, %r12
	decl	%r13d
	cmpl	$1, %r13d
	jbe	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, 8(%r12)
	jle	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	16(%r12), %rax
	movl	8(%rax), %edi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	testq	%rbx, %rbx
	movq	%r12, %rbx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_error
	movq	%r12, %rbx
	jmp	LBB0_16
LBB0_18:
	testl	%r13d, %r13d
	jle	LBB0_33
## %bb.19:
	movq	_jobtab@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r14, %rdi
	callq	_strlen
	decq	%rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	incl	%r13d
	xorl	%ebx, %ebx
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	addq	$24, %r12
	decl	%r13d
	cmpl	$1, %r13d
	jbe	LBB0_17
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	je	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpl	$0, 8(%r12)
	jle	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	16(%r12), %rax
	movl	8(%rax), %edi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	testq	%rbx, %rbx
	movq	%r12, %rbx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_error
	movq	%r12, %rbx
	jmp	LBB0_25
LBB0_17:
	testq	%rbx, %rbx
	jne	LBB0_34
LBB0_33:
	xorl	%ebx, %ebx
LBB0_34:
	movq	%rbx, %rax
	addq	$8, %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	"No current job"

	.comm	_njobs,4,2                      ## @njobs
	.comm	_jobtab,8,3                     ## @jobtab
L_.str.1:                               ## @.str.1
	.asciz	"%s: ambiguous"

	.no_dead_strip	_getjob_nonotfound
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getjob_nonotfound
_getjob_nonotfound:                     ; @getjob_nonotfound
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
	ldrb	w8, [x19]
	cmp	w8, #37
	b.ne	LBB0_7
; %bb.3:
	mov	x20, x19
	ldrsb	w0, [x20, #1]!
	bl	_is_digit
	cbz	x0, LBB0_14
; %bb.4:
	mov	x0, x20
	bl	_number
	subs	w8, w0, #1
	b.lt	LBB0_34
; %bb.5:
Lloh2:
	adrp	x9, _njobs@GOTPAGE
Lloh3:
	ldr	x9, [x9, _njobs@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w0, w9
	b.gt	LBB0_34
; %bb.6:
Lloh5:
	adrp	x9, _jobtab@GOTPAGE
Lloh6:
	ldr	x9, [x9, _jobtab@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	mov	w10, #24
	umaddl	x0, w8, w10, x9
	ldr	x8, [x0]
	cbnz	x8, LBB0_35
	b	LBB0_34
LBB0_7:
	mov	x0, x19
	bl	_is_number
	cbz	x0, LBB0_34
; %bb.8:
	mov	x0, x19
	bl	_number
                                        ; kill: def $w0 killed $w0 def $x0
Lloh8:
	adrp	x8, _njobs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _njobs@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_34
; %bb.9:
	sxtw	x8, w0
Lloh11:
	adrp	x10, _jobtab@GOTPAGE
Lloh12:
	ldr	x10, [x10, _jobtab@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x10]
	add	w9, w9, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x0, x0, #24
	sub	w9, w9, #1
	cmp	w9, #1
	b.ls	LBB0_34
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0]
	cbz	x10, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w10, [x0, #8]
	subs	w10, w10, #1
	b.lt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x11, [x0, #16]
	lsl	x10, x10, #4
	ldr	x10, [x11, x10]
	cmp	x10, x8
	b.ne	LBB0_10
	b	LBB0_35
LBB0_14:
	ldrb	w8, [x20]
Lloh14:
	adrp	x9, _njobs@GOTPAGE
Lloh15:
	ldr	x9, [x9, _njobs@GOTPAGEOFF]
Lloh16:
	ldr	w24, [x9]
	cmp	w8, #63
	b.ne	LBB0_24
; %bb.15:
	cmp	w24, #1
	b.lt	LBB0_34
; %bb.16:
	mov	x0, #0
Lloh17:
	adrp	x8, _jobtab@GOTPAGE
Lloh18:
	ldr	x8, [x8, _jobtab@GOTPAGEOFF]
Lloh19:
	ldr	x22, [x8]
	add	x20, x19, #2
	add	w23, w24, #1
Lloh20:
	adrp	x21, l_.str.1@PAGE
Lloh21:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x24
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x22, x22, #24
	sub	w23, w23, #1
	cmp	w23, #1
	b.ls	LBB0_33
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x24, x0
	ldr	x8, [x22]
	cbz	x8, LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x22, #16]
	ldr	w0, [x8, #8]
	mov	x1, x20
	bl	_strstr
	cbz	x0, LBB0_17
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x0, x22
	cbz	x24, LBB0_18
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	str	x19, [sp]
	mov	x0, x21
	bl	_error
	mov	x0, x22
	b	LBB0_18
LBB0_24:
	cmp	w24, #1
	b.lt	LBB0_34
; %bb.25:
Lloh22:
	adrp	x8, _jobtab@GOTPAGE
Lloh23:
	ldr	x8, [x8, _jobtab@GOTPAGEOFF]
Lloh24:
	ldr	x23, [x8]
	mov	x0, x19
	bl	_strlen
	mov	x8, x0
	mov	x0, #0
	sub	x21, x8, #1
	add	w24, w24, #1
Lloh25:
	adrp	x22, l_.str.1@PAGE
Lloh26:
	add	x22, x22, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_26:                                ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x25
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=1
	add	x23, x23, #24
	sub	w24, w24, #1
	cmp	w24, #1
	b.ls	LBB0_33
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x0
	ldr	x8, [x23]
	cbz	x8, LBB0_26
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	w8, [x23, #8]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.30:                               ;   in Loop: Header=BB0_28 Depth=1
	ldr	x8, [x23, #16]
	ldr	w0, [x8, #8]
	mov	x1, x20
	mov	x2, x21
	bl	_strncmp
	cbnz	x0, LBB0_26
; %bb.31:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x23
	cbz	x25, LBB0_27
; %bb.32:                               ;   in Loop: Header=BB0_28 Depth=1
	str	x19, [sp]
	mov	x0, x22
	bl	_error
	mov	x0, x23
	b	LBB0_27
LBB0_33:
	cbnz	x0, LBB0_35
LBB0_34:
	mov	x0, #0
LBB0_35:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No current job"

	.comm	_njobs,4,2                      ; @njobs
	.comm	_jobtab,8,3                     ; @jobtab
l_.str.1:                               ; @.str.1
	.asciz	"%s: ambiguous"

	.no_dead_strip	_getjob_nonotfound
.subsections_via_symbols
