	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmdloop
_cmdloop:                               ## @cmdloop
	.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
	movl	%edi, %r13d
	movslq	%edi, %rdi
	callq	_TRACE
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_setstackmark
	movq	_NEOF@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_out2fmt_flush
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%r15d
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_popstackmark
	movq	%r14, %rdi
	callq	_setstackmark
	movq	_evalskip@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_17
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_pendingsig@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_dotrap
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_SHOWJOBS_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %ebx
	movl	$1, %edi
	callq	_showjobs
	xorl	%edi, %edi
	callq	_chkmail
	movq	_output@GOTPCREL(%rip), %rdi
	callq	_flushout
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %edi
	callq	_parsecmd
	cmpq	(%r12), %rax
	je	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_nflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	movq	_job_warning@GOTPCREL(%rip), %rdx
	cmpl	$2, (%rdx)
	sete	%cl
	movl	%ecx, (%rdx)
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_evaltree
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	je	LBB0_19
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$49, %r15d
	jg	LBB0_19
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_stoppedjobs
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_Iflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
	jmp	LBB0_19
LBB0_17:
	movq	_SKIPRETURN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.18:
	movq	_evalskip@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_19:
	leaq	-48(%rbp), %rdi
	callq	_popstackmark
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pendingsig,8,3                 ## @pendingsig
	.comm	_iflag,8,3                      ## @iflag
	.comm	_SHOWJOBS_DEFAULT,4,2           ## @SHOWJOBS_DEFAULT
	.comm	_output,4,2                     ## @output
	.comm	_NEOF,8,3                       ## @NEOF
	.comm	_Iflag,4,2                      ## @Iflag
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"\nUse \"exit\" to leave shell.\n"

	.comm	_nflag,8,3                      ## @nflag
	.comm	_job_warning,4,2                ## @job_warning
	.comm	_evalskip,8,3                   ## @evalskip
	.comm	_SKIPRETURN,8,3                 ## @SKIPRETURN
	.no_dead_strip	_cmdloop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmdloop
_cmdloop:                               ; @cmdloop
	.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
	mov	x19, x0
	sxtw	x0, w19
	bl	_TRACE
	add	x0, sp, #8
	bl	_setstackmark
	mov	w21, #0
Lloh0:
	adrp	x24, _pendingsig@GOTPAGE
Lloh1:
	ldr	x24, [x24, _pendingsig@GOTPAGEOFF]
Lloh2:
	adrp	x25, _iflag@GOTPAGE
Lloh3:
	ldr	x25, [x25, _iflag@GOTPAGEOFF]
Lloh4:
	adrp	x26, _SHOWJOBS_DEFAULT@GOTPAGE
Lloh5:
	ldr	x26, [x26, _SHOWJOBS_DEFAULT@GOTPAGEOFF]
Lloh6:
	adrp	x20, _output@GOTPAGE
Lloh7:
	ldr	x20, [x20, _output@GOTPAGEOFF]
Lloh8:
	adrp	x27, _NEOF@GOTPAGE
Lloh9:
	ldr	x27, [x27, _NEOF@GOTPAGEOFF]
Lloh10:
	adrp	x23, _evalskip@GOTPAGE
Lloh11:
	ldr	x23, [x23, _evalskip@GOTPAGEOFF]
Lloh12:
	adrp	x28, _job_warning@GOTPAGE
Lloh13:
	ldr	x28, [x28, _job_warning@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_out2fmt_flush
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	bl	_popstackmark
	add	x0, sp, #8
	bl	_setstackmark
	ldr	x8, [x23]
	cbnz	x8, LBB0_17
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_dotrap
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
	cbz	w19, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	mov	w22, #1
	mov	w0, #1
	bl	_showjobs
	mov	w0, #0
	bl	_chkmail
	mov	x0, x20
	bl	_flushout
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_parsecmd
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cbz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh16:
	adrp	x8, _nflag@GOTPAGE
Lloh17:
	ldr	x8, [x8, _nflag@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	cmp	w8, #2
	cset	w8, eq
	str	w8, [x28]
	mov	w1, #0
	bl	_evaltree
	mov	w21, #0
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w19, LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w21, #49
	b.gt	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	bl	_stoppedjobs
	cbnz	w0, LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x8, _Iflag@GOTPAGE
Lloh20:
	ldr	x8, [x8, _Iflag@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cbnz	w8, LBB0_1
	b	LBB0_19
LBB0_17:
Lloh22:
	adrp	x9, _SKIPRETURN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SKIPRETURN@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
	str	xzr, [x23]
LBB0_19:
	add	x0, sp, #8
	bl	_popstackmark
	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	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_pendingsig,8,3                 ; @pendingsig
	.comm	_iflag,8,3                      ; @iflag
	.comm	_SHOWJOBS_DEFAULT,4,2           ; @SHOWJOBS_DEFAULT
	.comm	_output,4,2                     ; @output
	.comm	_NEOF,8,3                       ; @NEOF
	.comm	_Iflag,4,2                      ; @Iflag
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"\nUse \"exit\" to leave shell.\n"

	.comm	_nflag,8,3                      ; @nflag
	.comm	_job_warning,4,2                ; @job_warning
	.comm	_evalskip,8,3                   ; @evalskip
	.comm	_SKIPRETURN,8,3                 ; @SKIPRETURN
	.no_dead_strip	_cmdloop
.subsections_via_symbols
