	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_next_entry_data
_prepare_next_entry_data:               ## @prepare_next_entry_data
	.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
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movl	(%rsi), %esi
	movq	%r14, %rdi
	callq	_strbuf_addstr
	movq	8(%rbx), %rdi
	movq	40(%rbx), %rax
	movq	(%rax), %rcx
	addq	%rdi, %rcx
	movq	%rcx, 32(%rbx)
	movslq	(%rbx), %rcx
	movq	-8(%rax,%rcx,8), %rax
	addq	%rdi, %rax
	movq	%rax, 24(%rbx)
	movq	_DIR_ITERATOR_FOLLOW_SYMLINKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%rbx), %rsi
	testl	%eax, 4(%rbx)
	je	LBB0_2
## %bb.1:
	callq	_stat
	jmp	LBB0_3
LBB0_2:
	callq	_lstat
LBB0_3:
	movl	%eax, %r12d
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_warning_errno
LBB0_6:
	movl	%ebx, (%r15)
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIR_ITERATOR_FOLLOW_SYMLINKS,4,2 ## @DIR_ITERATOR_FOLLOW_SYMLINKS
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to stat '%s'"

	.no_dead_strip	_prepare_next_entry_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_next_entry_data
_prepare_next_entry_data:               ; @prepare_next_entry_data
	.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	x20, x0
	add	x19, x0, #8
	ldr	w1, [x1]
	mov	x0, x19
	bl	_strbuf_addstr
	ldr	x0, [x20, #8]
	ldr	x8, [x20, #40]
	ldp	w9, w10, [x20]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x9, x8, x9, lsl #3
	ldr	x8, [x8]
	add	x8, x8, x0
	ldur	x9, [x9, #-8]
	add	x9, x9, x0
	stp	x9, x8, [x20, #24]
Lloh0:
	adrp	x8, _DIR_ITERATOR_FOLLOW_SYMLINKS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIR_ITERATOR_FOLLOW_SYMLINKS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x1, x20, #16
	tst	w8, w10
	b.eq	LBB0_2
; %bb.1:
	bl	_stat
	b	LBB0_3
LBB0_2:
	bl	_lstat
LBB0_3:
	mov	x20, x0
Lloh3:
	adrp	x21, _errno@GOTPAGE
Lloh4:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	w22, [x21]
	cbz	w0, LBB0_6
; %bb.4:
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	x1, [x19]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning_errno
LBB0_6:
	str	w22, [x21]
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DIR_ITERATOR_FOLLOW_SYMLINKS,4,2 ; @DIR_ITERATOR_FOLLOW_SYMLINKS
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to stat '%s'"

	.no_dead_strip	_prepare_next_entry_data
.subsections_via_symbols
