	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sscr_exec                      ## -- Begin function sscr_exec
	.p2align	4, 0x90
_sscr_exec:                             ## @sscr_exec
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	leaq	-60(%rbp), %rsi
	callq	_db_last
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movl	-60(%rbp), %esi
	movq	_DBG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	callq	_db_get
	testq	%rax, %rax
	jne	LBB0_18
## %bb.2:
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_INT2CHAR
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	callq	_sscr_matchprompt
	testq	%rax, %rax
	setne	%al
	cmpq	$0, -72(%rbp)
	sete	%r12b
	andb	%al, %r12b
	cmpb	$1, %r12b
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_GET_SPACE_RETC
	xorl	%edi, %edi
	callq	_memmove
LBB0_4:
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	leaq	-76(%rbp), %r8
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_db_eget
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	cmpl	$0, -76(%rbp)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.10:
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_INT2CHAR
	leaq	-72(%rbp), %rcx
	movq	%r15, %rdi
	callq	_sscr_matchprompt
	movq	-72(%rbp), %r14
	movq	(%r15), %rbx
	movl	(%rbx), %edi
	movl	%r14d, %edx
	callq	_write
	movl	%eax, %r13d
	cltq
	cmpq	%rax, %r14
	jne	LBB0_12
## %bb.11:
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edx
	callq	_write
	cmpl	$1, %eax
	jne	LBB0_12
## %bb.15:
	xorl	%ebx, %ebx
	testb	%r12b, %r12b
	je	LBB0_18
## %bb.16:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ADD_SPACE_RETC
	xorl	%edi, %edi
	movq	%r14, %rdx
	callq	_memmove
	movq	-56(%rbp), %rcx
	movq	-48(%rbp), %r8
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_CHAR2INT
	movl	-60(%rbp), %esi
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	%r15, %rdi
	callq	_db_set
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	jmp	LBB0_17
LBB0_6:
	movq	_M_BERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_7
LBB0_12:
	testl	%r13d, %r13d
	jne	LBB0_14
## %bb.13:
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_14:
	movq	_M_SYSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_7:
	movq	%r15, %rdi
	callq	_msgq
LBB0_8:
	movl	$1, %ebx
	testb	%r12b, %r12b
	je	LBB0_18
LBB0_17:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_FREE_SPACE
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DBG_FATAL,4,2                  ## @DBG_FATAL
	.comm	_M_BERR,4,2                     ## @M_BERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"151|No command to execute"

L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_errno,4,2                      ## @errno
	.comm	_M_SYSERR,4,2                   ## @M_SYSERR
L_.str.2:                               ## @.str.2
	.asciz	"shell"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sscr_exec                      ; -- Begin function sscr_exec
	.p2align	2
_sscr_exec:                             ; @sscr_exec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #44
	bl	_db_last
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [sp, #44]
Lloh0:
	adrp	x8, _DBG_FATAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DBG_FATAL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #16
	add	x4, sp, #8
	mov	x0, x19
	bl	_db_get
	cbz	x0, LBB0_4
LBB0_2:
	mov	w20, #1
LBB0_3:
	mov	x0, x20
	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
	add	sp, sp, #112
	ret
LBB0_4:
	ldp	x2, x1, [sp, #8]
	mov	x0, x19
	bl	_INT2CHAR
	add	x3, sp, #32
	mov	x0, x19
	bl	_sscr_matchprompt
	cmp	x0, #0
	ldr	x8, [sp, #32]
	ccmp	x8, #0, #0, ne
	cset	w22, eq
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, #0
	bl	_GET_SPACE_RETC
	mov	x0, #0
	bl	_memmove
LBB0_6:
	add	x2, sp, #16
	add	x3, sp, #8
	add	x4, sp, #28
	mov	x0, x19
	mov	x1, x20
	bl	_db_eget
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [sp, #28]
	cbnz	w8, LBB0_13
	b	LBB0_18
LBB0_8:
	ldr	x2, [sp, #8]
	cbz	x2, LBB0_13
; %bb.9:
	ldr	x1, [sp, #16]
	mov	x0, x19
	bl	_INT2CHAR
	add	x3, sp, #32
	mov	x0, x19
	bl	_sscr_matchprompt
	ldr	x20, [sp, #32]
	ldr	x23, [x19]
	ldr	w0, [x23]
	mov	x2, x20
	bl	_write
	mov	x21, x0
	cmp	x20, w0, sxtw
	b.ne	LBB0_14
; %bb.10:
	ldr	w0, [x23]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_write
	cmp	w0, #1
	b.ne	LBB0_14
; %bb.11:
	cbz	w22, LBB0_20
; %bb.12:
	mov	x0, x19
	mov	x1, #0
	bl	_ADD_SPACE_RETC
	mov	x0, #0
	mov	x2, x20
	bl	_memmove
	ldp	x4, x3, [sp, #8]
	mov	x0, x19
	mov	x1, #0
	bl	_CHAR2INT
	ldr	w1, [sp, #44]
	ldp	x3, x2, [sp, #8]
	mov	x0, x19
	bl	_db_set
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_19
LBB0_13:
Lloh5:
	adrp	x8, _M_BERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _M_BERR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_17
LBB0_14:
	cbnz	w21, LBB0_16
; %bb.15:
Lloh10:
	adrp	x8, _EIO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _errno@GOTPAGE
Lloh14:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh15:
	str	w8, [x9]
LBB0_16:
Lloh16:
	adrp	x8, _M_SYSERR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _M_SYSERR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_17:
	mov	x0, x19
	bl	_msgq
LBB0_18:
	mov	w20, #1
	cbz	w22, LBB0_3
LBB0_19:
	mov	x0, x19
	mov	x1, #0
	bl	_FREE_SPACE
	b	LBB0_3
LBB0_20:
	mov	w20, #0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_DBG_FATAL,4,2                  ; @DBG_FATAL
	.comm	_M_BERR,4,2                     ; @M_BERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"151|No command to execute"

l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_errno,4,2                      ; @errno
	.comm	_M_SYSERR,4,2                   ; @M_SYSERR
l_.str.2:                               ; @.str.2
	.asciz	"shell"

.subsections_via_symbols
