	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_pack_data
_write_pack_data:                       ## @write_pack_data
	.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	%rsi, %r12
	movl	%edi, %r14d
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	-52(%rbp), %rdi
	movq	$0, (%rsp)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %r8
	leaq	L_.str.4(%rip), %r9
	callq	_argv_array_pushl
	movl	$-1, -64(%rbp)
	movl	%r14d, -60(%rbp)
	movl	$1, -56(%rbp)
	cmpl	$2, %r14d
	jl	LBB0_3
## %bb.1:
	movl	%r14d, %edi
	callq	_dup
	movl	%eax, -60(%rbp)
	testl	%eax, %eax
	js	LBB0_2
LBB0_3:
	leaq	-64(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	je	LBB0_4
## %bb.14:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_12
LBB0_4:
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.5:
	xorl	%r15d, %r15d
	leaq	L_.str.8(%rip), %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %r13d
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_oid_to_hex
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	%r13d, %edi
	movq	%rax, %rsi
	callq	_write_or_die
	movl	-64(%rbp), %edi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_write_or_die
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edx
	callq	_write_or_die
	jmp	LBB0_8
LBB0_9:
	movl	-64(%rbp), %edi
	callq	_close
	leaq	-64(%rbp), %rdi
	callq	_finish_command
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	leaq	L_.str.9(%rip), %rdi
LBB0_12:
	callq	__
	movl	%eax, %edi
	callq	_error
	jmp	LBB0_13
LBB0_2:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error_errno
	leaq	-64(%rbp), %rdi
	callq	_child_process_clear
	movl	$-1, %eax
	jmp	LBB0_13
LBB0_10:
	xorl	%eax, %eax
LBB0_13:
	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	"--stdout"

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

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

L_.str.5:                               ## @.str.5
	.asciz	"unable to dup bundle descriptor"

L_.str.6:                               ## @.str.6
	.asciz	"Could not spawn pack-objects"

	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
L_.str.7:                               ## @.str.7
	.asciz	"^"

	.comm	_the_hash_algo,8,3              ## @the_hash_algo
L_.str.8:                               ## @.str.8
	.asciz	"\n"

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

	.no_dead_strip	_write_pack_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_pack_data
_write_pack_data:                       ; @write_pack_data
	.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	x19, x1
	mov	x20, 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	x0, x8, #0xc
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh7:
	adrp	x3, l_.str.2@PAGE
Lloh8:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh9:
	adrp	x4, l_.str.3@PAGE
Lloh10:
	add	x4, x4, l_.str.3@PAGEOFF
Lloh11:
	adrp	x5, l_.str.4@PAGE
Lloh12:
	add	x5, x5, l_.str.4@PAGEOFF
	mov	x6, #0
	bl	_argv_array_pushl
	mov	w8, #-1
	stp	w8, w20, [sp]
	mov	w8, #1
	str	w8, [sp, #8]
	cmp	w20, #2
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_dup
	str	w0, [sp, #4]
	tbnz	w0, #31, LBB0_12
LBB0_2:
	mov	x0, sp
	bl	_start_command
	cbz	x0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x0, l_.str.6@PAGE
Lloh14:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x23, #0
Lloh15:
	adrp	x24, _UNINTERESTING@GOTPAGE
Lloh16:
	ldr	x24, [x24, _UNINTERESTING@GOTPAGEOFF]
Lloh17:
	adrp	x25, _the_hash_algo@GOTPAGE
Lloh18:
	ldr	x25, [x25, _the_hash_algo@GOTPAGEOFF]
Lloh19:
	adrp	x20, l_.str.8@PAGE
Lloh20:
	add	x20, x20, l_.str.8@PAGEOFF
Lloh21:
	adrp	x21, l_.str.7@PAGE
Lloh22:
	add	x21, x21, l_.str.7@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w22, [sp]
	add	x0, x26, #4
	bl	_oid_to_hex
	mov	x1, x0
	ldr	x8, [x25]
	ldr	w2, [x8]
	mov	x0, x22
	bl	_write_or_die
	ldr	w0, [sp]
	mov	x1, x20
	mov	w2, #1
	bl	_write_or_die
	add	x23, x23, #1
	ldrsw	x8, [x19]
	cmp	x23, x8
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x26, [x8, x23, lsl #3]
	ldr	w8, [x26]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [sp]
	mov	x1, x21
	mov	w2, #1
	bl	_write_or_die
	b	LBB0_6
LBB0_9:
	ldr	w0, [sp]
	bl	_close
	mov	x0, sp
	bl	_finish_command
	cbz	x0, LBB0_13
; %bb.10:
Lloh23:
	adrp	x0, l_.str.9@PAGE
Lloh24:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_11:
	bl	__
	bl	_error
	b	LBB0_13
LBB0_12:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	bl	_error_errno
	mov	x0, sp
	bl	_child_process_clear
	mov	w0, #-1
LBB0_13:
	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
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.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	"--stdout"

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

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

l_.str.5:                               ; @.str.5
	.asciz	"unable to dup bundle descriptor"

l_.str.6:                               ; @.str.6
	.asciz	"Could not spawn pack-objects"

	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
l_.str.7:                               ; @.str.7
	.asciz	"^"

	.comm	_the_hash_algo,8,3              ; @the_hash_algo
l_.str.8:                               ; @.str.8
	.asciz	"\n"

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

	.no_dead_strip	_write_pack_data
.subsections_via_symbols
