	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_pattern
_match_pattern:                         ## @match_pattern
	.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, %rax
	movq	%rsi, -32(%rbp)
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_WM_CASEFOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_2:
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rax, %rdi
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	-32(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	-32(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	-32(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	-32(%rbp), %rdx
	callq	_skip_prefix
LBB0_6:
	movq	(%rbx), %rdi
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.7:
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%rbp), %rsi
	movl	%r15d, %edx
	callq	_wildmatch
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_9
	jmp	LBB0_11
LBB0_10:
	movl	$1, %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_CASEFOLD,4,2                ## @WM_CASEFOLD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/tags/"

L_.str.1:                               ## @.str.1
	.asciz	"refs/heads/"

L_.str.2:                               ## @.str.2
	.asciz	"refs/remotes/"

L_.str.3:                               ## @.str.3
	.asciz	"refs/"

	.no_dead_strip	_match_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_pattern
_match_pattern:                         ; @match_pattern
	.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	x8, x1
	str	x1, [sp, #8]
	ldp	x20, x9, [x0]
Lloh0:
	adrp	x10, _WM_CASEFOLD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WM_CASEFOLD@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w19, wzr, w10, eq
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x0, x8
	bl	_skip_prefix
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	x0, [sp, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	x0, [sp, #8]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x0, [sp, #8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	bl	_skip_prefix
LBB0_4:
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.5:
	add	x20, x20, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #8]
	mov	x2, x19
	bl	_wildmatch
	cbz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x20], #8
	cbnz	x0, LBB0_6
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_CASEFOLD,4,2                ; @WM_CASEFOLD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/tags/"

l_.str.1:                               ; @.str.1
	.asciz	"refs/heads/"

l_.str.2:                               ; @.str.2
	.asciz	"refs/remotes/"

l_.str.3:                               ; @.str.3
	.asciz	"refs/"

	.no_dead_strip	_match_pattern
.subsections_via_symbols
