	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _local_initshells
__local_initshells:                     ## @_local_initshells
	.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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	addl	$2, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_sl@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	$1, %esi
	callq	_sl_free
LBB0_2:
	xorl	%eax, %eax
	callq	_sl_init
	movq	_sl@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	__PATH_SHELLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movl	(%rbx), %esi
	incl	%esi
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_17
## %bb.5:
	movq	%r13, %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	$0, (%rbx)
	movq	_sl@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%r15, %rdi
	callq	_strdup
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_sl_add
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rbx
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %esi
	incl	%esi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_fgets
	movq	%r13, %r15
	testq	%rax, %rax
	je	LBB0_17
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movb	(%r15), %al
	testb	%al, %al
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$35, %al
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$47, %al
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	$47, %edi
	callq	_isspace
	movq	%r15, %rbx
	testl	%eax, %eax
	jne	LBB0_15
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpb	$35, %al
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_isspace
	testl	%eax, %eax
	je	LBB0_11
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	jmp	LBB0_6
LBB0_17:
	movq	%r14, %rdi
	callq	_fclose
	movq	_NS_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_3:
	movq	_NS_UNAVAIL@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_sl,8,3                         ## @sl
	.comm	__PATH_SHELLS,4,2               ## @_PATH_SHELLS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"re"

	.comm	_NS_UNAVAIL,4,2                 ## @NS_UNAVAIL
	.comm	_NS_SUCCESS,4,2                 ## @NS_SUCCESS
	.no_dead_strip	__local_initshells
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _local_initshells
__local_initshells:                     ; @_local_initshells
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAXPATHLEN@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x24, _sl@GOTPAGE
Lloh8:
	ldr	x24, [x24, _sl@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #1
	bl	_sl_free
LBB0_2:
	bl	_sl_init
	str	x0, [x24]
Lloh9:
	adrp	x8, __PATH_SHELLS@GOTPAGE
Lloh10:
	ldr	x8, [x8, __PATH_SHELLS@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_16
; %bb.3:
	mov	x20, x0
	ldr	w8, [x23]
	add	w1, w8, #1
	mov	x0, x19
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_15
; %bb.4:
	mov	x21, x19
	ldrb	w8, [x21]
	cbnz	w8, LBB0_12
	b	LBB0_7
LBB0_5:
	mov	w0, #47
	bl	_isspace
	mov	x22, x21
	cbz	w0, LBB0_9
LBB0_6:
	strb	wzr, [x22]
	ldr	x22, [x24]
	mov	x0, x21
	bl	_strdup
	mov	x1, x0
	mov	x0, x22
	bl	_sl_add
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	add	w1, w8, #1
	mov	x0, x19
	mov	x2, x20
	bl	_fgets
	mov	x21, x19
	cbz	x0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_12
	b	LBB0_7
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x22]
	cbz	w8, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #35
	b.eq	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrsb	w0, [x22, #1]!
	bl	_isspace
	cbz	w0, LBB0_9
	b	LBB0_6
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cmp	w8, #35
	b.eq	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w8, #47
	b.eq	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_12
	b	LBB0_7
LBB0_15:
	mov	x0, x20
	bl	_fclose
Lloh14:
	adrp	x8, _NS_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NS_SUCCESS@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh16:
	adrp	x8, _NS_UNAVAIL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NS_UNAVAIL@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_sl,8,3                         ; @sl
	.comm	__PATH_SHELLS,4,2               ; @_PATH_SHELLS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"re"

	.comm	_NS_UNAVAIL,4,2                 ; @NS_UNAVAIL
	.comm	_NS_SUCCESS,4,2                 ; @NS_SUCCESS
	.no_dead_strip	__local_initshells
.subsections_via_symbols
