	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finish_http_pack_request       ## -- Begin function finish_http_pack_request
	.p2align	4, 0x90
_finish_http_pack_request:              ## @finish_http_pack_request
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	24(%rdi), %rbx
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	%rbx, %rdi
	callq	_close_pack_index
	movq	16(%r15), %rdi
	callq	_fclose
	movq	$0, 16(%r15)
	movq	8(%r15), %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rdx
	leaq	8(%rdx), %rcx
	cmpq	%rbx, %rdx
	jne	LBB0_1
## %bb.2:
	movq	8(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	callq	_strip_suffix
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_BUG
LBB0_4:
	movl	-56(%rbp), %esi
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rdi
	callq	_xstrfmt
	movq	%rax, %r14
	leaq	-36(%rbp), %r12
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_argv_array_push
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_argv_array_pushl
	movq	(%r15), %rsi
	movq	%r12, %rdi
	callq	_argv_array_push
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -48(%rbp)
	movl	$1, -40(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_run_command
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rdi
	callq	_unlink
	movq	%r14, %rdi
	callq	_unlink
	movl	$-1, %r15d
	jmp	LBB0_9
LBB0_6:
	movl	(%rbx), %edi
	callq	_sha1_pack_index_name
	movq	%rax, %rdi
	callq	_unlink
	movq	(%r15), %r15
	movl	(%rbx), %edi
	callq	_sha1_pack_name
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_finalize_object_file
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movl	(%rbx), %edi
	callq	_sha1_pack_index_name
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_finalize_object_file
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_install_packed_git
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r14, %rdi
	callq	_free
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	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.temp"

L_.str.1:                               ## @.str.1
	.asciz	"pack tmpfile does not end in .pack.temp?"

L_.str.2:                               ## @.str.2
	.asciz	"%.*s.idx.temp"

L_.str.3:                               ## @.str.3
	.asciz	"index-pack"

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

	.comm	_the_repository,4,2             ## @the_repository
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finish_http_pack_request       ; -- Begin function finish_http_pack_request
	.p2align	2
_finish_http_pack_request:              ; @finish_http_pack_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	ldr	x19, [x0, #24]
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x0, x19
	bl	_close_pack_index
	ldr	x0, [x21, #16]
	bl	_fclose
	str	xzr, [x21, #16]
	ldr	x9, [x21, #8]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x9
	ldr	x10, [x9]
	add	x9, x10, #8
	cmp	x10, x19
	b.ne	LBB0_1
; %bb.2:
	ldr	x9, [x19, #8]
	str	x9, [x8]
	ldr	x0, [x21]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #24
	bl	_strip_suffix
	cbnz	w0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BUG
LBB0_4:
	ldr	w1, [sp, #24]
	ldr	x2, [x21]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xstrfmt
	mov	x20, x0
	mov	x8, sp
	orr	x22, x8, #0xc
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_argv_array_push
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	mov	x3, #0
	bl	_argv_array_pushl
	ldr	x1, [x21]
	mov	x0, x22
	bl	_argv_array_push
	movi.2s	v0, #1
	str	d0, [sp]
	mov	w8, #1
	str	w8, [sp, #8]
	mov	x0, sp
	bl	_run_command
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x0, [x21]
	bl	_unlink
	mov	x0, x20
	bl	_unlink
	mov	w19, #-1
	b	LBB0_9
LBB0_6:
	ldr	w0, [x19]
	bl	_sha1_pack_index_name
	bl	_unlink
	ldr	x21, [x21]
	ldr	w0, [x19]
	bl	_sha1_pack_name
	mov	x1, x0
	mov	x0, x21
	bl	_finalize_object_file
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19]
	bl	_sha1_pack_index_name
	mov	x1, x0
	mov	x0, x20
	bl	_finalize_object_file
	cbz	x0, LBB0_10
LBB0_8:
	mov	w19, #-1
LBB0_9:
	mov	x0, x20
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
Lloh13:
	adrp	x8, _the_repository@GOTPAGE
Lloh14:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_install_packed_git
	mov	w19, #0
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,16,2        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".pack.temp"

l_.str.1:                               ; @.str.1
	.asciz	"pack tmpfile does not end in .pack.temp?"

l_.str.2:                               ; @.str.2
	.asciz	"%.*s.idx.temp"

l_.str.3:                               ; @.str.3
	.asciz	"index-pack"

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

	.comm	_the_repository,4,2             ; @the_repository
.subsections_via_symbols
