	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_timeout
_enable_timeout:                        ## @enable_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	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_all_timeouts_initialized@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	movq	_all_timeouts@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	(,%r14,8), %rcx
	leaq	(%rcx,%rcx,4), %r13
	xorl	%edi, %edi
	cmpq	$0, 32(%rax,%r13)
	setne	%dil
	callq	_Assert
	movq	(%r12), %rax
	cmpq	$0, 24(%rax,%r13)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_find_active_timeout
	movl	%eax, %edi
	callq	_remove_timeout_index
LBB0_2:
	movq	_num_active_timeouts@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movq	_active_timeouts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdx
	cmpq	%rbx, (%rdx)
	jg	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%r14, 8(%rdx)
	jbe	LBB0_8
	jmp	LBB0_10
LBB0_3:
	xorl	%esi, %esi
	jmp	LBB0_10
LBB0_9:
	movl	%eax, %esi
LBB0_10:
	movq	(%r12), %rax
	leaq	(%r14,%r14,4), %rcx
	movl	$0, (%rax,%rcx,8)
	movq	%r15, 16(%rax,%rcx,8)
	movq	%rbx, 8(%rax,%rcx,8)
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_insert_timeout                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_all_timeouts_initialized,4,2   ## @all_timeouts_initialized
	.comm	_all_timeouts,8,3               ## @all_timeouts
	.comm	_num_active_timeouts,4,2        ## @num_active_timeouts
	.comm	_active_timeouts,8,3            ## @active_timeouts
	.no_dead_strip	_enable_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_timeout
_enable_timeout:                        ; @enable_timeout
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _all_timeouts_initialized@GOTPAGE
Lloh1:
	ldr	x8, [x8, _all_timeouts_initialized@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_Assert
Lloh3:
	adrp	x22, _all_timeouts@GOTPAGE
Lloh4:
	ldr	x22, [x22, _all_timeouts@GOTPAGEOFF]
	ldr	x8, [x22]
	add	x9, x20, x20, lsl #2
	lsl	x23, x9, #3
	add	x8, x8, x23
	ldr	x8, [x8, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x22]
	add	x8, x8, x23
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_find_active_timeout
	bl	_remove_timeout_index
LBB0_2:
Lloh5:
	adrp	x8, _num_active_timeouts@GOTPAGE
Lloh6:
	ldr	x8, [x8, _num_active_timeouts@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	mov	x1, #0
Lloh8:
	adrp	x9, _active_timeouts@GOTPAGE
Lloh9:
	ldr	x9, [x9, _active_timeouts@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x1, #1
	cmp	x8, x1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x1, lsl #3]
	ldr	x11, [x10]
	cmp	x11, x19
	b.gt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x10, #8]
	cmp	x10, x20
	b.ls	LBB0_4
	b	LBB0_10
LBB0_8:
	mov	w1, #0
	b	LBB0_10
LBB0_9:
	mov	x1, x8
LBB0_10:
	ldr	x8, [x22]
	mov	w9, #40
	madd	x8, x20, x9, x8
	str	wzr, [x8]
	stp	x19, x21, [x8, #8]
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_insert_timeout
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_all_timeouts_initialized,4,2   ; @all_timeouts_initialized
	.comm	_all_timeouts,8,3               ; @all_timeouts
	.comm	_num_active_timeouts,4,2        ; @num_active_timeouts
	.comm	_active_timeouts,8,3            ; @active_timeouts
	.no_dead_strip	_enable_timeout
.subsections_via_symbols
