	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dnewcwd
_dnewcwd:                               ## @dnewcwd
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_STRdunique@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_dhead@GOTPCREL(%rip), %r12
	movq	16(%r12), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %rbx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, %rbx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_Strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	%rax, 8(%rcx)
	movq	%rbx, %rdi
	callq	_dfree
LBB0_6:
	movq	_dcwd@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	movl	(%r15), %edi
	callq	_dset
	xorl	%eax, %eax
	callq	_dgetstack
	movq	_printd@GOTPCREL(%rip), %rax
	movq	_STRpushdsilent@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	$0, (%rax)
	sete	%bl
	callq	_adrof
	testq	%rax, %rax
	movq	_DIR_PRINT@GOTPCREL(%rip), %rcx
	setne	%al
	testl	%r14d, (%rcx)
	movq	_bequiet@GOTPCREL(%rip), %rdx
	sete	%cl
	cmpq	$0, (%rdx)
	jne	LBB0_9
## %bb.7:
	orb	%bl, %al
	andb	%al, %cl
	jne	LBB0_9
## %bb.8:
	movl	%r14d, %edi
	callq	_printdirs
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cwd_cmd                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STRdunique,4,2                 ## @STRdunique
	.comm	_dhead,24,3                     ## @dhead
	.comm	_dcwd,8,3                       ## @dcwd
	.comm	_printd,4,2                     ## @printd
	.comm	_STRpushdsilent,4,2             ## @STRpushdsilent
	.comm	_DIR_PRINT,4,2                  ## @DIR_PRINT
	.comm	_bequiet,8,3                    ## @bequiet
	.no_dead_strip	_dnewcwd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dnewcwd
_dnewcwd:                               ; @dnewcwd
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRdunique@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRdunique@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_adrof
	cbz	x0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x22, _dhead@GOTPAGE
Lloh4:
	ldr	x22, [x22, _dhead@GOTPAGEOFF]
	ldr	x21, [x22, #16]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #16]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x21, x22
	b.eq	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x21, x20
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_Strcmp
	cbnz	x0, LBB0_2
; %bb.6:
	ldp	x9, x8, [x21, #8]
	str	x8, [x9]
	str	x9, [x8, #8]
	mov	x0, x21
	bl	_dfree
LBB0_7:
Lloh5:
	adrp	x8, _dcwd@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dcwd@GOTPAGEOFF]
Lloh7:
	str	x20, [x8]
	ldr	w0, [x20]
	bl	_dset
	bl	_dgetstack
Lloh8:
	adrp	x8, _printd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _printd@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
Lloh11:
	adrp	x8, _STRpushdsilent@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STRpushdsilent@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_adrof
Lloh14:
	adrp	x8, _DIR_PRINT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DIR_PRINT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w19
	cset	w8, eq
	cmp	x0, #0
Lloh17:
	adrp	x9, _bequiet@GOTPAGE
Lloh18:
	ldr	x9, [x9, _bequiet@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x9]
	ccmp	w20, #0, #4, eq
	cset	w9, eq
	cbnz	x10, LBB0_10
; %bb.8:
	and	w8, w8, w9
	tbnz	w8, #0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_printdirs
LBB0_10:
	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	_cwd_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_STRdunique,4,2                 ; @STRdunique
	.comm	_dhead,24,3                     ; @dhead
	.comm	_dcwd,8,3                       ; @dcwd
	.comm	_printd,4,2                     ; @printd
	.comm	_STRpushdsilent,4,2             ; @STRpushdsilent
	.comm	_DIR_PRINT,4,2                  ; @DIR_PRINT
	.comm	_bequiet,8,3                    ; @bequiet
	.no_dead_strip	_dnewcwd
.subsections_via_symbols
