	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glob_readdir                   ## -- Begin function glob_readdir
	.p2align	4, 0x90
_glob_readdir:                          ## @glob_readdir
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_rst_readdir
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	_vflag@GOTPCREL(%rip), %r12
	movq	_dflag@GOTPCREL(%rip), %r14
	movq	_dumpmap@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_rst_readdir
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rax
	movq	_UFS_WINO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%r14)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdi
	movl	(%r13), %esi
	callq	_TSTINO
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	movq	(%rbx), %rax
	movq	%rax, _glob_readdir.adirent(%rip)
	leaq	_glob_readdir.adirent(%rip), %r14
	movq	8(%rbx), %rdx
	movq	%rdx, _glob_readdir.adirent+16(%rip)
	movl	_glob_readdir.adirent+8(%rip), %edi
	movl	16(%rbx), %esi
	incq	%rdx
	callq	_memmove
	jmp	LBB0_10
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_glob_readdir.adirent,24,3 ## @glob_readdir.adirent
	.comm	_vflag,4,2                      ## @vflag
	.comm	_UFS_WINO,8,3                   ## @UFS_WINO
	.comm	_dflag,8,3                      ## @dflag
	.comm	_dumpmap,4,2                    ## @dumpmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_glob_readdir                   ; -- Begin function glob_readdir
	.p2align	2
_glob_readdir:                          ; @glob_readdir
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_rst_readdir
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x21, _vflag@GOTPAGE
Lloh1:
	ldr	x21, [x21, _vflag@GOTPAGEOFF]
Lloh2:
	adrp	x22, _UFS_WINO@GOTPAGE
Lloh3:
	ldr	x22, [x22, _UFS_WINO@GOTPAGEOFF]
Lloh4:
	adrp	x23, _dflag@GOTPAGE
Lloh5:
	ldr	x23, [x23, _dflag@GOTPAGEOFF]
Lloh6:
	adrp	x24, _dumpmap@GOTPAGE
Lloh7:
	ldr	x24, [x24, _dumpmap@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_rst_readdir
	mov	x20, x0
	cbz	x0, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	cbnz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	cbnz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x20]
	ldr	w1, [x24]
	bl	_TSTINO
	cbz	x0, LBB0_2
LBB0_7:
Lloh8:
	adrp	x19, _glob_readdir.adirent@PAGE
Lloh9:
	add	x19, x19, _glob_readdir.adirent@PAGEOFF
	ldp	x8, x9, [x20]
	str	x8, [x19]
	str	x9, [x19, #16]
	ldr	w0, [x19, #8]
	ldr	w1, [x20, #16]
	add	x2, x9, #1
	bl	_memmove
	b	LBB0_9
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_glob_readdir.adirent,24,3 ; @glob_readdir.adirent
	.comm	_vflag,4,2                      ; @vflag
	.comm	_UFS_WINO,8,3                   ; @UFS_WINO
	.comm	_dflag,8,3                      ; @dflag
	.comm	_dumpmap,4,2                    ; @dumpmap
.subsections_via_symbols
