	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_path                       ## -- Begin function add_path
	.p2align	4, 0x90
_add_path:                              ## @add_path
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	testq	%rdi, %rdi
	je	LBB0_50
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_xstrdup
	movq	%rax, %r12
	movq	_xfree@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	callq	_make_cleanup
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpb	$0, (%rbx)
	leaq	-42(%rbp), %rsi
	cmoveq	%rbx, %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_concat
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	%r12, %rdi
	movq	%rbx, %r12
	callq	_strlen
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_xfree
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%r13)
	movq	%r13, %r12
	je	LBB0_50
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_44 Depth 2
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_DIRNAME_SEPARATOR@GOTPCREL(%rip), %rax
	movsbl	(%rax), %esi
	movq	%r12, %rdi
	callq	_strchr
	movq	%rax, %r14
	movq	%r12, %rdi
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	$9, %esi
	callq	_strchr
	testq	%r14, %r14
	je	LBB0_8
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	testq	%r14, %r14
	jne	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %r14
	addq	%r12, %r14
	movq	%r14, %r13
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r14, %rbx
	movq	%r14, %rcx
	cmovbq	%rbx, %rcx
	testq	%r14, %r14
	cmoveq	%rbx, %rcx
	testq	%rbx, %rbx
	cmoveq	%r14, %rcx
	cmpq	%rcx, %rax
	movq	%rcx, %r14
	cmovbq	%rax, %r14
	testq	%rcx, %rcx
	cmoveq	%rax, %r14
	testq	%rax, %rax
	cmoveq	%rcx, %r14
	movq	_DIRNAME_SEPARATOR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	leaq	1(%r14), %r13
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=2
	incq	%r13
LBB0_13:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13), %ecx
	cmpb	%al, %cl
	je	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$9, %cl
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	cmpb	$32, %cl
	je	LBB0_12
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movsbl	(%r12), %edi
	callq	_IS_DIR_SEPARATOR
	leaq	1(%r12), %r15
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r15, %r14
	jbe	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-1(%r14), %rbx
	movsbl	-1(%r14), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	cmovneq	%rbx, %r14
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, (%r14)
	cmpq	%r12, %r14
	jbe	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rbx
	subq	%r14, %rbx
	addq	$2, %rbx
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$46, -1(%r14)
	jne	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	cmpq	$1, %rbx
	je	LBB0_37
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=2
	cmpq	%r15, %r14
	jbe	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=2
	movsbl	-2(%r14), %edi
	callq	_IS_DIR_SEPARATOR
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=2
	testq	%rbx, %rbx
	je	LBB0_38
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=2
	movb	$0, -2(%r14)
	addq	$-2, %r14
	addq	$2, %rbx
	cmpq	%r12, %r14
	ja	LBB0_21
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$126, (%r12)
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_tilde_expand
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_IS_ABSOLUTE_PATH
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$36, (%r12)
	jne	LBB0_49
LBB0_31:                                ##   in Loop: Header=BB0_5 Depth=1
	subl	%r12d, %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_savestring
LBB0_32:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	_xfree@GOTPCREL(%rip), %rdi
	movq	%rax, %rsi
	callq	_make_cleanup
	cmpb	$36, (%r12)
	je	LBB0_40
## %bb.33:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	leaq	-80(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-80(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_40
## %bb.35:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_warning
	jmp	LBB0_40
LBB0_36:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_gdb_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf_unfiltered
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_print_sys_errmsg
	jmp	LBB0_40
LBB0_37:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_current_directory@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$0, -1(%r14)
LBB0_39:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %ecx
	movq	(%rbx), %r15
	movl	%eax, %ebx
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	incl	%ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_44
LBB0_41:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	%r15, %rax
	sbbq	$0, %r15
	movq	%r15, %rcx
	subq	%rax, %rcx
	cmpq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	jl	LBB0_4
## %bb.42:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r15,%rax), %rsi
	movq	%r15, %rdi
	callq	_strcpy
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_44 Depth=2
	movq	_DIRNAME_SEPARATOR@GOTPCREL(%rip), %rax
	movzbl	(%rax), %r14d
	movsbl	%r14b, %esi
	movq	%r15, %rdi
	callq	_strchr
	leaq	1(%rax), %r15
	testq	%rax, %rax
	je	LBB0_47
LBB0_44:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_43
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=2
	movzbl	(%r15,%rbx), %eax
	testb	%al, %al
	je	LBB0_41
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=2
	movq	_DIRNAME_SEPARATOR@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_43
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	%r14b, -42(%rbp)
	movb	$0, -41(%rbp)
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.48:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	leaq	(%rdi,%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	(%rdi,%r14), %r15b
	movb	$0, (%rdi,%r14)
	leaq	-42(%rbp), %rsi
	movq	%r12, %rdx
	movq	%rdi, %r12
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_concat
	movq	%rax, %rbx
	movb	%r15b, (%r12,%r14)
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_concat
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_xfree
	jmp	LBB0_3
LBB0_49:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_current_directory@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_SLASH_STRING@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_concat
	jmp	LBB0_32
LBB0_50:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRNAME_SEPARATOR,1,0          ## @DIRNAME_SEPARATOR
	.comm	_current_directory,8,3          ## @current_directory
	.comm	_SLASH_STRING,8,3               ## @SLASH_STRING
	.comm	_errno,4,2                      ## @errno
	.comm	_gdb_stderr,4,2                 ## @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Warning: "

	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
L_.str.1:                               ## @.str.1
	.asciz	"%s is not a directory."

L_.str.2:                               ## @.str.2
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_path                       ; -- Begin function add_path
	.p2align	2
_add_path:                              ; @add_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	cbz	x0, LBB0_48
; %bb.1:
	mov	x20, x1
	ldr	x21, [x1]
	bl	_xstrdup
	mov	x22, x0
Lloh0:
	adrp	x0, _xfree@GOTPAGE
Lloh1:
	ldr	x0, [x0, _xfree@GOTPAGEOFF]
	mov	x1, x22
	bl	_make_cleanup
	str	xzr, [sp, #24]                  ; 8-byte Folded Spill
Lloh2:
	adrp	x23, _DIRNAME_SEPARATOR@GOTPAGE
Lloh3:
	ldr	x23, [x23, _DIRNAME_SEPARATOR@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x21]
	cmp	w8, #0
	add	x8, sp, #38
	csel	x1, x21, x8, eq
	str	xzr, [sp]
	mov	x0, x22
	mov	x2, x21
	bl	_concat
	str	x0, [x20]
	mov	x0, x22
	bl	_strlen
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_xfree
	ldr	x21, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x27]
	mov	x22, x27
	cbz	w8, LBB0_48
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsb	w1, [x23]
	mov	x0, x22
	bl	_strchr
	mov	x25, x0
	mov	x0, x22
	mov	w1, #32
	bl	_strchr
	mov	x28, x0
	mov	x0, x22
	mov	w1, #9
	bl	_strchr
	cbz	x25, LBB0_8
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, #0
	mov	x28, #0
	mov	x0, #0
	cbnz	x25, LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x28, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_strlen
	add	x24, x22, w0, sxtw
	mov	x27, x24
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x28, x25
	ccmp	x25, #0, #4, hs
	csel	x8, x28, x25, eq
	cmp	x28, #0
	csel	x8, x25, x8, eq
	cmp	x0, x8
	ccmp	x8, #0, #4, hs
	csel	x9, x0, x8, eq
	cmp	x0, #0
	csel	x24, x8, x9, eq
	ldrb	w8, [x23]
	add	x27, x24, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x27, x27, #1
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w9, [x27]
	cmp	w9, w8
	ccmp	w9, #9, #4, ne
	b.eq	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	cmp	w9, #32
	b.eq	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x22
	ldrsb	w0, [x25], #1
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	x24, x25
	b.ls	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, x24
	ldrsb	w0, [x19, #-1]!
	bl	_IS_DIR_SEPARATOR
	cmp	x0, #0
	csel	x24, x24, x19, eq
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	wzr, [x24]
	cmp	x24, x22
	b.ls	LBB0_26
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x22, x24
	add	x26, x8, #2
LBB0_20:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldurb	w8, [x24, #-1]
	cmp	w8, #46
	b.ne	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	cmp	x26, #1
	b.eq	LBB0_37
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=2
	cmp	x24, x25
	b.ls	LBB0_26
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x19, x24
	ldrsb	w0, [x19, #-2]!
	bl	_IS_DIR_SEPARATOR
	cbz	x0, LBB0_26
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=2
	cbz	x26, LBB0_38
; %bb.25:                               ;   in Loop: Header=BB0_20 Depth=2
	sturb	wzr, [x24, #-2]
	add	x26, x26, #2
	mov	x24, x19
	cmp	x19, x22
	b.hi	LBB0_20
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, x24
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #126
	b.ne	LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_tilde_expand
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_IS_ABSOLUTE_PATH
	cbnz	x0, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #36
	b.ne	LBB0_47
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w1, w19, w22
	mov	x0, x22
	bl	_savestring
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
Lloh4:
	adrp	x0, _xfree@GOTPAGE
Lloh5:
	ldr	x0, [x0, _xfree@GOTPAGEOFF]
	mov	x1, x22
	bl	_make_cleanup
	ldrb	w8, [x22]
	cmp	w8, #36
	b.eq	LBB0_39
; %bb.33:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #40
	mov	x0, x22
	bl	_stat
	tbnz	x0, #63, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #40]
Lloh6:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh9:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_39
; %bb.35:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_warning
	b	LBB0_39
LBB0_36:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	w24, [x8]
Lloh17:
	adrp	x8, _gdb_stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _gdb_stderr@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf_unfiltered
	mov	x0, x22
	mov	x1, x24
	bl	_print_sys_errmsg
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh22:
	adrp	x8, _current_directory@GOTPAGE
Lloh23:
	ldr	x8, [x8, _current_directory@GOTPAGEOFF]
Lloh24:
	ldr	x22, [x8]
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_5 Depth=1
	sturb	wzr, [x24, #-1]
LBB0_39:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_strlen
	ldr	x25, [x20]
	mov	w28, w0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	sxtw	x19, w8
	add	w26, w0, #1
	b	LBB0_42
LBB0_40:                                ;   in Loop: Header=BB0_42 Depth=2
	add	x1, x25, x26
	mov	x0, x25
	bl	_strcpy
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=2
	ldrsb	w24, [x23]
	mov	x0, x25
	mov	x1, x24
	bl	_strchr
	add	x25, x0, #1
	cbz	x0, LBB0_45
LBB0_42:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x22
	mov	x2, x28
	bl	_strncmp
	cbnz	w0, LBB0_41
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=2
	ldrb	w8, [x25, x28]
	ldrb	w9, [x23]
	cmp	w8, #0
	ccmp	w8, w9, #4, ne
	b.ne	LBB0_41
; %bb.44:                               ;   in Loop: Header=BB0_42 Depth=2
	ldr	x8, [x20]
	cmp	x25, x8
	cset	w9, hi
	sub	x25, x25, x9
	sub	x8, x25, x8
	cmp	x8, x19
	b.ge	LBB0_40
	b	LBB0_4
LBB0_45:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w24, #0xff
	strb	w8, [sp, #38]
	strb	wzr, [sp, #39]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cbz	w8, LBB0_2
; %bb.46:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x21, x19
	ldrb	w19, [x24]
	strb	wzr, [x24]
	str	xzr, [sp]
	add	x1, sp, #38
	mov	x0, x21
	mov	x2, x22
	bl	_concat
	mov	x25, x0
	strb	w19, [x24]
	str	xzr, [sp]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x24
	bl	_concat
	str	x0, [x20]
	mov	x0, x25
	bl	_strlen
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	mov	x0, x25
	bl	_xfree
	b	LBB0_3
LBB0_47:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh27:
	adrp	x8, _current_directory@GOTPAGE
Lloh28:
	ldr	x8, [x8, _current_directory@GOTPAGEOFF]
Lloh29:
	ldr	x0, [x8]
Lloh30:
	adrp	x8, _SLASH_STRING@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SLASH_STRING@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x8]
	str	xzr, [sp]
	mov	x2, x22
	bl	_concat
	b	LBB0_32
LBB0_48:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRNAME_SEPARATOR,1,0          ; @DIRNAME_SEPARATOR
	.comm	_current_directory,8,3          ; @current_directory
	.comm	_SLASH_STRING,8,3               ; @SLASH_STRING
	.comm	_errno,4,2                      ; @errno
	.comm	_gdb_stderr,4,2                 ; @gdb_stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Warning: "

	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
l_.str.1:                               ; @.str.1
	.asciz	"%s is not a directory."

l_.str.2:                               ; @.str.2
	.space	1

.subsections_via_symbols
