	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_for_each_glob_ref_in           ## -- Begin function for_each_glob_ref_in
	.p2align	4, 0x90
_for_each_glob_ref_in:                  ## @for_each_glob_ref_in
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.3:
	leaq	-40(%rbp), %rdi
	movq	%r12, %rsi
LBB0_4:
	callq	_strbuf_addstr
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_starts_with
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_strbuf_addstr
	movq	%rbx, %rdi
	callq	_has_glob_specials
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strbuf_complete
	movq	%rbx, %rdi
	movl	$42, %esi
	callq	_strbuf_addch
LBB0_7:
	movl	-40(%rbp), %eax
	movl	%eax, -44(%rbp)
	movq	%r12, -64(%rbp)
	movl	%r15d, -48(%rbp)
	movq	%r14, -56(%rbp)
	movq	_filter_refs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_for_each_ref
	movl	%eax, %ebx
	leaq	-40(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"refs/"

	.comm	_filter_refs,4,2                ## @filter_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_for_each_glob_ref_in           ; -- Begin function for_each_glob_ref_in
	.p2align	2
_for_each_glob_ref_in:                  ; @for_each_glob_ref_in
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	cbz	x2, LBB0_3
; %bb.1:
	add	x0, sp, #24
	mov	x1, x20
LBB0_2:
	bl	_strbuf_addstr
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_starts_with
	cbz	w0, LBB0_7
LBB0_4:
	add	x0, sp, #24
	mov	x1, x22
	bl	_strbuf_addstr
	mov	x0, x22
	bl	_has_glob_specials
	cbnz	w0, LBB0_6
; %bb.5:
	add	x0, sp, #24
	mov	w1, #47
	bl	_strbuf_complete
	add	x0, sp, #24
	mov	w1, #42
	bl	_strbuf_addch
LBB0_6:
	ldr	w8, [sp, #24]
	stp	w21, w8, [sp, #16]
	stp	x20, x19, [sp]
Lloh5:
	adrp	x8, _filter_refs@GOTPAGE
Lloh6:
	ldr	x8, [x8, _filter_refs@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_for_each_ref
	mov	x19, x0
	add	x0, sp, #24
	bl	_strbuf_release
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"refs/"

	.comm	_filter_refs,4,2                ; @filter_refs
.subsections_via_symbols
