	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Shell_Init                     ## -- Begin function Shell_Init
	.p2align	4, 0x90
_Shell_Init:                            ## @Shell_Init
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_shellPath@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_commandShell@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	_shellName@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	movq	__PATH_DEFSHELLDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_STR_ADDSLASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_str_concat
	movq	%rax, (%rbx)
LBB0_2:
	movq	_commandShell@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	cmpq	$0, 16(%rax)
	je	LBB0_5
LBB0_6:
	cmpq	$0, 24(%rax)
	jne	LBB0_7
	jmp	LBB0_14
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%rdi, 8(%rax)
	cmpq	$0, 16(%rax)
	jne	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rcx
	movq	%rcx, 16(%rax)
	cmpq	$0, 24(%rax)
	je	LBB0_14
LBB0_7:
	cmpb	$0, (%rdi)
	je	LBB0_14
## %bb.8:
	movq	_shellErrFlag@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.9:
	addq	$4, %rsi
	callq	_strcmp
	movq	(%r15), %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	callq	_free
	movq	$0, (%r15)
	jmp	LBB0_12
LBB0_14:
	movq	_shellErrFlag@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_free
	movq	$0, (%rbx)
	jmp	LBB0_16
LBB0_11:
	testq	%rdi, %rdi
	jne	LBB0_16
LBB0_12:
	movq	(%r14), %rax
	movq	8(%rax), %rdi
	callq	_strlen
	movl	%eax, %ebx
	addl	$2, %ebx
	movl	%ebx, %edi
	callq	_bmake_malloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%rax, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_shellPath,8,3                  ## @shellPath
	.comm	_commandShell,8,3               ## @commandShell
	.comm	_shellName,8,3                  ## @shellName
	.comm	__PATH_DEFSHELLDIR,4,2          ## @_PATH_DEFSHELLDIR
	.comm	_STR_ADDSLASH,4,2               ## @STR_ADDSLASH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_shellErrFlag,8,3               ## @shellErrFlag
L_.str.1:                               ## @.str.1
	.asciz	"-%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Shell_Init                     ; -- Begin function Shell_Init
	.p2align	2
_Shell_Init:                            ; @Shell_Init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _shellPath@GOTPAGE
Lloh1:
	ldr	x19, [x19, _shellPath@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _commandShell@GOTPAGE
Lloh3:
	ldr	x20, [x20, _commandShell@GOTPAGEOFF]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x1, [x8]
Lloh4:
	adrp	x8, _shellName@GOTPAGE
Lloh5:
	ldr	x8, [x8, _shellName@GOTPAGEOFF]
Lloh6:
	str	x1, [x8]
Lloh7:
	adrp	x8, __PATH_DEFSHELLDIR@GOTPAGE
Lloh8:
	ldr	x8, [x8, __PATH_DEFSHELLDIR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _STR_ADDSLASH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STR_ADDSLASH@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_str_concat
	str	x0, [x19]
LBB0_2:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_6
LBB0_4:
	ldr	x8, [x8, #24]
	cbnz	x8, LBB0_7
	b	LBB0_11
LBB0_5:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	str	x0, [x8, #8]
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_4
LBB0_6:
Lloh15:
	adrp	x9, l_.str@PAGE
Lloh16:
	add	x9, x9, l_.str@PAGEOFF
	str	x9, [x8, #16]
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_11
LBB0_7:
	ldrb	w8, [x0]
	cbz	w8, LBB0_11
; %bb.8:
Lloh17:
	adrp	x21, _shellErrFlag@GOTPAGE
Lloh18:
	ldr	x21, [x21, _shellErrFlag@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_14
; %bb.9:
	add	x1, x8, #4
	bl	_strcmp
	mov	x8, x0
	ldr	x0, [x21]
	cbz	x8, LBB0_13
; %bb.10:
	bl	_free
	str	xzr, [x21]
	b	LBB0_14
LBB0_11:
Lloh19:
	adrp	x19, _shellErrFlag@GOTPAGE
Lloh20:
	ldr	x19, [x19, _shellErrFlag@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_16
; %bb.12:
	bl	_free
	str	xzr, [x19]
	b	LBB0_16
LBB0_13:
	cbnz	x0, LBB0_16
LBB0_14:
	ldr	x8, [x20]
	ldr	x0, [x8, #8]
	bl	_strlen
	add	w19, w0, #2
	mov	x0, x19
	bl	_bmake_malloc
	str	x0, [x21]
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x8, [x20]
	ldr	x3, [x8, #8]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snprintf
LBB0_16:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_shellPath,8,3                  ; @shellPath
	.comm	_commandShell,8,3               ; @commandShell
	.comm	_shellName,8,3                  ; @shellName
	.comm	__PATH_DEFSHELLDIR,4,2          ; @_PATH_DEFSHELLDIR
	.comm	_STR_ADDSLASH,4,2               ; @STR_ADDSLASH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_shellErrFlag,8,3               ; @shellErrFlag
l_.str.1:                               ; @.str.1
	.asciz	"-%s"

.subsections_via_symbols
