	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_target_ack_prefix          ## -- Begin function udp_target_ack_prefix
	.p2align	4, 0x90
_udp_target_ack_prefix:                 ## @udp_target_ack_prefix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, -20(%rbp)
	cmpl	%esi, (%rdi)
	jle	LBB0_8
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	cmpl	%esi, 4(%rdi)
	jge	LBB0_5
## %bb.2:
	movq	%r14, %rdi
	callq	_stop_tx_timer
	movl	%ebx, 4(%r14)
	xorl	%edi, %edi
	cmpl	%ebx, (%r14)
	setg	%dil
	callq	_assert
	movl	(%r14), %eax
	decl	%eax
	cmpl	%ebx, %eax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_start_tx_timer
LBB0_4:
	movq	$0, 40(%r14)
LBB0_5:
	movq	_precise_now@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	24(%r14), %rdx
	leaq	-32(%rbp), %rdi
	leaq	-40(%rbp), %rsi
	leaq	-20(%rbp), %rcx
	callq	_tree_split_udp_msg
	movq	-40(%rbp), %rax
	movq	%rax, 24(%r14)
	movq	___S@GOTPCREL(%rip), %rax
	movq	%r14, (%rax)
	movq	-32(%rbp), %rdi
	movq	_udp_msg_confirm_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tree_act_udp_msg
	movq	-32(%rbp), %rdi
	callq	_tree_clear_udp_msg
	movl	-20(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_vkprintf
	movq	8(%r14), %rax
	movq	_START_WINDOW_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_8
## %bb.6:
	movq	_UDP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r14)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_udp_target_restart_send
LBB0_8:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_precise_now,4,2                ## @precise_now
	.comm	___S,8,3                        ## @__S
	.comm	_udp_msg_confirm_free,4,2       ## @udp_msg_confirm_free
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"S->sent: delete messages up to %d\n"

	.comm	_START_WINDOW_SIZE,8,3          ## @START_WINDOW_SIZE
	.comm	_UDP_WAIT,4,2                   ## @UDP_WAIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_target_ack_prefix          ; -- Begin function udp_target_ack_prefix
	.p2align	2
_udp_target_ack_prefix:                 ; @udp_target_ack_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	stur	w1, [x29, #-20]
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, w1
	b.ge	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_stop_tx_timer
	str	w20, [x19, #4]
	ldr	w8, [x19]
	cmp	w8, w20
	cset	w0, gt
	bl	_assert
	ldr	w8, [x19]
	sub	w8, w8, #1
	cmp	w8, w20
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_start_tx_timer
LBB0_4:
	str	xzr, [x19, #40]
LBB0_5:
Lloh0:
	adrp	x8, _precise_now@GOTPAGE
Lloh1:
	ldr	x8, [x8, _precise_now@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	x2, [x19, #24]
	add	x0, sp, #16
	add	x1, sp, #8
	sub	x3, x29, #20
	bl	_tree_split_udp_msg
	ldp	x8, x0, [sp, #8]
Lloh3:
	adrp	x9, ___S@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___S@GOTPAGEOFF]
	str	x8, [x19, #24]
Lloh5:
	str	x19, [x9]
Lloh6:
	adrp	x8, _udp_msg_confirm_free@GOTPAGE
Lloh7:
	ldr	x8, [x8, _udp_msg_confirm_free@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_tree_act_udp_msg
	ldr	x0, [sp, #16]
	bl	_tree_clear_udp_msg
	ldur	w2, [x29, #-20]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _START_WINDOW_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _START_WINDOW_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_8
; %bb.6:
	ldr	w8, [x19, #16]
Lloh14:
	adrp	x9, _UDP_WAIT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UDP_WAIT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_udp_target_restart_send
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_precise_now,4,2                ; @precise_now
	.comm	___S,8,3                        ; @__S
	.comm	_udp_msg_confirm_free,4,2       ; @udp_msg_confirm_free
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"S->sent: delete messages up to %d\n"

	.comm	_START_WINDOW_SIZE,8,3          ; @START_WINDOW_SIZE
	.comm	_UDP_WAIT,4,2                   ; @UDP_WAIT
.subsections_via_symbols
