	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function worker_err_ratelimit
_worker_err_ratelimit:                  ## @worker_err_ratelimit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_2
## %bb.1:
	movslq	8(%rdi), %rcx
	leal	1(%rcx), %eax
	movl	%eax, 8(%rdi)
	movq	_ERROR_RATELIMIT@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	%rcx, (%rdx)
	jge	LBB0_3
## %bb.4:
	popq	%rbp
	retq
LBB0_2:
	movq	%rax, (%rdi)
	movl	$1, 8(%rdi)
LBB0_3:
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_RATELIMIT,8,3            ## @ERROR_RATELIMIT
	.no_dead_strip	_worker_err_ratelimit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function worker_err_ratelimit
_worker_err_ratelimit:                  ; @worker_err_ratelimit
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	ldrsw	x8, [x0, #8]
	add	w9, w8, #1
	str	w9, [x0, #8]
Lloh0:
	adrp	x9, _ERROR_RATELIMIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERROR_RATELIMIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ge	LBB0_4
; %bb.2:
	mov	w0, #-1
	ret
LBB0_3:
	str	x8, [x0]
	mov	w8, #1
	str	w8, [x0, #8]
LBB0_4:
	mov	x0, x1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_RATELIMIT,8,3            ; @ERROR_RATELIMIT
	.no_dead_strip	_worker_err_ratelimit
.subsections_via_symbols
