	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_git_fnmatch                    ## -- Begin function git_fnmatch
	.p2align	4, 0x90
_git_fnmatch:                           ## @git_fnmatch
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movl	%ecx, %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ps_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	_WM_NOMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_4:
	movl	%ebx, %eax
	addq	%rax, %r15
	addq	%rax, %r14
LBB0_5:
	movq	_PATHSPEC_ONESTAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_8
## %bb.6:
	incq	%r15
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ecx
	movl	$1, %eax
	cmpl	%ebx, %ecx
	jl	LBB0_3
## %bb.7:
	movslq	%ecx, %rax
	addq	%rax, %r14
	movslq	%ebx, %rax
	subq	%rax, %r14
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ps_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	4(%r12), %edx
	movq	_PATHSPEC_GLOB@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_12
## %bb.9:
	movq	_WM_PATHNAME@GOTPCREL(%rip), %rax
	movq	_PATHSPEC_ICASE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	je	LBB0_11
## %bb.10:
	movq	_WM_CASEFOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_11:
	orl	(%rax), %edx
	jmp	LBB0_14
LBB0_12:
	movq	_PATHSPEC_ICASE@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	je	LBB0_14
## %bb.13:
	movq	_WM_CASEFOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wildmatch                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WM_NOMATCH,4,2                 ## @WM_NOMATCH
	.comm	_PATHSPEC_ONESTAR,4,2           ## @PATHSPEC_ONESTAR
	.comm	_PATHSPEC_GLOB,4,2              ## @PATHSPEC_GLOB
	.comm	_WM_PATHNAME,4,2                ## @WM_PATHNAME
	.comm	_PATHSPEC_ICASE,4,2             ## @PATHSPEC_ICASE
	.comm	_WM_CASEFOLD,4,2                ## @WM_CASEFOLD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_git_fnmatch                    ; -- Begin function git_fnmatch
	.p2align	2
_git_fnmatch:                           ; @git_fnmatch
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	w3, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, x3
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_ps_strncmp
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _WM_NOMATCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WM_NOMATCH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_3:
	mov	w8, w22
	add	x20, x20, x8
	add	x19, x19, x8
LBB0_4:
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _PATHSPEC_ONESTAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PATHSPEC_ONESTAR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.5:
	add	x20, x20, #1
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
	mov	x0, x19
	bl	_strlen
	cmp	w0, w22
	b.ge	LBB0_9
; %bb.6:
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	ldr	w8, [x21, #4]
Lloh6:
	adrp	x9, _PATHSPEC_GLOB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PATHSPEC_GLOB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.8:
Lloh9:
	adrp	x9, _WM_PATHNAME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WM_PATHNAME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _PATHSPEC_ICASE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PATHSPEC_ICASE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
Lloh15:
	adrp	x11, _WM_CASEFOLD@GOTPAGE
Lloh16:
	ldr	x11, [x11, _WM_CASEFOLD@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w2, w8, w9
	b	LBB0_12
LBB0_9:
	add	x8, x19, w0, sxtw
	sub	x2, x8, w22, sxtw
	mov	x0, x21
	mov	x1, x20
	bl	_ps_strcmp
	cmp	x0, #0
	cset	w0, ne
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh18:
	adrp	x9, _PATHSPEC_ICASE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PATHSPEC_ICASE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _WM_CASEFOLD@GOTPAGE
Lloh22:
	ldr	x10, [x10, _WM_CASEFOLD@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w2, wzr, w10, eq
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wildmatch
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_WM_NOMATCH,4,2                 ; @WM_NOMATCH
	.comm	_PATHSPEC_ONESTAR,4,2           ; @PATHSPEC_ONESTAR
	.comm	_PATHSPEC_GLOB,4,2              ; @PATHSPEC_GLOB
	.comm	_WM_PATHNAME,4,2                ; @WM_PATHNAME
	.comm	_PATHSPEC_ICASE,4,2             ; @PATHSPEC_ICASE
	.comm	_WM_CASEFOLD,4,2                ; @WM_CASEFOLD
.subsections_via_symbols
