	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libglob
_libglob:                               ## @libglob
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_GLOB_QUOTE@GOTPCREL(%rip), %rax
	movq	_GLOB_NOMAGIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	movq	_GLOB_ALTNOT@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	_STRnonomatch@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	movq	%rax, %r12
	movq	_STRglobdot@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GLOB_DOT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_2:
	movq	_STRglobstar@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_adrof
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_GLOB_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_4:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.5:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.6:
	orl	%r14d, %r13d
	orl	%ecx, %r13d
	xorl	%r14d, %r14d
	movq	$0, -96(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movl	$0, %eax
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_8
## %bb.7:
	movq	_GLOB_NOCHECK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	orl	%eax, %r13d
	addq	$8, %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rdi
	callq	_globfree
	movq	_ERR_NOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_stderror
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	$0, -80(%rbp)
	movq	_GLOB_MAGCHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	setne	%cl
	testl	%eax, -88(%rbp)
	setne	%al
	movl	$1, %edx
	cmovnel	%edx, %r14d
	andb	%cl, %al
	movzbl	%al, %eax
	movq	_GLOB_APPEND@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r13d
	orl	%eax, %r12d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	je	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	callq	_short2qstr
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	%r13d, %esi
	xorl	%edx, %edx
	leaq	-96(%rbp), %r15
	movq	%r15, %rcx
	callq	_glob
	cmpl	$128, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	callq	_globfree
	movq	%rbx, %rdi
	callq	_setname
	movq	_ERR_GLOB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_stderror
	jmp	LBB0_9
LBB0_14:
	cmpq	$0, -96(%rbp)
	je	LBB0_20
## %bb.15:
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.16:
	testl	%r12d, %r12d
	jne	LBB0_21
## %bb.17:
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_21
LBB0_20:
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_21:
	movq	-72(%rbp), %rdi
	callq	_blk2short
	movq	%rax, %rbx
LBB0_22:
	leaq	-96(%rbp), %rdi
	callq	_globfree
LBB0_23:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLOB_QUOTE,4,2                 ## @GLOB_QUOTE
	.comm	_GLOB_NOMAGIC,4,2               ## @GLOB_NOMAGIC
	.comm	_GLOB_ALTNOT,4,2                ## @GLOB_ALTNOT
	.comm	_STRnonomatch,4,2               ## @STRnonomatch
	.comm	_STRglobdot,4,2                 ## @STRglobdot
	.comm	_GLOB_DOT,4,2                   ## @GLOB_DOT
	.comm	_STRglobstar,4,2                ## @STRglobstar
	.comm	_GLOB_STAR,4,2                  ## @GLOB_STAR
	.comm	_GLOB_NOCHECK,4,2               ## @GLOB_NOCHECK
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_GLOB,4,2                   ## @ERR_GLOB
	.comm	_ERR_NOMEM,4,2                  ## @ERR_NOMEM
	.comm	_GLOB_MAGCHAR,4,2               ## @GLOB_MAGCHAR
	.comm	_GLOB_APPEND,4,2                ## @GLOB_APPEND
	.no_dead_strip	_libglob
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libglob
_libglob:                               ; @libglob
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x0
Lloh0:
	adrp	x8, _GLOB_QUOTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GLOB_QUOTE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _GLOB_NOMAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLOB_NOMAGIC@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _GLOB_ALTNOT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GLOB_ALTNOT@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
Lloh9:
	adrp	x8, _STRnonomatch@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STRnonomatch@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_adrof
	mov	x26, x0
Lloh12:
	adrp	x8, _STRglobdot@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STRglobdot@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_adrof
Lloh15:
	adrp	x8, _GLOB_DOT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GLOB_DOT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w25, wzr, w8, eq
Lloh18:
	adrp	x8, _STRglobstar@GOTPAGE
Lloh19:
	ldr	x8, [x8, _STRglobstar@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_adrof
Lloh21:
	adrp	x8, _GLOB_STAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _GLOB_STAR@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	cbz	x21, LBB0_13
; %bb.1:
	ldr	x0, [x21]
	cbz	x0, LBB0_13
; %bb.2:
	mov	w23, #0
	mov	w22, #0
	orr	w9, w20, w19
	orr	w9, w9, w24
	orr	w9, w9, w25
	orr	w8, w9, w8
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #8]
Lloh24:
	adrp	x9, _GLOB_NOCHECK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _GLOB_NOCHECK@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	str	x26, [sp]                       ; 8-byte Folded Spill
	cmp	x26, #0
	csel	w9, w9, wzr, ne
	orr	w20, w8, w9
	add	x24, x21, #8
Lloh27:
	adrp	x25, _ERR_NOMEM@GOTPAGE
Lloh28:
	ldr	x25, [x25, _ERR_NOMEM@GOTPAGEOFF]
Lloh29:
	adrp	x26, _GLOB_MAGCHAR@GOTPAGE
Lloh30:
	ldr	x26, [x26, _GLOB_MAGCHAR@GOTPAGEOFF]
Lloh31:
	adrp	x27, _GLOB_APPEND@GOTPAGE
Lloh32:
	ldr	x27, [x27, _GLOB_APPEND@GOTPAGEOFF]
Lloh33:
	adrp	x28, _ERR_NAME@GOTPAGE
Lloh34:
	ldr	x28, [x28, _ERR_NAME@GOTPAGEOFF]
Lloh35:
	adrp	x19, _ERR_GLOB@GOTPAGE
Lloh36:
	ldr	x19, [x19, _ERR_GLOB@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_globfree
	ldr	w0, [x25]
	bl	_stderror
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #16]
	ldr	w9, [x26]
	ldr	x10, [sp, #24]
	cmp	x10, #0
	cset	w10, ne
	tst	w9, w8
	cset	w8, ne
	csinc	w23, w23, wzr, eq
	and	w8, w8, w10
	orr	w22, w22, w8
	ldr	w8, [x27]
	orr	w20, w8, w20
	ldr	x0, [x24], #8
	cbz	x0, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_short2qstr
	mov	x21, x0
	add	x3, sp, #8
	mov	x1, x20
	mov	w2, #0
	bl	_glob
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #129
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_globfree
	mov	x0, x21
	bl	_setname
	ldr	w8, [x28]
	ldr	w9, [x19]
	orr	w0, w9, w8
	bl	_stderror
	b	LBB0_3
LBB0_8:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.9:
	cmp	w23, #0
	ccmp	w22, #0, #0, ne
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ccmp	x8, #0, #0, eq
	b.eq	LBB0_11
; %bb.10:
	ldr	x0, [sp, #32]
	bl	_blk2short
	mov	x21, x0
	b	LBB0_12
LBB0_11:
	mov	x21, #0
LBB0_12:
	add	x0, sp, #8
	bl	_globfree
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GLOB_QUOTE,4,2                 ; @GLOB_QUOTE
	.comm	_GLOB_NOMAGIC,4,2               ; @GLOB_NOMAGIC
	.comm	_GLOB_ALTNOT,4,2                ; @GLOB_ALTNOT
	.comm	_STRnonomatch,4,2               ; @STRnonomatch
	.comm	_STRglobdot,4,2                 ; @STRglobdot
	.comm	_GLOB_DOT,4,2                   ; @GLOB_DOT
	.comm	_STRglobstar,4,2                ; @STRglobstar
	.comm	_GLOB_STAR,4,2                  ; @GLOB_STAR
	.comm	_GLOB_NOCHECK,4,2               ; @GLOB_NOCHECK
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_GLOB,4,2                   ; @ERR_GLOB
	.comm	_ERR_NOMEM,4,2                  ; @ERR_NOMEM
	.comm	_GLOB_MAGCHAR,4,2               ; @GLOB_MAGCHAR
	.comm	_GLOB_APPEND,4,2                ; @GLOB_APPEND
	.no_dead_strip	_libglob
.subsections_via_symbols
