	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_acks
_process_acks:                          ## @process_acks
	.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	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_process_section_header
	movq	%rbx, %rdi
	callq	_packet_reader_read
	movq	_PACKET_READ_NORMAL@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_10
## %bb.1:
	leaq	L_.str.1(%rip), %r12
	leaq	-80(%rbp), %r14
	leaq	-72(%rbp), %r15
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	8(%rbx), %esi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_packet_reader_read
	cmpq	(%r13), %rax
	jne	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	movq	%r12, %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi
	movq	%r15, %rsi
	callq	_get_oid_hex
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_oidset_insert
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_lookup_commit
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	*(%rdi)
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_9
LBB0_10:
	movq	(%rbx), %rax
	movq	_PACKET_READ_FLUSH@GOTPCREL(%rip), %r14
	movq	_PACKET_READ_DELIM@GOTPCREL(%rip), %r15
	cmpq	(%r14), %rax
	je	LBB0_13
## %bb.11:
	cmpq	(%r15), %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movq	(%rbx), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_13:
	movq	(%rbx), %rax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_16
## %bb.14:
	movl	$2, %ebx
	cmpq	(%r15), %rax
	je	LBB0_19
## %bb.15:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_18
LBB0_16:
	xorl	%ebx, %ebx
	cmpq	(%r14), %rax
	je	LBB0_19
## %bb.17:
	leaq	L_.str.7(%rip), %rdi
LBB0_18:
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_19:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acknowledgments"

	.comm	_PACKET_READ_NORMAL,8,3         ## @PACKET_READ_NORMAL
L_.str.1:                               ## @.str.1
	.asciz	"NAK"

L_.str.2:                               ## @.str.2
	.asciz	"ACK "

	.comm	_the_repository,4,2             ## @the_repository
L_.str.3:                               ## @.str.3
	.asciz	"ready"

L_.str.4:                               ## @.str.4
	.asciz	"unexpected acknowledgment line: '%s'"

	.comm	_PACKET_READ_FLUSH,8,3          ## @PACKET_READ_FLUSH
	.comm	_PACKET_READ_DELIM,8,3          ## @PACKET_READ_DELIM
L_.str.5:                               ## @.str.5
	.asciz	"error processing acks: %d"

L_.str.6:                               ## @.str.6
	.asciz	"expected packfile to be sent after 'ready'"

L_.str.7:                               ## @.str.7
	.asciz	"expected no other sections to be sent after no 'ready'"

	.no_dead_strip	_process_acks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_acks
_process_acks:                          ; @process_acks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #0
	bl	_process_section_header
	mov	x0, x19
	bl	_packet_reader_read
	mov	w26, #0
Lloh2:
	adrp	x27, _PACKET_READ_NORMAL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PACKET_READ_NORMAL@GOTPAGEOFF]
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.1:
	mov	w26, #0
Lloh4:
	adrp	x22, l_.str.1@PAGE
Lloh5:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh8:
	adrp	x24, l_.str.3@PAGE
Lloh9:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh10:
	adrp	x28, _the_repository@GOTPAGE
Lloh11:
	ldr	x28, [x28, _the_repository@GOTPAGEOFF]
Lloh12:
	adrp	x25, l_.str.4@PAGE
Lloh13:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x24
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	__
	ldr	w8, [x19, #8]
	str	x8, [sp]
	bl	_die
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	bl	_packet_reader_read
	ldr	x8, [x27]
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	mov	x1, x22
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #8]
	add	x2, sp, #24
	mov	x1, x23
	bl	_skip_prefix
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	add	x1, sp, #16
	bl	_get_oid_hex
	cbnz	w0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #16
	mov	x0, x20
	bl	_oidset_insert
	ldr	w0, [x28]
	add	x1, sp, #16
	bl	_lookup_commit
	mov	x1, x0
	ldr	x8, [x21]
	mov	x0, x21
	blr	x8
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w26, #1
	b	LBB0_4
LBB0_10:
	ldr	x8, [x19]
Lloh14:
	adrp	x20, _PACKET_READ_FLUSH@GOTPAGE
Lloh15:
	ldr	x20, [x20, _PACKET_READ_FLUSH@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh16:
	adrp	x21, _PACKET_READ_DELIM@GOTPAGE
Lloh17:
	ldr	x21, [x21, _PACKET_READ_DELIM@GOTPAGEOFF]
	ldr	x10, [x21]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_12
; %bb.11:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	ldr	x8, [x19]
	str	x8, [sp]
	bl	_die
LBB0_12:
	ldr	x8, [x19]
	cbz	w26, LBB0_15
; %bb.13:
	ldr	x9, [x21]
	mov	w19, #2
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.14:
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_15:
	mov	w19, #0
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_18
; %bb.16:
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_17:
	bl	__
	bl	_die
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acknowledgments"

	.comm	_PACKET_READ_NORMAL,8,3         ; @PACKET_READ_NORMAL
l_.str.1:                               ; @.str.1
	.asciz	"NAK"

l_.str.2:                               ; @.str.2
	.asciz	"ACK "

	.comm	_the_repository,4,2             ; @the_repository
l_.str.3:                               ; @.str.3
	.asciz	"ready"

l_.str.4:                               ; @.str.4
	.asciz	"unexpected acknowledgment line: '%s'"

	.comm	_PACKET_READ_FLUSH,8,3          ; @PACKET_READ_FLUSH
	.comm	_PACKET_READ_DELIM,8,3          ; @PACKET_READ_DELIM
l_.str.5:                               ; @.str.5
	.asciz	"error processing acks: %d"

l_.str.6:                               ; @.str.6
	.asciz	"expected packfile to be sent after 'ready'"

l_.str.7:                               ; @.str.7
	.asciz	"expected no other sections to be sent after no 'ready'"

	.no_dead_strip	_process_acks
.subsections_via_symbols
