	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_ref_filter_atom
_parse_ref_filter_atom:                 ## @parse_ref_filter_atom
	.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	%rsi, %rbx
	cmpb	$42, (%rsi)
	movq	%rcx, %r14
	movq	%rdx, %r12
	sete	%al
	cmpq	%rdx, %rsi
	setb	%cl
	andb	%al, %cl
	movzbl	%cl, %r15d
	addq	%rsi, %r15
	cmpq	%rdx, %r15
	jae	LBB0_8
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_used_atom_cnt@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.2:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	subq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	xorl	%ebx, %ebx
	movq	_used_atom@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movq	_used_atom_cnt@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$24, %rbx
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx), %rdi
	callq	_strlen
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rcx
	movq	(%rcx,%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_36
LBB0_8:
	leaq	L_.str(%rip), %rdi
	callq	__
	subl	%ebx, %r12d
	movq	%r14, %rdi
	movl	$-1, %esi
	movl	%eax, %edx
	movl	%r12d, %ecx
	movq	%rbx, %r8
	jmp	LBB0_9
LBB0_6:
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%r13d, %edx
	subl	%r15d, %edx
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_memchr
	movq	%rax, %rbx
	testq	%rax, %rax
	movl	%ebx, %r14d
	cmovel	%r13d, %r14d
	movq	_valid_atom@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_7
## %bb.10:
	subl	%r15d, %r14d
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %r13
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r13), %rdi
	callq	_strlen
	cmpl	%r14d, %eax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r13), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_13
LBB0_14:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_7:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_15:
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jle	LBB0_16
## %bb.18:
	movq	(%r12), %rax
	movl	%ebx, %r15d
	shlq	$5, %r15
	movq	8(%rax,%r15), %rax
	movq	_SOURCE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.19:
	xorl	%eax, %eax
	callq	_have_git_dir
	testl	%eax, %eax
	je	LBB0_20
LBB0_21:
	movq	_used_atom_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %esi
	movl	%esi, (%rax)
	movq	_used_atom@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_REALLOC_ARRAY
	subl	%r14d, %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	_used_atom@GOTPCREL(%rip), %r13
	callq	_xmemdupz
	movq	(%r13), %rdx
	movslq	%ebx, %rcx
	leaq	(,%rcx,8), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	movq	%rax, (%rdx,%rsi)
	movq	(%r12), %rdx
	movl	24(%rdx,%r15), %edi
	movq	(%r13), %rax
	movl	%edi, 20(%rax,%rsi)
	movq	8(%rdx,%r15), %rdx
	movq	%rdx, 8(%rax,%rsi)
	movq	_SOURCE_OBJ@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_26
## %bb.22:
	cmpb	$42, (%r14)
	jne	LBB0_24
## %bb.23:
	movq	_oi_deref@GOTPCREL(%rip), %rdx
	jmp	LBB0_25
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
LBB0_17:
	callq	__
	subl	%r14d, %r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %esi
	movl	%eax, %edx
	movl	%r13d, %ecx
	movq	%r14, %r8
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addf_ret                ## TAILCALL
LBB0_20:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_17
LBB0_24:
	movq	_oi@GOTPCREL(%rip), %rdx
LBB0_25:
	movq	%rdx, 8(%rdx)
LBB0_26:
	testq	%rdi, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_27
## %bb.28:
	leaq	(%rcx,%rcx,2), %rdx
	movq	(%rax,%rdx,8), %rdx
	subq	%r14, %rdi
	leaq	(%rdx,%rdi), %rsi
	incq	%rsi
	xorl	%r14d, %r14d
	cmpb	$0, 1(%rdx,%rdi)
	cmovneq	%rsi, %r14
	jmp	LBB0_29
LBB0_27:
	xorl	%r14d, %r14d
LBB0_29:
	leaq	(%rcx,%rcx,2), %rbx
	leaq	(%rax,%rbx,8), %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r12), %rax
	movq	16(%rax,%r15), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	shlq	$3, %rbx
	addq	(%r13), %rbx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	callq	*%rax
	movl	$-1, %r13d
	testq	%rax, %rax
	jne	LBB0_36
LBB0_31:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpb	$42, (%rax)
	jne	LBB0_33
## %bb.32:
	movq	_need_tagged@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_33:
	movq	(%r12), %rax
	movq	(%rax,%r15), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_35
## %bb.34:
	movq	_need_symref@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_35:
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
LBB0_36:
	movl	%r13d, %eax
	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	"malformed field name: %.*s"

	.comm	_used_atom_cnt,4,2              ## @used_atom_cnt
	.comm	_used_atom,8,3                  ## @used_atom
	.comm	_valid_atom,8,3                 ## @valid_atom
L_.str.1:                               ## @.str.1
	.asciz	"unknown field name: %.*s"

	.comm	_SOURCE_NONE,8,3                ## @SOURCE_NONE
L_.str.2:                               ## @.str.2
	.asciz	"not a git repository, but the field '%.*s' requires access to object data"

	.comm	_SOURCE_OBJ,8,3                 ## @SOURCE_OBJ
	.comm	_oi_deref,16,3                  ## @oi_deref
	.comm	_oi,16,3                        ## @oi
	.comm	_need_tagged,4,2                ## @need_tagged
L_.str.3:                               ## @.str.3
	.asciz	"symref"

	.comm	_need_symref,4,2                ## @need_symref
	.no_dead_strip	_parse_ref_filter_atom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_ref_filter_atom
_parse_ref_filter_atom:                 ; @parse_ref_filter_atom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x2
	mov	x19, x1
	ldrb	w8, [x1]
	cmp	x1, x2
	mov	w9, #42
	ccmp	w8, w9, #0, lo
	cinc	x24, x1, eq
	cmp	x24, x2
	b.hs	LBB0_7
; %bb.1:
	mov	x28, x0
Lloh0:
	adrp	x27, _used_atom_cnt@GOTPAGE
Lloh1:
	ldr	x27, [x27, _used_atom_cnt@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x23, #0
	mov	x21, #0
	sub	x25, x22, x19
Lloh2:
	adrp	x26, _used_atom@GOTPAGE
Lloh3:
	ldr	x26, [x26, _used_atom@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x27]
	add	x23, x23, #24
	cmp	x21, x8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x0, [x8, x23]
	bl	_strlen
	cmp	x25, w0, sxtw
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x0
	ldr	x8, [x26]
	ldr	x0, [x8, x23]
	mov	x1, x19
	bl	_memcmp
	cbnz	w0, LBB0_3
; %bb.6:
	mov	x24, x21
	b	LBB0_35
LBB0_7:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_21
LBB0_8:
	sub	w2, w22, w24
	mov	x0, x24
	mov	w1, #58
	bl	_memchr
	mov	x23, x0
	cmp	x0, #0
	csel	w25, w22, w23, eq
Lloh6:
	adrp	x26, _valid_atom@GOTPAGE
Lloh7:
	ldr	x26, [x26, _valid_atom@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	str	x28, [sp, #8]                   ; 8-byte Folded Spill
	b.lt	LBB0_13
; %bb.9:
	mov	x21, #0
	mov	x28, #0
	sub	w25, w25, w24
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x28, x28, #1
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	add	x21, x21, #32
	cmp	x28, w0, sxtw
	b.ge	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x0, [x8, x21]
	bl	_strlen
	cmp	w0, w25
	b.ne	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x26]
	ldr	x0, [x8, x21]
	mov	x1, x24
	mov	x2, x25
	bl	_memcmp
	cbnz	w0, LBB0_10
	b	LBB0_14
LBB0_13:
	mov	w28, #0
LBB0_14:
	ldr	x0, [x26]
	bl	_ARRAY_SIZE
	cmp	w0, w28
	b.le	LBB0_20
; %bb.15:
	ldr	x8, [x26]
	mov	w25, w28
	add	x8, x8, x25, lsl #5
	ldr	x8, [x8, #8]
Lloh8:
	adrp	x9, _SOURCE_NONE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SOURCE_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_17
; %bb.16:
	bl	_have_git_dir
	cbz	w0, LBB0_22
LBB0_17:
	ldr	w24, [x27]
	add	w1, w24, #1
	str	w1, [x27]
Lloh11:
	adrp	x27, _used_atom@GOTPAGE
Lloh12:
	ldr	x27, [x27, _used_atom@GOTPAGEOFF]
	ldr	x0, [x27]
	bl	_REALLOC_ARRAY
	sub	w1, w22, w19
	mov	x0, x19
	bl	_xmemdupz
	ldr	x8, [x27]
	sxtw	x28, w24
	add	x9, x28, w24, sxtw #1
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x26]
	add	x10, x8, x25, lsl #5
	ldr	w11, [x10, #24]
	ldr	x8, [x27]
	add	x9, x8, x9
	str	w11, [x9, #20]
	ldr	x10, [x10, #8]
	str	x10, [x9, #8]
Lloh13:
	adrp	x9, _SOURCE_OBJ@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SOURCE_OBJ@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x10, x9
	b.ne	LBB0_25
; %bb.18:
	ldrb	w9, [x19]
	cmp	w9, #42
	b.ne	LBB0_23
; %bb.19:
Lloh16:
	adrp	x9, _oi_deref@GOTPAGE
Lloh17:
	ldr	x9, [x9, _oi_deref@GOTPAGEOFF]
	b	LBB0_24
LBB0_20:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_21:
	bl	__
	mov	x2, x0
	sub	w3, w22, w19
	mov	x0, x20
	mov	w1, #-1
	mov	x4, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_strbuf_addf_ret
LBB0_22:
Lloh20:
	adrp	x0, l_.str.2@PAGE
Lloh21:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_21
LBB0_23:
Lloh22:
	adrp	x9, _oi@GOTPAGE
Lloh23:
	ldr	x9, [x9, _oi@GOTPAGEOFF]
LBB0_24:
	str	x9, [x9, #8]
LBB0_25:
	cbz	x23, LBB0_27
; %bb.26:
	mov	w9, #24
	mul	x9, x28, x9
	ldr	x9, [x8, x9]
	sub	x10, x23, x19
	add	x9, x9, x10
	ldrb	w10, [x9, #1]!
	cmp	w10, #0
	csel	x22, xzr, x9, eq
	b	LBB0_28
LBB0_27:
	mov	x22, #0
LBB0_28:
	mov	w9, #24
	madd	x8, x28, x9, x8
	add	x0, x8, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x26]
	add	x8, x8, x25, lsl #5
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_31
; %bb.29:
	ldr	x9, [x27]
	mov	w10, #24
	madd	x1, x28, x10, x9
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x2, x22
	mov	x3, x20
	blr	x8
	cbz	x0, LBB0_31
; %bb.30:
	mov	w24, #-1
	b	LBB0_35
LBB0_31:
	ldrb	w8, [x19]
	cmp	w8, #42
	b.ne	LBB0_33
; %bb.32:
Lloh24:
	adrp	x8, _need_tagged@GOTPAGE
Lloh25:
	ldr	x8, [x8, _need_tagged@GOTPAGEOFF]
	mov	w9, #1
Lloh26:
	str	w9, [x8]
LBB0_33:
	ldr	x8, [x26]
	lsl	x9, x25, #5
	ldr	x0, [x8, x9]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_35
; %bb.34:
Lloh29:
	adrp	x8, _need_symref@GOTPAGE
Lloh30:
	ldr	x8, [x8, _need_symref@GOTPAGEOFF]
	mov	w9, #1
Lloh31:
	str	w9, [x8]
LBB0_35:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malformed field name: %.*s"

	.comm	_used_atom_cnt,4,2              ; @used_atom_cnt
	.comm	_used_atom,8,3                  ; @used_atom
	.comm	_valid_atom,8,3                 ; @valid_atom
l_.str.1:                               ; @.str.1
	.asciz	"unknown field name: %.*s"

	.comm	_SOURCE_NONE,8,3                ; @SOURCE_NONE
l_.str.2:                               ; @.str.2
	.asciz	"not a git repository, but the field '%.*s' requires access to object data"

	.comm	_SOURCE_OBJ,8,3                 ; @SOURCE_OBJ
	.comm	_oi_deref,16,3                  ; @oi_deref
	.comm	_oi,16,3                        ; @oi
	.comm	_need_tagged,4,2                ; @need_tagged
l_.str.3:                               ; @.str.3
	.asciz	"symref"

	.comm	_need_symref,4,2                ; @need_symref
	.no_dead_strip	_parse_ref_filter_atom
.subsections_via_symbols
