	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function docd
_docd:                                  ## @docd
	.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, %r12
	movslq	%edx, %rbx
	movq	%rbx, %rdi
	callq	_TRACE
	testl	%ebx, %ebx
	je	LBB0_1
LBB0_2:
	movq	%r12, %rdi
	callq	_cdphysical
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	$-1, %r15d
	jmp	LBB0_8
LBB0_1:
	movq	%r12, %rdi
	callq	_cdlogical
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_2
LBB0_4:
	testl	%r14d, %r14d
	je	LBB0_8
## %bb.5:
	movq	_iflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	movq	_curdir@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	callq	_out1fmt
	movq	_out1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_flushout
	movl	(%rbx), %edi
	callq	_outclearerror
LBB0_8:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_iflag,8,3                      ## @iflag
	.comm	_curdir,8,3                     ## @curdir
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_out1,4,2                       ## @out1
	.no_dead_strip	_docd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function docd
_docd:                                  ; @docd
	.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, x2
	mov	x20, x1
	mov	x21, x0
	sxtw	x0, w19
	bl	_TRACE
	cbz	w19, LBB0_3
LBB0_1:
	mov	x0, x21
	bl	_cdphysical
	mov	x19, x0
	tbz	w0, #31, LBB0_4
; %bb.2:
	mov	w19, #-1
	b	LBB0_7
LBB0_3:
	mov	x0, x21
	bl	_cdlogical
	mov	x19, x0
	tbnz	w0, #31, LBB0_1
LBB0_4:
	cbz	w20, LBB0_7
; %bb.5:
Lloh0:
	adrp	x8, _iflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iflag@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _curdir@GOTPAGE
Lloh4:
	ldr	x9, [x9, _curdir@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x9]
	cmp	x8, #0
	ccmp	x1, #0, #4, ne
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_out1fmt
Lloh8:
	adrp	x20, _out1@GOTPAGE
Lloh9:
	ldr	x20, [x20, _out1@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_flushout
	ldr	w0, [x20]
	bl	_outclearerror
LBB0_7:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_iflag,8,3                      ; @iflag
	.comm	_curdir,8,3                     ; @curdir
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_out1,4,2                       ; @out1
	.no_dead_strip	_docd
.subsections_via_symbols
