	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__wildmatch                 ## -- Begin function cmd__wildmatch
	.p2align	4, 0x90
_cmd__wildmatch:                        ## @cmd__wildmatch
	.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	%rsi, %r12
	cmpl	$3, %edi
	jl	LBB0_7
## %bb.1:
	movl	%edi, %r13d
	movl	$2, %ebx
	leaq	L_.str(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_die
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	cmpb	$47, (%rdi)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$3, (%r12,%rbx,8)
	jmp	LBB0_6
LBB0_7:
	movq	8(%r12), %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	movb	$1, %cl
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	16(%r12), %rsi
	movq	24(%r12), %rdi
	movq	_WM_CASEFOLD@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	16(%r12), %rsi
	movq	24(%r12), %rdi
	movq	_WM_PATHNAME@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %edx
	jmp	LBB0_16
LBB0_10:
	movq	16(%r12), %rsi
	movq	24(%r12), %rdi
	movq	_WM_PATHNAME@GOTPCREL(%rip), %rax
	movq	_WM_CASEFOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	jmp	LBB0_16
LBB0_12:
	movq	16(%r12), %rsi
	movq	24(%r12), %rdi
	xorl	%edx, %edx
LBB0_16:
	callq	_wildmatch
	testl	%eax, %eax
	setne	%cl
LBB0_17:
	movzbl	%cl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Forward slash is not allowed at the beginning of the\npattern because Windows does not like it. Use `XXX/' instead."

L_.str.1:                               ## @.str.1
	.asciz	"XXX/"

L_.str.2:                               ## @.str.2
	.asciz	"wildmatch"

	.comm	_WM_PATHNAME,4,2                ## @WM_PATHNAME
L_.str.3:                               ## @.str.3
	.asciz	"iwildmatch"

	.comm	_WM_CASEFOLD,4,2                ## @WM_CASEFOLD
L_.str.4:                               ## @.str.4
	.asciz	"pathmatch"

L_.str.5:                               ## @.str.5
	.asciz	"ipathmatch"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__wildmatch                 ; -- Begin function cmd__wildmatch
	.p2align	2
_cmd__wildmatch:                        ; @cmd__wildmatch
	.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, x1
	cmp	w0, #3
	b.lt	LBB0_7
; %bb.1:
	mov	w8, w0
	add	x22, x19, #16
	sub	x23, x8, #2
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_die
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #8
	subs	x23, x23, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldrb	w8, [x0]
	cmp	w8, #47
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x21
	mov	w2, #4
	bl	_strncmp
	cbnz	w0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	add	x8, x8, #3
	str	x8, [x22]
	b	LBB0_3
LBB0_7:
	ldr	x20, [x19, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_12
; %bb.8:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.9:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_14
; %bb.10:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_15
; %bb.11:
	mov	w0, #1
	b	LBB0_18
LBB0_12:
	ldp	x1, x0, [x19, #16]
Lloh12:
	adrp	x8, _WM_PATHNAME@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WM_PATHNAME@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh14:
	adrp	x8, _WM_PATHNAME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WM_PATHNAME@GOTPAGEOFF]
	ldp	x1, x0, [x19, #16]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	adrp	x9, _WM_CASEFOLD@GOTPAGE
Lloh18:
	ldr	x9, [x9, _WM_CASEFOLD@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w2, w9, w8
	b	LBB0_17
LBB0_14:
	ldp	x1, x0, [x19, #16]
	mov	w2, #0
	b	LBB0_17
LBB0_15:
	ldp	x1, x0, [x19, #16]
Lloh20:
	adrp	x8, _WM_CASEFOLD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _WM_CASEFOLD@GOTPAGEOFF]
LBB0_16:
	ldr	w2, [x8]
LBB0_17:
	bl	_wildmatch
	cmp	w0, #0
	cset	w0, ne
LBB0_18:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Forward slash is not allowed at the beginning of the\npattern because Windows does not like it. Use `XXX/' instead."

l_.str.1:                               ; @.str.1
	.asciz	"XXX/"

l_.str.2:                               ; @.str.2
	.asciz	"wildmatch"

	.comm	_WM_PATHNAME,4,2                ; @WM_PATHNAME
l_.str.3:                               ; @.str.3
	.asciz	"iwildmatch"

	.comm	_WM_CASEFOLD,4,2                ; @WM_CASEFOLD
l_.str.4:                               ; @.str.4
	.asciz	"pathmatch"

l_.str.5:                               ; @.str.5
	.asciz	"ipathmatch"

.subsections_via_symbols
