	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glob3
_glob3:                                 ## @glob3
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MB_LEN_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rbx
	decq	%rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpq	%r14, %r13
	ja	LBB0_1
## %bb.2:
	movq	_EOS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r13)
	cmpq	$0, 24(%r15)
	je	LBB0_4
## %bb.3:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_g_Ctoc
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_E2BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_GLOB_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_45:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_47
## %bb.46:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	_errno@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	$0, (%r12)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_g_opendir
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_9
## %bb.10:
	movq	16(%r15), %rax
	jmp	LBB0_11
LBB0_5:
	movl	(%r12), %esi
	movq	_ENOENT@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	(%rax), %esi
	je	LBB0_45
## %bb.6:
	movq	_ENOTDIR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_45
## %bb.7:
	movq	%r15, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_err_aborted
	movl	%eax, %r13d
	cmpl	$0, (%r12)
	jne	LBB0_45
	jmp	LBB0_44
LBB0_9:
	movq	_freebsd11_readdir@GOTPCREL(%rip), %rax
LBB0_11:
	movl	$0, (%r12)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rax, %rbx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-124(%rbp), %r12
	leaq	-49(%rbp), %r15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	16(%rbp), %r9
	callq	_glob2
	testl	%eax, %eax
	jne	LBB0_34
LBB0_28:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	*-120(%rbp)                     ## 8-byte Folded Reload
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_29
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	movq	_GLOB_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	16(%rbp), %rdx
	movslq	(%rdx), %rax
	leal	1(%rax), %ecx
	movl	%ecx, (%rdx)
	movq	_GLOB_LIMIT_READDIR@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jle	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%rbx), %rax
	cmpb	$46, (%rax)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movzbl	(%rax), %edi
	callq	_UNPROT
	movq	_DOT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%rbx), %rbx
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_MB_LEN_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rcx
	callq	_mbrtowc
	cmpq	$-2, %rax
	jb	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movzbl	(%rbx), %eax
	movb	%al, -49(%rbp)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, %eax
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	movzbl	-49(%rbp), %ecx
	movb	%cl, (%r13)
	movq	_EOS@GOTPCREL(%rip), %rdx
	cmpb	(%rdx), %cl
	je	LBB0_26
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	incq	%r13
	addq	%rax, %rbx
	cmpq	%r14, %r13
	jbe	LBB0_20
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_err_aborted
	testl	%eax, %eax
	je	LBB0_27
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_match
	testl	%eax, %eax
	je	LBB0_27
## %bb.31:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_EOS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx)
	jmp	LBB0_28
LBB0_12:
	xorl	%r13d, %r13d
	jmp	LBB0_30
LBB0_29:
	xorl	%r13d, %r13d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	_errno@GOTPCREL(%rip), %r12
LBB0_30:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	movb	$1, %r14b
	jmp	LBB0_36
LBB0_16:
	movq	_E2BIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	movq	_GLOB_NOSPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_35
LBB0_25:
	movl	%eax, %r13d
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %r12
	movl	%eax, (%r12)
	jmp	LBB0_35
LBB0_34:
	movl	%eax, %r13d
	movq	_errno@GOTPCREL(%rip), %r12
LBB0_35:
	movq	_GLOB_ALTDIRFUNC@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_36:
	movl	(%r12), %ebx
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_38
## %bb.37:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%r15)
	jmp	LBB0_39
LBB0_38:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_closedir
LBB0_39:
	movl	%ebx, (%r12)
	testl	%r13d, %r13d
	jne	LBB0_45
## %bb.40:
	testl	%ebx, %ebx
	setne	%al
	andb	%al, %r14b
	cmpb	$1, %r14b
	jne	LBB0_43
## %bb.41:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_err_aborted
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_45
## %bb.42:
	movl	(%r12), %ebx
LBB0_43:
	xorl	%r13d, %r13d
	testl	%ebx, %ebx
	jne	LBB0_45
LBB0_44:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	jmp	LBB0_45
LBB0_47:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXPATHLEN,8,3                 ## @MAXPATHLEN
	.comm	_MB_LEN_MAX,8,3                 ## @MB_LEN_MAX
	.comm	_E2BIG,4,2                      ## @E2BIG
	.comm	_errno,4,2                      ## @errno
	.comm	_GLOB_NOSPACE,4,2               ## @GLOB_NOSPACE
	.comm	_EOS,1,0                        ## @EOS
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ENOTDIR,4,2                    ## @ENOTDIR
	.comm	_GLOB_ALTDIRFUNC,4,2            ## @GLOB_ALTDIRFUNC
	.comm	_GLOB_LIMIT,4,2                 ## @GLOB_LIMIT
	.comm	_GLOB_LIMIT_READDIR,8,3         ## @GLOB_LIMIT_READDIR
	.comm	_DOT,8,3                        ## @DOT
	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
	.no_dead_strip	_glob3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glob3
_glob3:                                 ; @glob3
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #64
	mov	x21, x6
	mov	x19, x5
	stur	x4, [x29, #-120]                ; 8-byte Folded Spill
	stur	x3, [x29, #-104]                ; 8-byte Folded Spill
	mov	x25, x2
	mov	x26, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	adrp	x22, _MB_LEN_MAX@GOTPAGE
Lloh6:
	ldr	x22, [x22, _MB_LEN_MAX@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x22]
	add	x8, x8, x9
	sub	x2, x8, #1
	add	x8, x8, #14
	and	x8, x8, #0xfffffffffffffff0
	mov	x9, x2
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x23, x9, x8
	mov	sp, x23
Lloh10:
	adrp	x27, _errno@GOTPAGE
Lloh11:
	ldr	x27, [x27, _errno@GOTPAGEOFF]
	cmp	x1, x25
	b.hi	LBB0_3
; %bb.1:
Lloh12:
	adrp	x20, _EOS@GOTPAGE
Lloh13:
	ldr	x20, [x20, _EOS@GOTPAGEOFF]
	ldrb	w8, [x20]
	strb	w8, [x26]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.2:
	mov	x0, x24
	mov	x1, x23
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_g_Ctoc
	cbz	x0, LBB0_6
LBB0_3:
Lloh14:
	adrp	x8, _E2BIG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x27]
Lloh17:
	adrp	x8, _GLOB_NOSPACE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GLOB_NOSPACE@GOTPAGEOFF]
Lloh19:
	ldr	w28, [x8]
LBB0_4:
	ldur	x8, [x29, #-88]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.5:
	mov	x0, x28
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x27]
	stur	w8, [x29, #-140]                ; 4-byte Folded Spill
	str	wzr, [x27]
	mov	x0, x24
	mov	x1, x19
	bl	_g_opendir
	stur	x0, [x29, #-112]                ; 8-byte Folded Spill
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w8, [x19]
Lloh23:
	adrp	x9, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh24:
	ldr	x9, [x9, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	stp	x24, x23, [x29, #-136]          ; 16-byte Folded Spill
	b.eq	LBB0_11
; %bb.8:
	ldr	x23, [x19, #16]
	b	LBB0_13
LBB0_9:
	ldr	w1, [x27]
Lloh26:
	adrp	x8, _ENOENT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _ENOTDIR@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ENOTDIR@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	cmp	w1, w8
	ccmp	w1, w9, #4, ne
	b.ne	LBB0_29
; %bb.10:
	mov	w28, #0
	b	LBB0_4
LBB0_11:
Lloh32:
	adrp	x23, _freebsd11_readdir@GOTPAGE
Lloh33:
	ldr	x23, [x23, _freebsd11_readdir@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldur	x0, [x29, #-136]                ; 8-byte Folded Reload
	mov	x1, x28
	mov	x2, x25
	ldur	x3, [x29, #-120]                ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x21
	bl	_glob2
	cbnz	w0, LBB0_32
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	str	wzr, [x27]
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	blr	x23
	mov	x28, x0
	cbz	x0, LBB0_28
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x19]
Lloh34:
	adrp	x9, _GLOB_LIMIT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _GLOB_LIMIT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x8, [x21]
	add	w9, w8, #1
	str	w9, [x21]
Lloh37:
	adrp	x9, _GLOB_LIMIT_READDIR@GOTPAGE
Lloh38:
	ldr	x9, [x9, _GLOB_LIMIT_READDIR@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.le	LBB0_30
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x28]
	ldrb	w8, [x8]
	cmp	w8, #46
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	ldrb	w0, [x8]
	bl	_UNPROT
Lloh40:
	adrp	x8, _DOT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _DOT@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x24, x27
	sub	x0, x29, #96
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x27, [x28]
	mov	x28, x26
LBB0_19:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x2, [x22]
	sub	x0, x29, #89
	sub	x3, x29, #96
	mov	x1, x27
	bl	_mbrtowc
	cmn	x0, #2
	b.lo	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldrb	w8, [x27]
	sturb	w8, [x29, #-89]
	sub	x0, x29, #96
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #1
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=2
	ldurb	w8, [x29, #-89]
	strb	w8, [x28]
	ldrb	w9, [x20]
	cmp	w8, w9
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=2
	add	x28, x28, #1
	add	x27, x27, x0
	cmp	x28, x25
	b.ls	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh43:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x19
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	bl	_err_aborted
	cbz	w0, LBB0_27
	b	LBB0_31
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x26
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	ldur	x2, [x29, #-120]                ; 8-byte Folded Reload
	bl	_match
	cbz	w0, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x27, x24
	ldr	w8, [x24]
	cbnz	w8, LBB0_12
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	ldur	w8, [x29, #-140]                ; 4-byte Folded Reload
	str	w8, [x27]
	b	LBB0_12
LBB0_27:                                ;   in Loop: Header=BB0_13 Depth=1
	ldrb	w8, [x20]
	strb	w8, [x26]
	mov	x27, x24
	b	LBB0_13
LBB0_28:
	mov	w20, #1
	b	LBB0_34
LBB0_29:
	mov	x0, x19
	mov	x2, x23
	bl	_err_aborted
	mov	x28, x0
	ldr	w8, [x27]
	cbnz	w8, LBB0_4
	b	LBB0_41
LBB0_30:
Lloh46:
	adrp	x8, _E2BIG@GOTPAGE
Lloh47:
	ldr	x8, [x8, _E2BIG@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x27]
Lloh49:
	adrp	x8, _GLOB_NOSPACE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _GLOB_NOSPACE@GOTPAGEOFF]
Lloh51:
	ldr	w28, [x8]
	b	LBB0_33
LBB0_31:
	mov	x28, x0
Lloh52:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	mov	x27, x24
	str	w8, [x24]
	b	LBB0_33
LBB0_32:
	mov	x28, x0
LBB0_33:
	mov	w20, #0
LBB0_34:
Lloh55:
	adrp	x9, _GLOB_ALTDIRFUNC@GOTPAGE
Lloh56:
	ldr	x9, [x9, _GLOB_ALTDIRFUNC@GOTPAGEOFF]
	ldr	w21, [x27]
	ldr	w8, [x19]
Lloh57:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
	ldr	x8, [x19, #8]
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	blr	x8
	str	w21, [x27]
	cbnz	w28, LBB0_4
	b	LBB0_37
LBB0_36:
	ldur	x0, [x29, #-112]                ; 8-byte Folded Reload
	bl	_closedir
	str	w21, [x27]
	cbnz	w28, LBB0_4
LBB0_37:
	cmp	w21, #0
	cset	w8, ne
	and	w8, w20, w8
	cmp	w8, #1
	b.ne	LBB0_40
; %bb.38:
	mov	x0, x19
	mov	x1, x21
	ldur	x2, [x29, #-128]                ; 8-byte Folded Reload
	bl	_err_aborted
	mov	x28, x0
	cbnz	w0, LBB0_4
; %bb.39:
	ldr	w21, [x27]
LBB0_40:
	mov	w28, #0
	cbnz	w21, LBB0_4
LBB0_41:
	ldur	w8, [x29, #-140]                ; 4-byte Folded Reload
	str	w8, [x27]
	b	LBB0_4
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXPATHLEN,8,3                 ; @MAXPATHLEN
	.comm	_MB_LEN_MAX,8,3                 ; @MB_LEN_MAX
	.comm	_E2BIG,4,2                      ; @E2BIG
	.comm	_errno,4,2                      ; @errno
	.comm	_GLOB_NOSPACE,4,2               ; @GLOB_NOSPACE
	.comm	_EOS,1,0                        ; @EOS
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ENOTDIR,4,2                    ; @ENOTDIR
	.comm	_GLOB_ALTDIRFUNC,4,2            ; @GLOB_ALTDIRFUNC
	.comm	_GLOB_LIMIT,4,2                 ; @GLOB_LIMIT
	.comm	_GLOB_LIMIT_READDIR,8,3         ; @GLOB_LIMIT_READDIR
	.comm	_DOT,8,3                        ; @DOT
	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
	.no_dead_strip	_glob3
.subsections_via_symbols
