	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_force_confirm              ## -- Begin function add_force_confirm
	.p2align	4, 0x90
_add_force_confirm:                     ## @add_force_confirm
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$0, 8(%rdi)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_start_confirm_timer
LBB0_2:
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_tree_lookup_int
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	4(%rbx), %r15d
	xorl	%eax, %eax
	callq	_lrand48
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_tree_insert_int
	movl	%eax, 4(%rbx)
	movl	(%rbx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	movq	_START_WINDOW_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$39, %rcx
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_5
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_udp_confirms_send              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_START_WINDOW_SIZE,4,2          ## @START_WINDOW_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_add_force_confirm              ; -- Begin function add_force_confirm
	.p2align	2
_add_force_confirm:                     ; @add_force_confirm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_start_confirm_timer
LBB0_2:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_tree_lookup_int
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w21, [x19, #4]
	bl	_lrand48
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_tree_insert_int
	ldr	w8, [x19]
	add	w8, w8, #1
	stp	w8, w0, [x19]
Lloh0:
	adrp	x9, _START_WINDOW_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _START_WINDOW_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #39
	add	w9, w9, w10
	cmp	w8, w9
	b.ge	LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_udp_confirms_send
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_START_WINDOW_SIZE,4,2          ; @START_WINDOW_SIZE
.subsections_via_symbols
