	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ack
_get_ack:                               ## @get_ack
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_packet_reader_read
	movq	_PACKET_READ_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movl	(%r15), %r12d
	movq	8(%r15), %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_skip_prefix
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rdi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rsi
	callq	_parse_oid_hex
	testl	%eax, %eax
	je	LBB0_9
LBB0_5:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movq	8(%r15), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
                                        ## implicit-def: $eax
	jmp	LBB0_8
LBB0_6:
	movq	_NAK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	-40(%rbp), %rdi
	movl	8(%r15), %eax
	subl	%edi, %eax
	addl	%eax, %r12d
	testl	%r12d, %r12d
	jle	LBB0_15
## %bb.10:
	leaq	L_.str.3(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_ACK_continue@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_12:
	movq	-40(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_ACK_common@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_14:
	movq	-40(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	jne	LBB0_16
LBB0_15:
	movq	_ACK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_16:
	movq	_ACK_ready@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_PACKET_READ_NORMAL,8,3         ## @PACKET_READ_NORMAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git fetch-pack: expected ACK/NAK, got a flush packet"

L_.str.1:                               ## @.str.1
	.asciz	"NAK"

	.comm	_NAK,4,2                        ## @NAK
L_.str.2:                               ## @.str.2
	.asciz	"ACK "

	.comm	_ACK,4,2                        ## @ACK
L_.str.3:                               ## @.str.3
	.asciz	"continue"

	.comm	_ACK_continue,4,2               ## @ACK_continue
L_.str.4:                               ## @.str.4
	.asciz	"common"

	.comm	_ACK_common,4,2                 ## @ACK_common
L_.str.5:                               ## @.str.5
	.asciz	"ready"

	.comm	_ACK_ready,4,2                  ## @ACK_ready
L_.str.6:                               ## @.str.6
	.asciz	"git fetch-pack: expected ACK/NAK, got '%s'"

	.no_dead_strip	_get_ack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ack
_get_ack:                               ; @get_ack
	.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	x20, x1
	mov	x19, x0
	bl	_packet_reader_read
Lloh0:
	adrp	x8, _PACKET_READ_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PACKET_READ_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_2:
	ldr	w22, [x19]
	ldr	x21, [x19, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #24
	mov	x0, x21
	bl	_skip_prefix
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [sp, #24]
	add	x2, sp, #16
	mov	x1, x20
	bl	_parse_oid_hex
	cbz	w0, LBB0_8
LBB0_5:
Lloh9:
	adrp	x0, l_.str.6@PAGE
Lloh10:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	ldr	x8, [x19, #8]
	str	x8, [sp]
	bl	_die
                                        ; implicit-def: $w0
	b	LBB0_7
LBB0_6:
Lloh11:
	adrp	x8, _NAK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NAK@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
LBB0_7:
	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_8:
	ldr	x0, [sp, #16]
	ldr	w8, [x19, #8]
	sub	w8, w8, w0
	add	w8, w22, w8
Lloh14:
	adrp	x19, _ACK@GOTPAGE
Lloh15:
	ldr	x19, [x19, _ACK@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.9:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_11
; %bb.10:
Lloh18:
	adrp	x19, _ACK_continue@GOTPAGE
Lloh19:
	ldr	x19, [x19, _ACK_continue@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x19]
	b	LBB0_7
LBB0_11:
	ldr	x0, [sp, #16]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_13
; %bb.12:
Lloh23:
	adrp	x19, _ACK_common@GOTPAGE
Lloh24:
	ldr	x19, [x19, _ACK_common@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x19]
	b	LBB0_7
LBB0_13:
	ldr	x0, [sp, #16]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strstr
Lloh28:
	adrp	x8, _ACK_ready@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ACK_ready@GOTPAGEOFF]
	cmp	x0, #0
	csel	x19, x19, x8, eq
LBB0_14:
	ldr	w0, [x19]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_PACKET_READ_NORMAL,8,3         ; @PACKET_READ_NORMAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git fetch-pack: expected ACK/NAK, got a flush packet"

l_.str.1:                               ; @.str.1
	.asciz	"NAK"

	.comm	_NAK,4,2                        ; @NAK
l_.str.2:                               ; @.str.2
	.asciz	"ACK "

	.comm	_ACK,4,2                        ; @ACK
l_.str.3:                               ; @.str.3
	.asciz	"continue"

	.comm	_ACK_continue,4,2               ; @ACK_continue
l_.str.4:                               ; @.str.4
	.asciz	"common"

	.comm	_ACK_common,4,2                 ; @ACK_common
l_.str.5:                               ; @.str.5
	.asciz	"ready"

	.comm	_ACK_ready,4,2                  ; @ACK_ready
l_.str.6:                               ; @.str.6
	.asciz	"git fetch-pack: expected ACK/NAK, got '%s'"

	.no_dead_strip	_get_ack
.subsections_via_symbols
