	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_dir_read                   ## -- Begin function isc_dir_read
	.p2align	4, 0x90
_isc_dir_read:                          ## @isc_dir_read
	.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	%rdi, %r14
	callq	_VALID_DIR
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%r14)
	setne	%dil
LBB0_2:
	callq	_REQUIRE
	movq	8(%r14), %rdi
	callq	_readdir
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_strlen
	incl	%eax
	cmpl	$4, %eax
	jbe	LBB0_6
## %bb.5:
	movq	_ISC_R_UNEXPECTED@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_ISC_R_NOMORE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %edx
	movl	4(%r14), %edi
	movl	(%rbx), %esi
	callq	_strlcpy
	movl	(%rbx), %edi
	callq	_strlen
	movl	%eax, (%r14)
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_NOMORE,4,2               ## @ISC_R_NOMORE
	.comm	_ISC_R_UNEXPECTED,4,2           ## @ISC_R_UNEXPECTED
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_dir_read                   ; -- Begin function isc_dir_read
	.p2align	2
_isc_dir_read:                          ; @isc_dir_read
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_VALID_DIR
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, ne
LBB0_2:
	bl	_REQUIRE
	ldr	x0, [x19, #8]
	bl	_readdir
	cbz	x0, LBB0_5
; %bb.3:
	mov	x20, x0
	ldr	w0, [x0]
	bl	_strlen
	add	w2, w0, #1
	cmp	w2, #4
	b.ls	LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _ISC_R_UNEXPECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_R_UNEXPECTED@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x8, _ISC_R_NOMORE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISC_R_NOMORE@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w0, [x19, #4]
	ldr	w1, [x20]
	bl	_strlcpy
	ldr	w0, [x20]
	bl	_strlen
	str	w0, [x19]
Lloh4:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_NOMORE,4,2               ; @ISC_R_NOMORE
	.comm	_ISC_R_UNEXPECTED,4,2           ; @ISC_R_UNEXPECTED
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
