	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_tags
_dump_tags:                             ## @dump_tags
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_ref_transaction_begin
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_first_tag@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.2:
	leaq	-56(%rbp), %r12
	leaq	L_.str.2(%rip), %r13
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_strbuf_reset
	movl	4(%rbx), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_strbuf_addf
	movl	-56(%rbp), %esi
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%r15, %rdi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_ref_transaction_update
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_5:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_ref_transaction_commit
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movl	-48(%rbp), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	movq	_failure@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
LBB0_7:
	movq	%r15, %rdi
	callq	_ref_transaction_free
	leaq	-56(%rbp), %rdi
	callq	_strbuf_release
	leaq	-48(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %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	"fast-import"

	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_failure,4,2                    ## @failure
	.comm	_first_tag,8,3                  ## @first_tag
L_.str.2:                               ## @.str.2
	.asciz	"refs/tags/%s"

	.no_dead_strip	_dump_tags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_tags
_dump_tags:                             ; @dump_tags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	str	w8, [sp]
	mov	x0, sp
	bl	_ref_transaction_begin
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _first_tag@GOTPAGE
Lloh4:
	ldr	x8, [x8, _first_tag@GOTPAGEOFF]
Lloh5:
	ldr	x20, [x8]
	cbz	x20, LBB0_5
; %bb.2:
Lloh6:
	adrp	x21, l_.str.2@PAGE
Lloh7:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh8:
	adrp	x22, l_.str@PAGE
Lloh9:
	add	x22, x22, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_strbuf_reset
	ldr	w2, [x20, #4]
	add	x0, sp, #8
	mov	x1, x21
	bl	_strbuf_addf
	ldr	w1, [sp, #8]
	mov	x6, sp
	mov	x0, x19
	mov	x2, x20
	mov	x3, #0
	mov	w4, #0
	mov	x5, x22
	bl	_ref_transaction_update
	cbnz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_3
LBB0_5:
	mov	x1, sp
	mov	x0, x19
	bl	_ref_transaction_commit
	cbz	x0, LBB0_7
LBB0_6:
	ldr	w1, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_error
Lloh12:
	adrp	x8, _failure@GOTPAGE
Lloh13:
	ldr	x8, [x8, _failure@GOTPAGEOFF]
	ldr	w9, [x8]
	orr	w9, w9, w0
	str	w9, [x8]
LBB0_7:
	mov	x0, x19
	bl	_ref_transaction_free
	add	x0, sp, #8
	bl	_strbuf_release
	mov	x0, sp
	bl	_strbuf_release
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fast-import"

	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_failure,4,2                    ; @failure
	.comm	_first_tag,8,3                  ; @first_tag
l_.str.2:                               ; @.str.2
	.asciz	"refs/tags/%s"

	.no_dead_strip	_dump_tags
.subsections_via_symbols
