	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_acks
_send_acks:                             ## @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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_packet_writer_write
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	testl	%eax, %eax
	jg	LBB0_3
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_packet_writer_write
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %r13
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	addq	%r14, %rdi
	callq	_oid_to_hex
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_packet_writer_write
	incq	%r15
	movslq	(%rbx), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_ok_to_give_up
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_packet_writer_write
	movl	$1, %eax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %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\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"ACK %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"ready\n"

	.no_dead_strip	_send_acks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_acks
_send_acks:                             ; @send_acks
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_packet_writer_write
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
	cmp	w8, #1
	b.ge	LBB0_3
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_packet_writer_write
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
LBB0_3:
	mov	x24, #0
	mov	x25, #0
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	add	x0, x8, x24
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x19
	mov	x1, x23
	bl	_packet_writer_write
	add	x25, x25, #1
	ldrsw	x8, [x22]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	bl	_ok_to_give_up
	cbz	x0, LBB0_7
; %bb.6:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_packet_writer_write
	mov	w0, #1
LBB0_7:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acknowledgments\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"ACK %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"ready\n"

	.no_dead_strip	_send_acks
.subsections_via_symbols
