	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glob_stat
_glob_stat:                             ## @glob_stat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_pathsearch
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %rbx
	movq	_dflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rdi
	movq	_dumpmap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_TSTINO
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	(%rbx), %rdi
	jne	LBB0_5
## %bb.4:
	movq	_UFS_WINO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	je	LBB0_9
LBB0_5:
	callq	_inodetype
	movq	_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.7:
	movq	_IFDIR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_IFREG@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dflag,4,2                      ## @dflag
	.comm	_dumpmap,4,2                    ## @dumpmap
	.comm	_vflag,4,2                      ## @vflag
	.comm	_UFS_WINO,8,3                   ## @UFS_WINO
	.comm	_NODE,8,3                       ## @NODE
	.comm	_IFDIR,4,2                      ## @IFDIR
	.comm	_IFREG,4,2                      ## @IFREG
	.no_dead_strip	_glob_stat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glob_stat
_glob_stat:                             ; @glob_stat
	.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, x1
	bl	_pathsearch
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _dflag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dflag@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	x0, [x20]
Lloh3:
	adrp	x8, _dumpmap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dumpmap@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_TSTINO
	cbz	x0, LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _vflag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vflag@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x0, [x20]
Lloh9:
	adrp	x9, _UFS_WINO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UFS_WINO@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x0, x9, #0, eq
	b.eq	LBB0_5
; %bb.4:
	bl	_inodetype
	mov	x8, x0
	mov	w0, #0
Lloh12:
	adrp	x9, _NODE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NODE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _IFDIR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IFDIR@GOTPAGEOFF]
Lloh17:
	adrp	x11, _IFREG@GOTPAGE
Lloh18:
	ldr	x11, [x11, _IFREG@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_dflag,4,2                      ; @dflag
	.comm	_dumpmap,4,2                    ; @dumpmap
	.comm	_vflag,4,2                      ; @vflag
	.comm	_UFS_WINO,8,3                   ; @UFS_WINO
	.comm	_NODE,8,3                       ; @NODE
	.comm	_IFDIR,4,2                      ; @IFDIR
	.comm	_IFREG,4,2                      ; @IFREG
	.no_dead_strip	_glob_stat
.subsections_via_symbols
