	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_globulize                      ## -- Begin function globulize
	.p2align	4, 0x90
_globulize:                             ## @globulize
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_doglob@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_GLOB_BRACE@GOTPCREL(%rip), %rax
	movq	_GLOB_NOCHECK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_GLOB_TILDE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_glob
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	cmpq	$0, -40(%rbp)
	je	LBB0_3
## %bb.4:
	movq	-32(%rbp), %rax
	movq	(%rax), %rdi
	callq	_ftp_strdup
	movq	%rax, %rbx
	leaq	-40(%rbp), %rdi
	callq	_globfree
	jmp	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ftp_strdup                     ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_warnx
	leaq	-40(%rbp), %rdi
	callq	_globfree
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_doglob,4,2                     ## @doglob
	.comm	_GLOB_BRACE,4,2                 ## @GLOB_BRACE
	.comm	_GLOB_NOCHECK,4,2               ## @GLOB_NOCHECK
	.comm	_GLOB_TILDE,4,2                 ## @GLOB_TILDE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Glob pattern `%s' not found"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_globulize                      ; -- Begin function globulize
	.p2align	2
_globulize:                             ; @globulize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _doglob@GOTPAGE
Lloh1:
	ldr	x8, [x8, _doglob@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _GLOB_BRACE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLOB_BRACE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GLOB_NOCHECK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GLOB_NOCHECK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _GLOB_TILDE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GLOB_TILDE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x3, sp
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_glob
	ldr	x8, [sp]
	cmp	x0, #0
	ccmp	x8, #0, #4, eq
	b.ne	LBB0_4
; %bb.2:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warnx
	mov	x0, sp
	bl	_globfree
	mov	x19, #0
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_ftp_strdup
LBB0_4:
	ldr	x8, [sp, #8]
	ldr	x0, [x8]
	bl	_ftp_strdup
	mov	x19, x0
	mov	x0, sp
	bl	_globfree
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_doglob,4,2                     ; @doglob
	.comm	_GLOB_BRACE,4,2                 ; @GLOB_BRACE
	.comm	_GLOB_NOCHECK,4,2               ; @GLOB_NOCHECK
	.comm	_GLOB_TILDE,4,2                 ; @GLOB_TILDE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Glob pattern `%s' not found"

.subsections_via_symbols
