	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_ratelimiter_enqueue        ## -- Begin function isc_ratelimiter_enqueue
	.p2align	4, 0x90
_isc_ratelimiter_enqueue:               ## @isc_ratelimiter_enqueue
	.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, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r13)
	setne	%dil
LBB0_2:
	movq	(%rax), %r15
	callq	_REQUIRE
	xorl	%edi, %edi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	setne	%dil
	callq	_REQUIRE
	movq	(%r13), %r14
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	sete	%dil
	callq	_REQUIRE
	leaq	8(%r12), %rbx
	movq	%rbx, %rdi
	callq	_LOCK
	movq	(%r12), %rax
	movq	_isc_ratelimiter_ratelimited@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	_isc_ratelimiter_stalled@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.5:
	movq	_isc_ratelimiter_idle@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movl	16(%r12), %edi
	movq	_isc_timertype_ticker@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	12(%r12), %rcx
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%edx, %edx
	callq	_isc_timer_reset
	movq	%rax, %r15
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_9
## %bb.7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r14)
	movq	%rax, %r14
	movq	_isc_ratelimiter_ratelimited@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	jmp	LBB0_10
LBB0_4:
	movq	(%r13), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, (%rsi)
	movl	20(%r12), %edi
	movq	_ev_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ISC_LIST_APPEND
	movq	$0, (%r13)
	jmp	LBB0_10
LBB0_8:
	movq	_isc_ratelimiter_shuttingdown@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_INSIST
	movq	_ISC_R_SHUTTINGDOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_9:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_10:
	movq	%rbx, %rdi
	callq	_UNLOCK
	cmpq	$0, (%r13)
	je	LBB0_13
## %bb.11:
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_isc_task_send
LBB0_13:
	movq	%r15, %rax
	addq	$8, %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	_isc_ratelimiter_ratelimited,8,3 ## @isc_ratelimiter_ratelimited
	.comm	_isc_ratelimiter_stalled,8,3    ## @isc_ratelimiter_stalled
	.comm	_ev_link,4,2                    ## @ev_link
	.comm	_isc_ratelimiter_idle,8,3       ## @isc_ratelimiter_idle
	.comm	_isc_timertype_ticker,4,2       ## @isc_timertype_ticker
	.comm	_ISC_FALSE,4,2                  ## @ISC_FALSE
	.comm	_isc_ratelimiter_shuttingdown,8,3 ## @isc_ratelimiter_shuttingdown
	.comm	_ISC_R_SHUTTINGDOWN,8,3         ## @ISC_R_SHUTTINGDOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_ratelimiter_enqueue        ; -- Begin function isc_ratelimiter_enqueue
	.p2align	2
_isc_ratelimiter_enqueue:               ; @isc_ratelimiter_enqueue
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _ISC_R_SUCCESS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ISC_R_SUCCESS@GOTPAGEOFF]
	cbz	x2, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldr	x21, [x24]
	bl	_REQUIRE
	cmp	x20, #0
	cset	w0, ne
	bl	_REQUIRE
	ldr	x25, [x19]
	ldr	x8, [x25]
	cmp	x8, #0
	cset	w0, eq
	bl	_REQUIRE
	add	x23, x22, #8
	mov	x0, x23
	bl	_LOCK
	ldr	x8, [x22]
Lloh2:
	adrp	x26, _isc_ratelimiter_ratelimited@GOTPAGE
Lloh3:
	ldr	x26, [x26, _isc_ratelimiter_ratelimited@GOTPAGEOFF]
	ldr	x9, [x26]
Lloh4:
	adrp	x10, _isc_ratelimiter_stalled@GOTPAGE
Lloh5:
	ldr	x10, [x10, _isc_ratelimiter_stalled@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	x1, [x19]
	str	x20, [x1]
	ldr	w0, [x22, #20]
Lloh7:
	adrp	x8, _ev_link@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ev_link@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_ISC_LIST_APPEND
	str	xzr, [x19]
	b	LBB0_9
LBB0_5:
Lloh10:
	adrp	x9, _isc_ratelimiter_idle@GOTPAGE
Lloh11:
	ldr	x9, [x9, _isc_ratelimiter_idle@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
Lloh13:
	adrp	x8, _isc_timertype_ticker@GOTPAGE
Lloh14:
	ldr	x8, [x8, _isc_timertype_ticker@GOTPAGEOFF]
	ldr	w0, [x22, #16]
Lloh15:
	ldr	w1, [x8]
	add	x3, x22, #12
Lloh16:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh18:
	ldr	w4, [x8]
	mov	x2, #0
	bl	_isc_timer_reset
	mov	x21, x0
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.7:
	str	x20, [x25]
	ldr	x8, [x26]
	str	x8, [x22]
	b	LBB0_9
LBB0_8:
Lloh19:
	adrp	x9, _isc_ratelimiter_shuttingdown@GOTPAGE
Lloh20:
	ldr	x9, [x9, _isc_ratelimiter_shuttingdown@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_INSIST
Lloh22:
	adrp	x8, _ISC_R_SHUTTINGDOWN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ISC_R_SHUTTINGDOWN@GOTPAGEOFF]
Lloh24:
	ldr	x21, [x8]
LBB0_9:
	mov	x0, x23
	bl	_UNLOCK
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x24]
	cmp	x21, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	x1, x19
	bl	_isc_task_send
LBB0_12:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_SUCCESS,8,3              ; @ISC_R_SUCCESS
	.comm	_isc_ratelimiter_ratelimited,8,3 ; @isc_ratelimiter_ratelimited
	.comm	_isc_ratelimiter_stalled,8,3    ; @isc_ratelimiter_stalled
	.comm	_ev_link,4,2                    ; @ev_link
	.comm	_isc_ratelimiter_idle,8,3       ; @isc_ratelimiter_idle
	.comm	_isc_timertype_ticker,4,2       ; @isc_timertype_ticker
	.comm	_ISC_FALSE,4,2                  ; @ISC_FALSE
	.comm	_isc_ratelimiter_shuttingdown,8,3 ; @isc_ratelimiter_shuttingdown
	.comm	_ISC_R_SHUTTINGDOWN,8,3         ; @ISC_R_SHUTTINGDOWN
.subsections_via_symbols
