	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function end_packfile
_end_packfile:                          ## @end_packfile
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpb	$1, _end_packfile.running(%rip)
	je	LBB0_26
## %bb.1:
	movq	_pack_data@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_26
## %bb.2:
	movb	$1, _end_packfile.running(%rip)
	xorl	%eax, %eax
	callq	_clear_delta_base_cache
	movq	_object_count@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_24
## %bb.3:
	movq	(%r13), %rdi
	callq	_close_pack_windows
	movq	_pack_file@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%edx, %edx
	callq	_finalize_hashfile
	movq	(%r13), %rax
	movl	(%rax), %edx
	movl	4(%rax), %edi
	movl	8(%rax), %esi
	movq	(%rbx), %rcx
	movq	_pack_size@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	callq	_fixup_pack_header_footer
	movq	(%rbx), %rax
	movq	_unpack_limit@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_5
## %bb.4:
	movq	(%r13), %rdi
	callq	_loosen_small_pack
	testl	%eax, %eax
	je	LBB0_23
LBB0_5:
	movq	(%r13), %rax
	movl	4(%rax), %edi
	callq	_close
	xorl	%eax, %eax
	callq	_create_index
	movl	%eax, %edi
	callq	_keep_pack
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_strlen
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_add_packed_git
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_die
LBB0_7:
	movq	_all_packs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_pack_id@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	%rbx, (%rax,%rcx,8)
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_install_packed_git
	movq	%r14, %rdi
	callq	_free
	movq	_pack_edges@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.8:
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movq	_branch_table_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.9:
	xorl	%r15d, %r15d
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_branch_table_sz@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_16
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	movq	_branch_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %r13
	testq	%r13, %r13
	jne	LBB0_11
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	16(%r13), %r13
	testq	%r13, %r13
	je	LBB0_14
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	_pack_edges@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	8(%r13), %rdi
	callq	_oid_to_hex
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_fprintf
	jmp	LBB0_13
LBB0_16:
	movq	_first_tag@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	movq	_pack_data@GOTPCREL(%rip), %r13
	je	LBB0_21
## %bb.17:
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	_pack_edges@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	8(%rbx), %rdi
	callq	_oid_to_hex
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_fprintf
	jmp	LBB0_20
LBB0_21:
	movq	_pack_edges@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movl	$10, %edi
	callq	_fputc
	movq	(%rbx), %rdi
	callq	_fflush
LBB0_22:
	incq	(%r12)
	jmp	LBB0_25
LBB0_23:
	movq	_pack_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_invalidate_pack_id
LBB0_24:
	movq	(%r13), %rax
	movl	4(%rax), %edi
	callq	_close
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_unlink_or_warn
LBB0_25:
	movq	(%r13), %rdi
	callq	_FREE_AND_NULL
	movb	$0, _end_packfile.running(%rip)
	movq	_last_blob@GOTPCREL(%rip), %rbx
	leaq	16(%rbx), %rdi
	callq	_strbuf_release
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_end_packfile.running,1,2 ## @end_packfile.running
	.comm	_pack_data,8,3                  ## @pack_data
	.comm	_object_count,8,3               ## @object_count
	.comm	_pack_file,4,2                  ## @pack_file
	.comm	_pack_size,4,2                  ## @pack_size
	.comm	_unpack_limit,8,3               ## @unpack_limit
	.comm	_pack_id,8,3                    ## @pack_id
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"core git rejected index %s"

	.comm	_all_packs,8,3                  ## @all_packs
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_pack_edges,8,3                 ## @pack_edges
L_.str.1:                               ## @.str.1
	.asciz	"%s:"

	.comm	_branch_table_sz,4,2            ## @branch_table_sz
	.comm	_branch_table,8,3               ## @branch_table
L_.str.2:                               ## @.str.2
	.asciz	" %s"

	.comm	_first_tag,8,3                  ## @first_tag
	.comm	_last_blob,24,3                 ## @last_blob
	.no_dead_strip	_end_packfile
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function end_packfile
_end_packfile:                          ; @end_packfile
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	adrp	x21, _end_packfile.running@PAGE
	ldrb	w8, [x21, _end_packfile.running@PAGEOFF]
Lloh0:
	adrp	x22, _pack_data@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pack_data@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	w8, #1
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_25
; %bb.1:
	mov	w8, #1
	strb	w8, [x21, _end_packfile.running@PAGEOFF]
	bl	_clear_delta_base_cache
Lloh2:
	adrp	x19, _object_count@GOTPAGE
Lloh3:
	ldr	x19, [x19, _object_count@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_23
; %bb.2:
	ldr	x0, [x22]
	bl	_close_pack_windows
Lloh4:
	adrp	x8, _pack_file@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pack_file@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	w2, #0
	bl	_finalize_hashfile
	ldr	x8, [x22]
	ldp	w0, w1, [x8, #4]
	ldr	w2, [x8]
	ldr	x3, [x19]
Lloh7:
	adrp	x8, _pack_size@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pack_size@GOTPAGEOFF]
Lloh9:
	ldr	w5, [x8]
	bl	_fixup_pack_header_footer
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _unpack_limit@GOTPAGE
Lloh11:
	ldr	x9, [x9, _unpack_limit@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.3:
	ldr	x0, [x22]
	bl	_loosen_small_pack
	cbz	w0, LBB0_22
LBB0_4:
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	bl	_close
	bl	_create_index
	bl	_keep_pack
	mov	x19, x0
	bl	_strlen
	mov	x1, x0
	mov	x0, x19
	mov	w2, #1
	bl	_add_packed_git
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_6:
Lloh15:
	adrp	x8, _all_packs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _all_packs@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x23, _pack_id@GOTPAGE
Lloh19:
	ldr	x23, [x23, _pack_id@GOTPAGEOFF]
	ldr	x9, [x23]
	str	x20, [x8, x9, lsl #3]
Lloh20:
	adrp	x8, _the_repository@GOTPAGE
Lloh21:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_install_packed_git
	mov	x0, x19
	bl	_free
Lloh23:
	adrp	x24, _pack_edges@GOTPAGE
Lloh24:
	ldr	x24, [x24, _pack_edges@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_21
; %bb.7:
	ldr	x2, [x20]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
Lloh27:
	adrp	x25, _branch_table_sz@GOTPAGE
Lloh28:
	ldr	x25, [x25, _branch_table_sz@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.8:
	mov	x26, #0
Lloh29:
	adrp	x27, _branch_table@GOTPAGE
Lloh30:
	ldr	x27, [x27, _branch_table@GOTPAGEOFF]
Lloh31:
	adrp	x19, l_.str.2@PAGE
Lloh32:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [x25]
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x26, x26, #1
	cmp	x26, w8, sxtw
	b.ge	LBB0_15
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
	ldr	x9, [x27]
	ldr	x28, [x9, x26, lsl #3]
	cbnz	x28, LBB0_13
	b	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	x28, [x28, #16]
	cbz	x28, LBB0_9
LBB0_13:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x28]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x20, [x24]
	add	x0, x28, #8
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_fprintf
	b	LBB0_12
LBB0_15:
Lloh33:
	adrp	x8, _first_tag@GOTPAGE
Lloh34:
	ldr	x8, [x8, _first_tag@GOTPAGEOFF]
Lloh35:
	ldr	x25, [x8]
	cbz	x25, LBB0_20
; %bb.16:
Lloh36:
	adrp	x19, l_.str.2@PAGE
Lloh37:
	add	x19, x19, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x25, [x25, #16]
	cbz	x25, LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x20, [x24]
	add	x0, x25, #8
	bl	_oid_to_hex
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_fprintf
	b	LBB0_17
LBB0_20:
	ldr	x1, [x24]
	mov	w0, #10
	bl	_fputc
	ldr	x0, [x24]
	bl	_fflush
LBB0_21:
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
	b	LBB0_24
LBB0_22:
Lloh38:
	adrp	x8, _pack_id@GOTPAGE
Lloh39:
	ldr	x8, [x8, _pack_id@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
	bl	_invalidate_pack_id
LBB0_23:
	ldr	x8, [x22]
	ldr	w0, [x8, #4]
	bl	_close
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_unlink_or_warn
LBB0_24:
	ldr	x0, [x22]
	bl	_FREE_AND_NULL
	strb	wzr, [x21, _end_packfile.running@PAGEOFF]
Lloh41:
	adrp	x19, _last_blob@GOTPAGE
Lloh42:
	ldr	x19, [x19, _last_blob@GOTPAGEOFF]
	add	x0, x19, #16
	bl	_strbuf_release
	stp	xzr, xzr, [x19]
LBB0_25:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_end_packfile.running,1,2 ; @end_packfile.running
	.comm	_pack_data,8,3                  ; @pack_data
	.comm	_object_count,8,3               ; @object_count
	.comm	_pack_file,4,2                  ; @pack_file
	.comm	_pack_size,4,2                  ; @pack_size
	.comm	_unpack_limit,8,3               ; @unpack_limit
	.comm	_pack_id,8,3                    ; @pack_id
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"core git rejected index %s"

	.comm	_all_packs,8,3                  ; @all_packs
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_pack_edges,8,3                 ; @pack_edges
l_.str.1:                               ; @.str.1
	.asciz	"%s:"

	.comm	_branch_table_sz,4,2            ; @branch_table_sz
	.comm	_branch_table,8,3               ; @branch_table
l_.str.2:                               ; @.str.2
	.asciz	" %s"

	.comm	_first_tag,8,3                  ; @first_tag
	.comm	_last_blob,24,3                 ; @last_blob
	.no_dead_strip	_end_packfile
.subsections_via_symbols
