	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_pack
_prepare_pack:                          ## @prepare_pack
	.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
	movl	%esi, %ebx
	movl	%edi, %r14d
	movq	_use_delta_islands@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_progress@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_to_pack@GOTPCREL(%rip), %rdx
	callq	_resolve_tree_islands
LBB0_2:
	xorl	%eax, %eax
	callq	_get_object_details
	movq	_pack_to_stdout@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.4:
	testl	%ebx, %ebx
	jne	LBB0_5
	jmp	LBB0_15
LBB0_3:
	movq	_do_check_packed_object_crc@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	testl	%ebx, %ebx
	je	LBB0_15
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.6:
	movq	_to_pack@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.7:
	callq	_ALLOC_ARRAY
	cmpq	$0, (%r14)
	jle	LBB0_17
## %bb.8:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	addq	$24, %rbx
	cmpq	(%r14), %r12
	jge	LBB0_17
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r13
	leaq	(%rbx,%r13), %r15
	movq	%r15, %rdi
	callq	_DELTA
	testq	%rax, %rax
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, 16(%r13,%rbx)
	je	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$50, %edx
	callq	_oe_size_less_than
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpq	$0, 8(%r13,%rbx)
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	4(%r13,%rbx), %r13d
	movq	%r15, %rdi
	callq	_oe_type
	testl	%r13d, %r13d
	jne	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	callq	_prepare_pack.cold.1
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function prepare_pack.cold.1
_prepare_pack.cold.1:                   ## @prepare_pack.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movl	%r14d, %edi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_use_delta_islands,8,3          ## @use_delta_islands
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_progress,8,3                   ## @progress
	.comm	_to_pack,16,3                   ## @to_pack
	.comm	_pack_to_stdout,4,2             ## @pack_to_stdout
	.comm	_do_check_packed_object_crc,4,2 ## @do_check_packed_object_crc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to get type of object %s"

	.comm	_progress_state,4,2             ## @progress_state
	.comm	_type_size_sort,4,2             ## @type_size_sort
	.no_dead_strip	_prepare_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_pack
_prepare_pack:                          ; @prepare_pack
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _use_delta_islands@GOTPAGE
Lloh1:
	ldr	x8, [x8, _use_delta_islands@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _the_repository@GOTPAGE
Lloh4:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _progress@GOTPAGE
Lloh7:
	ldr	x8, [x8, _progress@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
Lloh9:
	adrp	x2, _to_pack@GOTPAGE
Lloh10:
	ldr	x2, [x2, _to_pack@GOTPAGEOFF]
	bl	_resolve_tree_islands
LBB0_2:
	bl	_get_object_details
Lloh11:
	adrp	x8, _pack_to_stdout@GOTPAGE
Lloh12:
	ldr	x8, [x8, _pack_to_stdout@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
	cbnz	w20, LBB0_5
	b	LBB0_16
LBB0_4:
Lloh14:
	adrp	x8, _do_check_packed_object_crc@GOTPAGE
Lloh15:
	ldr	x8, [x8, _do_check_packed_object_crc@GOTPAGEOFF]
	mov	w9, #1
Lloh16:
	str	w9, [x8]
	cbz	w20, LBB0_16
LBB0_5:
	cbz	w19, LBB0_16
; %bb.6:
Lloh17:
	adrp	x19, _to_pack@GOTPAGE
Lloh18:
	ldr	x19, [x19, _to_pack@GOTPAGEOFF]
	ldr	x1, [x19]
	cbz	x1, LBB0_16
; %bb.7:
	bl	_ALLOC_ARRAY
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_17
; %bb.8:
	mov	x21, #0
	mov	x22, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x22, x22, #1
	ldr	x8, [x19]
	add	x21, x21, #24
	cmp	x22, x8
	b.ge	LBB0_17
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x19, #8]
	add	x20, x23, x21
	mov	x0, x20
	bl	_DELTA
	cbnz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x20, #16]
	cbz	w8, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #50
	bl	_oe_size_less_than
	cbnz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x23, x21
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w24, [x8, #4]
	mov	x0, x20
	bl	_oe_type
	cbnz	w24, LBB0_9
; %bb.15:
	add	x0, x23, x21
	bl	_prepare_pack.cold.1
LBB0_16:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function prepare_pack.cold.1
_prepare_pack.cold.1:                   ; @prepare_pack.cold.1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x20, x0
	mov	x0, x19
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	bl	_die
	brk	#0x1
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_use_delta_islands,8,3          ; @use_delta_islands
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_progress,8,3                   ; @progress
	.comm	_to_pack,16,3                   ; @to_pack
	.comm	_pack_to_stdout,4,2             ; @pack_to_stdout
	.comm	_do_check_packed_object_crc,4,2 ; @do_check_packed_object_crc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to get type of object %s"

	.comm	_progress_state,4,2             ; @progress_state
	.comm	_type_size_sort,4,2             ; @type_size_sort
	.no_dead_strip	_prepare_pack
.subsections_via_symbols
