	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_loop                   ## -- Begin function command_loop
	.p2align	4, 0x90
_command_loop:                          ## @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	_stdin@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ISATTY
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_instream@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_feof
	testl	%eax, %eax
	jne	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rbx
	movq	(%r14), %rax
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_prompt
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_window_hook
	movq	(%r13), %rbx
	movq	(%r14), %rax
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_quit_flag@GOTPCREL(%rip), %rcx
	movq	$0, (%rcx)
	cmpq	%rax, %rbx
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_reinitialize_more_filter
LBB0_8:                                 ##   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	(%r13), %rax
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_prompt
	movq	%rax, %rdi
	movq	(%r13), %rax
	movq	(%r14), %rcx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%esi, %esi
	cmpq	%rcx, %rax
	sete	%sil
	leaq	L_.str(%rip), %rdx
	callq	_command_line_input
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_get_run_time
	movq	%rax, %r12
	movq	(%r13), %rax
	xorl	%esi, %esi
	cmpq	(%r14), %rax
	sete	%sil
	movq	%r15, %rdi
	callq	_execute_command
	movq	_stop_bpstat@GOTPCREL(%rip), %rdi
	callq	_bpstat_do_actions
	movq	%rbx, %rdi
	callq	_do_cleanups
	movq	_display_time@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_get_run_time
	movq	%rax, %rcx
	subq	%r12, %rcx
	movq	%rcx, %rax
	movabsq	$4835703278458516699, %rdx      ## imm = 0x431BDE82D7B634DB
	imulq	%rdx
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$18, %rdx
	addq	%rdx, %rsi
	imull	$1000000, %esi, %eax            ## imm = 0xF4240
	subl	%eax, %ecx
	movsbl	%cl, %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf_unfiltered
	jmp	LBB0_1
LBB0_14:
	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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prompt"

	.comm	_stop_bpstat,4,2                ## @stop_bpstat
L_.str.1:                               ## @.str.1
	.asciz	"Command execution time: %ld.%06ld\n"

	.comm	_lim_at_start,8,3               ## @lim_at_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_command_loop                   ; -- Begin function command_loop
	.p2align	2
_command_loop:                          ; @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
Lloh0:
	adrp	x26, _stdin@GOTPAGE
Lloh1:
	ldr	x26, [x26, _stdin@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ISATTY
	mov	x19, x0
Lloh2:
	adrp	x27, _instream@GOTPAGE
Lloh3:
	ldr	x27, [x27, _instream@GOTPAGEOFF]
	ldr	x0, [x27]
	cbz	x0, LBB0_14
; %bb.1:
	mov	w28, #16960
	movk	w28, #15, lsl #16
Lloh4:
	adrp	x22, _quit_flag@GOTPAGE
Lloh5:
	ldr	x22, [x22, _quit_flag@GOTPAGEOFF]
Lloh6:
	adrp	x21, _null_cleanup@GOTPAGE
Lloh7:
	ldr	x21, [x21, _null_cleanup@GOTPAGEOFF]
Lloh8:
	adrp	x20, l_.str@PAGE
Lloh9:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x27]
	cbz	x0, LBB0_14
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_feof
	cbnz	w0, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x23, [x27]
	ldr	x8, [x26]
	cmp	x23, x8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_get_prompt
	mov	x1, x0
	mov	x0, x23
	bl	_window_hook
	ldr	x23, [x27]
	ldr	x8, [x26]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x22]
	cmp	x23, x8
	ccmp	w19, #0, #4, eq
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_reinitialize_more_filter
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	mov	w1, #0
	bl	_make_cleanup
	mov	x23, x0
	ldr	x8, [x27]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_get_prompt
	ldr	x8, [x27]
	ldr	x9, [x26]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, #0
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x9
	cset	w1, eq
	mov	x2, x20
	bl	_command_line_input
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x0
	bl	_get_run_time
	mov	x24, x0
	ldr	x8, [x27]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w1, eq
	mov	x0, x25
	bl	_execute_command
Lloh10:
	adrp	x0, _stop_bpstat@GOTPAGE
Lloh11:
	ldr	x0, [x0, _stop_bpstat@GOTPAGEOFF]
	bl	_bpstat_do_actions
	mov	x0, x23
	bl	_do_cleanups
Lloh12:
	adrp	x8, _display_time@GOTPAGE
Lloh13:
	ldr	x8, [x8, _display_time@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_get_run_time
	sub	x8, x0, x24
	sdiv	x1, x8, x28
	msub	w8, w1, w28, w8
	sxtb	w2, w8
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf_unfiltered
	b	LBB0_2
LBB0_14:
	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 AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prompt"

	.comm	_stop_bpstat,4,2                ; @stop_bpstat
l_.str.1:                               ; @.str.1
	.asciz	"Command execution time: %ld.%06ld\n"

	.comm	_lim_at_start,8,3               ; @lim_at_start
.subsections_via_symbols
