	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reliable_send_timeout          ## -- Begin function reliable_send_timeout
	.p2align	4, 0x90
_reliable_send_timeout:                 ## @reliable_send_timeout
	.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	%rdi, %r13
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -48(%rbp)
	movq	_BIG_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	_now@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	movl	$8, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rcx
	cmpq	$0, (%rcx,%rbx)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rcx,%rbx), %rsi
	subq	%r15, %rsi
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_min_int
	movq	%rax, %r14
	movl	(%r13), %eax
	jmp	LBB0_6
LBB0_4:
	xorl	%r14d, %r14d
LBB0_7:
	movq	_D_REL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-48(%rbp), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_reliable_print_ids
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_dmsg
	movq	%r12, %rdi
	callq	_gc_free
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIG_TIMEOUT,8,3                ## @BIG_TIMEOUT
	.comm	_now,8,3                        ## @now
	.comm	_D_REL_DEBUG,4,2                ## @D_REL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ACK reliable_send_timeout %d %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reliable_send_timeout          ; -- Begin function reliable_send_timeout
	.p2align	2
_reliable_send_timeout:                 ; @reliable_send_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	bl	_gc_new
	str	w0, [sp, #8]
Lloh0:
	adrp	x8, _BIG_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIG_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh3:
	adrp	x9, _now@GOTPAGE
Lloh4:
	ldr	x9, [x9, _now@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x9]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	add	x21, x21, #16
	cmp	x22, w8, sxtw
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #8]
	add	x10, x9, x21
	ldr	x10, [x10, #8]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x9, x21]
	subs	x1, x8, x23
	b.le	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_min_int
	mov	x19, x0
	ldr	w8, [x20]
	b	LBB0_2
LBB0_6:
	mov	x19, #0
LBB0_7:
Lloh6:
	adrp	x8, _D_REL_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _D_REL_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_reliable_print_ids
	mov	x3, x0
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	bl	_dmsg
	add	x0, sp, #8
	bl	_gc_free
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BIG_TIMEOUT,8,3                ; @BIG_TIMEOUT
	.comm	_now,8,3                        ; @now
	.comm	_D_REL_DEBUG,4,2                ; @D_REL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ACK reliable_send_timeout %d %s"

.subsections_via_symbols
