	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_simplified_command_loop        ## -- Begin function simplified_command_loop
	.p2align	4, 0x90
_simplified_command_loop:               ## @simplified_command_loop
	.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	%rsi, %r14
	movq	%rdi, %r13
	movq	_stdin@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ISATTY
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_instream@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_quit_flag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_reinitialize_more_filter
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_null_cleanup@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_make_cleanup
	movq	%rax, %rbx
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_prompt
	movq	%rax, %rdi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	*%r13
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rcx
	xorl	%esi, %esi
	cmpq	(%r12), %rcx
	sete	%sil
	movq	%rax, %rdi
	callq	*%r14
	movq	_stop_bpstat@GOTPCREL(%rip), %rdi
	callq	_bpstat_do_actions
	movq	%rbx, %rdi
	callq	_do_cleanups
	jmp	LBB0_1
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdin,8,3                      ## @stdin
	.comm	_instream,8,3                   ## @instream
	.comm	_quit_flag,8,3                  ## @quit_flag
	.comm	_null_cleanup,4,2               ## @null_cleanup
	.comm	_stop_bpstat,4,2                ## @stop_bpstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_simplified_command_loop        ; -- Begin function simplified_command_loop
	.p2align	2
_simplified_command_loop:               ; @simplified_command_loop
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _stdin@GOTPAGE
Lloh1:
	ldr	x24, [x24, _stdin@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ISATTY
	mov	x21, x0
Lloh2:
	adrp	x25, _instream@GOTPAGE
Lloh3:
	ldr	x25, [x25, _instream@GOTPAGEOFF]
	ldr	x0, [x25]
	cbz	x0, LBB0_9
; %bb.1:
Lloh4:
	adrp	x26, _quit_flag@GOTPAGE
Lloh5:
	ldr	x26, [x26, _quit_flag@GOTPAGEOFF]
Lloh6:
	adrp	x27, _null_cleanup@GOTPAGE
Lloh7:
	ldr	x27, [x27, _null_cleanup@GOTPAGEOFF]
Lloh8:
	adrp	x22, _stop_bpstat@GOTPAGE
Lloh9:
	ldr	x22, [x22, _stop_bpstat@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_feof
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x26]
	ldr	x8, [x25]
	ldr	x9, [x24]
	cmp	x8, x9
	ccmp	w21, #0, #4, eq
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_reinitialize_more_filter
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x27]
	mov	w1, #0
	bl	_make_cleanup
	mov	x23, x0
	ldr	x8, [x25]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_get_prompt
	blr	x20
	cbnz	x0, LBB0_8
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, #0
	blr	x20
	cbz	x0, LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w1, eq
	blr	x19
	mov	x0, x22
	bl	_bpstat_do_actions
	mov	x0, x23
	bl	_do_cleanups
	ldr	x0, [x25]
	cbnz	x0, LBB0_2
LBB0_9:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_stdin,8,3                      ; @stdin
	.comm	_instream,8,3                   ; @instream
	.comm	_quit_flag,8,3                  ; @quit_flag
	.comm	_null_cleanup,4,2               ; @null_cleanup
	.comm	_stop_bpstat,4,2                ; @stop_bpstat
.subsections_via_symbols
