	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_pathspec_item
_init_pathspec_item:                    ## @init_pathspec_item
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	%ecx, -44(%rbp)
	movl	$0, -52(%rbp)
	movl	$-1, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rdi)
	movq	$0, 56(%rdi)
	movq	_PATHSPEC_LITERAL_PATH@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_PATHSPEC_LITERAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, (%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_2:
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	leaq	-52(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	_parse_element_magic
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %r15d
	movl	%r15d, %edi
	callq	_get_global_magic
	movl	%eax, %r14d
	orl	%r15d, %r14d
	cmpl	$0, -48(%rbp)
	movl	%r14d, (%rbx)
	js	LBB0_3
## %bb.4:
	testl	%r13d, %r13d
	movl	-68(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_5
LBB0_7:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
	jmp	LBB0_8
LBB0_3:
	movl	-68(%rbp), %r12d                ## 4-byte Reload
LBB0_8:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
LBB0_9:
	movq	_PATHSPEC_LITERAL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.10:
	movq	_PATHSPEC_GLOB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %r15d
	movq	%rcx, %r13
	callq	__
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_die
	movq	%r13, %rcx
	movl	%r15d, %r13d
LBB0_12:
	cmpl	$0, -48(%rbp)
	js	LBB0_14
## %bb.13:
	movq	%rcx, %rdi
	callq	_xstrdup
	movq	%rax, %r13
	movl	-48(%rbp), %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_18
LBB0_14:
	movq	_PATHSPEC_FROMTOP@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_16
## %bb.15:
	movq	%rcx, %rdi
	callq	_xstrdup
	movq	%rax, %r13
	movl	$0, -44(%rbp)
	jmp	LBB0_18
LBB0_16:
	leaq	-44(%rbp), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movq	%rcx, %r15
	callq	_prefix_path_gently
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	xorl	%r13d, %r13d
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_die
LBB0_18:
	movq	%r13, 8(%rbx)
	movq	%r13, %rdi
	callq	_strlen
	movl	%eax, 16(%rbx)
	movl	-44(%rbp), %eax
	movl	%eax, 20(%rbx)
	movq	_PATHSPEC_PREFIX_ORIGIN@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_21
## %bb.19:
	xorl	%eax, %eax
	callq	_get_literal_global
	testl	%eax, %eax
	je	LBB0_20
LBB0_21:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_xstrdup
	jmp	LBB0_22
LBB0_20:
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movl	-44(%rbp), %esi
	movl	-52(%rbp), %edx
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	callq	_prefix_magic
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_strbuf_addstr
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_strbuf_detach
LBB0_22:
	movq	%rax, 32(%rbx)
	movq	_PATHSPEC_LITERAL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_24
## %bb.23:
	movl	16(%rbx), %ecx
	jmp	LBB0_25
LBB0_24:
	movq	8(%rbx), %rdi
	callq	_simple_length
	movl	-44(%rbp), %ecx
	cmpl	%ecx, %eax
	cmovgl	%eax, %ecx
LBB0_25:
	movl	%ecx, 24(%rbx)
	movl	$0, 28(%rbx)
	movq	_PATHSPEC_GLOB@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_30
## %bb.26:
	cmpl	16(%rbx), %ecx
	jge	LBB0_30
## %bb.27:
	movq	8(%rbx), %rdi
	movslq	%ecx, %rax
	cmpb	$42, (%rdi,%rax)
	jne	LBB0_30
## %bb.28:
	addq	%rax, %rdi
	incq	%rdi
	callq	_no_wildcard
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	_PATHSPEC_ONESTAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 28(%rbx)
LBB0_30:
	movl	16(%rbx), %eax
	cmpl	%eax, 24(%rbx)
	jg	LBB0_32
## %bb.31:
	cmpl	%eax, 20(%rbx)
	jle	LBB0_33
LBB0_32:
	leaq	L_.str.3(%rip), %rdi
	callq	_BUG
LBB0_33:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	cmpb	$0, (%rax)
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_PATHSPEC_LITERAL_PATH,4,2      ## @PATHSPEC_LITERAL_PATH
	.comm	_PATHSPEC_LITERAL,4,2           ## @PATHSPEC_LITERAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'prefix' magic is supposed to be used at worktree's root"

	.comm	_PATHSPEC_GLOB,4,2              ## @PATHSPEC_GLOB
L_.str.1:                               ## @.str.1
	.asciz	"%s: 'literal' and 'glob' are incompatible"

	.comm	_PATHSPEC_FROMTOP,4,2           ## @PATHSPEC_FROMTOP
L_.str.2:                               ## @.str.2
	.asciz	"%s: '%s' is outside repository"

	.comm	_PATHSPEC_PREFIX_ORIGIN,4,2     ## @PATHSPEC_PREFIX_ORIGIN
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.comm	_PATHSPEC_ONESTAR,4,2           ## @PATHSPEC_ONESTAR
L_.str.3:                               ## @.str.3
	.asciz	"error initializing pathspec_item"

	.no_dead_strip	_init_pathspec_item
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_pathspec_item
_init_pathspec_item:                    ; @init_pathspec_item
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	stp	wzr, w3, [sp, #24]
	mov	w8, #-1
	str	w8, [sp, #20]
	stp	xzr, xzr, [x0, #48]
	str	xzr, [x0, #40]
Lloh0:
	adrp	x8, _PATHSPEC_LITERAL_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATHSPEC_LITERAL_PATH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x26, _PATHSPEC_LITERAL@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PATHSPEC_LITERAL@GOTPAGEOFF]
	tst	w8, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w25, [x26]
	str	w25, [x19]
	mov	x24, x20
	b	LBB0_5
LBB0_2:
	add	x0, sp, #24
	add	x1, sp, #20
	mov	x2, x19
	mov	x3, x20
	bl	_parse_element_magic
	mov	x24, x0
	ldr	w25, [sp, #24]
	mov	x0, x25
	bl	_get_global_magic
	orr	w25, w0, w25
	ldr	w8, [sp, #20]
	str	w25, [x19]
	tbnz	w8, #31, LBB0_5
; %bb.3:
	cbz	w22, LBB0_30
LBB0_4:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_5:
	ldr	w8, [x26]
Lloh7:
	adrp	x27, _PATHSPEC_GLOB@GOTPAGE
Lloh8:
	ldr	x27, [x27, _PATHSPEC_GLOB@GOTPAGEOFF]
	tst	w8, w25
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x27]
	tst	w8, w25
	b.eq	LBB0_8
; %bb.7:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x20
	bl	_die
LBB0_8:
	ldr	w8, [sp, #20]
	tbnz	w8, #31, LBB0_10
; %bb.9:
	mov	x0, x24
	bl	_xstrdup
	mov	x22, x0
	ldr	w8, [sp, #20]
	str	w8, [sp, #28]
	b	LBB0_14
LBB0_10:
Lloh11:
	adrp	x8, _PATHSPEC_FROMTOP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PATHSPEC_FROMTOP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w25
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x24
	bl	_xstrdup
	mov	x22, x0
	str	wzr, [sp, #28]
	b	LBB0_14
LBB0_12:
	add	x2, sp, #28
	mov	x0, x23
	mov	x1, x22
	mov	x3, x24
	bl	_prefix_path_gently
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.13:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	str	x24, [sp]
	mov	x1, x20
	bl	_die
LBB0_14:
	str	x22, [x19, #8]
	mov	x0, x22
	bl	_strlen
	ldr	w8, [sp, #28]
	stp	w0, w8, [x19, #16]
Lloh16:
	adrp	x8, _PATHSPEC_PREFIX_ORIGIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PATHSPEC_PREFIX_ORIGIN@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.15:
	bl	_get_literal_global
	cbz	w0, LBB0_17
LBB0_16:
	mov	x0, x20
	bl	_xstrdup
	b	LBB0_18
LBB0_17:
Lloh19:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldp	w2, w1, [sp, #24]
	add	x0, sp, #16
	bl	_prefix_magic
	add	x0, sp, #16
	mov	x1, x22
	bl	_strbuf_addstr
	add	x0, sp, #16
	mov	x1, #0
	bl	_strbuf_detach
LBB0_18:
	str	x0, [x19, #32]
	ldr	w8, [x26]
	tst	w8, w25
	b.eq	LBB0_20
; %bb.19:
	ldr	w8, [x19, #16]
	b	LBB0_21
LBB0_20:
	ldr	x0, [x19, #8]
	bl	_simple_length
	ldr	w8, [sp, #28]
	cmp	w0, w8
	csel	w8, w0, w8, gt
LBB0_21:
	stp	w8, wzr, [x19, #24]
	ldr	w9, [x27]
	tst	w9, w25
	b.ne	LBB0_26
; %bb.22:
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.ge	LBB0_26
; %bb.23:
	ldr	x9, [x19, #8]
	add	x8, x9, w8, sxtw
	ldrb	w9, [x8]
	cmp	w9, #42
	b.ne	LBB0_26
; %bb.24:
	add	x0, x8, #1
	bl	_no_wildcard
	cbz	x0, LBB0_26
; %bb.25:
Lloh22:
	adrp	x8, _PATHSPEC_ONESTAR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _PATHSPEC_ONESTAR@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [x19, #28]
	orr	w8, w9, w8
	str	w8, [x19, #28]
LBB0_26:
	ldr	w9, [x19, #24]
	ldr	w8, [x19, #16]
	cmp	w9, w8
	b.gt	LBB0_28
; %bb.27:
	ldr	w9, [x19, #20]
	cmp	w9, w8
	b.le	LBB0_29
LBB0_28:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BUG
LBB0_29:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_30:
	cbz	x23, LBB0_5
; %bb.31:
	ldrb	w8, [x23]
	cbnz	w8, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PATHSPEC_LITERAL_PATH,4,2      ; @PATHSPEC_LITERAL_PATH
	.comm	_PATHSPEC_LITERAL,4,2           ; @PATHSPEC_LITERAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'prefix' magic is supposed to be used at worktree's root"

	.comm	_PATHSPEC_GLOB,4,2              ; @PATHSPEC_GLOB
l_.str.1:                               ; @.str.1
	.asciz	"%s: 'literal' and 'glob' are incompatible"

	.comm	_PATHSPEC_FROMTOP,4,2           ; @PATHSPEC_FROMTOP
l_.str.2:                               ; @.str.2
	.asciz	"%s: '%s' is outside repository"

	.comm	_PATHSPEC_PREFIX_ORIGIN,4,2     ; @PATHSPEC_PREFIX_ORIGIN
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.comm	_PATHSPEC_ONESTAR,4,2           ; @PATHSPEC_ONESTAR
l_.str.3:                               ; @.str.3
	.asciz	"error initializing pathspec_item"

	.no_dead_strip	_init_pathspec_item
.subsections_via_symbols
