	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pack_objects
_pack_objects:                          ## @pack_objects
	.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	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-52(%rbp), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	cmpq	$0, 32(%rbx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
LBB0_2:
	cmpq	$0, 24(%rbx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
LBB0_6:
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_6
LBB0_7:
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
LBB0_8:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_is_repository_shallow
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_argv_array_push
LBB0_10:
	movl	$-1, -64(%rbp)
	xorl	%eax, %eax
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	cmpq	(%rbx), %rax
	sbbl	%eax, %eax
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	orl	%r15d, %eax
	movl	%eax, -60(%rbp)
	movl	$1, -56(%rbp)
	leaq	-64(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.9(%rip), %rdi
	callq	_die_errno
LBB0_12:
	movl	-64(%rbp), %edi
	leaq	L_.str.10(%rip), %rsi
	callq	_xfdopen
	movq	%rax, %r13
	cmpl	$0, (%r12)
	jle	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_feed_object
	incq	%r15
	movslq	(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_14
LBB0_15:
	testq	%r14, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_16
LBB0_21:
	movq	%r13, %rdi
	callq	_fflush
	movq	%r13, %rdi
	callq	_ferror
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.11(%rip), %rdi
	callq	_die_errno
LBB0_23:
	movq	%r13, %rdi
	callq	_fclose
	cmpq	$0, (%r15)
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_28
## %bb.24:
	movq	_LARGE_PACKET_MAX@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movl	-60(%rbp), %edi
	movl	(%r14), %edx
	movq	%rax, %rsi
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	callq	_xread
	testq	%rax, %rax
	jle	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_26 Depth=1
	movl	(%r14), %r8d
	movl	%r15d, %edi
	movl	$-1, %esi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_send_sideband
	movl	-60(%rbp), %edi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r14), %r14
	testq	%r14, %r14
	je	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	leaq	12(%r14), %rbx
	movq	%rbx, %rdi
	callq	_is_null_oid
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_feed_object
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	leaq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_is_null_oid
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_feed_object
	jmp	LBB0_20
LBB0_27:
	movq	%rbx, %rdi
	callq	_free
	movl	-60(%rbp), %edi
	callq	_close
	movl	$-1, -60(%rbp)
LBB0_28:
	leaq	-64(%rbp), %rdi
	callq	_finish_command
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:
	movl	$-1, %ebx
	cmpl	$129, %eax
	jl	LBB0_33
## %bb.31:
	cmpl	$141, %eax
	je	LBB0_33
## %bb.32:
	addl	$-128, %eax
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	callq	_error
	jmp	LBB0_33
LBB0_29:
	xorl	%ebx, %ebx
LBB0_33:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,16,2        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pack-objects"

L_.str.1:                               ## @.str.1
	.asciz	"--all-progress-implied"

L_.str.2:                               ## @.str.2
	.asciz	"--revs"

L_.str.3:                               ## @.str.3
	.asciz	"--stdout"

L_.str.4:                               ## @.str.4
	.asciz	"--thin"

L_.str.5:                               ## @.str.5
	.asciz	"--delta-base-offset"

L_.str.6:                               ## @.str.6
	.asciz	"-q"

L_.str.7:                               ## @.str.7
	.asciz	"--progress"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.8:                               ## @.str.8
	.asciz	"--shallow"

L_.str.9:                               ## @.str.9
	.asciz	"git pack-objects failed"

L_.str.10:                              ## @.str.10
	.asciz	"w"

L_.str.11:                              ## @.str.11
	.asciz	"error writing to pack-objects"

	.comm	_LARGE_PACKET_MAX,4,2           ## @LARGE_PACKET_MAX
L_.str.12:                              ## @.str.12
	.asciz	"pack-objects died of signal %d"

	.no_dead_strip	_pack_objects
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pack_objects
_pack_objects:                          ; @pack_objects
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x8, sp
	orr	x23, x8, #0xc
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_2
; %bb.1:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
LBB0_2:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_4
; %bb.3:
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
LBB0_4:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_6
LBB0_5:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_7
	b	LBB0_8
LBB0_6:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
LBB0_7:
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
LBB0_8:
Lloh19:
	adrp	x8, _the_repository@GOTPAGE
Lloh20:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_is_repository_shallow
	cbz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x23
	bl	_argv_array_push
LBB0_10:
	mov	w8, #-1
	ldr	x9, [x20]
	cmp	x9, #0
	csinv	w9, w19, wzr, eq
	stp	w8, w9, [sp]
	mov	w8, #1
	str	w8, [sp, #8]
	mov	x0, sp
	bl	_start_command
	cbz	x0, LBB0_12
; %bb.11:
Lloh24:
	adrp	x0, l_.str.9@PAGE
Lloh25:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_die_errno
LBB0_12:
	ldr	w0, [sp]
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_xfdopen
	mov	x23, x0
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x24, #0
	mov	x25, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x0, x8, x24
	mov	x1, x23
	mov	w2, #1
	bl	_feed_object
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_14
LBB0_15:
	cbnz	x21, LBB0_29
LBB0_16:
	mov	x0, x23
	bl	_fflush
	mov	x0, x23
	bl	_ferror
	cbz	x0, LBB0_18
; %bb.17:
Lloh28:
	adrp	x0, l_.str.11@PAGE
Lloh29:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_die_errno
LBB0_18:
	mov	x0, x23
	bl	_fclose
	ldr	x8, [x20]
	cbz	x8, LBB0_23
; %bb.19:
Lloh30:
	adrp	x21, _LARGE_PACKET_MAX@GOTPAGE
Lloh31:
	ldr	x21, [x21, _LARGE_PACKET_MAX@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_xmalloc
	mov	x20, x0
	ldr	w0, [sp, #4]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_xread
	cmp	x0, #1
	b.lt	LBB0_22
; %bb.20:
	mov	x3, x0
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	w4, [x21]
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x20
	bl	_send_sideband
	ldr	w0, [sp, #4]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_xread
	mov	x3, x0
	cmp	x0, #0
	b.gt	LBB0_21
LBB0_22:
	mov	x0, x20
	bl	_free
	ldr	w0, [sp, #4]
	bl	_close
	mov	w8, #-1
	str	w8, [sp, #4]
LBB0_23:
	mov	x0, sp
	bl	_finish_command
	cbz	w0, LBB0_27
; %bb.24:
	mov	x8, x0
	mov	w0, #-1
	cmp	w8, #129
	b.lt	LBB0_27
; %bb.25:
	cmp	w8, #141
	b.eq	LBB0_27
; %bb.26:
	sub	w1, w8, #128
Lloh32:
	adrp	x0, l_.str.12@PAGE
Lloh33:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_error
	mov	w0, #-1
LBB0_27:
	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
	add	sp, sp, #96
	ret
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	ldr	x21, [x21]
	cbz	x21, LBB0_16
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	x22, x21, #12
	mov	x0, x22
	bl	_is_null_oid
	cbnz	w0, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	w2, #1
	bl	_feed_object
LBB0_31:                                ;   in Loop: Header=BB0_29 Depth=1
	add	x22, x21, #8
	mov	x0, x22
	bl	_is_null_oid
	cbnz	w0, LBB0_28
; %bb.32:                               ;   in Loop: Header=BB0_29 Depth=1
	mov	x0, x22
	mov	x1, x23
	mov	w2, #0
	bl	_feed_object
	b	LBB0_28
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,16,2        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pack-objects"

l_.str.1:                               ; @.str.1
	.asciz	"--all-progress-implied"

l_.str.2:                               ; @.str.2
	.asciz	"--revs"

l_.str.3:                               ; @.str.3
	.asciz	"--stdout"

l_.str.4:                               ; @.str.4
	.asciz	"--thin"

l_.str.5:                               ; @.str.5
	.asciz	"--delta-base-offset"

l_.str.6:                               ; @.str.6
	.asciz	"-q"

l_.str.7:                               ; @.str.7
	.asciz	"--progress"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.8:                               ; @.str.8
	.asciz	"--shallow"

l_.str.9:                               ; @.str.9
	.asciz	"git pack-objects failed"

l_.str.10:                              ; @.str.10
	.asciz	"w"

l_.str.11:                              ; @.str.11
	.asciz	"error writing to pack-objects"

	.comm	_LARGE_PACKET_MAX,4,2           ; @LARGE_PACKET_MAX
l_.str.12:                              ; @.str.12
	.asciz	"pack-objects died of signal %d"

	.no_dead_strip	_pack_objects
.subsections_via_symbols
