	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ratelimiter_tick
_ratelimiter_tick:                      ## @ratelimiter_tick
	.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	%rsi, -56(%rbp)
	movq	8(%rsi), %rbx
	callq	_UNUSED
	leaq	-56(%rbp), %rdi
	callq	_isc_event_free
	movq	(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.1:
	leaq	8(%rbx), %r15
	leaq	-48(%rbp), %r14
	movq	_ev_link@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_isc_task_send
	movq	-48(%rbp), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_INSIST
	testq	%r13, %r13
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_LOCK
	movl	20(%rbx), %edi
	callq	_ISC_LIST_HEAD
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decq	%r13
	movl	20(%rbx), %edi
	movl	(%r12), %edx
	movq	%rax, %rsi
	callq	_ISC_LIST_UNLINK
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edi
	movq	_isc_timertype_inactive@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_isc_timer_reset
	xorl	%edi, %edi
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_RUNTIME_CHECK
	movq	_isc_ratelimiter_idle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%r13d, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_UNLOCK
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_SUCCESS,8,3              ## @ISC_R_SUCCESS
	.comm	_ev_link,4,2                    ## @ev_link
	.comm	_isc_timertype_inactive,4,2     ## @isc_timertype_inactive
	.comm	_ISC_FALSE,4,2                  ## @ISC_FALSE
	.comm	_isc_ratelimiter_idle,4,2       ## @isc_ratelimiter_idle
	.no_dead_strip	_ratelimiter_tick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ratelimiter_tick
_ratelimiter_tick:                      ; @ratelimiter_tick
	.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
	str	x1, [sp, #8]
	ldr	x20, [x1, #8]
	bl	_UNUSED
	add	x0, sp, #8
	bl	_isc_event_free
	ldr	x26, [x20]
	cbz	x26, LBB0_8
; %bb.1:
	add	x19, x20, #8
Lloh0:
	adrp	x21, _isc_timertype_inactive@GOTPAGE
Lloh1:
	ldr	x21, [x21, _isc_timertype_inactive@GOTPAGEOFF]
Lloh2:
	adrp	x22, _ISC_FALSE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ISC_FALSE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _ISC_R_SUCCESS@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ISC_R_SUCCESS@GOTPAGEOFF]
Lloh6:
	adrp	x24, _isc_ratelimiter_idle@GOTPAGE
Lloh7:
	ldr	x24, [x24, _isc_ratelimiter_idle@GOTPAGEOFF]
Lloh8:
	adrp	x25, _ev_link@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ev_link@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, #0
	cset	w0, eq
	bl	_INSIST
	cbz	x26, LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_LOCK
	ldr	w0, [x20, #20]
	bl	_ISC_LIST_HEAD
	str	x0, [sp]
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	sub	x26, x26, #1
	ldr	w0, [x20, #20]
	ldr	w2, [x25]
	bl	_ISC_LIST_UNLINK
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20, #16]
	ldr	w1, [x21]
	ldr	w4, [x22]
	mov	x2, #0
	mov	x3, #0
	bl	_isc_timer_reset
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w0, eq
	bl	_RUNTIME_CHECK
	mov	x26, #0
	ldr	w8, [x24]
	str	w8, [x20, #12]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_UNLOCK
	ldr	x8, [sp]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x8]
	mov	x1, sp
	bl	_isc_task_send
	ldr	x8, [sp]
	b	LBB0_2
LBB0_8:
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_ev_link,4,2                    ; @ev_link
	.comm	_isc_timertype_inactive,4,2     ; @isc_timertype_inactive
	.comm	_ISC_FALSE,4,2                  ; @ISC_FALSE
	.comm	_isc_ratelimiter_idle,4,2       ; @isc_ratelimiter_idle
	.no_dead_strip	_ratelimiter_tick
.subsections_via_symbols
