	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_long_magic
_parse_long_magic:                      ## @parse_long_magic
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	2(%rcx), %r14
	leaq	L_.str(%rip), %rbx
	movq	_pathspec_magic@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_8
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	$5, %r12
	addq	$-5, %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_xmemdupz
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_parse_pathspec_attr_match
	movq	_PATHSPEC_ATTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rbx
	callq	_free
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r14, %r12
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_15
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$41, %al
	je	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_strcspn_escaped
	movq	%rax, %r15
	xorl	%r14d, %r14d
	cmpb	$44, (%r12,%rax)
	leaq	(%r12,%rax), %rax
	sete	%r14b
	addq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_1
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_starts_with
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	7(%r12), %rdi
	leaq	-80(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-80(%rbp), %rax
	subq	%r12, %rax
	cmpq	%r15, %rax
	je	LBB0_1
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jg	LBB0_9
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_13
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	movl	4(%rax,%rbx,8), %edi
	callq	_strlen
	cmpq	%r15, %rax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	(%r13), %rax
	movl	4(%rax,%rbx,8), %edi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,8), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	orl	%eax, (%rcx)
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	leaq	L_.str(%rip), %rbx
	jg	LBB0_1
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%r15d, %esi
	movq	%r12, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_1
LBB0_15:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_die
LBB0_16:
	incq	%r12
	movq	%r12, %rax
	addq	$40, %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	",)"

L_.str.1:                               ## @.str.1
	.asciz	"prefix:"

L_.str.2:                               ## @.str.2
	.asciz	"invalid parameter for pathspec magic 'prefix'"

L_.str.3:                               ## @.str.3
	.asciz	"attr:"

	.comm	_PATHSPEC_ATTR,4,2              ## @PATHSPEC_ATTR
	.comm	_pathspec_magic,8,3             ## @pathspec_magic
L_.str.4:                               ## @.str.4
	.asciz	"Invalid pathspec magic '%.*s' in '%s'"

L_.str.5:                               ## @.str.5
	.asciz	"Missing ')' at the end of pathspec magic in '%s'"

	.no_dead_strip	_parse_long_magic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_long_magic
_parse_long_magic:                      ; @parse_long_magic
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	add	x25, x3, #2
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh4:
	adrp	x27, _pathspec_magic@GOTPAGE
Lloh5:
	ldr	x27, [x27, _pathspec_magic@GOTPAGEOFF]
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_starts_with
	cbz	x0, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x28, #5
	sub	x1, x26, #5
	bl	_xmemdupz
	mov	x26, x0
	mov	x0, x19
	mov	x1, x26
	bl	_parse_pathspec_attr_match
Lloh8:
	adrp	x8, _PATHSPEC_ATTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PATHSPEC_ATTR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x0, x26
	bl	_free
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	mov	x28, x25
	ldrb	w8, [x25]
	cbz	w8, LBB0_19
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #41
	b.eq	LBB0_20
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x28
	mov	x1, x23
	bl	_strcspn_escaped
	add	x8, x28, x0
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #44
	csel	x25, x8, x9, ne
	cbz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x0
	mov	x0, x28
	mov	x1, x24
	bl	_starts_with
	cbz	x0, LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x28, #7
	add	x1, sp, #40
	mov	w2, #10
	bl	_strtol
	str	w0, [x21]
	ldr	x8, [sp, #40]
	sub	x8, x8, x28
	cmp	x8, x26
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	bl	_die
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	mov	x22, x24
	mov	x24, x19
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	mov	x20, #0
	mov	x19, #0
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x19, x19, #1
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	add	x20, x20, #8
	cmp	x19, w0, sxtw
	b.ge	LBB0_15
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27]
	add	x8, x8, x20
	ldr	w0, [x8, #4]
	bl	_strlen
	cmp	x0, x26
	b.ne	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x27]
	add	x8, x8, x20
	ldr	w0, [x8, #4]
	mov	x1, x28
	mov	x2, x26
	bl	_strncmp
	cbnz	w0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x27]
	ldr	w8, [x8, x20]
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w9, [x10]
	orr	w8, w9, w8
	str	w8, [x10]
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w19, #0
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x27]
	bl	_ARRAY_SIZE
	cmp	w0, w19
	mov	x19, x24
	mov	x24, x22
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	b.gt	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	stp	x28, x20, [sp, #8]
	str	x26, [sp]
	bl	_die
	b	LBB0_3
LBB0_19:
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	str	x20, [sp]
	bl	_die
LBB0_20:
	add	x0, x28, #1
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	",)"

l_.str.1:                               ; @.str.1
	.asciz	"prefix:"

l_.str.2:                               ; @.str.2
	.asciz	"invalid parameter for pathspec magic 'prefix'"

l_.str.3:                               ; @.str.3
	.asciz	"attr:"

	.comm	_PATHSPEC_ATTR,4,2              ; @PATHSPEC_ATTR
	.comm	_pathspec_magic,8,3             ; @pathspec_magic
l_.str.4:                               ; @.str.4
	.asciz	"Invalid pathspec magic '%.*s' in '%s'"

l_.str.5:                               ; @.str.5
	.asciz	"Missing ')' at the end of pathspec magic in '%s'"

	.no_dead_strip	_parse_long_magic
.subsections_via_symbols
