	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lpwd                           ## -- Begin function lpwd
	.p2align	4, 0x90
_lpwd:                                  ## @lpwd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_code@GOTPCREL(%rip), %rbx
	movl	$-1, (%rbx)
	cmpl	$1, %edi
	jne	LBB0_4
## %bb.1:
	movq	_localcwd@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	cmpb	$0, (%rdx)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_updatelocalcwd
	movq	(%r14), %rdx
	cmpb	$0, (%rdx)
	je	LBB0_5
LBB0_3:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$0, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%rsi), %rsi
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_UPRINTF                        ## TAILCALL
LBB0_5:
	movq	_ttyout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_code,4,2                       ## @code
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: %s\n"

	.comm	_localcwd,8,3                   ## @localcwd
	.comm	_ttyout,4,2                     ## @ttyout
L_.str.1:                               ## @.str.1
	.asciz	"Unable to determine local directory\n"

L_.str.2:                               ## @.str.2
	.asciz	"Local directory: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lpwd                           ; -- Begin function lpwd
	.p2align	2
_lpwd:                                  ; @lpwd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x19, _code@GOTPAGE
Lloh1:
	ldr	x19, [x19, _code@GOTPAGEOFF]
	mov	w8, #-1
	str	w8, [x19]
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x20, _localcwd@GOTPAGE
Lloh3:
	ldr	x20, [x20, _localcwd@GOTPAGEOFF]
	ldr	x8, [x20]
	ldrb	w9, [x8]
	cbnz	w9, LBB0_3
; %bb.2:
	bl	_updatelocalcwd
	ldr	x8, [x20]
	ldrb	w9, [x8]
	cbz	w9, LBB0_5
LBB0_3:
Lloh4:
	adrp	x9, _ttyout@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ttyout@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	str	wzr, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldr	x1, [x1]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_UPRINTF
LBB0_5:
Lloh11:
	adrp	x8, _ttyout@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ttyout@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_fprintf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_code,4,2                       ; @code
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: %s\n"

	.comm	_localcwd,8,3                   ; @localcwd
	.comm	_ttyout,4,2                     ; @ttyout
l_.str.1:                               ; @.str.1
	.asciz	"Unable to determine local directory\n"

l_.str.2:                               ; @.str.2
	.asciz	"Local directory: %s\n"

.subsections_via_symbols
