	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_haves_and_send_acks
_process_haves_and_send_acks:           ## @process_haves_and_send_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	_OID_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdx
	callq	_process_haves
	movl	$1, %r14d
	cmpq	$0, 8(%rbx)
	jne	LBB0_4
## %bb.1:
	leaq	4(%rbx), %r13
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_send_acks
	movq	%r13, %rdi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_packet_writer_delim
	jmp	LBB0_4
LBB0_3:
	callq	_packet_writer_flush
	xorl	%r14d, %r14d
LBB0_4:
	movq	%rbx, %rdi
	callq	_oid_array_clear
	leaq	-48(%rbp), %rdi
	callq	_oid_array_clear
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OID_ARRAY_INIT,4,2             ## @OID_ARRAY_INIT
	.no_dead_strip	_process_haves_and_send_acks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_haves_and_send_acks
_process_haves_and_send_acks:           ; @process_haves_and_send_acks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _OID_ARRAY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OID_ARRAY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	add	x1, sp, #8
	mov	x2, x21
	bl	_process_haves
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_5
LBB0_2:
	add	x22, x19, #4
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, x21
	mov	x3, x20
	bl	_send_acks
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_packet_writer_delim
	mov	w20, #1
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	bl	_packet_writer_flush
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_oid_array_clear
	add	x0, sp, #8
	bl	_oid_array_clear
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OID_ARRAY_INIT,4,2             ; @OID_ARRAY_INIT
	.no_dead_strip	_process_haves_and_send_acks
.subsections_via_symbols
